1 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4 * support/support.h (support_bindir_prefix): New variable.
5 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
7 * config.make.in (bindir): New variable.
9 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
10 (lll_trylock): Call __lll_trylock.
11 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
12 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
13 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
14 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
16 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
17 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
20 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
23 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
24 initialization for LLL_LOCK_INITIALIZER different than 0.
25 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
26 Assume LLL_LOCK_INITIALIZER being 0.
27 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
28 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
30 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
31 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
33 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
34 Optimize futex call and add systemtap probe.
36 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
37 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
38 __libc_disable_asynccancel, __librt_enable_asynccancel,
39 __libc_disable_asynccancel, __librt_enable_asynccancel,
40 __librt_disable_asynccancel): Move to ...
41 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
42 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
43 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
44 * sysdeps/generic/single-thread.h: New file.
45 * sysdeps/unix/sysdep.h: Include single-thread.h.
46 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
47 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
49 2019-05-08 Mike FABIAN <mfabian@redhat.com>
52 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
53 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
55 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
56 * localedata/unicode-gen/PropList.txt: Likewise.
57 * localedata/unicode-gen/UnicodeData.txt: Likewise.
58 * localedata/charmaps/UTF-8: Regenerate.
59 * localedata/locales/i18n_ctype: Likewise.
60 * localedata/locales/tr_TR: Likewise.
61 * localedata/locales/translit_circle: Likewise.
62 * localedata/locales/translit_cjk_compat: Likewise.
63 * localedata/locales/translit_combining: Likewise.
64 * localedata/locales/translit_compat: Likewise.
65 * localedata/locales/translit_font: Likewise.
66 * localedata/locales/translit_fraction: Likewise.
68 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
71 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
72 (do_set_tcache_count): Only update if count is small enough.
73 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
75 2019-05-10 Florian Weimer <fweimer@redhat.com>
77 * nptl/sem_close.c (struct walk_closure): Define.
78 (walker): Adjust for __twalk_r.
79 (sem_close): Call __twalk_r.
81 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
83 * support/timespec.c (test_timespec_before_impl,
84 test_timespec_equal_or_after_impl): print timespec member as intmax_t
87 2019-05-09 Mike Crowe <mac@mcrowe.com>
89 * nptl/tst-abstime.c: Use libsupport.
91 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
92 small bug where only tv.tv_usec was checked which could cause an
93 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
96 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
99 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
100 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
102 * nptl/tst-cond11.c: Use libsupport.
104 * support/timespec.h: New file. Provide timespec helper functions
105 along with macros in the style of those in check.h.
106 * support/timespec.c: New file. Implement check functions declared
107 in support/timespec.h.
108 * support/timespec-add.c: New file from gnulib containing
109 timespec_add implementation that handles overflow.
110 * support/timespec-sub.c: New file from gnulib containing
111 timespec_sub implementation that handles overflow.
112 * support/README: Mention timespec.h.
114 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
117 * nptl/Makefile: Move tst-eintr1 to xtests.
119 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
121 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
123 (round_mode): Add definition for TRUNC.
124 * sysdeps/powerpc/fpu/s_trunc.c: New file.
125 * sysdeps/powerpc/fpu/s_truncf.c: New file.
126 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
127 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
128 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
130 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
132 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
134 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
136 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
138 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
140 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
142 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
144 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
145 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
146 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
147 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
148 s_truncf-power5+, and s_truncf-ppc64.
149 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
150 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
152 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
154 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
155 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
157 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
160 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
162 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
163 s_truncf-power5+, and s_truncf-ppc64.
164 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
166 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
167 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
169 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
170 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
171 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
172 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
173 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
175 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
177 (round_mode): Add definition for ROUND.
178 (round_to_integer_float): Likewise.
179 * sysdeps/powerpc/fpu/s_round.c: New file.
180 * sysdeps/powerpc/fpu/s_roundf.c: New file.
181 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
182 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
183 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
185 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
187 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
189 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
191 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
193 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
195 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
197 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
199 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
200 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
201 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
202 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
203 s_roundf-power5+, and s_roundf-ppc64.
204 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
205 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
207 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
209 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
210 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
212 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
215 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
217 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
218 s_roundf-power5+, and s_roundf-ppc64.
219 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
221 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
222 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
224 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
225 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
226 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
227 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
228 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
230 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
232 (round_mode): Add definition for FLOOR.
233 * sysdeps/powerpc/fpu/s_floor.c: New file.
234 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
235 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
236 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
253 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
254 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
255 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
256 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
257 s_floorf-power5+, and s_floorf-ppc64.
258 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
259 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
261 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
263 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
264 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
266 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
269 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
271 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
272 s_floorf-power5+, and s_floorf-ppc64.
273 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
281 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
282 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
283 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
284 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
286 2019-05-08 Mike Crowe <mac@mcrowe.com>
288 * support/xclock_gettime.c (xclock_gettime): New file. Provide
289 clock_gettime wrapper for use in tests that fails the test rather
290 than returning failure.
292 * support/xtime.h: New file to declare xclock_gettime.
294 * support/Makefile: Add xclock_gettime.c.
296 * support/README: Mention xtime.h.
298 2019-05-08 Florian Weimer <fweimer@redhat.com>
300 malloc/tst-mallocfork2: Use process-shared barriers.
301 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
302 (signal_count, sigusr1_sender_pid): Remove.
303 (iterations): Define constant.
304 (shared): New variable.
305 (sigusr1_received): Update comment.
306 (sigusr1_handler): Do not send SIGSTOP to the sender process.
307 (signal_sender): Optional use barriers to avoid sending signals
308 during irrelevant times.
309 (do_it): Initialize variable shared. Use xfork for error
310 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
311 the iteration count, independent of signal delivery. Check for
312 deadlocks in fork. Introduce barriers for reducing signal
313 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
314 replaced by the barriers. Count signals during fork/free/malloc
316 * malloc/Makefile (tst-mallocfork): Link with libpthread.
318 2019-05-07 Joseph Myers <joseph@codesourcery.com>
320 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
322 (clock_adjtime64) New syscall.
323 (clock_getres_time64) Likewise.
324 (clock_gettime64) Likewise.
325 (clock_nanosleep_time64) Likewise.
326 (clock_settime64) Likewise.
327 (futex_time64) Likewise.
328 (io_pgetevents_time64) Likewise.
329 (io_uring_enter) Likewise.
330 (io_uring_register) Likewise.
331 (io_uring_setup) Likewise.
332 (mq_timedreceive_time64) Likewise.
333 (mq_timedsend_time64) Likewise.
334 (pidfd_send_signal) Likewise.
335 (ppoll_time64) Likewise.
336 (pselect6_time64) Likewise.
337 (recvmmsg_time64) Likewise.
338 (rt_sigtimedwait_time64) Likewise.
339 (sched_rr_get_interval_time64) Likewise.
340 (semtimedop_time64) Likewise.
341 (timer_gettime64) Likewise.
342 (timer_settime64) Likewise.
343 (timerfd_gettime64) Likewise.
344 (timerfd_settime64) Likewise.
345 (utimensat_time64) Likewise.
347 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
350 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
352 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
353 __memmove_thunderx2 to the list of implementations
354 * sysdeps/aarch64/multiarch/memmove.c: Likewise
355 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
356 (__memmove_thunderx2): Rewritten using SIMD ld/st
357 (__memcpy_thunderx2): Fixed handling overlapping cases.
358 Used ldp/stp instead of ldr/str if possible. Made loops
361 2019-05-03 Florian Weimer <fweimer@redhat.com>
363 * misc/tst-tsearch.c (walk_tree): Add more error checking.
365 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
368 * elf/tst-pldd.c (in_str_list): New function.
369 (do_test): Add default names for ld and libc as one option.
371 2019-05-02 Florian Weimer <fweimer@redhat.com>
373 misc: Add twalk_r function.
374 * include/search.h (__twalk_r): Declare.
375 * manual/examples/twalk.c: New file.
376 * manual/search.texi (Tree Search Function): Document twalk_r.
377 * misc/Versions (2.30): Export twalk_r.
378 (GLIBC_PRIVATE): Export __twalk_r.
379 * misc/search.h [__USE_GNU] (twalk_r): Declare.
380 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
381 (twalk_r): Add weak alias.
382 * misc/tst-tsearch.c (struct walk_trace_element): Define.
383 (walk_trace): New variable.
384 (struct twalk_with_twalk_r_closure): Define.
385 (twalk_with_twalk_r_action): New function.
386 (twalk_with_twalk_r): Likewise.
387 (walk_action): Call walk_trace_add.
388 (walk_tree_with): Rename from walk_tree. Add walk argument.
389 (walk_tree): New function.
390 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
391 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
393 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
395 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
396 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
397 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
398 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
399 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
400 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
402 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
404 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
406 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
407 (GLIBC_2.30): Likewise.
408 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
409 (GLIBC_2.30): Likewise.
410 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
411 (GLIBC_2.30): Likewise.
412 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
413 (GLIBC_2.30): Likewise.
414 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
417 (GLIBC_2.30): Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
419 (GLIBC_2.30): Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
421 (GLIBC_2.30): Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
423 (GLIBC_2.30): Likewise.
424 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
426 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
428 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
430 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
431 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
433 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
435 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
437 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
440 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
442 Make mktime etc. compatible with __time64_t
443 Keep these functions compatible with Gnulib while adding
444 __time64_t support. The basic idea is to move private API
445 declarations from include/time.h to time/mktime-internal.h, since
446 the former file cannot easily be shared with Gnulib whereas the
448 Also, do some other minor cleanup while in the neighborhood.
449 * include/time.h: Include stdbool.h, time/mktime-internal.h.
450 (__mktime_internal): Move this prototype to time/mktime-internal.h,
451 since Gnulib needs it.
452 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
453 Move these macros to time/mktime-internal.h, since Gnulib needs them.
454 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
455 (in_time_t_range): New static function.
456 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
457 so that glibc users are not tempted to use __time64_t.
458 * time/mktime-internal.h: Rewrite so that it does both glibc
459 and Gnulib work. Include time.h if not _LIBC.
460 (mktime_offset_t) [!_LIBC]: Define for gnulib.
461 (__time64_t): New type or macro, moved here from
463 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
464 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
466 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
467 New macros, taken from GNulib.
468 (__mktime_internal): New prototype, moved here from include/time.h.
469 * time/mktime.c (mktime_min, mktime_max, convert_time)
470 (ranged_convert, __mktime_internal, __mktime64):
471 * time/timegm.c (__timegm64):
472 Use __time64_t, not time_t.
473 * time/mktime.c: Stop worrying about whether time_t is floating-point.
474 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
476 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
477 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
480 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
482 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
484 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
487 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
488 from `-Wmaybe-uninitialized'.
489 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
491 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
493 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
495 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
496 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
497 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
498 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
499 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
501 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
518 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
520 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
521 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
523 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
526 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
527 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
529 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
532 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
535 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
536 s_ceilf-power5+, and s_ceilf-ppc64.
537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
542 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
543 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
544 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
545 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
547 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
548 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
549 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
551 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
553 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
554 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
555 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
556 (sem_getvalue): Likewise.
558 2019-04-26 Florian Weimer <fweimer@redhat.com>
560 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
561 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
563 2019-04-26 Florian Weimer <fweimer@redhat.com>
565 Makeconfig: Move -Wl,-rpath-link options before library references.
566 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
567 (link-libc): Remove $(link-libc-rpath-link).
569 2019-04-25 Florian Weimer <fweimer@redhat.com>
571 * Makeconfig (+link-pie-before-libc): Remove $(CC).
572 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
573 (+link-static-before-libc): Remove $(CC).
574 (+link-static, +link-static-tests): Add $(CC).
575 (+link-before-libc): Remove $(CC).
576 (+link, +link-pie, +link-pie-printers): Add $(CC).
578 2019-04-26 Florian Weimer <fweimer@redhat.com>
580 * Makeconfig (+link-pie-before-libc): Remove $(CC).
581 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
582 (+link-static-before-libc): Remove $(CC).
583 (+link-static, +link-static-tests): Add $(CC).
584 (+link-before-libc): Remove $(CC).
585 (+link, +link-pie, +link-pie-printers): Add $(CC).
587 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
590 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
592 2019-04-25 Florian Weimer <fweimer@redhat.com>
594 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
595 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
596 (bench-link-targets): New variable.
597 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
599 2019-04-25 Florian Weimer <fweimer@redhat.com>
601 Also enable BIND_NOW for programs if --enable-bind-now.
602 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
603 (+link-pie): Use $(link-extra-flags).
604 (+link-static): Likewise.
605 [! $(build-pie-default)] (+link): Likewise.
606 * manual/install.texi (Configuring and compiling): Update
607 --enable-bind-now description.
608 * INSTALL: Regenerated.
610 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
612 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
613 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
615 2019-04-24 Mike Frysinger <vapier@gentoo.org>
618 * malloc/Makefile (others): Add memusagestat.
619 ($(objpfx)memusagestat): Delete rule.
620 (LDLIBS-memusagestat): New variable.
622 2019-04-24 Florian Weimer <fweimer@redhat.com>
624 * locale/Makefile (tests-special): Guard setting by
625 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
626 to run while cross-compiling.
628 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
631 * elf/Makefile (tests-container): Add tst-pldd.
632 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
633 (E(find_maps)): Avoid use alloca, use default read file operations
634 instead of explicit LFS names, and fix infinite loop.
635 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
636 (get_process_info): Use _Static_assert instead of assert, use default
637 directory operations instead of explicit LFS names, and free some
639 * elf/tst-pldd.c: New file.
641 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
643 * malloc/arena.c (do_set_mallopt_check): Removed.
645 2019-04-23 Florian Weimer <fweimer@redhat.com>
647 locale: Add LOCPATH diagnostics to the locale program.
648 * locale/programs/locale.c (setlocale_failed): New variable.
649 (try_setlocale): New function.
650 (quote_string): Likewise.
651 (setlocale_diagnostics): Likewise.
652 (main): Call try_setlocale instead of setlocale. Call
653 setlocale_diagnostics.
654 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
655 (tst-locale-locpath.out): New target.
656 * locale/tst-locale-locpath.sh: New file.
658 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
660 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
663 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
666 * malloc/hooks.c (malloc_check, realloc_check): Use
667 __builtin_add_overflow on overflow check and adapt to
668 checked_request2size change.
669 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
670 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
671 allocation size to PTRDIFF_MAX.
672 (REQUEST_OUT_OF_RANGE): Remove macro.
673 (checked_request2size): Change to inline function and limit maximum
674 requested size to PTRDIFF_MAX.
675 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
676 maximum allocation size to PTRDIFF_MAX.
677 (_mid_memalign): Use _int_memalign call for overflow check.
678 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
679 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
680 limit maximum requested size to PTRDIFF_MAX.
681 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
682 valloc, pvalloc): Add __attribute_alloc_size__.
683 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
684 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
685 larger than PTRDIFF_MAX.
686 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
687 around tests of malloc with negative sizes.
688 * malloc/tst-posix_memalign.c (do_test): Likewise.
689 * malloc/tst-pvalloc.c (do_test): Likewise.
690 * malloc/tst-valloc.c (do_test): Likewise.
691 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
692 with resulting size allocation larger than PTRDIFF_MAX with
694 (reallocarray_nowarn): New function.
695 * NEWS: Mention the malloc function semantic change.
697 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
699 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
700 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
702 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
703 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
704 * sysdeps/powerpc/fpu/s_fma.c: New file.
705 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
707 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
708 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
710 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
711 the magic flag store.
712 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
714 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
716 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
717 Remove rt_sigreturn call.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
720 Remove rt_sigreturn call.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
726 * support/Makefile (libsupport-routines): Add support_subprocess,
727 xposix_spawn, xposix_spawn_file_actions_addclose, and
728 xposix_spawn_file_actions_adddup2.
729 (tst-support_capture_subprocess-ARGS): New rule.
730 * support/capture_subprocess.h (support_capture_subprogram): New
732 * support/support_capture_subprocess.c (support_capture_subprocess):
733 Refactor to use support_subprocess and support_capture_poll.
734 (support_capture_subprogram): New function.
735 * support/tst-support_capture_subprocess.c (write_mode_to_str,
736 str_to_write_mode, test_common, parse_int, handle_restart,
737 do_subprocess, do_subprogram, do_multiple_tests): New functions.
738 (do_test): Add support_capture_subprogram tests.
739 * support/subprocess.h: New file.
740 * support/support_subprocess.c: Likewise.
741 * support/xposix_spawn.c: Likewise.
742 * support/xposix_spawn_file_actions_addclose.c: Likewise.
743 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
744 * support/xspawn.h: Likewise.
746 2019-04-17 Mike Gerow <gerow@google.com>
748 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
751 2019-04-11 Florian Weimer <fweimer@redhat.com>
753 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
754 domain with empty string.
755 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
757 2019-04-11 Florian Weimer <fweimer@redhat.com>
759 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
761 (alloc_buffer_next): Change return type to non-const. Update
764 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
766 * manual/time.texi (Formatting Calendar Time): Add missing percent
767 sign to conversion specifier.
769 2019-04-09 Carlos O'Donell <carlos@redhat.com>
770 Kwok Cheung Yeung <kcy@codesourcery.com>
773 * malloc/mtrace.c: Define prototypes for all hooks.
774 (set_default_hooks): New function.
775 (set_trace_hooks): Likewise.
776 (save_default_hooks): Likewise.
777 (tr_freehook): Use new s*_hooks functions.
778 (tr_mallochook): Likewise.
779 (tr_reallochook): Likewise.
780 (tr_memalignhook): Likewise.
782 (muntrace): Likewise.
784 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
786 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
787 (generic_stpcpy): New function.
788 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
789 (generic_stpncpy): New function.
790 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
791 (generic_strcat): New function.
792 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
793 (generic_strcpy): New function.
794 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
795 (STUPID_STRNCAT): Remove function.
796 (generic_strncat): New function.
797 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
798 (STUPID_STRNCPY): Remove function.
799 (generic_strncpy): New function.
800 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
801 (generic_strnlen): New function.
802 (memchr_strnlen): New function.
803 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
804 (memchr_strlen): Likewise.
806 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
808 * benchtests/bench-strstr.c (input): Add realistic input text.
809 (stupid_strstr): Remove function.
810 (basic_strstr): Add function.
811 (twoway_strstr): Add function.
812 (do_one_test): Add result checking.
813 (do_test): Use new input text. Remove accidental early matches.
814 (test_main): Improve range of tests, reduce unaligned cases.
816 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
818 * benchtests/bench-memmem.c (simple_memmem): Remove function.
819 (basic_memmem): Add function.
820 (twoway_memmem): Add function.
822 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
824 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
825 * benchtests/bench-malloc-thread.c: Likewise.
826 * benchtests/bench-skeleton.c: Likewise.
827 * benchtests/bench-strtod.c: Likewise.
828 * benchtests/bench-timing.h: Likewise.
830 2019-04-08 Florian Weimer <fweimer@redhat.com>
832 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
834 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
835 RES_INSECURE2 security checks.
836 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
837 RES_INSECURE2 handling.
839 2019-04-08 Florian Weimer <fweimer@redhat.com>
841 resolv: Remove support for RES_USE_INET6 and the inet6 option.
842 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
843 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
845 * resolv/Makefile (tests): Remove tst-res_use_inet6.
846 (tests-internal): Update justification for tst-resolv-res_init,
847 tst-resolv-res_init-thread.
848 (tst-res_use_inet6): Remove target.
849 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
850 * resolv/res_debug.c (p_option): Remove "inet6" support.
851 * resolv/res_init.c (res_setoptions): Likewise.
852 * resolv/res_use_inet6.h: Remove file.
853 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
855 (res_use_inet6): Always return false.
856 * resolv/resolv.h (RES_USE_INET6): Remove definition.
857 * resolv/resolv_context.h: Adjust file comment.
858 (struct resolv_context): Update comment on __next field.
859 (__resolv_context_put): Update comment.
860 * resolv/tst-res_use_inet6.c: Remove file.
861 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
863 (test_cases): Adjust test case.
864 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
865 (thread_byname2_af_inet6): Use old byname_inet6 code.
866 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
867 (gai): Remove do_inet6 argument.
868 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
869 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
870 (thread_gai_unspec_inet6): Remove functions.
871 (do_test): Adjust thread_funcs.
872 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
874 (gaih_inet): Do not disable RES_USE_INET6 flag.
876 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
878 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
879 and remove redundant code.
881 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
883 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
885 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
888 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
893 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
894 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
895 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
896 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
897 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
899 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
901 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
904 Remove wcsrchr optimizations.
905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
907 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
910 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
912 * sysdeps/powerpc/power6/wcschr.c: Remove file.
913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
920 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
921 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
922 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
923 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
924 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
926 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
928 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
931 Remove wcschr optimizations.
932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
934 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
937 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
939 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
947 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
948 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
949 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
950 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
951 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
953 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
955 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
958 Remove wcscpy optimizations.
959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
961 * include/loop_unroll.h: New file.
962 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
963 besides generic implementation.
965 2019-04-03 DJ Delorie <dj@redhat.com>
967 * time/tst-strftime3.c (tm_to_printed): Disable warning about
968 snprintf truncating output.
970 2019-04-02 DJ Delorie <dj@redhat.com>
972 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
975 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
978 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
980 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
981 (mkreftable): Add rules for the new Japanese era and the new dates.
983 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
984 Rafal Luzynski <digitalfreak@lingonborough.com>
986 * time/tst-strftime2.c (date_t): Explicitly define the type.
987 (dates): Use natural month and year numbers to express a date.
988 (is_before): New function to compare dates.
989 (mkreftable): Minor improvements to simplify maintenance.
990 (do_test): Reflect the changes in dates array.
993 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
994 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
995 * time/tst-strftime2.c (locales): Likewise.
996 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
997 2010-04-01, and 2011-04-01.
998 (mkreftable): Add rules for the new locales and the new dates.
1000 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1002 * localedata/locales/ja_JP: Add comments to era entries.
1004 2019-04-01 DJ Delorie <dj@redhat.com>
1007 * time/strptime_l.c (%Ey): Fix fencepost error.
1008 * time/tst-strftime3.c: New.
1009 * time/Makefile (tests): Add tst-strftime3.
1011 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1013 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1014 conditional branch to DIVBYZERO. Fix unwind info.
1015 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1016 excb after conditional branch to $powerof2. Add missing unop
1017 instructions and .align directives and reorder instructions to
1020 2019-04-01 Richard Henderson <rth@twiddle.net>
1022 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1024 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1027 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1029 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1030 $libc_cv_riscv_float_abi in `test' invocation.
1031 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1033 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1035 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1037 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1039 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1040 (_GET_SI_FPSCR): Likewise.
1041 (_SET_SI_FPSCR): Likewise.
1043 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1045 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1047 (signbit): Use builtin for clang 3.3.
1048 (isinf): Use builtin for clang 3.7.
1050 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1052 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1054 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1056 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1059 2019-03-25 Mike Crowe <mac@mcrowe.com>
1061 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1062 pthread_rwlock_timedrdlock with calls to
1063 pthread_rwlock_timedwrlock to ensure that the latter is tested
1064 too. Use new function name in diagnostic messages too.
1066 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1067 (do_test) Use libsupport test macros rather than hand-coded
1068 conditionals and error messages. Ensure that sem_init returns zero
1069 rather than not -1. Use <support/test-driver.c> rather than
1072 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1073 test macros rather than hand-coded conditionals and error messages.
1074 Use <support/test-driver.c> rather than test-skeleton.c.
1076 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1078 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1080 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1081 (NT_MIPS_MSA): Likewise.
1083 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1085 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1086 * benchtests/README: Update description.
1087 * benchtests/bench-timing.h: Default to hp-timing.
1088 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1089 HP_TIMING_PRINT): Remove.
1090 (HP_TIMING_NOW): Add generic implementation.
1091 (hp_timing_t): Change to uint64_t.
1093 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1095 * nptl/descr.h: Likewise.
1096 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1097 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1098 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1099 Abstract hp-timing usage with RTLD_* macros.
1100 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1101 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1102 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1103 HP_TIMING_NONAVAIL): Likewise.
1104 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1106 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1107 HP_SMALL_TIMING_AVAIL): Likewise.
1108 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1109 HP_SMALL_TIMING_AVAIL): Likewise.
1110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1111 HP_SMALL_TIMING_AVAIL): Likewise.
1112 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1113 HP_SMALL_TIMING_AVAIL): Likewise.
1114 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1116 * sysdeps/generic/hp-timing-common.h: Update comment with
1117 HP_TIMING_AVAIL removal.
1119 * include/random-bits.h: New file.
1120 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1121 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1123 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1124 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1127 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1128 * rt/Makefile (clock-routines): Remove get_clockfreq.
1129 * rt/get_clockfreq.c: Remove file.
1130 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1131 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1132 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1134 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1136 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1137 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1138 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1139 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1140 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1142 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1143 pthread_clock_settime.
1144 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1145 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1146 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1147 * elf/rtld.c (_dl_start_final): Likewise.
1148 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1149 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1151 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1152 (_dl_cpuclock_offset): Remove.
1153 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1154 cpuclock_offset_ununsed.
1155 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1156 cpuclock_offset set.
1157 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1158 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1159 * nptl/pthread_clock_gettime.c: Remove file.
1160 * nptl/pthread_clock_settime.c: Likewise.
1161 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1162 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1163 and CLOCK_PROCESS_CPUTIME_ID support.
1164 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1165 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1166 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1167 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1168 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1170 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1172 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1174 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1175 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1176 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1178 * sysdeps/s390/memmem-arch13.S: New file.
1179 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1180 if it is only used as fallback.
1181 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1182 * sysdeps/s390/multiarch/ifunc-impl-list.c
1183 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1185 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1187 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1188 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1189 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1191 * sysdeps/s390/multiarch/ifunc-impl-list.c
1192 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1193 * sysdeps/s390/strstr-arch13.S: New file.
1194 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1195 if it is only used as fallback.
1196 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1198 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1200 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1201 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1202 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1203 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1205 * sysdeps/s390/multiarch/ifunc-impl-list.c
1206 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1207 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1208 S390_IS_ARCH13_MIE3): New defines.
1210 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1212 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1213 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1214 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1215 * sysdeps/s390/configure: Regenerated.
1217 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1219 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1220 Add vxe2, vxp, dflt, sort flags.
1221 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1222 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1224 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1225 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1226 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1227 HWCAP_S390_DFLT): Define.
1229 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1232 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1233 of compiler warning.
1234 * locale/programs/ld-collate.c (collate_output): Likewise.
1236 2019-03-21 DJ Delorie <dj@redhat.com>
1239 * iconv/iconvconfig.c (write_output): Replace floating point math
1240 with integer math to avoid imprecise results.
1241 * locale/programs/ld-collate.c (collate_output): Likewise.
1243 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1245 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1246 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1248 2019-03-20 mansayk <6688000@gmail.com>
1251 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1252 (abday): Likewise, but remove the trailing dots.
1254 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1256 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1258 (HWCAP_PACA): Likewise.
1259 (HWCAP_PACG): Likewise.
1260 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1262 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1264 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1266 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1269 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1271 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1273 (old_getpagesize): New syscall.
1275 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1278 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1279 * localedata/locales/cmn_TW (era): Likewise.
1280 * localedata/locales/hak_TW (era): Likewise.
1281 * localedata/locales/lzh_TW (era): Likewise.
1282 * localedata/locales/nan_TW (era): Likewise.
1284 2019-03-14 Florian Weimer <fweimer@redhat.com>
1286 Remove obsolete, never-implemented XSI STREAMS declarations.
1287 * manual/terminal.texi (Allocation): Remove portability note and
1289 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1291 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1292 * sysdeps/unix/inet/Subdirs (streams): Remove.
1293 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1294 (conformtest-headers-UNIX98): Likewise.
1295 (conformtest-headers-XOPEN2K): Likewise.
1296 (conformtest-headers-POSIX2008): Likewise.
1297 * posix/compat-streams.c: New file.
1298 * posix/Makefile (routines): Add it.
1299 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1300 getpmsg, isastream, putmsg, putpmsg.
1301 (GLIBC_2.30): New section.
1302 * bits/stropts.h: Remove file.
1303 * bits/xtitypes.h: Likewise.
1304 * conform/data/stropts.h-data: Likewise.
1305 * include/stropts.h: Likewise.
1306 * include/sys/stropts.h: Likewise.
1307 * include/xtitypes.h: Likewise.
1308 * streams/Makefile: Likewise.
1309 * streams/fattach.c: Likewise.
1310 * streams/fdetach.c: Likewise.
1311 * streams/getmsg.c: Likewise.
1312 * streams/getpmsg.c: Likewise.
1313 * streams/isastream.c: Likewise.
1314 * streams/putmsg.c: Likewise.
1315 * streams/putpmsg.c: Likewise.
1316 * streams/stropts.h: Likewise.
1317 * streams/sys/stropts.h: Likewise.
1318 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1319 * sysdeps/s390/bits/xtitypes.h: Likewise.
1320 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1321 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1322 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1323 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1324 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1325 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1326 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1327 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1328 * sysdeps/x86/bits/xtitypes.h: Likewise.
1330 2019-03-14 Florian Weimer <fweimer@redhat.com>
1332 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1334 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1335 but not with libnss_files.
1336 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1338 2019-03-14 Zack Weinberg <zackw@panix.com>
1340 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1341 Specify encoding="utf-8" when opening headers to check.
1343 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1345 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1347 (Context.checkout_tar): Handle variable major version for Linux
1350 2019-03-13 Florian Weimer <fweimer@redhat.com>
1353 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1355 2019-03-13 Zack Weinberg <zackw@panix.com>
1357 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1359 * include/inttypes.h: Adjust to match.
1360 * include/stdint.h: New wrapper.
1362 2019-03-13 Zack Weinberg <zackw@panix.com>
1364 * scripts/check-obsolete-constructs.py: New test script.
1365 * scripts/check-installed-headers.sh: Remove tests for
1366 obsolete typedefs, superseded by check-obsolete-constructs.py.
1367 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1368 as a special test. Update commentary.
1369 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1370 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1372 * posix/sys/types.h (__u_intN_t): Remove.
1373 (u_int8_t): Typedef using __uint8_t.
1374 (u_int16_t): Typedef using __uint16_t.
1375 (u_int32_t): Typedef using __uint32_t.
1376 (u_int64_t): Typedef using __uint64_t.
1378 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1380 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1382 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1383 Ignore types other than AT_HWCAP.
1384 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1385 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1387 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1388 in the case of falling back to generic output mechanism.
1389 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1392 2019-03-12 Florian Weimer <fweimer@redhat.com>
1394 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1396 2019-03-12 Florian Weimer <fweimer@redhat.com>
1399 resolv: Enable full ICMP errors for UDP DNS sockets
1400 * resolv/res_enable_icmp.c: New file.
1401 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1402 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1403 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1406 2019-03-11 Mao Han <han_mao@c-sky.com>
1408 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1409 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1411 2019-03-11 Mao Han <han_mao@c-sky.com>
1413 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1414 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1415 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1417 2019-03-11 Mao Han <han_mao@c-sky.com>
1419 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1421 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1424 2019-03-11 Mao Han <han_mao@c-sky.com>
1426 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1427 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1430 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1433 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1434 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1436 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1437 * localedata/unicode-gen/PropList.txt: Likewise.
1438 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1439 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1440 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1441 * localedata/charmaps/UTF-8: Regenerate.
1442 * localedata/locales/i18n_ctype: Likewise.
1443 * localedata/locales/tr_TR: Likewise.
1444 * localedata/locales/translit_circle: Likewise.
1445 * localedata/locales/translit_cjk_compat: Likewise.
1446 * localedata/locales/translit_combining: Likewise.
1447 * localedata/locales/translit_compat: Likewise.
1448 * localedata/locales/translit_font: Likewise.
1449 * localedata/locales/translit_fraction: Likewise.
1451 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1453 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1454 than after operators.
1455 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1456 (setitimer_locked): Likewise.
1457 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1458 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1459 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1460 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1461 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1462 (PPC_CPU_SUPPORTED): Likewise.
1463 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1464 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1465 (stat_overflow): Likewise.
1466 (statfs_overflow): Likewise.
1467 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1468 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1469 (eq_ttyname_r): Likewise.
1470 (run_chroot_tests): Likewise.
1472 2019-03-07 Florian Weimer <fweimer@redhat.com>
1474 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1477 2019-03-07 Martin Liska <mliska@suse.cz>
1479 * math/Makefile: Change location where math-vector-fortran.h is
1481 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1482 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1483 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1484 * scripts/check-installed-headers.sh: Skip Fortran header files.
1485 * scripts/check-wrapper-headers.py: Likewise.
1487 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1489 * nptl/nptl-init.c (__have_futex_clock_realtime,
1490 __have_futex_clock_realtime): Remove definition.
1491 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1492 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1493 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1494 __ASSUME_FUTEX_CLOCK_REALTIME support.
1495 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1497 * sysdeps/unix/sysv/linux/kernel-features.h
1498 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1499 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1502 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1504 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1505 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1506 __GI___wcscpy and wcscpy.
1508 2019-03-04 Florian Weimer <fweimer@redhat.com>
1510 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1512 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1515 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1517 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1520 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1523 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1524 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1526 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1528 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1530 (do_test): Likewise.
1531 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1532 (do_test_call_varg): Likewise.
1533 (do_test_call_rarg): Likewise.
1534 * sysdeps/ieee754/ldbl-opt/Makefile
1535 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1537 ($(objpfx)tst-nldbl-warn.c): New rule.
1538 ($(objpfx)tst-nldbl-error.c): Likewise.
1539 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1542 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1545 * include/bits/error-ldbl.h: New file.
1546 * include/error.h: Include stdarg.h. Declare internal functions
1547 __error_internal and __error_at_line_internal.
1548 * misc/Makefile (headers): Add bits/error-ldbl.h.
1549 * misc/bits/error-ldbl.h: New file.
1550 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1551 avoid the inclusion of bits/error.h.
1552 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1553 and __nldbl_error_at_line.
1554 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1555 (__nldbl_error, __ndlbl_error_at_line): New functions.
1556 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1557 Redirect error and error_at_line.
1558 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1567 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1568 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1569 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1571 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1574 * include/bits/err-ldbl.h: New file.
1575 * include/err.h: Add prototypes for the internal functions:
1576 __vwarnx_internal and __vwarn_internal.
1577 * misc/Makefile (headers): Add bits/err-ldbl.h.
1578 * misc/bits/err-ldbl.h: New file.
1579 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1580 defined, i.e.: when -mlong-double-64 is in use.
1581 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1582 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1583 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1584 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1585 (VA_CALL): New macro.
1586 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1587 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1589 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1590 declare prototypes for the new functions.
1591 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1601 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1602 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1604 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1606 * sysdeps/ieee754/ldbl-opt/Makefile
1607 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1608 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1609 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1611 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1614 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1615 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1616 * argp/bits/argp-ldbl.h: New file.
1617 * include/argp.h: Include stdarg.h. Add prototypes for internal
1618 functions: __argp_error_internal and __argp_failure_internal.
1619 * include/bits/argp-ldbl.h: New file.
1620 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1621 __nldbl_argp_error and __nldbl_argp_failure.
1622 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1623 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1624 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1625 Redirect argp_error and argp_failure calls.
1626 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1635 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1636 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1637 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1639 2019-03-01 Florian Weimer <fweimer@redhat.com>
1642 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1643 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1644 code, to avoid creating an ABI tag note.
1645 (modules-names-nobuild): Add tst-big-note-lib.
1647 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1649 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1650 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1652 2019-03-01 Florian Weimer <fweimer@redhat.com>
1655 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1656 (__netlink_assert_response): Add additional missing newlines.
1658 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1660 * sysdeps/powerpc/powerpc32/dl-machine.c
1661 (__elf_machine_fixup_plt): Use space before '('.
1662 (__process_machine_rela): Likewise.
1663 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1665 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1667 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1669 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1670 (pattern): Likewise.
1672 (check_result): Likewise.
1673 (check_excepts): Likewise.
1674 (check_op): Likewise.
1675 (fail_xr): Likewise.
1676 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1677 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1679 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1682 (__makecontext): Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1686 2019-02-28 Florian Weimer <fweimer@redhat.com>
1689 elf: Add test with a local IFUNC resolver.
1690 * elf/ifuncmain9.c: New file.
1691 * elf/ifuncmain9pic.c: Likewise.
1692 * elf/ifuncmain9picstatic.c: Likewise.
1693 * elf/ifuncmain9pie.c: Likewise.
1694 * elf/ifuncmain9static.c: Likewise.
1695 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1696 ifuncmain9static, ifuncmain9picstatic.
1697 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1698 Add ifuncmain9, ifuncmain9pic.
1699 * elf/Makefile [multi-arch && build-shared && have-fpie]
1700 (ifunc-pie-tests): Add ifuncmain9pie.
1701 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1702 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1703 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1705 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1707 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1708 * configure: Regenerated.
1709 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1711 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1714 symbol as __wcspcy instead of wcscpy.
1716 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1718 * include/stdio.h (__renameat2): New hidden prototype.
1719 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1720 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1721 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1722 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1724 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1726 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1729 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1730 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1731 * benchtests/bench-strlen.c (do_test): Likewise.
1732 (test_main): Likewise.
1733 * catgets/gencat.c (read_old): Likewise.
1734 * elf/cache.c (load_aux_cache): Likewise.
1735 * iconvdata/bug-iconv8.c (do_test): Likewise.
1736 * math/test-tgmath-ret.c (do_test): Likewise.
1737 * nis/nis_call.c (rec_dirsearch): Likewise.
1738 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1739 * nptl/tst-audit-threads.c (do_test): Likewise.
1740 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1741 * nss/nss_test1.c (init): Likewise.
1742 * nss/test-netdb.c (test_hosts): Likewise.
1743 * posix/execvpe.c (maybe_script_execute): Likewise.
1744 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1745 * stdio-common/tst-printf.c (do_test): Likewise.
1746 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1747 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1748 * stdlib/qsort.c (STACK_SIZE): Likewise.
1749 * stdlib/test-canon.c (do_test): Likewise.
1750 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1751 * string/memcmp.c (OPSIZ): Likewise.
1752 * string/test-strcpy.c (do_test): Likewise.
1753 (do_random_tests): Likewise.
1754 * string/test-strlen.c (do_test): Likewise.
1755 (test_main): Likewise.
1756 * string/test-strrchr.c (do_test): Likewise.
1757 (do_random_tests): Likewise.
1758 * string/tester.c (test_memrchr): Likewise.
1759 (test_memchr): Likewise.
1760 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1761 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1762 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1763 (read_encoded_value_with_base): Likewise.
1764 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1765 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1766 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1767 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1768 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1769 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1771 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1773 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1774 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1775 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1777 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1779 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1781 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1783 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1784 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1785 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1786 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1787 * time/test_time.c (main): Likewise.
1789 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1791 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1793 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1796 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1799 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1801 * include/wchar.h (__wcscpy): New prototype.
1802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1803 (__wcscpy): Route internal symbol to generic implementation.
1804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1805 Add internal __wcscpy alias.
1806 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1807 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1808 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1809 * wcsmbs/wcscpy.c (wcscpy): Add
1810 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1811 use generic implementation.
1812 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1814 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1817 * sysdeps/m68k/wcpcpy.c: Remove file.
1818 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1820 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1822 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1823 than after operators.
1824 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1825 * sysdeps/mach/hurd/getcwd.c
1826 (__hurd_canonicalize_directory_name_internal): Likewise.
1827 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1828 (pthread_mutex_consistent): Likewise.
1829 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1831 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1832 (__pthread_mutex_transfer_np): Likewise.
1833 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1834 (__pthread_mutex_unlock): Likewise.
1835 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1836 (mtx_owned_p): Likewise.
1837 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1838 (pthread_mutexattr_getrobust): Likewise.
1839 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1840 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1842 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1843 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1844 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1845 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1846 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1847 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1848 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1850 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1852 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1853 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1854 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1855 (____longjmp_chk): Likewise.
1856 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1859 (INTERNAL_SYSCALL): Likewise.
1860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1861 (INTERNAL_SYSCALL): Likewise.
1862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1863 (__get_clockfreq_via_cpuinfo): Likewise.
1865 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1867 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1868 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1869 (WORD_COPY_BWD): Likewise.
1870 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1873 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1874 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1876 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1878 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1880 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1881 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1882 rather than after operators.
1883 * elf/cache.c (print_cache): Likewise.
1884 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1885 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1886 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1887 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1888 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1889 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1890 (reauth_proc): Likewise.
1891 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1892 (__file_name_split_at): Likewise.
1893 (__directory_name_split_at): Likewise.
1894 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1895 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1896 * iconv/gconv_dl.c (do_print): Likewise.
1897 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1898 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1899 * locale/setlocale.c (new_composite_name): Likewise.
1900 * malloc/memusagestat.c (main): Likewise.
1901 * misc/fstab.c (fstab_convert): Likewise.
1902 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1904 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1905 (getgrent_next_file): Likewise.
1906 (internal_getgrnam_r): Likewise.
1907 (internal_getgrgid_r): Likewise.
1908 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1910 (internal_getgrent_r): Likewise.
1911 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1912 (getpwent_next_nss): Likewise.
1913 (getpwent_next_file): Likewise.
1914 (internal_getpwnam_r): Likewise.
1915 (internal_getpwuid_r): Likewise.
1916 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1918 (getspent_next_nss): Likewise.
1919 (internal_getspnam_r): Likewise.
1920 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1921 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1922 * string/strchr.c (STRCHR): Likewise.
1923 * string/strchrnul.c (STRCHRNUL): Likewise.
1924 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1925 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1926 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1927 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1928 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1930 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1931 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1932 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1933 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1934 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1935 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1936 (open_file): Likewise.
1937 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1938 (pthread_mutexattr_setprotocol): Likewise.
1939 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1940 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1941 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1942 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1943 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1945 (elf_machine_rela): Likewise.
1946 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1947 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1948 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1949 * sysdeps/posix/rename.c (rename): Likewise.
1950 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1951 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1952 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1953 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1954 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1955 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1956 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1958 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1960 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1961 * time/tzfile.c (__tzfile_compute): Likewise.
1963 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1965 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1966 rather than after operators.
1967 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1968 * crypt/md5.c (md5_finish_ctx): Likewise.
1969 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1970 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1971 * elf/cache.c (load_aux_cache): Likewise.
1972 * elf/dl-load.c (open_verify): Likewise.
1973 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1974 * elf/readelflib.c (process_elf_file): Likewise.
1975 * elf/rtld.c (dl_main): Likewise.
1976 * elf/sprof.c (generate_call_graph): Likewise.
1977 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1978 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1979 * hurd/dtable.c (reauth_dtable): Likewise.
1980 * hurd/getdport.c (__getdport): Likewise.
1981 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1982 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1983 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1985 * hurd/hurdioctl.c (fioctl): Likewise.
1986 * hurd/hurdselect.c (_hurd_select): Likewise.
1987 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1988 (STOPSIGS): Likewise.
1989 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1990 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1991 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1992 * hurd/msgportdemux.c (msgport_server): Likewise.
1993 * hurd/setauth.c (_hurd_setauth): Likewise.
1994 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1995 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1996 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1997 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1998 * login/tst-utmp.c (do_check): Likewise.
1999 (simulate_login): Likewise.
2000 * mach/lowlevellock.h (lll_lock): Likewise.
2001 (lll_trylock): Likewise.
2002 * math/test-fenv.c (ALL_EXC): Likewise.
2003 * math/test-fenvinline.c (ALL_EXC): Likewise.
2004 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2005 * nis/nis_call.c (__do_niscall3): Likewise.
2006 * nis/nis_callback.c (cb_prog_1): Likewise.
2007 * nis/nis_defaults.c (searchaccess): Likewise.
2008 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2009 * nis/nis_ismember.c (internal_ismember): Likewise.
2010 * nis/nis_local_names.c (nis_local_principal): Likewise.
2011 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2012 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2014 * nis/ypclnt.c (yp_match): Likewise.
2015 (yp_first): Likewise.
2016 (yp_next): Likewise.
2017 (yp_master): Likewise.
2018 (yp_order): Likewise.
2019 * nscd/hstcache.c (cache_addhst): Likewise.
2020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2021 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2022 (internal_getpwuid_r): Likewise.
2023 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2024 * posix/glob.h (__GLOB_FLAGS): Likewise.
2025 * posix/regcomp.c (peek_token): Likewise.
2026 (peek_token_bracket): Likewise.
2027 (parse_expression): Likewise.
2028 * posix/regexec.c (sift_states_iter_mb): Likewise.
2029 (check_node_accept_bytes): Likewise.
2030 * posix/tst-spawn3.c (do_test): Likewise.
2031 * posix/wordexp-test.c (testit): Likewise.
2032 * posix/wordexp.c (parse_tilde): Likewise.
2033 (exec_comm): Likewise.
2034 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2035 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2036 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2037 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2038 * stdio-common/tst-fileno.c (do_test): Likewise.
2039 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2040 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2041 * stdlib/strtod_l.c (round_and_return): Likewise.
2042 (____STRTOF_INTERNAL): Likewise.
2043 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2044 * string/strcspn.c (STRCSPN): Likewise.
2045 * string/test-memmem.c (simple_memmem): Likewise.
2046 * termios/tcsetattr.c (tcsetattr): Likewise.
2047 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2048 * time/asctime.c (asctime_internal): Likewise.
2049 * time/strptime_l.c (__strptime_internal): Likewise.
2050 * time/sys/time.h (timercmp): Likewise.
2051 * time/tzfile.c (__tzfile_compute): Likewise.
2053 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2056 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2058 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2060 * argp/argp-help.c (__argp_error_internal): New function,
2061 renamed from __argp_error, but that takes a 'mode_flags'
2062 parameter to control the format of long double parameters.
2063 (__argp_error): Converted into a call __argp_error_internal.
2064 (__argp_failure_internal): New function, renamed from
2065 __argp_failure, but that takes a 'mode_flags' parameter.
2066 (__argp_failure): Converted into a call __argp_failure_internal.
2067 * misc/err.c (__vwarnx_internal): New function, renamed from
2068 vwarnx, but that takes a 'mode_flags' parameter.
2069 (vwarnx): Converted into a call to __vwarnx_internal.
2070 (__vwarn_internal): New function, renamed from vwarn, but that
2071 takes a 'mode_flags' parameter.
2072 (vwarn): Converted into a call to __vwarn_internal.
2073 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2074 call to __vfxprintf with 'mode_flags'.
2075 (__error_internal): New function, renamed from error, but that
2076 takes a 'mode_flags' parameter.
2077 (error): Converted into a call to __error_internal.
2078 (__error_at_line_internal): New function, renamed from
2079 error_at_line, but that takes a 'mode_flags' parameter.
2080 (error_at_line): Converted into a call to
2081 __error_at_line_internal.
2082 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2083 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2086 2019-02-20 Martin Liska <mliska@suse.cz>
2088 * math/Makefile: Install math-vector-fortran.h.
2089 * bits/math-vector-fortran.h: New file.
2090 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2092 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2094 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2095 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2097 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2099 * nptl/pthread_mutex_trylock.c: Fix comment.
2101 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2103 * nptl/pthread_tryjoin.c: Fix comment.
2105 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2109 after R_SPARC_H34 case.
2111 2019-02-18 Florian Weimer <fweimer@redhat.com>
2113 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2114 (getanswer): Do not call Dprintf.
2115 (res_gethostbyname2_context): Likewise.
2116 (res_gethostbyaddr_context): Likewise.
2118 2019-02-18 Florian Weimer <fweimer@redhat.com>
2120 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2122 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2124 * libio/stdfiles.c: Update comment.
2125 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2126 set _IO_stdin, _IO_stdout, _IO_stderr.
2127 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2128 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2130 (_IO_deallocate_file): New inline function.
2131 * libio/iolibio.h (_IO_vprintf): Remove definition.
2132 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2133 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2134 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2136 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2137 __builtin_expect. Use _IO_legacy_file.
2139 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2141 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2142 Initialize ctid with a known value and remove update of ctid
2144 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2145 as assumed current value of ctid_ptr.
2147 2019-02-16 Florian Weimer <fweimer@redhat.com>
2149 Check that non-sysdeps headers have wrapper headers.
2150 * scripts/check-wrapper-headers.py: New file.
2151 * Makefile (tests-special): Add check-wrapper-headers.out.
2152 (check-wrapper-headers.out): New target.
2153 * Rules (tests-special): Add check-wrapper-headers.out.
2154 (check-wrapper-headers.out): New target.
2156 2019-02-16 Florian Weimer <fweimer@redhat.com>
2158 Add missing header wrappers under include/.
2159 * include/ar.h: New file.
2160 * include/bits/mqueue2.h: Likewise.
2161 * include/bits/stdio.h: Likewise.
2162 * include/bits/stdio2.h: Likewise.
2163 * include/fstab.h: Likewise.
2164 * include/fts.h: Likewise.
2165 * include/lastlog.h: Likewise.
2166 * include/netinet/icmp6.h: Likewise.
2167 * include/netinet/igmp.h: Likewise.
2168 * include/netinet/ip6.h: Likewise.
2169 * include/re_comp.h: Likewise.
2170 * include/regexp.h: Likewise.
2171 * include/rpcsvc/bootparam.h: Likewise.
2172 * include/rpcsvc/yp_prot.h: Likewise.
2173 * include/sys/random.h: Likewise.
2174 * include/sys/stropts.h: Likewise.
2175 * include/sys/ttychars.h: Likewise.
2176 * include/sys/vfs.h: Likewise.
2177 * include/wait.h: Likewise.
2179 2019-02-16 Florian Weimer <fweimer@redhat.com>
2181 * nptl_db/proc_service.h: Move to ...
2182 * sysdeps/nptl/proc_service.h: ... here.
2183 * nptl_db/thread_db.h: Move to ...
2184 * sysdeps/nptl/thread_db.h: ... here.
2185 * nptl/descr.h: Include <thread_db.h>.
2187 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2189 * io/Makefile (tests): Add tst-lockf.
2190 * io/lockf.c (lockf): Use __fcntl and only define for
2191 !__OFF_T_MATCHES_OFF64_T.
2192 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2193 __OFF_T_MATCHES_OFF64_T case.
2194 * io/tst-lockf.c: New file.
2195 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2196 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2197 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2198 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2199 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2201 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2202 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2203 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2205 2019-02-15 Florian Weimer <fweimer@redhat.com>
2208 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2209 pd->result after the thread descriptor has been freed.
2211 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2213 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2214 from function return type.
2216 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2218 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2220 * scripts/test_printers_common.py: Set TERM to a known harmless
2223 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2225 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2226 (xdr_u_int): Likewise.
2227 (xdr_enum): Likewise.
2228 (xdr_bytes): Reword fall-through comment.
2229 (xdr_string): Likewise.
2231 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2234 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2235 (tests): Add tst-join8 tst-join9.
2236 * nptl/lll_timedwait_tid.c: Remove file.
2237 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2238 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2239 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2240 * nptl/pthread_join_common.c (timedwait_tid): New function.
2241 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2243 * nptl/tst-join5.c (thread_join): New function.
2244 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2246 * nptl/tst-join8.c: New file.
2247 * nptl/tst-join9.c: Likewise.
2248 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2249 lll_futex_timed_wait_cancel): Add generic macros.
2250 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2252 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2253 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2254 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2255 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2257 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2259 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2260 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2261 (lll_futex_timed_wait_cancel): New macro.
2263 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2265 * benchtests/Makefile: Add malloc-simple benchmark.
2266 * benchtests/bench-malloc-simple.c: New benchmark.
2268 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2270 * benchtests/bench-memmove.c (do_one_test): Remove unused
2273 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2277 2019-01-13 Jim Wilson <jimw@sifive.com>
2280 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2281 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2283 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2285 * nptl/Makefile (tests): Add tst-unwind-thread.
2286 (CFLAGS-tst-unwind-thread.c): Define.
2287 * nptl/tst-unwind-thread.c: New file.
2288 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2291 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2293 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2295 * nis/nis_call.c (__do_niscall3): Likewise.
2297 * catgets/gencat.c (normalize_line): Use braces around empty
2299 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2300 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2301 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2302 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2303 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2304 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2305 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2308 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2311 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2313 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2314 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2315 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2316 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2317 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2318 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2319 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2320 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2321 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2322 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2323 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2324 * benchtests/bench-bcopy.c: Delete file.
2325 * benchtests/bench-bzero.c: Likewise.
2326 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2327 (simple_memccpy): Remove.
2328 (generic_memccpy): Add function.
2329 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2330 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2331 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2332 (generic_mempcpy): Add new function.
2333 * benchtests/bench-memset.c (simple_bzero): Remove.
2334 (builtin_bzero): Remove.
2335 (builtin_memset): Remove.
2336 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2337 (generic_rawmemchr): Add new function.
2339 2019-02-12 Florian Weimer <fweimer@redhat.com>
2341 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2343 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2346 * elf/Makefile (tests): Add tst-audit13.
2347 (modules-names): Add tst-audit13mod1.
2348 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2350 * elf/tst-audit13.c: New file.
2351 * elf/tst-audit13mod1.c: Likewise.
2353 2019-02-12 Florian Weimer <fweimer@redhat.com>
2356 * elf/rtld.c (unload_audit_module): New function.
2357 (report_audit_module_load_error): Likewise.
2358 (load_audit_module): Likewise. Extracted from dl_main. Call
2359 _dl_close if the laversion symbol cannot be found. Use early
2360 returns for error handling. Add malloc error check. Check for a
2361 zero return value from la_version. Remove spurious comment about
2362 static TLS initialization. Remove useless casts.
2363 (notify_audit_modules_of_loaded_object): New function. Extracted
2365 (load_audit_module): Likewise.
2366 (dl_main): Call load_audit_modules.
2368 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2370 * elf/dl-exception.c (_dl_exception_create_format): Add
2371 fall-through comments.
2372 * elf/ldconfig.c (parse_conf_include): Likewise.
2373 * elf/rtld.c (print_statistics): Likewise.
2374 * locale/programs/charmap.c (parse_charmap): Likewise.
2375 * misc/mntent_r.c (__getmntent_r): Likewise.
2376 * posix/wordexp.c (parse_arith): Likewise.
2377 (parse_backtick): Likewise.
2378 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2379 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2382 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2384 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2385 Use float instead of double.
2387 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2389 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2391 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2393 * sysdeps/powerpc/bits/mathinline.h: Remove.
2395 2019-02-08 Florian Weimer <fweimer@redhat.com>
2397 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2398 * math/bits/math-finite.h: Move to ...
2399 * bits/math-finite.h: ... here.
2401 2019-02-08 Florian Weimer <fweimer@redhat.com>
2403 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2404 * bits/unistd_ext.h: here.
2406 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2409 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2410 * nss/tst-nss-files-hosts-long.c: New file.
2411 * nss/tst-nss-files-hosts-long.root: New directory.
2412 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2413 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2415 2019-02-08 Florian Weimer <fweimer@redhat.com>
2417 * include/bits/unistd_ext.h: Remove file.
2418 * posix/bits/unistd_ext.h: Move to ...
2419 * sysdeps/generic/bits/unistd_ext.h: ... here.
2421 2019-02-08 Florian Weimer <fweimer@redhat.com>
2423 * include/bits/unistd_ext.h: New file.
2425 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2427 * time/tst-strftime2.c: Use array_length macros instead of magic
2430 2019-02-08 Florian Weimer <fweimer@redhat.com>
2433 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2435 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2436 locking if the new do_locking argument is true.
2437 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2438 __run_fork_handlers.
2440 2019-02-08 Florian Weimer <fweimer@redhat.com>
2443 Linux: Add gettid system call wrapper.
2444 * posix/Makefile (headers): Add bits/unistd_ext.h.
2445 * posix/bits/unistd_ext.h: New file.
2446 * posix/unistd.h: Include it.
2447 * manual/process.texi (Process Identification): Document gettid.
2448 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2449 tst-gettid, tst-gettid-kill.
2450 (tst-gettid): Link with $(shared-thread-library).
2451 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2452 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2453 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2454 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2455 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2456 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2458 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2460 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2461 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2463 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2465 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2467 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2469 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2471 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2473 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2475 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2476 (GLIBC_2.30): Likewise.
2477 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2478 (GLIBC_2.30): Likewise.
2479 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2480 (GLIBC_2.30): Likewise.
2481 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2482 (GLIBC_2.30): Likewise.
2483 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2486 (GLIBC_2.30): Likewise.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2488 (GLIBC_2.30): Likewise.
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2490 (GLIBC_2.30): Likewise.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2492 (GLIBC_2.30): Likewise.
2493 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2495 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2497 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2499 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2500 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2502 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2504 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2506 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2508 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2510 2019-02-08 Florian Weimer <fweimer@redhat.com>
2512 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2513 compatibility symbols.
2515 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2518 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2519 Add compiler barriers and comments.
2521 2019-02-07 Florian Weimer <fweimer@redhat.com>
2523 * include/array_length.h (array_length): Do not use a statement
2524 expression and _Static_assert, so that array_length can be used at
2525 file scope and as a constant expression.
2527 2019-02-07 Florian Weimer <fweimer@redhat.com>
2529 * support/xdlfcn.h (xdlmopen): Declare.
2530 * support/xdlmopen.c: New file.
2531 * support/Makefile (libsupport-routines): Add xdlmopen.
2533 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2535 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2536 before return type, without separate inline.
2537 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2538 * elf/dl-tunables.h (tunable_is_name): Likewise.
2539 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2540 (do_set_top_pad): Likewise.
2541 (do_set_mmap_threshold): Likewise.
2542 (do_set_mmaps_max): Likewise.
2543 (do_set_mallopt_check): Likewise.
2544 (do_set_perturb_byte): Likewise.
2545 (do_set_arena_test): Likewise.
2546 (do_set_arena_max): Likewise.
2547 (do_set_tcache_max): Likewise.
2548 (do_set_tcache_count): Likewise.
2549 (do_set_tcache_unsorted_limit): Likewise.
2550 * nis/nis_subr.c (count_dots): Likewise.
2551 * nptl/allocatestack.c (advise_stack_range): Likewise.
2552 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2554 (reduce_sincos): Likewise.
2555 (do_sincos): Likewise.
2556 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2557 (do_set_elision_enable): Likewise.
2558 (TUNABLE_CALLBACK_FNDECL): Likewise.
2560 2019-02-06 Florian Weimer <fweimer@redhat.com>
2562 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2563 (xdlsym): Use dlerror to detect a NULL symbol.
2565 2019-02-06 Florian Weimer <fweimer@redhat.com>
2567 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2569 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2571 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2573 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2575 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2577 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2578 __wmemcmp and weak alias to wmemcmp.
2580 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2583 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2584 TLS_TCB_AT_TP tls variant.
2585 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2586 Add alignment checks.
2587 * support/Makefile (libsupport-routines): Add xposix_memalign and
2589 * support/support.h: Add xposix_memalign.
2590 * support/xthread.h: Add xpthread_attr_setstack.
2591 * support/xposix_memalign.c: New File.
2592 * support/xpthread_attr_setstack.c: Likewise.
2594 2019-02-05 Florian Weimer <fweimer@redhat.com>
2597 arm: Use "nr" constraint for Systemtap probes, to avoid the
2598 compiler using memory operands for constants, due to the "o"
2599 alternative in the default "nor" constraint.
2600 * include/stap-probe.h [USE_STAP_PROBE]: Include
2601 <stap-probe-machine.h>
2602 * sysdeps/generic/stap-probe-machine.h: New file.
2603 * sysdeps/arm/stap-probe-machine.h: Likewise.
2605 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2607 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2608 with 0, not tcache->entries[tc_idx].
2610 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2613 2019-02-04 Andreas Schwab <schwab@suse.de>
2617 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2618 looking up collating elements match against (wide) character
2619 sequence instead of name. Correct alignment adjustment.
2620 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2621 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2622 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2623 (LOCALES): Add cs_CZ.ISO-8859-2.
2624 * posix/tst-fnmatch4.c: New file.
2625 * posix/tst-fnmatch5.c: New file.
2626 * include/wchar.h (__wmemcmp): Declare.
2627 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2628 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2629 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2630 * sysdeps/s390/wmemcmp.c: Likewise.
2632 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2636 * NEWS: Updated for CVE-2019-7309.
2637 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2638 upper 32 bits of RDX register for x32. Use unsigned Jcc
2639 instructions, instead of signed.
2640 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2641 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2643 2019-02-04 Florian Weimer <fweimer@redhat.com>
2645 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2646 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2647 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2649 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2650 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2651 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2652 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2654 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2656 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2658 (posix_spawn_file_actions_addopen): Likewise.
2659 (posix_spawn_file_actions_addclose): Likewise.
2660 (posix_spawn_file_actions_adddup2): Likewise.
2661 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2663 (posix_spawn_file_actions_addfchdir_np): Likewise.
2665 2019-02-04 David Newall <glibc@davidnewall.com>
2667 elf: Implement --preload option for the dynamic linker.
2668 * elf/rtld.c (preloadarg): New variable.
2669 (handle_preload_list): Pass through “where” argument to
2671 (dl_main): Handle "--preload" and add second call to
2672 handle_preload_list.
2673 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2674 (tst-rtld-preload-OBJS): Set variable.
2675 (tst-rtld-preload.out): New target.
2676 * elf/tst-rtld-preload.sh: New file.
2678 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2680 * Makefile (testrun.sh): Exit in case of incorrect argument.
2682 2019-02-04 Florian Weimer <fweimer@redhat.com>
2684 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2687 2019-02-03 Florian Weimer <fweimer@redhat.com>
2689 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2690 implicit overflow checks.
2692 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2694 * stdlib/isomac.c: Include <unistd.h>.
2696 2019-02-03 Florian Weimer <fweimer@redhat.com>
2698 * include/time.h (__tzfile_default): Use int, not long int, for
2700 * time/tzfile.c (struct ttinfo): Change type of the offset member
2702 (__tzfile_read): Remove useless cast.
2703 (__tzfile_default): Adjust prototype.
2704 * time/tzset.c (tz_rule): Change type of the offset member to int.
2705 (parse_offset): Change the type of the sign variable to int.
2707 2019-02-03 Florian Weimer <fweimer@redhat.com>
2710 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2711 * libio/getchar.c (getchar): Likewise.
2712 * libio/getchar_u.c (getchar_unlocked): Likewise.
2713 * libio/getwchar.c (getwchar): Likewise.
2714 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2715 * libio/iogets.c (_IO_gets): Likewise.
2716 * libio/vscanf.c (_IO_vscanf): Likewise.
2717 * libio/vwscanf.c (__vwscanf): Likewise.
2718 * libio/tst-bz24153.c: New file.
2719 * libio/Makefile (tests): Add it.
2721 2019-02-02 Florian Weimer <fweimer@redhat.com>
2724 * manual/resource.texi (Basic Scheduling Functions): Add
2725 portability note. Change process to task throughout the section.
2726 Remove incorrect comment about sched_yield as it affects
2727 tasks/threads, not entire processes.
2728 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2729 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2731 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2733 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2734 * configure: Regenerated.
2735 * manual/install.texi (Tools for Compilation): Update minimum GCC
2737 * INSTALL: Regenerated.
2739 2019-02-01 Florian Weimer <fweimer@redhat.com>
2741 * support/support_test_compare_string.c
2742 (support_test_compare_string): Use "string" in error message.
2743 * support/tst-test_compare_string.c (do_test): Adjust.
2745 2019-02-01 Florian Weimer <fweimer@redhat.com>
2747 * support/support_format_address_family.c
2748 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2750 2019-02-01 Florian Weimer <fweimer@redhat.com>
2752 * manual/socket.texi (Internet Address Formats): Clarify the byte
2753 order of struct sockaddr_in, struct sockaddr_in6. Document
2754 sin6_flowinfo and sin6_scope_id.
2756 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2758 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2759 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2760 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2761 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2762 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2763 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2765 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2767 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2768 [!MEMCHR](MEMCHR): Set to __memchr.
2769 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2770 Add memchr_generic and memchr_nosimd.
2771 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2772 (__libc_ifunc_impl_list): Add memchr ifuncs.
2773 * sysdeps/aarch64/multiarch/memchr.c: New file.
2774 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2775 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2777 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2779 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2781 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2782 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2783 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2784 Add IS_EMAG check for ifunc dispatch.
2785 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2786 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2788 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2790 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2791 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2793 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2796 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2798 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2800 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2802 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2803 syscall-template file.
2805 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2806 Torvald Riegel <triegel@redhat.com>
2807 Rik Prohaska <prohaska7@gmail.com>
2810 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2811 tst-rwlock-trywrlock-stall.
2812 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2813 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2814 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2815 Set __wrphase_fute to 1 only if we started the write phase.
2816 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2817 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2818 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2819 * support/xpthread_rwlock_destroy.c: New file.
2820 * support/xthread.h: Declare xpthread_rwlock_destroy.
2822 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2824 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2827 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2830 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2831 * libio/fileops.c (_IO_new_file_underflow): Likewise
2832 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2833 * libio/putchar.c (putchar): Likewise.
2834 * libio/putchar_u.c (putchar_unlocked): Likewise.
2835 * libio/putwchar.c (putchar): Likewise.
2836 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2837 * libio/tst-bz24051.c: New test.
2838 * libio/Makefile (tests): Add tst-bz24051
2840 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2843 regex: fix read overrun [BZ #24114]
2844 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2845 https://debbugs.gnu.org/34140
2846 * posix/regexec.c (proceed_next_node):
2847 Do not read past end of input buffer.
2849 2019-01-31 Florian Weimer <fweimer@redhat.com>
2852 * nss/nss_files/files-alias.c (get_next_alias): Handle
2853 continuation line without newline at the end.
2854 * nss/tst-nss-files-alias-truncated.c: New file.
2855 * nss/Makefile [$(build-shared)] (tests): Add
2856 tst-nss-files-alias-truncated.
2857 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2858 * support/namespace.h (struct support_chroot_configuration): Add
2860 (struct support_chroot): Add path_aliases member.
2861 * support/support_chroot.c (support_chroot_create): Handle
2863 (support_chroot_free): Free path_aliases.
2865 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2867 * version.h (RELEASE): Set to "development".
2868 (VERSION): Set to "2.29.9000".
2869 * NEWS: Add section for 2.30.
2871 * version.h (RELEASE): Set to "stable".
2872 (VERSION): Set to "2.29".
2873 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2875 * NEWS: Add the list of bugs fixed in 2.29.
2876 * manual/contrib.texi: Update contributors list with some more
2878 * manual/install.texi: Update latest versions of packages
2880 * INSTALL: Regenerated.
2882 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2884 * po/be.po: Update translations.
2885 * po/bg.po: Likewise.
2886 * po/ca.po: Likewise.
2887 * po/cs.po: Likewise.
2888 * po/da.po: Likewise.
2889 * po/de.po: Likewise.
2890 * po/el.po: Likewise.
2891 * po/eo.po: Likewise.
2892 * po/es.po: Likewise.
2893 * po/fi.po: Likewise.
2894 * po/fr.po: Likewise.
2895 * po/gl.po: Likewise.
2896 * po/hr.po: Likewise.
2897 * po/hu.po: Likewise.
2898 * po/ia.po: Likewise.
2899 * po/id.po: Likewise.
2900 * po/it.po: Likewise.
2901 * po/ja.po: Likewise.
2902 * po/ko.po: Likewise.
2903 * po/lt.po: Likewise.
2904 * po/nb.po: Likewise.
2905 * po/nl.po: Likewise.
2906 * po/pl.po: Likewise.
2907 * po/pt_BR.po: Likewise.
2908 * po/ru.po: Likewise.
2909 * po/rw.po: Likewise.
2910 * po/sk.po: Likewise.
2911 * po/sl.po: Likewise.
2912 * po/sv.po: Likewise.
2913 * po/tr.po: Likewise.
2914 * po/uk.po: Likewise.
2915 * po/vi.po: Likewise.
2916 * po/zh_CN.po: Likewise.
2917 * po/zh_TW.po: Likewise.
2919 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2922 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2923 of $f3 register on $y_is_neg path.
2925 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2928 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2929 sigaltstack.ss_flags.
2931 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2934 * manual/time.texi (strftime): Document "%Ey".
2935 * time/strftime_l.c (__strftime_internal): Set the default width
2936 padding with zero of "%Ey" to 2.
2939 * manual/time.texi (strftime): Document "%EC" and "%EY".
2940 * time/Makefile (tests): Add tst-strftime2.
2941 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2942 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2943 override padding for "%Ey".
2944 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2945 "%Ey" in the subformat as if decorated with that flag.
2946 * time/tst-strftime2.c: New file.
2948 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2950 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2954 * elf/Makefile (tests): Add tst-audit13.
2955 (modules-names): Add tst-audit13mod1.
2956 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2958 * elf/rtld.c (dl_main): Handle invalid audit module version.
2959 * elf/tst-audit13.c: New file.
2960 * elf/tst-audit13mod1.c: Likewise.
2962 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2964 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2965 returned by __hurd_at_flags.
2966 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2967 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2968 directly instead of __hurd_file_name_lookup.
2970 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2972 * scripts/build-many-glibcs.py (Context.checkout): Default
2973 binutils version to 2.32 branch.
2975 2019-01-21 Florian Weimer <fweimer@redhat.com>
2979 resolv: Reject trailing characters in host names
2980 * include/arpa/inet.h (__inet_aton_exact): Declare.
2981 (inet_aton): Remove hidden prototype. No longer used internally.
2982 * nscd/gai.c (__inet_aton): Do not define.
2983 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2984 * nss/digits_dots.c (__inet_aton): Likewise.
2985 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2986 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2987 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2988 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2989 (tst-resolv-trailing): Likewise.
2990 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2992 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2993 Make static. Add endp parameter.
2994 (__inet_aton_exact): New function.
2995 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2996 (__inet_addr): Call inet_aton_end.
2997 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2998 not just IPv6. Call __inet_aton_exact.
2999 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3000 (tests): Make const. Add additional test cases with trailing
3002 (do_test): Use array_length.
3003 * resolv/tst-inet_aton_exact.c: New file.
3004 * resolv/tst-resolv-trailing.c: Likewise.
3005 * resolv/tst-resolv-nondecimal.c: Likewise.
3006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3008 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3012 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3013 Clear the upper 32 bits of RSI register.
3014 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3015 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3016 and tst-size_t-wcsnlen.
3017 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3018 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3020 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3024 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3025 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3026 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3027 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3028 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3030 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3034 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3035 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3036 * sysdeps/x86_64/strcmp.S: Likewise.
3037 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3038 tst-size_t-strncmp and tst-size_t-wcsncmp.
3039 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3040 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3041 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3043 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3047 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3048 RDX_LP for length. Clear the upper 32 bits of RDX register.
3049 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3050 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3051 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3052 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3054 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3058 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3059 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3060 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3061 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3063 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3067 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3068 length. Clear the upper 32 bits of RDX register.
3069 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3070 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3072 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3074 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3076 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3078 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3082 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3083 length. Clear the upper 32 bits of RDX register.
3084 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3085 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3086 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3088 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3089 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3091 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3095 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3096 upper 32 bits of RDX register.
3097 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3098 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3100 * sysdeps/x86_64/x32/test-size_t.h: New file.
3101 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3102 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3104 2019-01-18 Florian Weimer <fweimer@redhat.com>
3107 resolv: Do not send queries for non-host-names in nss_dns.
3108 * resolv/nss_dns/dns-host.c (check_name): New function.
3109 (_nss_dns_gethostbyname2_r): Use it.
3110 (_nss_dns_gethostbyname_r): Likewise.
3111 (_nss_dns_gethostbyname4_r): Likewise.
3113 2019-01-21 Florian Weimer <fweimer@redhat.com>
3115 * resolv/inet_addr.c: Reformat to GNU style.
3116 (__inet_addr, __inet_aton): Update comment.
3118 2019-01-18 Florian Weimer <fweimer@redhat.com>
3120 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3121 ("malloc: Use current (C11-style) atomics for fastbin access").
3122 This commit introduces a substantial performance regression on
3124 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3125 (REMOVE_FB): Define.
3126 (_int_malloc): Use it and reindent.
3127 (_int_free): Use CAS loop with
3128 catomic_compare_and_exchange_val_rel.
3129 (malloc_consolidate): Use atomic_exchange_acq.
3132 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3134 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3136 (LDFLAGS-tst-minsigstksz-2): Likewise.
3137 (LDFLAGS-tst-minsigstksz-3): Likewise.
3138 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3139 (LDFLAGS-tst-minsigstksz-4): Likewise.
3141 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3143 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3146 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3148 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3150 2019-01-16 Zack Weinberg <zackw@panix.com>
3152 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3153 (xget_sigstack_location): New test support functions.
3154 * support/xsigstack.c: New file, implementing them.
3155 * support/tst-xsigstack.c: New test for them.
3156 * support/Makefile: Update.
3158 * signal/tst-minsigstksz-1.c
3159 * signal/tst-minsigstksz-2.c
3160 * signal/tst-minsigstksz-3.c
3161 * signal/tst-minsigstksz-3a.c
3162 * signal/tst-minsigstksz-4.c: New tests.
3163 * signal/Makefile: Run them.
3165 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3167 * po/libc.pot: Regenerate.
3169 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3171 * math/libm-test-fma.inc (fma_test_data): Set
3172 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3174 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3176 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3177 (do_test): Changed __vector __int128_t to __vector unsigned int.
3179 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3182 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3183 stpcpy-avx2 and stpncpy-avx2.
3184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3185 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3186 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3188 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3189 ifunc-strcpy.h}: rename header for a more generic name.
3190 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3191 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3192 AVX unaligned load is fast and vzeroupper is preferred.
3193 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3194 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3195 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3196 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3197 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3198 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3200 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3202 * argp/argp-help.c: Fix typo in comment.
3203 * misc/sys/cdefs.h: Likewise.
3204 * posix/regexec.c (sift_states_iter_mb): Likewise.
3205 * socket/sockatmark.c: Likewise.
3206 * socket/sys/socket.h: Likewise.
3207 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3208 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3209 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3211 * sysdeps/unix/sockatmark.c: Likewise.
3212 * time/strptime_l.c: Likewise.
3214 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3216 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3217 missing space after the cast of "_NL_CURRENT".
3219 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3221 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3222 ifdef to fix read of VSCR.
3223 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3224 tst-ucontext-ppc64-vscr.c to test list.
3225 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3227 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3229 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3232 2019-01-09 Jim Wilson <jimw@sifive.com>
3234 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3236 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3238 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3239 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3240 __memcpy_falkor for ares.
3241 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3243 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3246 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3249 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3250 4_FP_W_TYPEs are used for IEEE quad precision.
3251 * soft-fp/extendhftf2.c: Likewise.
3252 * soft-fp/extendsftf2.c: Likewise.
3253 * soft-fp/extendxftf2.c: Likewise.
3254 * soft-fp/trunctfdf2.c: Likewise.
3255 * soft-fp/trunctfhf2.c: Likewise.
3256 * soft-fp/trunctfsf2.c: Likewise.
3257 * soft-fp/trunctfxf2.c: Likewise.
3258 * sysdeps/alpha/ots_cvttx.c: Likewise.
3259 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3260 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3261 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3262 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3263 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3264 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3265 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3266 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3267 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3268 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3269 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3270 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3271 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3272 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3273 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3274 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3275 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3277 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3280 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3281 code with -fmath-errno.
3282 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3283 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3284 * string/test-strerror-errno.c: New file.
3286 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3289 * localedata/locales/en_US (date_fmt): Add, set to
3290 "%a %d %b %Y %r %Z".
3292 2019-01-07 Florian Weimer <fweimer@redhat.com>
3295 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3296 instead of @var{errno}.
3297 (Parsing of Integers): Likewise.
3298 (Parsing of Floats): Likewise.
3299 * manual/filesys.texi (Working with Directory Trees): Likewise.
3300 (Temporary Files): Likewise.
3301 * manual/job.texi (Terminal Access Functions): Likewise.
3302 * manual/llio.texi (Synchronizing I/O): Likewise.
3303 * manual/math.texi (SVID Random): Likewise.
3304 * manual/message.texi (The catgets Functions): Likewise.
3305 (Translation with gettext): Likewise.
3306 (Locating gettext catalog): Likewise.
3307 (Charset conversion in gettext): Likewise.
3308 * manual/nss.texi (NSS Module Function Internals): Likewise.
3309 * manual/search.texi (Hash Search Function): Likewise.
3310 * manual/setjmp.texi (System V contexts): Likewise.
3311 * manual/time.texi (Sleeping): Likewise.
3312 * manual/users.texi (Lookup User): Likewise.
3313 (Lookup Group): Likewise.
3315 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3317 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3320 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3323 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3324 __builtin_unreachable for default case in switch.
3325 (__ieee754_yn): Likewise.
3326 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3327 (__ieee754_ynl): Likewise.
3328 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3329 (__ieee754_ynl): Likewise.
3330 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3331 (__ieee754_ynl): Likewise.
3333 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3335 * manual/maint.texi: Use @{ and @}.
3337 2019-01-04 Florian Weimer <fweimer@redhat.com>
3339 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3341 (do_in_chroot_1): Call it.
3343 Improve error reporting in case it is not possible to create a
3344 collision for the PTY name required by the test.
3346 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3348 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3349 lll_wait_tid with timeout.
3350 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3351 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3352 futex_reltimed_wait_cancelable for cancelabla mode.
3353 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3354 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3356 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3357 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3358 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3359 SYSCALL_CANCEL_NCS): New macro.
3360 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3361 (lll_timedwait_tid): Remove macro.
3362 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3364 (lll_timedwait_tid): Likewise.
3365 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3367 (lll_timedwait_tid): Likewise.
3368 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3370 (lll_timedwait_tid): Likewise.
3371 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3372 Use INTERNAL_SYSCALL_CANCEL.
3373 * sysdeps/unix/sysv/linux/futex-internal.h
3374 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3375 instead of __pthread_{enable,disable}_asynccancel.
3376 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3377 (lll_futex_wait_cancel): New macro.
3379 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3380 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3382 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3383 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3385 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3386 in backtrace analysis.
3387 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3389 (tf_send): Likewise.
3391 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3392 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3393 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3394 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3395 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3396 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3397 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3398 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3399 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3400 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3401 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3402 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3404 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3405 tst-cancel-wrappers.sh.
3406 (generated): Remove tst-cancel-wrappers.out.
3407 (tst-cancel-wrappers.out): Remove rule.
3408 * nptl/tst-cancel-wrappers.sh: Remove file.
3410 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3412 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3413 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3416 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3419 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3420 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3421 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3422 close-on-exec reset for adddup2 file action.
3423 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3425 2019-01-03 Zack Weinberg <zackw@panix.com>
3427 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3428 parameter. Only use deprecated scanf when __USE_GNU is defined
3429 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3430 than 201103L, whichever is relevant for the language being compiled.
3432 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3433 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3434 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3435 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3436 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3440 * libio/iovswscanf.c
3445 * stdio-common/fscanf.c
3446 * stdio-common/scanf.c
3447 * stdio-common/vfscanf.c
3448 * stdio-common/vfwscanf.c
3449 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3450 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3451 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3452 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3453 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3454 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3455 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3456 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3457 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3458 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3459 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3460 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3461 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3462 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3463 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3465 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3466 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3467 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3469 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3470 with a preprocessor macro.
3472 * stdio-common/bug21.c, stdio-common/scanf14.c:
3473 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3474 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3475 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3476 to xscanf, xfscanf, xsscanf.
3478 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3479 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3480 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3481 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3483 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3484 override feature selection macros or provide definitions of u_char etc.
3485 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3486 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3487 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3490 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3493 bits/termios-misc.h.
3494 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3495 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3496 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3497 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3498 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3499 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3501 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3502 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3503 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3504 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3505 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3506 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3508 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3509 (sysdep_headers): Add termios-misc.h.
3511 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3512 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3513 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3517 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3518 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3519 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3520 TCSAFLUSH): Move to termios-tcflow.h.
3521 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3522 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3523 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3524 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3528 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3529 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3530 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3531 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3532 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3533 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3534 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3535 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3537 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3538 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3539 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3540 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3544 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3545 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3546 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3547 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3548 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3550 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3551 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3552 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3553 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3558 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3559 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3560 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3561 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3562 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3563 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3564 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3565 __MAX_BAUD): Move to termios-baud.h.
3566 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3567 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3568 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3569 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3572 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3574 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3575 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3576 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3577 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3578 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3579 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3581 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3582 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3584 [USE_MISC] (XTABS): Likewise.
3585 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3586 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3587 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3588 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3590 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3592 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3593 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3594 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3595 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3596 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3597 IUTF8): Move to termios-c_iflag.h.
3598 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3599 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3600 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3601 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3603 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3605 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3606 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3607 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3608 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3609 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3610 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3611 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3612 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3613 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3614 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3615 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3616 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3618 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3619 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3620 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3621 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3624 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3626 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3628 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3630 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3632 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3634 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3635 _HAVE_C_OSPEED): Define.
3636 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3637 _HAVE_C_OSPEED): Likewise.
3638 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3639 _HAVE_C_OSPEED): Likewise.
3640 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3641 (cfsetospeed): Check for define value instead of existence.
3642 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3643 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3644 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3645 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3646 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3649 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3651 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3652 (TIOCSER_TEMT): Likewise.
3653 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3654 (TEOCSER_TEMT): Likewise.
3656 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3659 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3661 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3663 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3665 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3667 * sysdeps/htl/pt-barrierattr-setpshared.c
3668 (pthread_barrierattr_setpshared): Add stub warning.
3669 * sysdeps/htl/pt-condattr-setpshared.c
3670 (pthread_condattr_setpshared): Likewise.
3671 * sysdeps/htl/pt-mutexattr-setpshared.c
3672 (pthread_mutexattr_setpshared): Likewise.
3673 * sysdeps/htl/pt-rwlockattr-setpshared.c
3674 (pthread_rwlockattr_setpshared): Likewise.
3675 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3676 (pthread_mutexattr_setpshared): Likewise.
3678 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3680 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3681 constants to match with Linux 4.20.
3683 * sysdeps/mips/mips32/libm-test-ulps: Update.
3684 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3686 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3689 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3690 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3691 than __typeof (...) for the a_ptr variable.
3693 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3695 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3696 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3697 * libio/Makefile (tests): Add tst-sprintf-ub and
3699 (CFLAGS-tst-sprintf-ub.c): New variable.
3700 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3701 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3702 destination buffer and check for overflows in fortified mode.
3703 * libio/libioP.h (PRINTF_CHK): New macro.
3704 * libio/tst-sprintf-chk-ub.c: New file.
3705 * libio/tst-sprintf-ub.c: Likewise.
3707 2019-01-02 Florian Weimer <fweimer@redhat.com>
3710 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3713 2019-01-02 Florian Weimer <fweimer@redhat.com>
3715 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3717 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3719 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3722 * sysdeps/unix/sysv/linux/netpacket/packet.h
3723 (PACKET_IGNORE_OUTGOING): New macro.
3725 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3728 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3730 (riscv_flush_icache): New syscall.
3732 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3733 trailing whitespace removed.
3734 * scripts/config.guess: Update to version 2019-01-01.
3735 * scripts/config.sub: Update to version 2019-01-01.
3736 * scripts/move-if-change: Update from gnulib.
3738 * NEWS: Update copyright dates.
3739 * catgets/gencat.c (print_version): Likewise.
3740 * csu/version.c (banner): Likewise.
3741 * debug/catchsegv.sh: Likewise.
3742 * debug/pcprofiledump.c (print_version): Likewise.
3743 * debug/xtrace.sh (do_version): Likewise.
3744 * elf/ldconfig.c (print_version): Likewise.
3745 * elf/ldd.bash.in: Likewise.
3746 * elf/pldd.c (print_version): Likewise.
3747 * elf/sotruss.sh: Likewise.
3748 * elf/sprof.c (print_version): Likewise.
3749 * iconv/iconv_prog.c (print_version): Likewise.
3750 * iconv/iconvconfig.c (print_version): Likewise.
3751 * locale/programs/locale.c (print_version): Likewise.
3752 * locale/programs/localedef.c (print_version): Likewise.
3753 * login/programs/pt_chown.c (print_version): Likewise.
3754 * malloc/memusage.sh (do_version): Likewise.
3755 * malloc/memusagestat.c (print_version): Likewise.
3756 * malloc/mtrace.pl: Likewise.
3757 * manual/libc.texinfo: Likewise.
3758 * nptl/version.c (banner): Likewise.
3759 * nscd/nscd.c (print_version): Likewise.
3760 * nss/getent.c (print_version): Likewise.
3761 * nss/makedb.c (print_version): Likewise.
3762 * posix/getconf.c (main): Likewise.
3763 * scripts/test-installation.pl: Likewise.
3764 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3766 * All files with FSF copyright notices: Update copyright dates
3767 using scripts/update-copyrights.
3768 * locale/programs/charmap-kw.h: Regenerated.
3769 * locale/programs/locfile-kw.h: Likewise.
3771 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3773 * timezone/zdump.c: Update from tzcode 2018i.
3774 * timezone/zic.c: Likewise.
3776 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3778 regex: improve Gnulib port to AIX
3779 From the glibc point of view, this removes duplicate macro
3780 definitions and is obviously safe.
3781 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3782 * posix/regex_internal.h:
3783 (__attribute__, __attribute_warn_unused_result__):
3784 Remove; already defined elsewhere.
3786 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3789 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3790 copying operation. (ncopies had the wrong type, resulting in an
3791 integer wraparound and too few elements being copied.)
3793 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3796 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3797 <asm/syscalls.h> exists with __has_include__ before including it.
3799 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3801 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3804 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3806 * hurd/lookup-retry: Include <unistd.h>.
3807 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3808 Release it on return. Handle "pid" magical lookup retry.
3810 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3813 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3814 (t_fmt_ampm): Likewise.
3815 * localedata/locales/aa_ER (t_fmt): Likewise.
3816 (t_fmt_ampm): Likewise.
3817 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3818 (t_fmt_ampm): Likewise.
3819 * localedata/locales/aa_ET (t_fmt): Likewise.
3820 (t_fmt_ampm): Likewise.
3821 * localedata/locales/am_ET (t_fmt): Likewise.
3822 (t_fmt_ampm): Likewise.
3823 * localedata/locales/byn_ER (t_fmt): Likewise.
3824 (t_fmt_ampm): Likewise.
3825 * localedata/locales/om_ET (t_fmt): Likewise.
3826 (t_fmt_ampm): Likewise.
3827 * localedata/locales/sid_ET (t_fmt): Likewise.
3828 (t_fmt_ampm): Likewise.
3829 * localedata/locales/so_DJ (t_fmt): Likewise.
3830 (t_fmt_ampm): Likewise.
3831 * localedata/locales/so_ET (t_fmt): Likewise.
3832 (t_fmt_ampm): Likewise.
3833 * localedata/locales/so_SO (t_fmt): Likewise.
3834 (t_fmt_ampm): Likewise.
3835 * localedata/locales/ti_ER (t_fmt): Likewise.
3836 (t_fmt_ampm): Likewise.
3837 * localedata/locales/ti_ET (t_fmt): Likewise.
3838 (t_fmt_ampm): Likewise.
3839 * localedata/locales/tig_ER (t_fmt): Likewise.
3840 (t_fmt_ampm): Likewise.
3841 * localedata/locales/wal_ET (t_fmt): Likewise.
3842 (t_fmt_ampm): Likewise.
3844 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3845 * localedata/locales/ar_IN (t_fmt): Likewise.
3846 * localedata/locales/bhb_IN (t_fmt): Likewise.
3847 * localedata/locales/bho_IN (t_fmt): Likewise.
3848 * localedata/locales/bi_VU (t_fmt): Likewise.
3849 * localedata/locales/bn_BD (t_fmt): Likewise.
3850 * localedata/locales/bn_IN (t_fmt): Likewise.
3851 * localedata/locales/brx_IN (t_fmt): Likewise.
3852 * localedata/locales/doi_IN (t_fmt): Likewise.
3853 * localedata/locales/en_HK (t_fmt): Likewise.
3854 (t_fmt_ampm): Likewise.
3855 * localedata/locales/en_IN (t_fmt): Likewise.
3856 * localedata/locales/en_PH (t_fmt): Likewise.
3857 * localedata/locales/gu_IN (t_fmt): Likewise.
3858 * localedata/locales/hi_IN (t_fmt): Likewise.
3859 * localedata/locales/hif_FJ (t_fmt): Likewise.
3860 * localedata/locales/hne_IN (t_fmt): Likewise.
3861 * localedata/locales/kn_IN (t_fmt): Likewise.
3862 * localedata/locales/kok_IN (t_fmt): Likewise.
3863 * localedata/locales/ks_IN (t_fmt): Likewise.
3864 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3865 * localedata/locales/mag_IN (t_fmt): Likewise.
3866 * localedata/locales/mai_IN (t_fmt): Likewise.
3867 * localedata/locales/mjw_IN (t_fmt): Likewise.
3868 * localedata/locales/ml_IN (t_fmt): Likewise.
3869 * localedata/locales/mni_IN (t_fmt): Likewise.
3870 * localedata/locales/mr_IN (t_fmt): Likewise.
3871 * localedata/locales/ms_MY (t_fmt): Likewise.
3872 * localedata/locales/pa_IN (t_fmt): Likewise.
3873 * localedata/locales/raj_IN (t_fmt): Likewise.
3874 * localedata/locales/sa_IN (t_fmt): Likewise.
3875 * localedata/locales/sat_IN (t_fmt): Likewise.
3876 * localedata/locales/sd_IN (t_fmt): Likewise.
3877 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3878 * localedata/locales/tcy_IN (t_fmt): Likewise.
3879 * localedata/locales/the_NP (t_fmt): Likewise.
3880 * localedata/locales/to_TO (t_fmt): Likewise.
3881 * localedata/locales/ur_IN (t_fmt): Likewise.
3883 * localedata/locales/hif_FJ (d_t_fmt): Set to
3884 "%A %d %b %Y %I:%M:%S %p".
3885 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3887 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3888 * localedata/locales/ar_BH (t_fmt): Likewise.
3889 * localedata/locales/ar_DZ (t_fmt): Likewise.
3890 * localedata/locales/ar_EG (t_fmt): Likewise.
3891 * localedata/locales/ar_IQ (t_fmt): Likewise.
3892 * localedata/locales/ar_JO (t_fmt): Likewise.
3893 * localedata/locales/ar_KW (t_fmt): Likewise.
3894 * localedata/locales/ar_LB (t_fmt): Likewise.
3895 * localedata/locales/ar_LY (t_fmt): Likewise.
3896 * localedata/locales/ar_OM (t_fmt): Likewise.
3897 * localedata/locales/ar_QA (t_fmt): Likewise.
3898 * localedata/locales/ar_SD (t_fmt): Likewise.
3899 * localedata/locales/ar_SS (t_fmt): Likewise.
3900 * localedata/locales/ar_SY (t_fmt): Likewise.
3901 * localedata/locales/ar_TN (t_fmt): Likewise.
3902 * localedata/locales/ar_YE (t_fmt): Likewise.
3904 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3905 (t_fmt_ampm): Likewise.
3906 * localedata/locales/gez_ET (t_fmt): Likewise.
3907 (t_fmt_ampm): Likewise.
3909 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3910 (t_fmt_ampm): Likewise.
3911 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3913 * localedata/locales/zh_HK (t_fmt):
3914 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3916 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3917 because this locale does not use the 12-hour clock.
3918 (t_fmt): Set to "%Z %H:%M:%S".
3919 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3921 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3922 because this locale does not use the 12-hour clock.
3923 (t_fmt): Set to "%H:%M:%S %Z".
3924 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3926 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3927 because this locale does not use the 12-hour clock.
3928 (t_fmt): Set to "%T".
3929 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3930 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3932 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3933 because this locale does not use the 12-hour clock.
3934 (t_fmt): Set to "%H:%M:%S %Z".
3935 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3937 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3938 because this locale does not use the 12-hour clock.
3939 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3940 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3942 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3946 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3947 (t_fmt_ampm): Likewise.
3948 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3949 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3950 (d_fmt): Set to "%-d.%-m.%y".
3952 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3954 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3955 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3956 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3958 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3959 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3960 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3962 * support/blob_repeat.c (check_mul_overflow_size_t,
3963 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3965 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3967 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3969 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3971 regex: simplify Gnulib port
3972 This simplifies the code, by removing stuff intended for porting
3973 to Gnulib but no longer needed there.
3974 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3975 uses of libc_hidden_def, weak_alias.
3976 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3977 _Restrict_ except for public-facing headers.
3978 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3979 Remove; already defined elsewhere.
3980 * posix/regex.c, posix/regex_internal.h:
3981 Use __GNUC_PREREQ instead of rolling our own.
3982 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3984 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3986 * benchtests/bench-strlen.c (generic_strlen): New function.
3987 (memchr_strlen): New function.
3989 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3991 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3992 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3993 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3995 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3997 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3999 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4001 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4002 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4003 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4004 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4005 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4006 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4007 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4009 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4012 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4013 PLT reference in libc.so.
4014 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4015 _Q_lltoq and _Q_qtod PLT references in libc.so.
4017 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4019 * benchtests/bench-memchr.c: Cleanup defines.
4020 * benchtests/bench-memcmp.c: Likewise.
4021 * benchtests/bench-memset.c: Likewise.
4022 * benchtests/bench-memset-large.c: Likewise.
4023 * benchtests/bench-memset-walk.c: Likewise.
4024 * benchtests/bench-stpcpy.c: Likewise.
4025 * benchtests/bench-stpncpy.c: Likewise.
4026 * benchtests/bench-strcat.c: Likewise.
4027 * benchtests/bench-strchr.c: Likewise.
4028 * benchtests/bench-strcmp.c: Likewise.
4029 * benchtests/bench-strcpy.c: Likewise.
4030 * benchtests/bench-strcspn.c: Likewise.
4031 * benchtests/bench-string.h: Likewise.
4032 * benchtests/bench-strlen.c: Likewise.
4033 * benchtests/bench-strncat.c: Likewise.
4034 * benchtests/bench-strncmp.c: Likewise.
4035 * benchtests/bench-strncpy.c: Likewise.
4036 * benchtests/bench-strnlen.c: Likewise.
4037 * benchtests/bench-strpbrk.c: Likewise.
4038 * benchtests/bench-strrchr.c: Likewise.
4039 * benchtests/bench-strspn.c: Likewise.
4041 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4043 * stdlib/longlong.h: Update from GCC.
4046 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4047 * configure: Regenerated.
4048 * manual/install.texi (Tools for Compilation): Update minimum GCC
4050 * INSTALL: Regenerated.
4052 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4054 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4056 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4058 * malloc/malloc.c (mremap_chunk): Additional checks.
4060 2018-12-21 Mao Han <han_mao@c-sky.com>
4062 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4063 * scripts/build-many-glibcs.py: Add C-SKY targets.
4064 * sysdeps/csky/Implies: New file.
4065 * sysdeps/csky/Makefile: Likewise.
4066 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4067 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4068 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4069 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4070 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4071 * sysdeps/csky/abiv2/memmove.S: Likewise.
4072 * sysdeps/csky/abiv2/memset.S: Likewise.
4073 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4074 * sysdeps/csky/abiv2/start.S: Likewise.
4075 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4076 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4077 * sysdeps/csky/abiv2/strlen.S: Likewise.
4078 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4079 * sysdeps/csky/abort-instr.h: Likewise.
4080 * sysdeps/csky/atomic-machine.h: Likewise.
4081 * sysdeps/csky/bits/endian.h: Likewise.
4082 * sysdeps/csky/bits/fenv.h: Likewise.
4083 * sysdeps/csky/bits/link.h: Likewise.
4084 * sysdeps/csky/bits/setjmp.h: Likewise.
4085 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4086 * sysdeps/csky/bsd-setjmp.S: Likewise.
4087 * sysdeps/csky/configure: Likewise.
4088 * sysdeps/csky/configure.ac: Likewise.
4089 * sysdeps/csky/dl-machine.h: Likewise.
4090 * sysdeps/csky/dl-procinfo.c: Likewise.
4091 * sysdeps/csky/dl-procinfo.h: Likewise.
4092 * sysdeps/csky/dl-sysdep.h: Likewise.
4093 * sysdeps/csky/dl-tls.h: Likewise.
4094 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4095 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4096 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4097 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4098 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4099 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4100 * sysdeps/csky/fpu/fegetround.c: Likewise.
4101 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4102 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4103 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4104 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4105 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4106 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4107 * sysdeps/csky/fpu/fesetround.c: Likewise.
4108 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4109 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4110 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4111 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4112 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4113 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4114 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4115 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4116 * sysdeps/csky/fpu_control.h: Likewise.
4117 * sysdeps/csky/gccframe.h: Likewise.
4118 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4119 * sysdeps/csky/ldsodefs.h: Likewise.
4120 * sysdeps/csky/libc-tls.c: Likewise.
4121 * sysdeps/csky/linkmap.h: Likewise.
4122 * sysdeps/csky/machine-gmon.h: Likewise.
4123 * sysdeps/csky/memusage.h: Likewise.
4124 * sysdeps/csky/nofpu/Implies: Likewise.
4125 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4126 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4127 * sysdeps/csky/nptl/Makefile: Likewise.
4128 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4129 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4130 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4131 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4132 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4133 * sysdeps/csky/nptl/tls.h: Likewise.
4134 * sysdeps/csky/preconfigure: Likewise.
4135 * sysdeps/csky/sfp-machine.h: Likewise.
4136 * sysdeps/csky/sotruss-lib.c: Likewise.
4137 * sysdeps/csky/stackinfo.h: Likewise.
4138 * sysdeps/csky/sysdep.h: Likewise.
4139 * sysdeps/csky/tininess.h: Likewise.
4140 * sysdeps/csky/tst-audit.h: Likewise.
4141 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4142 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4143 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4144 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4145 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4146 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4147 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4148 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4149 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4150 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4151 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4152 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4153 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4154 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4155 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4156 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4157 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4158 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4159 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4160 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4161 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4162 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4163 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4164 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4165 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4166 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4167 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4168 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4170 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4171 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4172 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4173 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4174 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4175 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4176 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4177 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4178 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4179 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4180 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4181 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4182 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4183 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4184 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4186 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4188 * include/time.h (__difftime64): Add.
4189 * time/difftime.c (subtract): convert to 64-bit time.
4190 * time/difftime.c (__difftime64): Add.
4191 * time/difftime.c (__difftime): Wrap around __difftime64.
4193 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4195 * manual/examples/add.c: Remove redundant "if not".
4196 * manual/examples/argp-ex1.c: Likewise.
4197 * manual/examples/argp-ex2.c: Likewise.
4198 * manual/examples/argp-ex3.c: Likewise.
4199 * manual/examples/argp-ex4.c: Likewise.
4200 * manual/examples/atexit.c: Likewise.
4201 * manual/examples/db.c: Likewise.
4202 * manual/examples/dir.c: Likewise.
4203 * manual/examples/dir2.c: Likewise.
4204 * manual/examples/execinfo.c: Likewise.
4205 * manual/examples/filecli.c: Likewise.
4206 * manual/examples/filesrv.c: Likewise.
4207 * manual/examples/fmtmsgexpl.c: Likewise.
4208 * manual/examples/genpass.c: Likewise.
4209 * manual/examples/inetcli.c: Likewise.
4210 * manual/examples/inetsrv.c: Likewise.
4211 * manual/examples/isockad.c: Likewise.
4212 * manual/examples/longopt.c: Likewise.
4213 * manual/examples/memopen.c: Likewise.
4214 * manual/examples/memstrm.c: Likewise.
4215 * manual/examples/mkdirent.c: Likewise.
4216 * manual/examples/mkfsock.c: Likewise.
4217 * manual/examples/mkisock.c: Likewise.
4218 * manual/examples/mygetpass.c: Likewise.
4219 * manual/examples/pipe.c: Likewise.
4220 * manual/examples/popen.c: Likewise.
4221 * manual/examples/rprintf.c: Likewise.
4222 * manual/examples/search.c: Likewise.
4223 * manual/examples/select.c: Likewise.
4224 * manual/examples/setjmp.c: Likewise.
4225 * manual/examples/sigh1.c: Likewise.
4226 * manual/examples/sigusr.c: Likewise.
4227 * manual/examples/stpcpy.c: Likewise.
4228 * manual/examples/strdupa.c: Likewise.
4229 * manual/examples/strftim.c: Likewise.
4230 * manual/examples/subopt.c: Likewise.
4231 * manual/examples/swapcontext.c: Likewise.
4232 * manual/examples/termios.c: Likewise.
4233 * manual/examples/testopt.c: Likewise.
4234 * manual/examples/testpass.c: Likewise.
4235 * manual/examples/timeval_subtract.c: Likewise.
4237 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4239 * sysdeps/x86/fpu/math_private.h: New file.
4240 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4242 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4247 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4249 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4250 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4251 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4252 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4254 (_dl_show_auxv): Give a special treatment to
4255 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4256 and AT_L3_CACHEGEOMETRY.
4257 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4258 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4259 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4260 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4262 2018-12-19 Andreas Schwab <schwab@suse.de>
4264 * nscd/connections.c (check_use): Don't abort on invalid len.
4266 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4268 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4269 values in the 64bit value cases.
4271 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4277 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4283 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4286 (__gmtime64_r): Add.
4288 (__gmtime64_r): Add.
4289 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4295 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4298 (__localtime64_r): Add.
4300 (__localtime64_r): Add.
4301 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4303 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4305 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4306 kernel_sigction definition.
4308 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4310 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4312 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4313 __syscall_rt_sigaction.
4314 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4315 (kernel_sigaction): Use Linux generic defintion.
4317 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4318 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4319 (__syscall_rt_sigaction): Remove implementation.
4320 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4322 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4323 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4324 INTERNAL_SYSCALL): Remove definitions.
4325 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4326 action and signal set size.
4327 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4330 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4331 James Clarke <jrtc27@jrtc27.com>
4334 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4335 Define if SA_RESTORER is defined.
4336 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4337 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4339 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4340 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4342 (HAS_SA_RESTORER): Define.
4343 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4344 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4345 (HAS_SA_RESTORER): Define.
4346 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4347 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4348 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4349 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4350 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4352 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4354 * sysdeps/unix/sysv/linux/kernel-features.h
4355 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4356 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4357 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4358 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4359 (__ASSUME_ST_INO_64_BIT): Likewise.
4360 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4361 <kernel-features.h>.
4362 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4363 Remove conditional code.
4364 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4365 <kernel-features.h>.
4366 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4367 Remove conditional code.
4368 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4369 <kernel-features.h>.
4370 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4371 Remove conditional code.
4372 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4373 <kernel-features.h>.
4374 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4375 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4377 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4379 * sysdeps/s390/multiarch/ifunc-resolve.h
4380 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4381 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4382 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4383 Delete macro definition.
4384 (s390_libc_ifunc_init): Rename to
4385 s390_libc_ifunc_expr_stfle_init.
4386 * sysdeps/s390/bzero: Use
4387 s390_libc_ifunc_expr_stfle_init instead of
4388 s390_libc_ifunc_init.
4389 * sysdeps/s390/memcmp.c: Likewise.
4390 * sysdeps/s390/memcpy.c: Likewise.
4391 * sysdeps/s390/mempcpy.c: Likewise.
4392 * sysdeps/s390/memset.c: Likewise.
4394 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4396 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4397 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4399 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4401 * sysdeps/s390/multiarch/Makefile
4402 (sysdep_routines): Remove wmemcmp variants.
4403 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4404 * sysdeps/s390/multiarch/ifunc-impl-list.c
4405 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4406 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4407 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4408 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4409 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4410 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4411 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4412 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4414 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4416 * sysdeps/s390/multiarch/Makefile
4417 (sysdep_routines): Remove wmemset variants.
4418 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4419 * sysdeps/s390/multiarch/ifunc-impl-list.c
4420 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4421 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4422 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4423 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4424 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4425 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4426 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4427 * sysdeps/s390/ifunc-wmemset.h: New file.
4429 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4431 * sysdeps/s390/multiarch/Makefile
4432 (sysdep_routines): Remove wmemchr variants.
4433 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4434 * sysdeps/s390/multiarch/ifunc-impl-list.c
4435 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4436 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4437 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4438 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4439 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4440 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4441 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4442 * sysdeps/s390/ifunc-wmemchr.h: New file.
4444 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4446 * sysdeps/s390/multiarch/Makefile
4447 (sysdep_routines): Remove wcscspn variants.
4448 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4449 * sysdeps/s390/multiarch/ifunc-impl-list.c
4450 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4451 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4452 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4453 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4454 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4455 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4456 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4457 * sysdeps/s390/ifunc-wcscspn.h: New file.
4459 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4461 * sysdeps/s390/multiarch/Makefile
4462 (sysdep_routines): Remove wcspbrk variants.
4463 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4464 * sysdeps/s390/multiarch/ifunc-impl-list.c
4465 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4466 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4467 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4468 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4469 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4470 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4471 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4472 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4474 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4476 * sysdeps/s390/multiarch/Makefile
4477 (sysdep_routines): Remove wcsspn variants.
4478 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4479 * sysdeps/s390/multiarch/ifunc-impl-list.c
4480 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4481 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4482 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4483 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4484 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4485 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4486 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4487 * sysdeps/s390/ifunc-wcsspn.h: New file.
4489 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4491 * sysdeps/s390/multiarch/Makefile
4492 (sysdep_routines): Remove wcsrchr variants.
4493 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4494 * sysdeps/s390/multiarch/ifunc-impl-list.c
4495 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4496 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4497 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4498 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4499 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4500 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4501 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4502 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4504 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4506 * sysdeps/s390/multiarch/Makefile
4507 (sysdep_routines): Remove wcschrnul variants.
4508 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4509 * sysdeps/s390/multiarch/ifunc-impl-list.c
4510 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4511 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4512 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4513 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4514 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4515 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4516 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4517 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4519 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4521 * sysdeps/s390/multiarch/Makefile
4522 (sysdep_routines): Remove wcschr variants.
4523 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4524 * sysdeps/s390/multiarch/ifunc-impl-list.c
4525 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4526 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4527 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4528 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4529 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4530 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4531 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4532 * sysdeps/s390/ifunc-wcschr.h: New file.
4534 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4536 * sysdeps/s390/multiarch/Makefile
4537 (sysdep_routines): Remove wcsncmp variants.
4538 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4539 * sysdeps/s390/multiarch/ifunc-impl-list.c
4540 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4541 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4542 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4543 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4544 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4545 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4546 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4547 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4549 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4551 * sysdeps/s390/multiarch/Makefile
4552 (sysdep_routines): Remove wcscmp variants.
4553 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4554 * sysdeps/s390/multiarch/ifunc-impl-list.c
4555 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4556 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4557 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4558 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4559 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4560 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4561 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4562 * sysdeps/s390/ifunc-wcscmp.h: New file.
4564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4566 * sysdeps/s390/multiarch/Makefile
4567 (sysdep_routines): Remove wcsncat variants.
4568 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4569 * sysdeps/s390/multiarch/ifunc-impl-list.c
4570 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4571 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4572 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4573 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4574 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4575 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4576 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4577 * sysdeps/s390/ifunc-wcsncat.h: New file.
4579 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4581 * sysdeps/s390/multiarch/Makefile
4582 (sysdep_routines): Remove wcscat variants.
4583 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4584 * sysdeps/s390/multiarch/ifunc-impl-list.c
4585 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4586 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4587 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4588 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4589 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4590 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4591 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4592 * sysdeps/s390/ifunc-wcscat.h: New file.
4594 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4596 * sysdeps/s390/multiarch/Makefile
4597 (sysdep_routines): Remove wcpncpy variants.
4598 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4599 * sysdeps/s390/multiarch/ifunc-impl-list.c
4600 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4601 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4602 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4603 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4604 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4605 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4606 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4607 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4609 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4611 * sysdeps/s390/multiarch/Makefile
4612 (sysdep_routines): Remove wcsncpy variants.
4613 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4614 * sysdeps/s390/multiarch/ifunc-impl-list.c
4615 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4616 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4617 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4618 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4619 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4620 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4621 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4622 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4624 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4626 * sysdeps/s390/multiarch/Makefile
4627 (sysdep_routines): Remove wcpcpy variants.
4628 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4629 * sysdeps/s390/multiarch/ifunc-impl-list.c
4630 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4631 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4632 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4633 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4634 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4635 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4636 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4637 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4641 * sysdeps/s390/multiarch/Makefile
4642 (sysdep_routines): Remove wcscpy variants.
4643 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4644 * sysdeps/s390/multiarch/ifunc-impl-list.c
4645 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4646 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4647 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4648 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4649 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4650 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4651 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4652 * sysdeps/s390/ifunc-wcscpy.h: New file.
4654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4656 * sysdeps/s390/multiarch/Makefile
4657 (sysdep_routines): Remove wcsnlen variants.
4658 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4659 * sysdeps/s390/multiarch/ifunc-impl-list.c
4660 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4661 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4662 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4663 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4664 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4665 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4666 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4667 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4671 * sysdeps/s390/multiarch/Makefile
4672 (sysdep_routines): Remove wcslen variants.
4673 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4674 * sysdeps/s390/multiarch/ifunc-impl-list.c
4675 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4676 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4677 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4678 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4679 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4680 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4681 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4682 * sysdeps/s390/ifunc-wcslen.h: New file.
4684 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4686 * sysdeps/s390/multiarch/Makefile
4687 (sysdep_routines): Remove memrchr variants.
4688 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4689 * sysdeps/s390/multiarch/ifunc-impl-list.c
4690 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4691 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4692 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4693 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4694 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4695 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4696 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4697 * sysdeps/s390/ifunc-memrchr.h: New file.
4699 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4701 * sysdeps/s390/multiarch/Makefile
4702 (sysdep_routines): Remove memccpy variants.
4703 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4704 * sysdeps/s390/multiarch/ifunc-impl-list.c
4705 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4706 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4707 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4708 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4709 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4710 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4711 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4712 * sysdeps/s390/ifunc-memccpy.h: New file.
4714 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4716 * sysdeps/s390/multiarch/Makefile
4717 (sysdep_routines): Remove rawmemchr variants.
4718 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4719 * sysdeps/s390/multiarch/ifunc-impl-list.c
4720 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4721 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4722 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4723 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4724 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4725 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4726 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4727 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4729 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4731 * sysdeps/s390/multiarch/Makefile
4732 (sysdep_routines): Remove memchr variants.
4733 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4734 * sysdeps/s390/multiarch/ifunc-impl-list.c
4735 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4736 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4737 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4738 * sysdeps/s390/multiarch/memchr.c: Move to ...
4739 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4740 * sysdeps/s390/ifunc-memchr.h: New file.
4741 * sysdeps/s390/s390-64/memchr.S: Move to ...
4742 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4743 for 31/64bit and ifunc handling.
4744 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4745 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4746 * sysdeps/s390/s390-32/memchr.S: Likewise.
4748 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4750 * sysdeps/s390/multiarch/Makefile
4751 (sysdep_routines): Remove strcspn variants.
4752 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4753 * sysdeps/s390/multiarch/ifunc-impl-list.c
4754 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4755 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4756 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4757 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4758 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4759 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4760 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4761 * sysdeps/s390/ifunc-strcspn.h: New file.
4763 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4765 * sysdeps/s390/multiarch/Makefile
4766 (sysdep_routines): Remove strpbrk variants.
4767 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4768 * sysdeps/s390/multiarch/ifunc-impl-list.c
4769 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4770 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4771 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4772 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4773 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4774 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4775 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4776 * sysdeps/s390/ifunc-strpbrk.h: New file.
4778 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4780 * sysdeps/s390/multiarch/Makefile
4781 (sysdep_routines): Remove strspn variants.
4782 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4783 * sysdeps/s390/multiarch/ifunc-impl-list.c
4784 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4785 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4786 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4787 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4788 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4789 * sysdeps/s390/multiarch/strspn.c: Move to ...
4790 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4791 * sysdeps/s390/ifunc-strspn.h: New file.
4793 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4795 * sysdeps/s390/multiarch/Makefile
4796 (sysdep_routines): Remove strrchr variants.
4797 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4798 * sysdeps/s390/multiarch/ifunc-impl-list.c
4799 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4800 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4801 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4802 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4803 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4804 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4805 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4806 * sysdeps/s390/ifunc-strrchr.h: New file.
4808 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4810 * sysdeps/s390/multiarch/Makefile
4811 (sysdep_routines): Remove strchrnul variants.
4812 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4813 * sysdeps/s390/multiarch/ifunc-impl-list.c
4814 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4815 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4816 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4817 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4818 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4819 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4820 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4821 * sysdeps/s390/ifunc-strchrnul.h: New file.
4823 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4825 * sysdeps/s390/multiarch/Makefile
4826 (sysdep_routines): Remove strchr variants.
4827 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4828 * sysdeps/s390/multiarch/ifunc-impl-list.c
4829 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4830 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4831 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4832 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4833 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4834 * sysdeps/s390/multiarch/strchr.c: Move to ...
4835 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4836 * sysdeps/s390/ifunc-strchr.h: New file.
4838 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4840 * sysdeps/s390/multiarch/Makefile
4841 (sysdep_routines): Remove strncmp variants.
4842 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4843 * sysdeps/s390/multiarch/ifunc-impl-list.c
4844 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4845 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4846 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4847 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4848 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4849 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4850 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4851 * sysdeps/s390/ifunc-strncmp.h: New file.
4853 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4855 * sysdeps/s390/multiarch/Makefile
4856 (sysdep_routines): Remove strcmp variants.
4857 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4858 * sysdeps/s390/multiarch/ifunc-impl-list.c
4859 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4860 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4861 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4862 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4863 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4864 * sysdeps/s390/ifunc-strcmp.h: New file.
4865 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4866 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4867 for 31/64bit and ifunc handling.
4868 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4869 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4870 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4872 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4874 * sysdeps/s390/multiarch/Makefile
4875 (sysdep_routines): Remove strncat variants.
4876 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4877 * sysdeps/s390/multiarch/ifunc-impl-list.c
4878 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4879 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4880 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4881 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4882 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4883 * sysdeps/s390/multiarch/strncat.c: Move to ...
4884 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4885 * sysdeps/s390/ifunc-strncat.h: New file.
4887 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4889 * sysdeps/s390/multiarch/Makefile
4890 (sysdep_routines): Remove strcat variants.
4891 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4892 * sysdeps/s390/multiarch/ifunc-impl-list.c
4893 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4894 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4895 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4896 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4897 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4898 * sysdeps/s390/multiarch/strcat.c: Move to ...
4899 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4900 * sysdeps/s390/ifunc-strcat.h: New file.
4902 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4904 * sysdeps/s390/multiarch/Makefile
4905 (sysdep_routines): Remove stpncpy variants.
4906 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4907 * sysdeps/s390/multiarch/ifunc-impl-list.c
4908 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4909 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4910 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4911 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4912 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4913 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4914 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4915 * sysdeps/s390/ifunc-stpncpy.h: New file.
4917 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4919 * sysdeps/s390/multiarch/Makefile
4920 (sysdep_routines): Remove strncpy variants.
4921 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4922 * sysdeps/s390/multiarch/ifunc-impl-list.c
4923 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4924 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4925 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4926 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4927 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4928 * sysdeps/s390/ifunc-strncpy.h: New file.
4929 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4930 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4931 and adjust ifunc handling.
4932 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4933 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4934 and adjust ifunc handling.
4935 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4936 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4938 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4940 * sysdeps/s390/multiarch/Makefile
4941 (sysdep_routines): Remove stpcpy variants.
4942 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4943 * sysdeps/s390/multiarch/ifunc-impl-list.c
4944 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4945 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4946 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4947 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4948 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4949 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4950 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4951 * sysdeps/s390/ifunc-stpcpy.h: New file.
4953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4955 * sysdeps/s390/multiarch/Makefile
4956 (sysdep_routines): Remove strcpy variants.
4957 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4958 * sysdeps/s390/multiarch/ifunc-impl-list.c
4959 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4960 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4961 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4962 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4963 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4964 * sysdeps/s390/ifunc-strcpy.h: New file.
4965 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4966 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4967 for 31/64bit and ifunc handling.
4968 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4969 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4970 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4972 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4974 * sysdeps/s390/multiarch/Makefile
4975 (sysdep_routines): Remove strnlen variants.
4976 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4977 * sysdeps/s390/multiarch/ifunc-impl-list.c
4978 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4979 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4980 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4981 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4982 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4983 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4984 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4985 * sysdeps/s390/ifunc-strnlen.h: New file.
4987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4989 * sysdeps/s390/multiarch/Makefile
4990 (sysdep_routines): Remove strlen variants.
4991 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4992 * sysdeps/s390/multiarch/ifunc-impl-list.c
4993 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4994 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4995 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4996 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4997 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4998 * sysdeps/s390/multiarch/strlen.c: Move to ...
4999 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5000 * sysdeps/s390/ifunc-strlen.h: New file.
5002 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5004 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5005 * sysdeps/s390/multiarch/ifunc-impl-list.c
5006 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5007 * sysdeps/s390/ifunc-memmem.h: New file.
5008 * sysdeps/s390/memmem.c: Likewise.
5009 * sysdeps/s390/memmem-c.c: Likewise.
5010 * sysdeps/s390/memmem-vx.c: Likewise.
5012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5014 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5015 * sysdeps/s390/multiarch/ifunc-impl-list.c
5016 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5017 * sysdeps/s390/ifunc-strstr.h: New file.
5018 * sysdeps/s390/strstr.c: Likewise.
5019 * sysdeps/s390/strstr-c.c: Likewise.
5020 * sysdeps/s390/strstr-vx.c: Likewise.
5022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5024 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5025 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5026 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5027 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5029 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5030 * sysdeps/s390/memmove-c.c: New file.
5031 * sysdeps/s390/memmove.c: Likewise.
5032 * sysdeps/s390/multiarch/ifunc-impl-list.c
5033 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5037 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5038 * sysdeps/s390/configure.ac: Add check for z13 support.
5039 * sysdeps/s390/configure: Regenerated.
5041 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5043 * sysdeps/s390/memcopy.h: New file.
5045 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5047 * sysdeps/s390/s390-32/bcopy.S: Remove.
5048 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5052 * sysdeps/s390/ifunc-memcpy.h: New File.
5053 * sysdeps/s390/memcpy.S: Move to ...
5054 * sysdeps/s390/memcpy-z900.S ... here.
5055 Move implementations from memcpy-s390x.s to here.
5056 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5057 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5058 Remove memcpy/mempcpy variants.
5059 * sysdeps/s390/Makefile (sysdep_routines):
5060 Add memcpy/mempcpy variants.
5061 * sysdeps/s390/multiarch/ifunc-impl-list.c
5062 (__libc_ifunc_impl_list): Adjust ifunc variants for
5064 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5066 * sysdeps/s390/memcpy.c: ... here.
5067 Adjust ifunc variants for memcpy.
5068 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5069 * sysdeps/s390/mempcpy.c: ... here.
5070 Adjust ifunc variants for mempcpy.
5071 * sysdeps/s390/mempcpy.S: Delete file.
5073 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5075 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5076 * sysdeps/s390/memcpy.S: ... here.
5077 Adjust to be usable for 31/64bit.
5078 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5079 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5080 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5081 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5082 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5083 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5084 Adjust to be usable for 31/64bit.
5085 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5086 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5087 * sysdeps/s390/multiarch/memcpy.c: ... here.
5088 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5092 * sysdeps/s390/ifunc-memcmp.h: New File.
5093 * sysdeps/s390/memcmp.S: Move to ...
5094 * sysdeps/s390/memcmp-z900.S ... here.
5095 Move implementations from memcmp-s390x.s to here.
5096 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5097 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5098 Remove memcmp variants.
5099 * sysdeps/s390/Makefile (sysdep_routines):
5100 Add memcmp variants.
5101 * sysdeps/s390/multiarch/ifunc-impl-list.c
5102 (__libc_ifunc_impl_list): Adjust ifunc variants for
5104 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5106 * sysdeps/s390/memcmp.c: ... here.
5107 Adjust ifunc variants for memcmp.
5109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5111 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5112 * sysdeps/s390/memcmp.S: ... here.
5113 Adjust to be usable for 31/64bit.
5114 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5115 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5116 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5118 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5119 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5120 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5121 Adjust to be usable for 31/64bit.
5122 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5123 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5124 * sysdeps/s390/multiarch/memcmp.c: ... here.
5125 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5127 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5129 * sysdeps/s390/s390-32/bzero.S: Delete file.
5130 * sysdeps/s390/s390-64/bzero.S: Likewise.
5131 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5132 * sysdeps/s390/bzero.c: New file.
5133 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5134 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5135 * sysdeps/s390/multiarch/ifunc-impl-list.c
5136 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5138 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5140 * sysdeps/s390/ifunc-memset.h: New File.
5141 * sysdeps/s390/memset.S: Move to ...
5142 * sysdeps/s390/memset-z900.S ... here.
5143 Move implementations from memset-s390x.s to here.
5144 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5145 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5146 Remove memset variants.
5147 * sysdeps/s390/Makefile (sysdep_routines):
5148 Add memset variants.
5149 * sysdeps/s390/multiarch/ifunc-impl-list.c
5150 (__libc_ifunc_impl_list): Adjust ifunc variants for
5152 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5154 * sysdeps/s390/memset.c: ... here.
5155 Adjust ifunc variants for memset.
5157 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5159 * sysdeps/s390/s390-64/memset.S: Move to ...
5160 * sysdeps/s390/memset.S: ... here.
5161 Adjust to be usable for 31/64bit.
5162 * sysdeps/s390/s390-32/memset.S: Delete File.
5163 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5164 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5166 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5167 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5168 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5169 Adjust to be usable for 31/64bit.
5170 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5171 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5172 * sysdeps/s390/multiarch/memset.c: ... here.
5173 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5175 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5177 * sysdeps/s390/multiarch/ifunc-resolve.h
5178 (s390_libc_ifunc_init, s390_libc_ifunc,
5179 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5181 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5183 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5184 * sysdeps/s390/configure.ac: Add check for z10 support.
5185 * sysdeps/s390/configure: Regenerated.
5187 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5189 * sysdeps/i386/atomic-machine.h: Merged with ...
5190 * sysdeps/x86_64/atomic-machine.h: To ...
5191 * sysdeps/x86/atomic-machine.h: This. New file.
5193 2018-12-18 Florian Weimer <fweimer@redhat.com>
5195 Rewrite locale/gen-translit.pl in Python.
5196 * locale/Makefile (generated): Add C-translit.h.
5197 (before-compile): Add $(objpfx)C-translit.h.
5198 (C-translit.h): Move to $(objpfx). Create target directory.
5199 Build using Python script.
5200 * locale/gen-translit.py: New file.
5201 * locale/gen-translit.pl: Remove file.
5202 * locale/C-translit.h.in: Change comment character to '#' for
5203 easier parsing without a C preprocessor.
5204 * locale/C-translit.h: Remove generated file.
5205 * manual/install.texi (Tools for Compilation): Do not mention
5207 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5208 Remove locale/C-translit.h.
5209 * scripts/update-copyrights: Likewise.
5210 * INSTALL: Regenerate.
5212 2018-12-18 Florian Weimer <fweimer@redhat.com>
5215 * localedata/locales/bi_VU: Remove executable bit from file.
5217 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5220 (__localtime64): Add.
5221 * manual/maint.texi: Document Y2038 symbol handling.
5223 (__localtime64): Add.
5224 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5226 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5228 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5231 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5232 to allow extra macros from first or second sources.
5233 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5234 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5235 (tests-special): Add $(objpfx)tst-mman-consts.out.
5236 ($(objpfx)tst-mman-consts.out): New makefile target.
5238 2018-12-17 Mao Han <han_mao@c-sky.com>
5240 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5241 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5242 without stat64 system call support.
5243 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5244 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5245 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5246 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5247 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5248 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5249 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5250 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5251 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5252 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5253 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5255 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5257 regex: fix storage-exhaustion error
5259 * posix/regexec.c (get_subexp):
5260 Do not continue if storage is exhausted.
5262 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5264 regex: fix heap-use-after-free error
5266 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5267 https://debbugs.gnu.org/32592
5268 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5269 call extend_buffers which reallocates the re_string_t internal buffer.
5270 Local variable 'buf' was not updated in such case, resulting in
5272 * posix/regexec.c (get_subexp): Update 'buf' after call to
5275 2018-12-15 Florian Weimer <fweimer@redhat.com>
5277 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5278 (minimum_stride_size): Use it.
5279 (support_blob_repeat_allocate): Likewise.
5281 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5283 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5288 2018-12-14 Florian Weimer <fweimer@redhat.com>
5290 * manual/process.texi (Process Creation Concepts): Remove
5291 documentation of process (ID) lifetime. List more process
5292 creation functions. Reference Process Identification section.
5293 (Process Identification): Add information about process ID
5294 lifetime. Describe Linux thread/task IDs.
5295 * manual/signal.texi (Signaling Another Process): Mention that the
5296 signal is always sent to the process.
5298 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5300 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5301 and tst-ldbl-efgcvt.
5302 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5303 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5304 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5305 (fcvt_tests, output_error, output_r_error, do_test): Use the
5306 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5307 select the type of floating-point variables and arguments; to
5308 produce extra tests for double and conversion specifiers for
5309 printf; and to set the names of called functions.
5310 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5311 in tst-efgcvt-template.c.
5312 * misc/tst-ldbl-efgcvt.c: Likewise.
5314 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5316 * nss/Makefile (tst-nss-test3.out): New rule.
5318 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5320 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5323 2018-12-13 fanjinke <fanjinke@hygon.cn>
5325 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5328 2018-12-13 Andreas Schwab <schwab@suse.de>
5331 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5332 (__pthread_rwlock_rdlock_full): Update expected value for
5333 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5334 * nptl/tst-rwlock-pwn.c: New file.
5335 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5337 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5339 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5342 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5344 * benchtests/scripts/compare_bench.py (do_compare): write to
5345 stderr in casestat is not present.
5346 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5347 stderr in case timings field is not present. Also string showing
5348 the output filename goes into the stderr.
5350 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5352 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5353 and ZeroDivisorError exceptions.
5354 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5355 argument to loop through user provided statistics.
5356 * benchtests/scripts/compare_bench.py (main): Include the --stats
5359 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5361 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5364 2018-12-12 Florian Weimer <fweimer@redhat.com>
5366 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5367 clause to copyright header.
5369 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5372 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5373 registers saved in the stack frame.
5374 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5375 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5377 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5379 * include/bits/monetary-ldbl.h: New file.
5380 * include/bits/printf-ldbl.h: Likewise.
5381 * include/bits/stdio-ldbl.h: Likewise.
5382 * include/bits/stdlib-ldbl.h: Likewise.
5383 * include/bits/syslog-ldbl.h: Likewise.
5384 * include/bits/wchar-ldbl.h: Likewise.
5386 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5388 * libio/libio.h: Remove redirection for _IO_vfprintf.
5390 2018-12-11 Andreas Schwab <schwab@suse.de>
5392 * Makerules: Remove all references to abilist-pattern.
5393 (update-all-abi): Simplify find expression.
5395 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5398 * math/auto-libm-test-in: Add new test case.
5399 * math/auto-libm-test-out-pow: Regenerated.
5400 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5402 2018-12-10 DJ Delorie <dj@redhat.com>
5405 * support/test-container.c: Move postclean step to before we
5408 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5410 * scripts/gen-as-const.py (main): Handle --python option.
5411 * scripts/gen-py-const.awk: Remove.
5412 * Makerules (py-const-script): Use gen-as-const.py.
5413 ($(py-const)): Likewise.
5414 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5415 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5416 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5417 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5418 ~PTHREAD_MUTEX_NO_ELISION_NP.
5419 * manual/README.pretty-printers: Update reference to
5422 * scripts/glibcextract.py: New file.
5423 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5424 or tempfile. Import glibcexctract.
5425 (compute_c_consts): Remove. Moved to glibcextract.py.
5426 (gen_test): Update reference to compute_c_consts.
5428 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5429 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5430 * sysdeps/unix/sysv/linux/Makefile
5431 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5432 Redirect stderr as well as stdout.
5434 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5437 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5438 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5439 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5440 ALWAYS_USE_VSYSCALL.
5441 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5442 ALWAYS_USE_VSYSCALL.
5443 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5444 ALWAYS_USE_VSYSCALL.
5446 2018-12-10 Florian Weimer <fweimer@redhat.com>
5449 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5450 offset instead of count for clarity. Fix typo in comment.
5451 (__old_getdents64): Keep track of previous offset. Use it to call
5453 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5454 that d_off is never zero.
5456 2018-12-10 Andreas Schwab <schwab@suse.de>
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5459 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5461 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5462 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5464 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5466 * timezone/private.h: Update from tzcode 2018g.
5467 * timezone/tzfile.h: Likewise.
5468 * timezone/tzselect.ksh: Likewise.
5469 * timezone/zdump.c: Likewise.
5470 * timezone/zic.c: Likewise.
5472 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5475 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5476 (do_test): Adjust buffer size and fix format.
5478 2018-12-07 DJ Delorie <dj@redhat.com>
5481 * malloc/tst-tcfree3.c: New.
5482 * malloc/Makefile: Add it.
5484 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5486 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5488 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5490 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5491 used as a mask for the mode argument of __vfscanf_internal and
5492 __vfwscanf_internal.
5493 * stdio-common/vfscanf-internal.c
5494 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5495 (__strtof128_internal): Define to __wcstof128_internal.
5496 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5497 __strtof128_internal or __wcstof128_internal when the format of
5498 long double is the same as _Float128.
5500 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5502 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5503 * posix/confstr.c (confstr): Rename to __confstr.
5504 (__confstr): Add hidden def.
5505 (confstr): Add weak alias for __confstr.
5506 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5509 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5511 * NEWS: Mention getcpu.
5512 * include/sched.h (__getcpu): New libc_hidden_proto.
5513 * manual/resource.texi: Document getcpu.
5514 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5515 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5517 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5518 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5519 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5520 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5521 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5522 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5523 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5524 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5525 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5526 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5528 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5529 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5530 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5539 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5540 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5541 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5542 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5543 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5544 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5545 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5546 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5547 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5548 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5549 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5552 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5554 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5556 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5558 2018-12-07 Florian Weimer <fweimer@redhat.com>
5561 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5562 * posix/Versions (GLIBC_2.29): Export
5563 posix_spawn_file_actions_addfchdir_np.
5564 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5565 * posix/spawn_faction_destroy.c
5566 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5567 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5568 and the field action.fchdir_action.
5569 * posix/tst-spawn-chdir.c (add_chdir): New function.
5570 (do_test): Add do_fchdir loop. Call add_chdir.
5571 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5572 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5573 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5574 posix_spawn_file_actions_addfchdir_np.
5575 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5577 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5579 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5580 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5582 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5584 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5586 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5588 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5590 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5592 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5593 (GLIBC_2.29): Likewise.
5594 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5595 (GLIBC_2.29): Likewise.
5596 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5597 (GLIBC_2.29): Likewise.
5598 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5599 (GLIBC_2.29): Likewise.
5600 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5603 (GLIBC_2.29): Likewise.
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5605 (GLIBC_2.29): Likewise.
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5607 (GLIBC_2.29): Likewise.
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5609 (GLIBC_2.29): Likewise.
5610 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5612 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5614 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5616 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5617 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5619 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5621 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5623 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5626 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5628 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5629 trailing whitespace removed.
5630 * scripts/config.guess: Update to version 2018-11-28.
5631 * scripts/config.sub: Update to version 2018-11-28.
5632 * scripts/install-sh: Update to version 2018-03-11.20.
5633 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5634 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5636 2018-12-07 Florian Weimer <fweimer@redhat.com>
5640 * inet/tst-if_index-long.c: New file.
5641 * inet/Makefile (tests): Add tst-if_index-long.
5643 2018-12-07 Florian Weimer <fweimer@redhat.com>
5645 * support/check.h (support_record_failure_is_failed): Declare.
5646 * support/descriptors.h: New file.
5647 * support/support_descriptors.c: Likewise.
5648 * support/tst-support_descriptors.c: Likewise.
5649 * support/support_record_failure.c
5650 (support_record_failure_is_failed): New function.
5651 * support/Makefile (libsupport-routines): Add support_descriptors.
5652 (tests): Add tst-support_descriptors.
5654 2018-12-05 Zack Weinberg <zackw@panix.com>
5655 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5657 * stdio-common/vfprintf-internal.c
5658 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5659 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5660 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5661 and __no_long_double.
5662 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5663 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5664 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5665 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5666 and __nldbl_*syslog* functions.
5667 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5668 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5669 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5670 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5671 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5672 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5673 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5674 (__nldbl_vwprintf, __nldbl_wprintf):
5675 Directly call the appropriate __v*printf_internal routine, passing
5676 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5678 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5679 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5680 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5681 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5682 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5683 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5684 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5685 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5686 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5687 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5688 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5689 (__nldbl_syslog, __nldbl_vsyslog):
5690 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5691 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5693 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5696 2018-12-05 Zack Weinberg <zackw@panix.com>
5697 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5700 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5701 Moved here from debug/vsprintf_chk.c.
5702 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5703 and completion logic for the strfile to match exactly what
5704 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5705 _IO_str_init_static_internal instead of maxlen-1.
5706 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5707 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5708 __vsprintf_internal.
5710 * debug/vsprintf_chk.c (__vsprintf_chk)
5711 * debug/sprintf_chk.c (__sprintf_chk):
5712 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5713 'flags' argument is positive, and slen as maxlen. No need to lock
5714 the FILE and/or construct a temporary FILE. Minimize and normalize
5715 header inclusions and variable names. Do not libc_hidden_def anything.
5717 * debug/asprintf_chk.c (__asprintf_chk)
5718 * debug/dprintf_chk.c (__dprintf_chk)
5719 * debug/fprintf_chk.c (__fprintf_chk)
5720 * debug/fwprintf_chk.c (__fwprintf_chk)
5721 * debug/printf_chk.c (__printf_chk)
5722 * debug/snprintf_chk.c (__snprintf_chk)
5723 * debug/swprintf_chk.c (__swprintf_chk)
5724 * debug/vasprintf_chk.c (__vasprintf_chk)
5725 * debug/vdprintf_chk.c (__vdprintf_chk)
5726 * debug/vfprintf_chk.c (__vfprintf_chk)
5727 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5728 * debug/vprintf_chk.c (__vprintf_chk)
5729 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5730 * debug/vswprintf_chk.c (__vswprintf_chk)
5731 * debug/vwprintf_chk.c (__vwprintf_chk)
5732 * debug/wprintf_chk.c (__wprintf_chk):
5733 Directly call the corresponding vxxprintf_internal function, passing
5734 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5735 the FILE and/or construct a temporary FILE. Minimize and normalize
5736 header inclusions and variable names. Do not libc_hidden_def anything.
5738 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5739 __obstack_vprintf_internal.
5740 (__obstack_vprintf_chk): Convert into a wrapper that calls
5741 __obstack_vprintf_internal (these two functions already had the
5742 same code) and move to new file...
5743 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5745 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5746 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5747 * debug/Makefile (routines): Add vobprintf_chk.
5749 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5750 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5751 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5752 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5753 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5754 (__nldbl___obstack_vfprintf_chk):
5755 Directly call the corresponding vxxprintf_internal function,
5756 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5757 duplicate comparison of slen with 0 or maxlen from the corresponding
5758 non-__nldbl function.
5760 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5761 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5762 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5763 Remove libc_hidden_proto.
5765 * stdio-common/vfprintf-internal.c
5766 (__vfprintf_internal, __vfwprintf_internal):
5767 Do not check _IO_FLAGS2_FORTIFY.
5768 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5769 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5770 a comment explaining why it has the maxlen argument.
5771 (_IO_acquire_lock_clear_flags2_fct): Remove.
5772 (_IO_acquire_lock_clear_flags2): Remove.
5773 (_IO_release_lock): Remove conditional statement which will
5775 (_IO_acquire_lock): Remove variable which is now unused.
5776 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5777 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5779 * stdio-common/Makefile (tests): Add tst-bz11319 and
5780 tst-bz11319-fortify2.
5781 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5782 * stdio-common/tst-bz11319-fortify2.c: New file.
5783 * stdio-common/tst-bz11319.c: Likewise.
5785 2018-12-05 Zack Weinberg <zackw@panix.com>
5786 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5788 * misc/syslog.c: Include libioP.h, not iolibio.h.
5789 (__vsyslog_internal): New function with the former body of
5790 __vsyslog_chk; takes mode_flags argument same as
5791 __v*printf_internal. Call __vfprintf_internal directly.
5793 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5794 Remove libc_hidden_def.
5795 (__syslog, __syslog_chk): Use __vsyslog_internal.
5796 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5798 * include/sys/syslog.h: Add multiple inclusion guard.
5799 Add prototype for __vsyslog_internal.
5800 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5802 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5803 Use __vsyslog_internal.
5805 2018-12-05 Zack Weinberg <zackw@panix.com>
5806 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5808 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5809 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5810 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5812 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5813 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5815 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5816 Include wctype.h here if COMPILE_WPRINTF is defined.
5817 Define __vfprintf_internal or __vfwprintf_internal, depending
5819 Temporarily, on entry to this function, update mode_flags
5820 according to the environmental settings corresponding to
5821 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5822 Throughout, check mode_flags instead of __ldbl_is_dbl and
5823 _IO_FLAGS2_FORTIFY on the destination FILE.
5824 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5825 Include vfprintf-internal.c. Don't include wctype.h.
5826 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5827 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5829 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5830 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5832 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5834 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5835 and add mode_flags argument; use __vfprintf_internal.
5836 (__vdprintf): New function. Alias vdprintf to this.
5837 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5838 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5839 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5840 (__obstack_printf): Use __obstack_printf_internal.
5841 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5842 public aliases __vsnprintf and vsnprintf.
5843 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5845 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5846 public aliases _IO_vsprintf and vsprintf.
5847 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5848 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5849 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5850 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5851 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5853 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5854 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5855 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5856 * stdio-common/printf.c: Use __vfprintf_internal.
5858 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5859 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5860 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5862 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5863 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5864 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5865 __vfwprintf_internal.
5867 * libio/libio.h: Remove libc_hidden_proto and declaration for
5869 Remove declaration of _IO_vfwprintf.
5870 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5872 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5874 * include/stdio.h: Add prototype for __vasprintf.
5875 (__vsnprintf): Remove declaration, because there are no more
5877 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5878 declaration, because there are no more internal calls.
5880 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5881 __vsnprintf_internal, instead of _IO_vsnprintf.
5882 * argp/argp-help.c (__argp_error, __argp_failure): Use
5883 __vasprintf_internal, instead of _IO_vasprintf.
5884 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5885 redefine, because there are no more internal calls.
5887 2018-12-05 Zack Weinberg <zackw@panix.com>
5888 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5890 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5891 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5892 Include libio/strfile.h instead of libioP.h.
5893 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5894 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5895 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5896 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5897 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5898 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5899 necessary. Do not set __no_long_double. Normalize variable names.
5900 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5901 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5902 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5903 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5904 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5905 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5906 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5907 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5908 Do not set __no_long_double. Normalize variable names.
5910 2018-12-05 Zack Weinberg <zackw@panix.com>
5911 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5913 * stdio-common/isoc99_scanf.c
5914 * stdio-common/isoc99_fscanf.c
5915 * stdio-common/isoc99_sscanf.c
5916 * stdio-common/isoc99_vscanf.c
5917 * stdio-common/isoc99_vfscanf.c
5918 * stdio-common/isoc99_vsscanf.c
5919 * wcsmbs/isoc99_wscanf.c
5920 * wcsmbs/isoc99_fwscanf.c
5921 * wcsmbs/isoc99_swscanf.c
5922 * wcsmbs/isoc99_vwscanf.c
5923 * wcsmbs/isoc99_vfwscanf.c
5924 * wcsmbs/isoc99_vswscanf.c:
5925 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5926 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5927 No need to lock and unlock the FILE passed to that function.
5929 * stdio-common/vfscanf-internal.c
5930 (__vfscanf_internal, __vfwscanf_internal):
5931 Don't look at _IO_FLAGS2_SCANF_STD.
5932 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5933 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5934 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5936 2018-12-05 Zack Weinberg <zackw@panix.com>
5937 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5939 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5940 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5941 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5942 * libio/strfile.h: Add multiple inclusion guard.
5943 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5945 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5946 consistency with the other version of this file.
5947 (ldbl_compat_symbol): New macro.
5948 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5951 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5952 Define __vfscanf_internal or __vfwscanf_internal, depending on
5953 COMPILE_WSCANF; don't define any other public symbols.
5954 Remove errval and code to set errp.
5955 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5956 as the mode_flags argument.
5957 (encode_error, conv_error, input_error): Don't set errval.
5958 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5959 Include vfscanf-internal.c.
5960 * stdio-common/vfscanf.c: New file defining the public entry
5961 point vfscanf, which calls __vfscanf_internal.
5962 * stdio-common/vfwscanf.c: New file defining the public entry
5963 point vfwscanf, which calls __vfwscanf_internal.
5965 * stdio-common/iovfscanf.c: New file.
5966 * stdio-common/iovfwscanf.c: Likewise.
5968 * stdio-common/Makefile (routines): Add vfscanf-internal,
5969 vfwscanf-internal, iovfscanf, iovfwscanf.
5970 * stdio-common/Versions: Mention GLIBC_2.29, so that
5971 it can be used in SHLIB_COMPAT expressions.
5972 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5973 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5974 Call __vfscanf_internal, instead of _IO_vfscanf.
5975 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5977 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5980 * libio/iovsscanf.c: Clean up includes, when possible. Use
5981 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5982 __vfscanf_internal or __vfwscanf_internal directly.
5983 * libio/iovswscanf.c: Likewise.
5984 * libio/swscanf.c: Likewise.
5985 * libio/vscanf.c: Likewise.
5986 * libio/vwscanf.c: Likewise.
5987 * libio/wscanf.c: Likewise.
5988 * stdio-common/isoc99_fscanf.c: Likewise.
5989 * stdio-common/isoc99_scanf.c: Likewise.
5990 * stdio-common/isoc99_sscanf.c: Likewise.
5991 * stdio-common/isoc99_vfscanf.c: Likewise.
5992 * stdio-common/isoc99_vscanf.c: Likewise.
5993 * stdio-common/isoc99_vsscanf.c: Likewise.
5994 * stdio-common/scanf.c: Likewise.
5995 * stdio-common/sscanf.c: Likewise.
5996 * wcsmbs/isoc99_fwscanf.c: Likewise.
5997 * wcsmbs/isoc99_swscanf.c: Likewise.
5998 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5999 * wcsmbs/isoc99_vswscanf.c: Likewise.
6000 * wcsmbs/isoc99_vwscanf.c: Likewise.
6001 * wcsmbs/isoc99_wscanf.c: Likewise.
6003 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6006 (__tz_compute): Replace time_t with __time64_t.
6007 (__tz_convert): Replace time_t* with __time64_t.
6008 (__offtime): Replace time_t* with __time64_t.
6010 (__gmtime_r): Adjust call to __tz_convert.
6013 (__localtime_r): Likewise.
6014 (localtime): Likewise.
6015 * time/offtime.c: Replace time_t with __time64_t.
6016 * time/tzset.c: Likewise.
6018 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6020 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6021 dynamic linker unless [$(run-built-tests) = yes].
6023 2018-12-03 DJ Delorie <dj@delorie.com>
6025 * support/test-container.c (check_for_unshare_hints): New.
6026 (main): Call it if unshare fails. Add support for "su" scriptlet
6029 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6031 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6032 'START' to indicate that start text should be output.
6033 (gen_test): Likewise.
6034 (main): Generate 'START' for first symbol or '--' line, or at end
6035 of input if not previously generated.
6037 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6040 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6041 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6042 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6043 ALWAYS_USE_VSYSCALL.
6045 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6048 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6051 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6054 * locale/programs/localedef.c: Declare boolean hard_links default true.
6055 (options): Add --no-hard-links option.
6056 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6057 * locale/programs/localedef.h: Declare prototype for hard_links.
6058 * locale/programs/locfile.c (write_locale_data): Don't use hard
6059 links if hard_links is false.
6061 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6063 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6065 (__cache_sysconf): Likewise.
6066 (init_cacheinfo): Likewise.
6067 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6068 populate COMMON_CPUID_INDEX_80000007 and
6069 COMMON_CPUID_INDEX_80000008.
6070 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6071 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6072 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6073 (init_cpu_features): Use _Static_assert on
6074 index_arch_Fast_Unaligned_Load.
6075 __get_cpuid_registers and __get_arch_feature. Updated for
6076 cpu_features_basic. Set stepping in cpu_features.
6077 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6078 (FEATURE_INDEX_2): New.
6079 (FEATURE_INDEX_MAX): Changed to enum.
6080 (COMMON_CPUID_INDEX_D_ECX_1): New.
6081 (COMMON_CPUID_INDEX_80000007): Likewise.
6082 (COMMON_CPUID_INDEX_80000008): Likewise.
6083 (cpuid_registers): Likewise.
6084 (cpu_features_basic): Likewise.
6085 (CPU_FEATURE_USABLE): Likewise.
6086 (bit_arch_XXX_Usable): Likewise.
6087 (cpu_features): Use cpuid_registers and cpu_features_basic.
6088 (bit_arch_XXX): Reweritten.
6089 (bit_cpu_XXX): Likewise.
6090 (index_cpu_XXX): Likewise.
6091 (reg_XXX): Likewise.
6092 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6094 (CHECK_CPU_FEATURE): New.
6095 (CHECK_CPU_FEATURE_USABLE): Likewise.
6096 (cpu_kinds): Likewise.
6097 (do_test): Print vendor, family, model and stepping. Check
6098 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6099 (TEST_FUNCTION): Removed.
6100 Include <support/test-driver.c> instead of
6101 "../../test-skeleton.c".
6102 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6103 Check POPCNT instead of POPCOUNT.
6104 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6106 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6108 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6109 there is no element in `consts'.
6111 2018-12-01 Florian Weimer <fweimer@redhat.com>
6113 * support/support_capture_subprocess.c
6114 (support_capture_subprocess): Check that pipe descriptors have
6115 expected values. Close original pipe descriptors in subprocess.
6117 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6120 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6121 attr with __pthread_default_barrierattr.
6122 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6123 attr with __pthread_default_condattr.
6124 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6125 attr with __pthread_default_mutexattr.
6126 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6127 attr with __pthread_default_rwlockattr.
6129 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6131 * manual/tunables.texi (POSIX Thread Tunables): New node.
6132 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6133 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6134 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6135 __pthread_tunables_init.
6136 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6137 (max_adaptive_count): Define.
6138 * nptl/pthread_mutex_conf.c: New file.
6139 * nptl/pthread_mutex_conf.h: New file.
6140 * sysdeps/generic/adaptive_spin_count.h: New file.
6141 * sysdeps/nptl/dl-tunables.list: New file.
6142 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6143 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6144 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6147 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6150 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6151 * stdlib/on_exit.c (__on_exit): Likewise.
6152 * stdlib/Makefile (tests): Add tst-bz20544.
6153 * stdlib/tst-bz20544.c: New test.
6155 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6158 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6159 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6162 2018-11-30 Florian Weimer <fweimer@redhat.com>
6164 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6165 Extend error logging.
6166 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6169 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6171 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6172 __sigismember instead of sigismember.
6173 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6174 cancel_handler): New definitions.
6175 (do_system): Use posix_spawn instead of fork and execl and remove
6177 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6178 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6179 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6180 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6181 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6182 * sysdeps/unix/sysv/linux/system.c: Likewise.
6186 * NEWS: Add new semantic for atfork with popen and system.
6187 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6190 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6193 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6194 modification order when accessing reloc_result->addr.
6195 * include/link.h (reloc_result): Add field init.
6196 * nptl/Makefile (tests): Add tst-audit-threads.
6197 (modules-names): Add tst-audit-threads-mod1 and
6198 tst-audit-threads-mod2.
6199 Add rules to build tst-audit-threads.
6200 * nptl/tst-audit-threads-mod1.c: New file.
6201 * nptl/tst-audit-threads-mod2.c: Likewise.
6202 * nptl/tst-audit-threads.c: Likewise.
6203 * nptl/tst-audit-threads.h: Likewise.
6205 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6207 * scripts/gen-as-const.py: New file.
6208 * scripts/gen-as-const.awk: Remove.
6209 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6211 ($(objpfx)test-as-const-%.c): Likewise.
6213 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6215 * elf/dl-exception.c: Include <_itoa.h>.
6217 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6219 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6220 returned by __f_setlk.
6222 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6223 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6225 * elf/Makefile (tests-internal): Add tst-create_format1.
6226 * elf/dl-exception.c (_dl_exception_create_format): Support
6228 * elf/tst-create_format1.c: New file.
6230 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6232 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6233 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6235 * argp/argp-help.c (__argp_failure): Likewise.
6237 2018-11-29 Mao Han <han_mao@c-sky.com>
6239 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6240 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6241 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6242 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6243 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6244 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6245 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6246 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6247 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6248 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6249 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6250 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6251 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6252 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6253 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6254 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6255 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6256 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6257 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6258 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6259 (R_CKCORE_TLS_TPOFF32): New defines.
6261 2018-11-29 Florian Weimer <fweimer@redhat.com>
6263 * posix/Makefile (before-compile): Remove testcases.h and
6265 (generated): Add testcases.h and ptestcases.h.
6266 (testcases.h, ptestcases.h): Move to $(objpfx).
6267 (runtests.o): Add dependency on testcases.h.
6268 (runptests.o): Add dependency on ptestcases.h.
6269 * posix/testcases.h, posix/ptestcases.h: Remove files.
6270 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6271 not touch posix/testcases.h and posix/ptestcases.h.
6273 2018-11-28 Florian Weimer <fweimer@redhat.com>
6275 support: Add signal support to support_capture_subprocess_check.
6276 * support/capture_subprocess.h (support_capture_subprocess_check):
6277 Adjust comment and rename parameter.
6278 * support/support_capture_subprocess_check.c
6279 (print_actual_status): New function.
6280 (support_capture_subprocess_check): Support negative
6281 status_or_signal. Call print_actual_status.
6282 * support/tst-support_capture_subprocess.c (do_test): Call
6283 support_capture_subprocess_check.
6284 * libio/tst-vtables-common.c (termination_status)
6285 (init_termination_status): Remove.
6286 (check_for_termination): Adjust support_capture_subprocess_check
6288 (do_test): Remove call to init_termination_status.
6290 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6292 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6293 source directory instead of a copy.
6294 (CommandList.create_copy_dir): Remove.
6296 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6298 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6300 2018-11-28 Florian Weimer <fweimer@redhat.com>
6302 * support/support.h (support_quote_string): Do not use str
6305 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6307 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6308 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6310 2018-11-27 Florian Weimer <fweimer@redhat.com>
6312 * support/support.h (support_quote_string): Declare.
6313 * support/support_quote_string.c: New file.
6314 * support/tst-support_quote_string.c: Likewise.
6315 * support/Makefile (libsupport-routines): Add
6316 support_quote_string.
6317 (tests): Add tst-support_quote_string.
6319 2018-11-27 Florian Weimer <fweimer@redhat.com>
6323 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6324 descriptor leak in case of ENODEV error.
6326 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6329 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6330 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6333 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6335 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6336 Error for unknown lines.
6338 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6340 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6341 Touch additional files.
6343 2018-11-26 Florian Weimer <fweimer@redhat.com>
6346 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6349 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6352 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6353 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6354 SHARED. Include sysdep.h.
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6356 ALWAYS_USE_VSYSCALL.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6358 ALWAYS_USE_VSYSCALL.
6360 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6363 * nptl/Makefile (tests-static): Add tst-cond11-static.
6365 * nptl/tst-cond11-static.c: New File.
6366 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6367 tst-affinity-static.
6369 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6371 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6372 (USE_VSYSCALL): Likewise.
6373 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6374 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6376 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6381 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6384 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6385 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6388 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6390 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6391 (tst-cet-legacy-1a-ARGS): New.
6392 ($(objpfx)tst-cet-legacy-1a): New target.
6393 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6395 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6397 * conform/conformtest.py (CompileSubTest.__init__): Set
6398 self.run_early to False.
6399 (ExecuteSubTest.__init__): Likewise.
6400 (HeaderTests.run): Try running all non-optional, non-XFAILed
6401 compilation tests in a single execution of the compiler.
6403 * conform/conformtest.py (CompileSubTest): New class.
6404 (ExecuteSubTest): Likewise.
6405 (ElementTest.run): Rename to gen_subtests. Append tests to
6406 self.subtests instead of running them.
6407 (ConstantTest.run): Likewise.
6408 (SymbolTest.run): Likewise.
6409 (TypeTest.run): Likewise.
6410 (TagTest.run): Likewise.
6411 (FunctionTest.run): Likewise.
6412 (VariableTest.run): Likewise.
6413 (MacroFunctionTest.run): Likewise.
6414 (MacroStrTest.run): Likewise.
6415 (HeaderTests.handle_test_line): Generate subtests for tests.
6416 (HeaderTests.run): Run subtests for tests.
6418 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6420 * math/Versions (GLIBC_2.29): Add pow.
6421 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6423 * math/w_pow.c: New file.
6424 * sysdeps/i386/fpu/w_pow.c: New file.
6425 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6427 and add necessary aliases.
6428 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6429 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6430 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6431 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6432 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6433 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6434 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6435 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6436 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6437 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6438 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6439 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6440 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6441 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6442 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6447 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6448 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6449 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6450 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6451 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6452 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6453 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6454 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6456 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6457 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6458 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6460 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6462 * math/Versions (GLIBC_2.29): Add log2.
6463 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6465 * math/w_log2.c: New file.
6466 * sysdeps/i386/fpu/w_log2.c: New file.
6467 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6468 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6469 and add necessary aliases.
6470 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6471 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6472 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6473 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6474 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6475 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6476 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6477 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6478 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6479 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6480 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6481 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6482 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6483 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6484 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6489 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6490 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6491 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6492 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6493 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6494 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6495 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6497 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6499 * math/Versions (GLIBC_2.29): Add log.
6500 * math/w_log_compat.c (__log_compat): Change to versioned compat
6502 * math/w_log.c: New file.
6503 * sysdeps/i386/fpu/w_log.c: New file.
6504 * sysdeps/ia64/fpu/e_log.S: Update.
6505 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6506 and add necessary aliases.
6507 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6508 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6509 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6510 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6511 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6512 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6513 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6514 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6515 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6516 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6517 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6518 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6519 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6520 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6521 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6526 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6527 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6528 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6529 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6530 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6531 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6532 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6533 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6535 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6536 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6537 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6538 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6540 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6542 * math/Versions (GLIBC_2.29): Add exp and exp2.
6543 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6544 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6545 * math/w_exp_compat.c (__exp_compat): Likewise.
6546 * math/w_exp.c: New file.
6547 * math/w_exp2.c: New file.
6548 * sysdeps/i386/fpu/w_exp.c: New file.
6549 * sysdeps/i386/fpu/w_exp2.c: New file.
6550 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6551 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6552 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6553 and add necessary aliases.
6554 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6555 and add necessary aliases.
6556 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6557 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6558 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6559 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6560 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6561 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6562 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6563 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6564 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6565 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6566 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6567 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6568 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6569 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6570 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6571 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6572 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6577 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6578 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6579 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6580 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6581 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6582 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6583 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6584 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6585 (__ieee754_exp): Rename to __exp.
6586 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6587 (__ieee754_exp): Rename to __exp.
6588 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6589 (__ieee754_exp): Rename to __exp.
6590 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6592 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6594 2018-11-20 DJ Delorie <dj@redhat.com>
6596 * malloc/malloc.c (tcache_entry): Add key field.
6597 (tcache_put): Set it.
6598 (tcache_get): Likewise.
6599 (_int_free): Check for double free in tcache.
6600 * malloc/tst-tcfree1.c: New.
6601 * malloc/tst-tcfree2.c: New.
6602 * malloc/Makefile: Run the new tests.
6603 * manual/probes.texi: Document memory_tcache_double_free probe.
6605 * dlfcn/dlerror.c (check_free): Prevent double frees.
6607 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6609 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6611 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6613 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6614 in tests. Use names for format arguments.
6615 (ConstantTest.run): Likewise.
6616 (SymbolTest.run): Likewise.
6617 (TypeTest.run): Likewise.
6618 (TagTest.run): Likewise.
6619 (FunctionTest.run): Likewise.
6620 (VariableTest.run): Likewise.
6621 (MacroFunctionTest.run): Likewise.
6622 (MacroStrTest.run): Likewise.
6623 (HeaderTests.__init__): Set self.num_tests.
6624 (HeaderTests.handle_test_line): Set test.num. Increment
6627 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6629 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6630 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6633 2018-11-19 Mao Han <han_mao@c-sky.com>
6635 * scripts/config.guess: Update to version 2018-08-29.
6636 * scripts/config.sub: Update to version 2018-08-29.
6638 2018-11-19 Florian Weimer <fweimer@redhat.com>
6640 support: Print timestamps in timeout handler.
6641 * support/support_test_main.c (print_timestamp): New function.
6642 (signal_handler): Use it to print the termination time and the
6643 time of the last write to standard output.
6645 2018-11-16 Zack Weinberg <zackw@panix.com>
6646 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6648 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6649 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6651 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6652 and add flags argument. Check flags instead of __ldbl_is_dbl when
6653 deciding whether to set is_long_double.
6654 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6655 passing zero for flags argument.
6656 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6658 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6659 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6660 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6661 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6662 variable names. Remove libc_hidden_def/libc_hidden_proto from
6663 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6664 longer called from within the library.
6665 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6666 for __nldbl___vstrfmon_l, declare it explicitly.
6668 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6670 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6672 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6674 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6675 F_SETLK64, F_SETLKW64, respectively.
6676 * sysdeps/mach/hurd/f_setlk.c: New file.
6677 * sysdeps/mach/hurd/f_setlk.h: New file.
6678 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6680 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6681 (__libc_fcntl): Move non-flock operations to...
6682 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6683 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6685 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6687 mktime: DEBUG_MKTIME cleanup
6688 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6689 And it’s no longer needed now that glibc and Gnulib both have
6690 their own testing mechanisms for mktime.
6691 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6693 mktime: fix non-EOVERFLOW errno handling
6695 mktime was not properly reporting failures when the underlying
6696 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6697 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6698 The problem could happen on non-glibc platforms, with Gnulib.
6699 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6700 (tm_diff): ... this simpler function, which does not change errno.
6701 All callers changed to deal with errno themselves.
6702 (ranged_convert, __mktime_internal): Return failure immediately if
6703 the underlying function reports any failure other than EOVERFLOW.
6704 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6707 mktime: fix bug with Y2038 DST transition
6709 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6710 mishandle a DST transition that jumps over the Y2038 boundary.
6711 No such DST transitions are known so this is only a theoretical
6712 bug, but we might as well do things right.
6714 mktime: make more room for overflow
6716 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6717 This is so that we can add tm_diff results to a previous guess,
6718 which will be useful in a later patch.
6720 mktime: simplify offset guess
6722 * time/mktime.c (__mktime_internal): Omit excess precision.
6724 mktime: new test for mktime failure
6726 Based on a test suggested by Albert Aribaud in:
6727 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6728 * time/Makefile (tests): Add bug-mktime4.
6729 * time/bug-mktime4.c: New file.
6731 mktime: fix EOVERFLOW bug
6733 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6734 Include libc-config.h, not config.h, for __set_errno.
6735 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6737 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6739 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6740 __attribute_copy__ to copy attributes from name. Drop static qualifier
6741 to avoid warnings about leaf attribute not having effect on static
6744 2018-11-13 Florian Weimer <fweimer@redhat.com>
6746 * malloc/malloc.c (fastbin_push_entry): New function.
6747 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6748 (REMOVE_FB): Remove macro.
6749 (_int_malloc): Use fastbin_pop_entry and reindent.
6750 (_int_free): Use fastbin_push_entry.
6751 (malloc_consolidate): Use atomic_exchange_acquire.
6753 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6755 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6756 alias attribute, not with strong_alias.
6758 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6759 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6760 with additional parameter thread.
6761 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6762 in terms of __hidden_ver2.
6763 (hidden_tls_def): New macro.
6764 (libc_hidden_tls_def): Likewise.
6765 (rtld_hidden_tls_def): Likewise.
6766 (libm_hidden_tls_def): Likewise.
6767 (libmvec_hidden_tls_def): Likewise.
6768 (libresolv_hidden_tls_def): Likewise.
6769 (librt_hidden_tls_def): Likewise.
6770 (libdl_hidden_tls_def): Likewise.
6771 (libnss_files_hidden_tls_def): Likewise.
6772 (libnsl_hidden_tls_def): Likewise.
6773 (libnss_nisplus_hidden_tls_def): Likewise.
6774 (libutil_hidden_tls_def): Likewise.
6775 (libutil_hidden_tls_def): Likweise.
6776 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6777 libc_hidden_tls_def.
6778 (__sim_disabled_exceptions_thread): Likewise.
6779 (__sim_round_mode_thread): Likewise.
6781 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6782 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6783 copy attributes from name.
6785 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6787 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6788 Use __attribute_copy__ to copy attributes from name.
6790 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6791 with __hidden_ver1 call.
6792 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6793 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6794 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6795 (__cosf): Do not declare here.
6796 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6797 (__sincosf): Do not declare here.
6798 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6799 (__sinf): Do not declare here.
6801 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6802 (__BIG_ENDIAN): Likewise.
6803 (__BYTE_ORDER): Likewise.
6804 (strong_alias): Likewise.
6805 (_strong_alias): Likewise.
6807 2018-11-12 Florian Weimer <fweimer@redhat.com>
6809 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6810 function. Move after the definition of in_smallbin_range. Do not
6811 use __builtin_expect for paths that lead to a noreturn function.
6812 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6813 because it is unclear whether this is in fact an unlikely
6815 (_int_malloc, _int_free): Adjust.
6816 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6818 * malloc/arena.c (heap_trim): Likewise.
6820 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6822 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6823 it, free it if needed.
6824 (reauthenticate): Test and use ccwdir.
6825 (child_init_port): In non-resetids case, test and use ccwdir.
6826 (child_chdir): New nested function to set ccwdir.
6827 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6828 * hurd/hurd/port.h (_hurd_port_move): New function.
6829 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6830 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6831 * hurd/Versions (_hurd_port_move): Export function.
6832 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6834 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6835 of dtablesize for allocating dtable_cloexec.
6837 2018-11-09 Martin Sebor <msebor@redhat.com>
6839 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6840 it's already defined.
6841 (_strong_alias): Use __attribute_copy__.
6842 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6843 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6844 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6845 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6846 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6847 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6848 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6849 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6850 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6851 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6852 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6853 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6854 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6855 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6856 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6857 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6858 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6859 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6860 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6862 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6864 * misc/tst-efgcvt.c: Include support/check.h and
6865 support/test-driver.c. Do not include test-skeleton.c.
6866 (error_count): Remove.
6867 (output_error): Replace increments to error_count with calls to
6868 support_record_failure.
6869 (output_r_error): Likewise.
6870 (special): Likewise.
6871 (do_test): Unconditionally return zero.
6872 (TEST_FUNCTION): Remove.
6874 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6876 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6878 ($(linknamespace-header-tests)): Likewise.
6880 * conform/conformtest.py: New file.
6881 * conform/conformtest.pl: Remove.
6882 * conform/GlibcConform.pm: Likewise.
6883 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6884 (KEYWORDS_C99): Likewise.
6885 (KEYWORDS): Likewise.
6886 * conform/Makefile ($(conformtest-header-tests)): Use
6887 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6888 option. Use --header instead of --headers.
6889 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6891 * conform/data/spawn.h-data: Likewise.
6892 * conform/data/fcntl.h-data (openat): Add space after function
6894 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6895 (wcscasecmp_l): Likewise.
6896 * conform/data/termios.h-data (c_cc): Add space after element
6899 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6901 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6902 instead of manually comparing and reporting mismatching strings.
6903 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6904 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6906 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6908 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6909 __ASSUME_SOCKETCALL.
6910 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6911 (__ASSUME_SOCKETCALL): Remove.
6912 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6913 (__ASSUME_SOCKETCALL): Likewise.
6914 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6915 (__ASSUME_SOCKETCALL): Likewise.
6916 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6917 (__ASSUME_SOCKETCALL): Likewise.
6918 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6919 (__ASSUME_SOCKETCALL): Likewise.
6920 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6921 (__ASSUME_SOCKETCALL): Likewise.
6922 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6923 (__ASSUME_SOCKETCALL): Likewise.
6925 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6928 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6929 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6930 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6931 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6932 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6935 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6938 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6940 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6943 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6944 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6945 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6946 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6948 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6950 * support/support_test_compare_string.c
6951 (support_test_compare_string): Fix printf format.
6953 2018-11-07 Florian Weimer <fweimer@redhat.com>
6955 Implement TEST_COMPARE_STRING.
6956 * support/check.h (TEST_COMPARE_STRING): Define.
6957 (support_test_compare_string): Declare.
6958 * support/Makefile (libsupport-routines): Add
6959 support_test_compare_string.
6960 (tests): Add tst-test_compare_string.
6961 * support/support_test_compare_string.c: New file.
6962 * support/tst-test_compare_string.c: Likewise.
6964 2018-11-07 Andreas Schwab <schwab@suse.de>
6967 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6968 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6971 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6974 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6975 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6976 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6977 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6980 2018-11-06 Florian Weimer <fweimer@redhat.com>
6983 * posix/Makefile (routines): Add spawn_faction_addchdir.
6984 (tests): Add tst-spawn-chdir.
6985 * posix/Versions (GLIBC_2.29): Add
6986 posix_spawn_file_actions_addchdir_np.
6987 * posix/spawn_faction_addchdir.c: New file.
6988 * posix/spawn_faction_destroy.c
6989 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6990 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6991 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6993 * posix/tst-spawn-chdir.c: New file.
6994 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6995 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6996 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6997 posix_spawn_file_actions_addchdir_np.
6998 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7000 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7002 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7003 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7005 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7007 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7009 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7011 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7013 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7015 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7016 (GLIBC_2.29): Likewise.
7017 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7018 (GLIBC_2.29): Likewise.
7019 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7020 (GLIBC_2.29): Likewise.
7021 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7022 (GLIBC_2.29): Likewise.
7023 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7026 (GLIBC_2.29): Likewise.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7028 (GLIBC_2.29): Likewise.
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7030 (GLIBC_2.29): Likewise.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7032 (GLIBC_2.29): Likewise.
7033 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7035 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7037 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7039 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7040 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7042 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7044 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7046 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7049 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7051 * misc/Makefile (tests): Add tst-ldbl-error.
7052 * misc/tst-ldbl-error.c: New file.
7054 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7056 * misc/Makefile (tests): Add tst-ldbl-warn.
7057 * misc/tst-ldbl-warn.c: New file.
7059 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7061 * argp/Makefile (tests): Add tst-ldbl-argp.
7062 * argp/tst-ldbl-argp.c: New file.
7064 2018-11-05 Arjun Shankar <arjun@redhat.com>
7066 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7067 __gconv_path_elem and call __gconv_get_path unconditionally.
7069 2018-11-05 Andreas Schwab <schwab@suse.de>
7072 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7073 creating the first helper thread failed.
7075 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7077 * sysdeps/mach/hurd/msync.c: New file.
7079 2018-11-02 Florian Weimer <fweimer@redhat.com>
7081 * support/shell-container.c (copy_func): Call
7082 support_copy_file_range instead of copy_file_range to support
7083 cross-device copies.
7085 2018-11-02 Florian Weimer <fweimer@redhat.com>
7087 * support/test-container.c: Include <libc-pointer-arith.h> for
7090 2018-11-01 Zong Li <zong@andestech.com>
7092 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7093 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7094 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7095 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7097 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7098 variable to avoid overlap arguments.
7100 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7102 * posix/bug-regex22.c (main): Use puts with distinct error
7103 messages for unexpected success of re_compile_pattern, not printf
7104 with NULL argument to %s.
7106 * stdio-common/bug22.c: Include <libc-diag.h>.
7107 (do_test): Disable -Wformat-overflow= warnings around fprintf
7108 calls outputting more than INT_MAX characters.
7109 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7110 around printf call with NULL %s argument.
7113 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7114 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7116 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7117 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7118 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7119 (__ASSUME_SENDTO_SYSCALL): Likewise.
7120 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7121 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7123 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7124 (__ASSUME_CONNECT_SYSCALL): Likewise.
7125 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7126 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7127 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7129 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7131 [__LINUX_KERNEL_VERSION >= 0x040400]
7132 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7133 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7136 (setsockopt): Likewise.
7138 2018-11-01 Fredrik Noring <noring@nocrew.org>
7140 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7141 with the ISA override.
7143 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7145 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7148 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7150 * manual/errno.texi (EIEIO): Document how translators should
7151 translate the error message.
7152 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7153 printing trailing whitespaces refused by git.
7154 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7155 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7156 * hurd/Makefile (user-interfaces): Add pci.
7158 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7160 * conform/linknamespace.py: New file.
7161 * conform/linknamespace.pl: Remove file.
7162 * conform/Makefile ($(linknamespace-header-tests)): Use
7163 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7166 2018-10-30 Florian Weimer <fweimer@redhat.com>
7168 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7171 2018-10-30 Florian Weimer <fweimer@redhat.com>
7173 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7175 2018-10-30 Florian Weimer <fweimer@redhat.com>
7177 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7178 support_blob_repeat.
7180 2018-10-30 Florian Weimer <fweimer@redhat.com>
7182 Avoid spurious test failures in stdlib/test-bz22786.
7183 * support/Makefile (libsupport-routines): Add blob_repeat.
7184 (tests): Add tst-support_blob_repeat.
7185 * support/blob_repeat.h: New file.
7186 * support/blob_repeat.c: Likewise.
7187 * support/tst-support_blob_repeat.c: Likewise.
7188 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7189 support_blob_repeat_allocate.
7191 2018-10-30 Andreas Schwab <schwab@suse.de>
7194 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7195 Don't use tail call.
7196 * elf/tst-unwind-main.c: New file.
7197 * elf/Makefile (tests): Add tst-unwind-main.
7198 (CFLAGS-tst-unwind-main.c): Define.
7200 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7203 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7205 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7207 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7209 * conform/glibcconform.py: Do not import shutil.
7210 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7213 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7214 critic_missing for versions before 3.4.
7215 * configure: Regenerated.
7216 * manual/install.texi (Tools for Compilation): Document
7217 requirement for Python to build glibc.
7218 * INSTALL: Regenerated.
7219 * Rules [PYTHON]: Make code unconditional.
7220 * benchtests/Makefile [PYTHON]: Likewise.
7221 * conform/Makefile [PYTHON]: Likewise.
7222 * manual/Makefile [PYTHON]: Likewise.
7223 * math/Makefile [PYTHON]: Likewise.
7225 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7227 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7228 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7229 answer to interrupt_operation, return EIEIO instead of EINTR.
7230 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7231 _hurd_intr_rpc_msg_about_to global point to start of controlled
7232 assembly snippet. Make it check canceled flag.
7233 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7234 the _hurd_intr_rpc_msg_about_to point.
7235 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7236 issue, remove cancel flag check.
7238 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7240 * scripts/build-many-glibcs.py: Remove compatibility for missing
7241 os.cpu_count and re.fullmatch.
7243 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7246 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7247 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7248 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7250 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7252 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7255 2018-10-25 Florian Weimer <fweimer@redhat.com>
7259 XFAIL siginfo_t si_band conform test on sparc64.
7260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7261 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7262 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7263 (conformtest-xfail-conds): Add sparc64-linux.
7264 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7266 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7268 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7270 * elf/elf.h (NT_MIPS_DSP): New macro.
7271 (NT_MIPS_FP_MODE): Likewise.
7273 2018-10-25 Zong Li <zong@andestech.com>
7275 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7276 name by adding the file extension (.so).
7278 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7280 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7281 (test-xfail-ISO11/threads.h/linknamespace,
7282 test-xfail-ISO11/threads.h/conform): Add.
7284 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7286 * math/gen-libm-test.py: Import os.
7287 (ALL_FLOATS_MANUAL): New constant.
7288 (ALL_FLOATS_SUFFIX): Likewise.
7289 (Ulps.all_functions): New function.
7290 (real_all_ulps): Likewise.
7291 (generate_err_table_sub): Likewise.
7292 (generate_err_table): Likewise.
7293 (main): Handle -s and -m options.
7294 * manual/libm-err-tab.pl: Remove.
7295 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7296 instead of libm-err-tab.pl.
7297 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7299 * manual/install.texi (Tools for Compilation): Document
7300 requirement for Python to build manual.
7301 * INSTALL: Regenerated.
7303 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7305 * bits/time64.h: New file.
7306 * include/time.h: Replace internal_time_t with __time64_t.
7307 * posix/bits/types (__time64_t): Add.
7308 * stdlib/Makefile: Add bits/time64.h to includes.
7309 * time/tzfile.c: Replace internal_time_t with __time64_t.
7311 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7313 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7314 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7315 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7316 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7317 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7319 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7320 * posix/spawn_faction_addclose.c
7321 (__posix_spawn_file_actions_addclose): Add hidden definition.
7322 * posix/spawn_faction_adddup2.c
7323 (__posix_spawn_file_actions_adddup2): Likewise.
7324 * posix/spawn_faction_destroy.c
7325 (__posix_spawn_file_actions_destroy): Likewise.
7326 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7328 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7329 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7330 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7332 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7333 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7336 2018-10-24 Andreas Schwab <schwab@suse.de>
7339 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7341 * elf/cache.c (print_cache): Likewise.
7343 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7345 * bits/timesize.h: New file.
7346 * stdlib/Makefile (headers): Add bits/timesize.h.
7347 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7348 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7349 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7350 (__SEM_PAD_AFTER_TIME): Likewise.
7351 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7352 (__SHM_PAD_AFTER_TIME): Likewise.
7353 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7354 (__MSQ_PAD_BEFORE_TIME): Likewise.
7355 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7356 (__SEM_PAD_BEFORE_TIME): Likewise.
7357 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7358 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7359 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7360 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7361 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7362 (__MSQ_PAD_BEFORE_TIME): Likewise.
7363 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7364 (__SEM_PAD_BEFORE_TIME): Likewise.
7365 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7366 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7367 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7368 (__MSQ_PAD_BEFORE_TIME): Likewise.
7369 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7370 (__SEM_PAD_BEFORE_TIME): Likewise.
7371 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7372 (__SHM_PAD_BEFORE_TIME): Likewise.
7373 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7374 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7375 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7377 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7379 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7380 USE_RDTSCP is defined.
7381 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7382 USE_RDTSCP is defined.
7384 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7386 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7390 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7391 independently of other flags.
7393 2018-10-23 Florian Weimer <fweimer@redhat.com>
7395 * time/tst-mktime2.c (N_STRINGS): Remove.
7396 (set_timezone): New function.
7397 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7398 (mktime_test1): Report localtime failure and check errno value.
7400 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7401 (do_test): Remove alarm call. Use set_timezone and array_length.
7403 2018-10-23 Andreas Schwab <schwab@suse.de>
7405 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7406 (__start_context): Use END instead of PSEUDO_END.
7408 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7410 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7413 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7417 * wcsmbs/c32rtomb.c: New file.
7418 * wcsmbs/mbrtoc32.c: Likewise.
7419 * wcsmbs/tst-c32-state.c: Likewise.
7420 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7421 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7422 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7423 (tests): Add tst-c32-state.
7424 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7427 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7429 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7430 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7432 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7435 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7436 pair and return 0 in that case, and use saved character to
7437 interpret following character.
7438 * wcsmbs/tst-c16-surrogate.c: New file.
7439 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7440 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7441 Depend on $(gen-locales)
7443 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7446 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7447 (struct siginfo_t): Use correct type for si_band.
7449 2018-10-19 Florian Weimer <fweimer@redhat.com>
7452 * resource/bits/types/struct_rusage.h (struct rusage): Update
7453 comment on struct. Remove extraneous field comment.
7455 2018-10-18 David S. Miller <davem@davemloft.net>
7457 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7458 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7459 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7460 sysdep_routines in subdir elf.
7461 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7462 version for __vdso_clock_gettime.
7463 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7465 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7466 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7468 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7470 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7472 * sysdeps/i386/init-arch.h: Removed.
7473 * sysdeps/i386/i586/init-arch.h: Likewise.
7474 * sysdeps/i386/i686/init-arch.h: Likewise.
7475 * sysdeps/i386/i686/hp-timing.h: Likewise.
7476 * sysdeps/x86_64/hp-timing.h: Likewise.
7477 * sysdeps/i386/isa.h: New file.
7478 * sysdeps/i386/i586/isa.h: Likewise.
7479 * sysdeps/i386/i686/isa.h: Likewise.
7480 * sysdeps/x86_64/isa.h: Likewise.
7481 * sysdeps/x86/hp-timing.h: New file.
7482 * sysdeps/x86/init-arch.h: Include <isa.h>.
7484 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7486 * math/libm-test-pow.inc (pow_test_data): Do not allow
7487 divide-by-zero exception for pow(+/- 0, -Inf).
7489 2018-10-17 Zack Weinberg <zackw@panix.com>
7491 * manual/job.texi (Job Control is Optional): Remove node, as
7492 job control has not been optional in quite some time.
7493 (Job Control): Mention briefly that systems older than
7494 POSIX.1-2001 might not support job control.
7495 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7496 defined on systems conforming to POSIX.1-2001.
7498 2018-10-17 Arjun Shankar <arjun@redhat.com>
7501 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7503 * (__gconv_read_conf): Mark function static.
7504 * (once): New static variable.
7505 * (__gconv_load_conf): New function.
7506 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7507 * iconv/gconv_db.c (once): Remove static variable.
7508 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7510 * (__gconv_find_transform): Likewise.
7511 * iconv/tst-iconv-mt.c: New test.
7512 * iconv/Makefile: Add tst-iconv_mt.
7514 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7518 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7519 (shmatt_t): Define as __syscall_ulong_t.
7520 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7521 and [__SHM_PAD_AFTER_TIME].
7522 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7523 Define shm_segsz and associated padding based on
7524 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7525 Use __syscall_ulong_t instead of unsigned long int.
7526 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7528 [__USE_MISC] (struct shm_info): Likewise.
7529 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7530 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7531 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7532 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7533 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7534 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7535 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7536 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7537 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7538 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7539 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7543 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7544 (SHMLBA): Remove macro.
7545 (__getpagesize): Remove function declaration.
7546 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7548 (SHMLBA): Remove macro.
7549 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7551 (SHMLBA): Remove macro.
7552 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7554 (SHMLBA): Remove macro.
7555 (__getpagesize): Remove function declaration.
7556 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7558 (SHMLBA): Remove macro.
7559 (__getshmlba): Remove function declaration.
7560 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7561 (SHMLBA): Remove macro.
7562 (__getpagesize): Remove function declaration.
7563 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7564 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7565 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7566 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7567 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7568 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7569 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7570 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7571 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7572 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7574 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7577 * nptl/tst-mutex10.c: New File.
7578 * nptl/Makefile (tests): Add tst-mutex10.
7579 (tst-mutex10-ENV): New variable.
7580 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7581 Ensure that elision path is used if elision is available.
7582 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7584 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7586 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7587 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7588 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7589 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7591 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7592 (__pthread_mutex_cond_lock_adjust): Likewise.
7593 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7595 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7596 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7597 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7598 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7600 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7601 Use atomic_load_relaxed and atomic_store_relaxed.
7602 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7603 Use atomic_store_relaxed.
7605 2018-10-17 Andreas Schwab <schwab@suse.de>
7607 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7608 * crypt/badsalttest.c (TIMEOUT): Likewise.
7609 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7610 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7611 * io/test-lfs.c (TIMEOUT): Likewise.
7612 * libio/tst-atime.c (TIMEOUT): Likewise.
7613 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7614 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7615 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7616 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7617 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7618 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7619 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7620 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7621 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7622 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7623 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7624 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7625 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7626 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7627 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7628 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7629 * nptl/tst-once2.c (TIMEOUT): Likewise.
7630 * nptl/tst-once3.c (TIMEOUT): Likewise.
7631 * nptl/tst-once4.c (TIMEOUT): Likewise.
7632 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7633 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7634 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7635 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7636 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7637 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7638 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7639 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7640 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7641 * posix/tst-chmod.c (TIMEOUT): Likewise.
7642 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7643 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7644 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7645 * posix/tst-regex2.c (TIMEOUT): Likewise.
7646 * posix/tst-waitid.c (TIMEOUT): Likewise.
7647 * rt/tst-aio.c (TIMEOUT): Likewise.
7648 * rt/tst-aio10.c (TIMEOUT): Likewise.
7649 * rt/tst-aio4.c (TIMEOUT): Likewise.
7650 * rt/tst-aio5.c (TIMEOUT): Likewise.
7651 * rt/tst-aio6.c (TIMEOUT): Likewise.
7652 * rt/tst-aio64.c (TIMEOUT): Likewise.
7653 * rt/tst-aio7.c (TIMEOUT): Likewise.
7654 * rt/tst-aio9.c (TIMEOUT): Likewise.
7655 * rt/tst-clock.c (TIMEOUT): Likewise.
7656 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7657 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7658 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7659 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7660 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7661 * rt/tst-timer4.c (TIMEOUT): Likewise.
7662 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7663 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7664 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7665 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7666 * time/tst-ftime.c (TIMEOUT): Likewise.
7667 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7669 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7671 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7672 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7675 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7679 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7680 instead of <bits/wordsize.h>.
7681 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7682 and [__SEM_PAD_AFTER_TIME].
7683 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7684 __syscall_ulong_t instead of unsigned long int.
7685 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7686 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7687 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7688 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7689 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7690 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7691 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7692 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7693 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7694 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7695 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7697 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7699 regex: simplify by using intprops.h
7701 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7702 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7703 intprops.h defines them.
7705 regex: __builtin_expect → __glibc_unlikely
7707 This refactoring was prompted by a problem when the regex code is
7708 used as part of Gnulib and when the builder’s compiler does not grok
7709 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7710 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7711 Although this refactoring does not fix the problem directly,
7712 we might as well have Gawk use the now-preferred glibc style for when
7713 __builtin_expect is unavailable.
7714 * posix/regex_internal.h (BE): Remove.
7715 All uses replaced by __glibc_unlikely or __glibc_likely.
7717 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7721 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7722 instead of <bits/wordsize.h>.
7723 (msgqnum_t): Define as __syscall_ulong_t.
7724 (msglen_t): Likewise.
7725 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7726 and [__MSQ_PAD_AFTER_TIME].
7727 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7728 __syscall_ulong_t instead of unsigned long int.
7729 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7730 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7731 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7732 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7734 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7735 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7736 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7737 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7738 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7739 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7741 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7743 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7744 (struct shmid_ds): Condition padding after time fields on
7746 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7747 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7748 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7750 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7751 (struct semid_ds): Condition padding after time fields on
7753 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7754 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7755 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7756 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7758 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7759 (struct msqid_ds): Condition padding after time fields on
7761 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7762 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7763 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7764 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7766 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7768 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7770 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7772 * libio/tst-readline.c (TIMEOUT): Define.
7774 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7776 mktime fix for Gnulib + coreutils
7778 This fix affects only Gnulib. Problem discovered when
7779 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7781 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7782 Do not define since it is not used. Defining an unused static
7783 function prompts a warning from GCC when Coreutils is configured
7784 with --enable-gcc-warnings.
7786 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7788 * benchtests/scripts/compare_bench.py (main): set float type on
7791 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7794 * localedata/locales/kl_GL (mon): Update, the relative case.
7795 (alt_mon): Add, fill with month names in the nominative case.
7796 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7797 (d_fmt): Set to "%b %d %Y".
7799 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7801 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7802 <bits/mman-linux.h>.
7803 (PROT_READ): Don't define here.
7804 (PROT_WRITE): Likewise.
7805 (PROT_EXEC): Likewise.
7806 (PROT_NONE): Likewise.
7807 (PROT_GROWSDOWN): Likewise.
7808 (PROT_GROWSUP): Likewise.
7809 (MAP_SHARED): Likewise.
7810 (MAP_PRIVATE): Likewise.
7811 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7812 [__USE_MISC] (MAP_FILE): Likewise.
7813 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7814 [__USE_MISC] (MAP_ANON): Likewise.
7815 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7816 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7817 (MCL_CURRENT): Likewise.
7818 (MCL_FUTURE): Likewise.
7819 (MCL_ONFAULT): Likewise.
7820 [__USE_MISC] (MADV_NORMAL): Likewise.
7821 [__USE_MISC] (MADV_RANDOM): Likewise.
7822 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7823 [__USE_MISC] (MADV_WILLNEED): Likewise.
7824 [__USE_MISC] (MADV_DONTNEED): Likewise.
7825 [__USE_MISC] (MADV_FREE): Likewise.
7826 [__USE_MISC] (MADV_REMOVE): Likewise.
7827 [__USE_MISC] (MADV_DONTFORK): Likewise.
7828 [__USE_MISC] (MADV_DOFORK): Likewise.
7829 [__USE_MISC] (MADV_HWPOISON): Likewise.
7830 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7831 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7832 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7833 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7834 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7835 (__MAP_ANONYMOUS): New macro.
7836 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7837 <bits/mman-linux.h> inclusion.
7838 (MAP_FIXED): Likewise.
7839 (MS_SYNC): Likewise.
7840 (MS_ASYNC): Likewise.
7841 (MS_INVALIDATE): Likewise.
7842 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7843 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7844 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7845 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7846 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7847 [__USE_MISC] (MADV_DODUMP): Likewise.
7848 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7849 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7854 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7855 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7856 Add test-nldbl-redirect.
7857 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7858 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7859 $(objpfx)libnldbl_nonshared.a.
7861 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7863 * support/support.h (support_objdir_elf_ldso): New variable.
7864 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7865 * support/Makefile (CFLAGS-support_paths.c): Add definition
7866 for OBJDIR_ELF_LDSO_PATH.
7867 * support/test-container.c (main): Search for the ld.so
7868 which is also used by the testsuite.
7870 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7873 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7874 should be "sap" rather than "sab".
7875 (day): Fix spelling of Sunday, should be "sapaat" rather than
7878 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7880 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7882 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7885 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7886 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7887 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7889 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7891 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7893 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7895 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7897 (CFLAGS-elision-unlock.c): Likewise.
7898 (CFLAGS-elision-timed.c): Likewise.
7899 (CFLAGS-elision-trylock.c): Likewise.
7900 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7902 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7905 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7906 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7907 new fd_to_filename interface.
7908 * libio/freopen64.c (freopen64): Likewise.
7909 * libio/tst-memstream.h: New file.
7910 * libio/tst-memstream4.c: Likewise.
7911 * libio/tst-wmemstream4.c: Likewise.
7912 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7913 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7914 and remove internal dynamic allocation.
7916 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7918 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7919 (MREMAP_MAYMOVE): Do not define here.
7920 [__USE_GNU] (MREMAP_FIXED): Likewise.
7921 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7922 (MREMAP_MAYMOVE): Define here instead.
7923 [__USE_GNU] (MREMAP_FIXED): Likewise.
7924 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7925 (MREMAP_MAYMOVE): Remove.
7926 [__USE_GNU] (MREMAP_FIXED): Likewise.
7928 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7930 * math/fromfp.h: Do not include <math_private.h>.
7931 * math/s_cacosh_template.c: Likewise.
7932 * math/s_casin_template.c: Likewise.
7933 * math/s_casinh_template.c: Likewise.
7934 * math/s_ccos_template.c: Likewise.
7935 * math/s_cproj_template.c: Likewise.
7936 * math/s_fdim_template.c: Likewise.
7937 * math/s_fmaxmag_template.c: Likewise.
7938 * math/s_fminmag_template.c: Likewise.
7939 * math/s_iseqsig_template.c: Likewise.
7940 * math/s_ldexp_template.c: Likewise.
7941 * math/s_nextdown_template.c: Likewise.
7942 * math/w_log1p_template.c: Likewise.
7943 * math/w_scalbln_template.c: Likewise.
7944 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7945 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7946 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7947 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7948 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7949 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7950 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7951 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7952 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7953 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7954 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7955 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7956 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7957 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7958 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7959 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7960 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7965 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7966 * sysdeps/ieee754/k_standardf.c: Likewise.
7967 * sysdeps/ieee754/k_standardl.c: Likewise.
7968 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7969 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7970 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7971 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7972 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7973 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7974 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7975 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7976 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7977 * sysdeps/ieee754/s_signgam.c: Likewise.
7978 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7979 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7980 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7981 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7982 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7983 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7984 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7985 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7986 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7987 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7988 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7989 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7990 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7991 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7992 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7993 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7994 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7995 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7996 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7997 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7998 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7999 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8000 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8001 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8002 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8003 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8004 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8005 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8006 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8007 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8008 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8009 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8010 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8011 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8012 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8013 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8014 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8016 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8018 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8021 * sysdeps/i386/dl-cet.c: Removed.
8022 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8024 (_dl_runtime_profile_shstk): Likewise.
8025 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8026 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8028 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8031 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8032 do_test_with_invalid_iov): New tests.
8033 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8034 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8035 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8037 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8038 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8039 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8041 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8043 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8044 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8045 (MATH_REDIRECT_BINARY_ARGS): New macro.
8046 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8047 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8048 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8050 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8052 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8053 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8054 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8055 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8056 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8063 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8064 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8069 * sysdeps/generic/math_private_calls.h
8070 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8071 Do not declare and define as an inline function.
8072 * math/divtc3.c (__divtc3): Use copysign functions instead of
8073 __copysign variants.
8074 * math/multc3.c (__multc3): Likewise.
8075 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8076 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8077 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8078 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8080 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8081 (__ieee754_yn): Likewise.
8082 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8083 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8084 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8085 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8086 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8088 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8089 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8095 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8096 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8098 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8099 (__ieee754_ynf): Likewise.
8100 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8101 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8102 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8103 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8105 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8106 (__ieee754_ynl): Likewise.
8107 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8108 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8109 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8112 (__ieee754_ynl): Likewise.
8113 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8116 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8118 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8120 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8121 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8122 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8123 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8124 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8126 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8127 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8128 using MATH_REDIRECT.
8129 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8131 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8134 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8135 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8136 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8137 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8142 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8143 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8144 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8145 (round): Redirect to __round.
8146 (__roundl): Call round instead of __round.
8147 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8149 [_ARCH_PWR5X] (__roundf): Likewise.
8150 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8151 functions instead of __round variants.
8152 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8157 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8159 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8160 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8162 (__ieee754_expl): Call roundl instead of __roundl.
8164 2018-09-27 Andreas Schwab <schwab@suse.de>
8167 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8168 (do_test): Make st1 static.
8170 2018-09-26 Andreas Schwab <schwab@suse.de>
8173 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8174 * elf/Makefile (tests): Add tst-unwind-ctor.
8175 (modules-names): Add tst-unwind-ctor-lib.
8176 ($(objpfx)tst-unwind-ctor): Depend on
8177 $(objpfx)tst-unwind-ctor-lib.so.
8179 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8181 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8182 file. Most contents moved from ....
8183 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8184 and include <bits/mman-map-flags-generic.h>.
8185 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8186 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8187 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8188 <bits/mman-map-flags-generic.h>.
8189 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8190 macros defined in <bits/mman-map-flags-generic.h>.
8191 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8192 <bits/mman-map-flags-generic.h>.
8193 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8194 defined in <bits/mman-map-flags-generic.h>.
8196 2018-09-26 Andreas Schwab <schwab@suse.de>
8198 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8201 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8202 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8203 Fangrui Song <maskray@google.com>
8206 * config.make.in (have-textrel_ifunc): New define.
8207 * configure.ac: Add check if linker supports textrel relocation with
8209 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8211 (CFLAGS-tst-ifunc-textrel.c): New rule.
8212 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8213 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8214 * elf/tst-ifunc-textrel.c: New file.
8216 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8218 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8219 <bits/procfs-prregset.h>.
8220 (prgregset_t): Define using __prgregset_t.
8221 (prfpregset_t): Define using __prfpregset_t.
8222 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8223 (sysdep_headers): Add bits/procfs-prregset.h.
8224 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8225 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8226 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8227 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8229 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8230 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8231 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8233 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8234 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8235 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8236 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8237 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8238 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8239 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8240 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8241 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8242 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8243 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8244 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8245 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8246 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8247 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8249 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8250 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8251 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8252 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8253 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8254 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8255 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8256 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8258 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8259 AArch64 version. Include <bits/procfs.h>.
8260 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8261 (sysdep_headers): Add bits/procfs.h.
8262 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8263 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8264 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8265 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8266 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8267 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8268 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8269 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8270 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8271 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8272 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8273 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8274 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8275 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8276 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8277 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8278 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8280 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8282 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8285 2018-09-25 Arjun Shankar <arjun@redhat.com>
8287 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8288 (__gconv_max_path_elem_len): Likewise.
8289 (__gconv_nmodules): Likewise.
8290 (__gconv_get_path): Likewise.
8291 (path_elem): Move to ...
8292 * iconv/gconv_conf.c: ... here.
8293 (__gconv_get_path): Mark function static.
8294 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8295 * iconv/gconv_open.c: ... here.
8297 2018-09-24 Andreas Schwab <schwab@suse.de>
8299 * scripts/haveversions.awk: New file.
8300 * Makerules ($(common-objpfx)Versions.def)
8301 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8302 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8304 * Makeconfig ($(common-objpfx)Versions.def)
8305 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8306 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8308 ($(common-objpfx)Versions.mk): New rule. Include it.
8309 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8310 Emit error if build-obsolete-nsl = yes.
8311 * manual/install.texi (Configuring and compiling): Describe
8312 --enable-obsolete-nsl as unavaiable after version 2.28.
8313 * INSTALL: Regenerate.
8315 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8317 * NEWS: Add note about new TLE support on powerpc64le.
8318 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8319 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8321 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8322 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8323 * sysdeps/powerpc/powerpc32/sysdep.h,
8324 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8325 ABORT_TRANSACTION): Remove macros.
8326 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8327 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8328 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8330 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8331 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8333 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8335 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8338 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8339 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8340 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8341 which is the same as in it_IT.
8342 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8343 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8345 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8347 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8348 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8349 using MATH_REDIRECT.
8350 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8352 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8353 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8354 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8355 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8356 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8362 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8363 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8364 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8365 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8366 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8367 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8368 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8370 (ceil): Redirect to __ceil.
8371 (floor): Redirect to __floor.
8372 (trunc): Redirect to __trunc.
8373 (__truncl): Call trunc instead of __trunc.
8374 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8376 [_ARCH_PWR5X] (__truncf): Likewise.
8377 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8378 trunc functions instead of __trunc variants.
8379 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8381 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8383 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8385 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8388 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8389 [__i586__ || __pentium__].
8390 [__i486__]: Handle explicitly.
8391 (HAS_CPUID): Define to 1 if above macros are undefined.
8392 (HAS_I586): Likewise.
8393 (HAS_I686): Likewise.
8395 2018-09-20 Florian Weimer <fweimer@redhat.com>
8397 * misc/tst-gethostid.c: New file.
8398 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8399 (tst-gethostid): Link with -ldl.
8401 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8403 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8404 value from gethostbyname_r.
8406 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8408 * stdlib/tst-setcontext9.c (f1): Rename to...
8410 (f1b): New function implementing lower half of f1 in alternate stack.
8412 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8414 Fix mktime localtime offset confusion
8416 * include/time.h (__mktime_internal): The localtime offset is now
8417 of type long int instead of time_t. This is the longstanding type
8418 in glibc, and it is more than enough to represent difference
8419 between localtime and gmtime even if it is 32 bits and time_t is
8420 64. Changing it now will let us avoid an unnecessary change when
8421 time_t is widened to 64 bits on 32-bit platforms.
8422 * time/mktime-internal.h (mktime_offset_t): Now long int.
8424 Merge mktime, timegm from upstream Gnulib
8425 [BZ #23603][BZ #16346]
8426 This fixes some obscure problems with integer overflow.
8427 Although it looks scary, it is almost all a byte-for-byte copy
8428 from Gnulib, and the Gnulib code has been tested reasonably well.
8429 * include/intprops.h: New file, copied from Gnulib.
8430 * include/verify.h, time/mktime-internal.h:
8431 New tiny files, simplified from Gnulib.
8432 * time/mktime.c: Copy from Gnulib. This has the following changes:
8433 Do not include config.h if DEBUG_MKTIME is nonzero.
8434 Include stdbool.h, intprops.h, verify.h.
8435 Include string.h only if needed.
8436 Include stdlib.h on MS-Windows.
8437 Include mktime-internal.h.
8438 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8439 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8440 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8441 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8442 simplify later conditionals; default the others to zero. Use
8443 these conditionals to express only the code needed on the current
8444 platform. In uses of these conditionals, explicitly spell out how
8445 _LIBC affects things, so it’s easier to review from a glibc
8447 (WRAPV): Remove; no longer needed now that we have
8448 systematic overflow checking.
8449 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8450 compartmentalize tzset issues. Move system-dependent tzsettish
8451 code here from mktime.
8452 (verify): Remove; now done by verify.h. All uses changed.
8453 (long_int): Use a more-conservative definition, to avoid
8455 (SHR): Remove, replacing with ...
8456 (shr): New function, which means we needn’t worry about side
8457 effects in args, and conversion analysis is simpler.
8458 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8459 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8460 (time_t_avg, time_t_add_ok): Remove.
8461 (mktime_min, mktime_max): New constants.
8462 (leapyear, isdst_differ): Use bool for booleans.
8463 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8464 Use long_int, not time_t, for mktime differences.
8465 (long_int_avg): New function, replacing time_t_avg.
8466 INT_ADD_WRAPV replaces time_t_add_ok.
8467 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8469 (convert_time): New function.
8470 (ranged_convert): Use it.
8471 (__mktime_internal): Last arg now points to mktime_offset_t, not
8472 time_t. All uses changed. This is a no-op on glibc, where
8473 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8474 offset guess. Directly check for integer overflow instead of
8475 using a heuristic that works only 99.9...% of the time.
8476 Access *OFFSET only once, to avoid an unlikely race if the
8477 compiler delays a load and if this cascades into a signed integer
8479 (mktime): Move tzsettish code to my_tzset, and move
8480 localtime_offset to within mktime so that it doesn’t
8481 need a separate ifdef.
8482 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8483 instead of localtime.
8484 * time/timegm.c: Copy from Gnulib. This has the following changes:
8485 Include mktime-internal.h.
8486 [!_LIBC]: Include config.h and time.h. Do not include
8487 timegm.h or time_r.h. Make __mktime_internal a macro,
8488 and include mktime-internal.h to get its declaration.
8489 (timegm): Temporary is now mktime_offset_t, not time_t.
8490 This affects only Gnulib.
8492 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8495 * string/test-strstr.c (pr23637): New function.
8496 (test_main): Add tests with longer needles.
8497 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8498 * string/strstr.c (AVAILABLE): Likewise.
8500 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8502 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8504 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8506 * NEWS: Mention pow improvements.
8507 * math/Makefile (type-double-routines): Add e_pow_log_data.
8508 * sysdeps/generic/math_private.h (__exp1): Remove.
8509 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8510 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8511 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8513 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8514 (exp_inline): Remove.
8515 (__ieee754_exp): Only single double input is handled.
8516 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8517 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8518 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8519 (__pow_log_data): Define.
8520 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8521 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8522 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8523 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8525 (CFLAGS-e_pow-fma4.c): Likewise.
8527 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8529 Simplify tzfile fstat failure code
8531 * time/tzfile.c (__tzfile_read): Simplify slightly.
8533 Fix tzfile low-memory assertion failure
8535 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8536 when registering time zone abbreviations.
8538 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8540 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8541 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8542 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8543 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8544 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8545 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8546 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8547 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8548 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8550 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8552 (__ceill): Call ceil instead of __ceil.
8553 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8555 (__floorl): Call floor instead of __floor.
8557 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8559 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8560 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8561 using MATH_REDIRECT.
8562 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8564 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8567 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8568 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8571 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8576 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8577 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8580 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8581 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8582 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8584 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8585 functions instead of __ceil variants.
8586 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8587 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8589 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8591 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8592 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8594 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8595 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8598 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8600 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8601 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8602 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8603 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8604 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8605 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8606 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8607 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8608 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8609 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8610 (ILL_BADIADDR): Remove constant.
8611 (TRAP_BRANCH): Likewise.
8612 (TRAP_HWBKPT): Likewise.
8614 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8617 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8618 Remove [_MIPS_SIM = _ABIN32] conditional case.
8619 (struct elf_prpsinfo): Likewise.
8622 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8623 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8624 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8626 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8627 elf_prpsinfo): Likewise.
8628 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8629 elf_prpsinfo): Likewise.
8630 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8633 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8634 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8635 using MATH_REDIRECT.
8636 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8638 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8639 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8640 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8641 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8644 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8645 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8648 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8649 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8650 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8651 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8652 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8653 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8654 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8655 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8656 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8661 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8662 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8663 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8664 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8666 * math/e_scalbf.c (invalid_fn): Likewise.
8667 * math/e_scalbl.c (invalid_fn): Likewise.
8668 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8670 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8672 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8673 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8674 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8676 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8678 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8680 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8681 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8683 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8684 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8686 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8687 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8688 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8689 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8690 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8691 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8692 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8693 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8694 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8695 && !NO_MATH_REDIRECT] (floor): Likewise.
8696 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8698 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8701 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8702 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8705 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8710 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8711 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8714 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8715 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8716 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8718 [_ARCH_PWR5X] (__floorf): Likewise.
8719 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8721 [__SSE4_1__] (__floorf): Likewise.
8722 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8723 instead of __floor variants.
8724 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8725 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8726 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8727 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8728 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8729 * math/w_tgamma_compat.c (__tgamma): Likewise.
8730 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8731 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8732 * math/w_tgammal_compat.c (__tgammal): Likewise.
8733 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8736 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8737 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8738 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8739 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8741 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8742 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8744 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8750 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8752 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8753 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8754 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8755 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8757 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8759 * elf/Makefile (modules-names-tests): New variable.
8761 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8763 * NEWS: Mention log2 improvements.
8764 * math/Makefile (type-double-routines): Add e_log2_data.
8765 * sysdeps/i386/fpu/e_log2_data.c: New file.
8766 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8767 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8768 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8769 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8770 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8771 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8773 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8775 * NEWS: Mention log improvement.
8776 * math/Makefile (type-double-routines): Add e_log_data.
8777 * sysdeps/i386/fpu/e_log_data.c: New file.
8778 * sysdeps/ia64/fpu/e_log_data.c: New file.
8779 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8780 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8781 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8782 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8783 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8784 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8786 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8787 Xuepeng Guo <xuepeng.guo@intel.com>
8790 * sysdeps/i386/start.S: Include <sysdep.h>
8791 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8792 enabled. Add cfi_undefined (eip).
8794 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8796 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8798 (EXTRACT_WORDS64): Likewise.
8799 (INSERT_WORDS64): Likewise.
8800 (GET_FLOAT_WORD): Likewise.
8801 (SET_FLOAT_WORD): Likewise.
8803 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8805 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8806 build, but not for second build if --full-gcc. Use
8807 --enable-languages=all for second build if --full-gcc.
8808 (get_parser): Add --full-gcc option.
8809 (main): Update call to Context.
8811 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8814 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8815 Single Quotation Mark).
8816 (thousands_sep): Likewise.
8817 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8818 * localedata/locales/it_IT (thousands_sep): Use ".".
8819 (grouping): Use "3;3".
8821 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8823 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8824 x86_64 and i686 configs using --enable-obsolete-rpc
8825 --enable-obsolete-nsl.
8827 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8829 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8831 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8833 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8834 Increment size of new_argv by one.
8836 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8839 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8840 * localedata/locales/ar_IN (d_fmt): Likewise.
8841 * localedata/locales/bhb_IN (d_fmt): Likewise.
8842 * localedata/locales/bho_IN (d_fmt): Likewise.
8843 * localedata/locales/bn_BD (d_fmt): Likewise.
8844 * localedata/locales/bn_IN (d_fmt): Likewise.
8845 * localedata/locales/doi_IN (d_fmt): Likewise.
8846 * localedata/locales/gu_IN (d_fmt): Likewise.
8847 * localedata/locales/hi_IN (d_fmt): Likewise.
8848 * localedata/locales/hne_IN (d_fmt): Likewise.
8849 * localedata/locales/kn_IN (d_fmt): Likewise.
8850 * localedata/locales/mag_IN (d_fmt): Likewise.
8851 * localedata/locales/mai_IN (d_fmt): Likewise.
8852 * localedata/locales/mjw_IN (d_fmt): Likewise.
8853 * localedata/locales/ml_IN (d_fmt): Likewise.
8854 * localedata/locales/mni_IN (d_fmt): Likewise.
8855 * localedata/locales/mr_IN (d_fmt): Likewise.
8856 * localedata/locales/pa_IN (d_fmt): Likewise.
8857 * localedata/locales/raj_IN (d_fmt): Likewise.
8858 * localedata/locales/sat_IN (d_fmt): Likewise.
8859 * localedata/locales/sd_IN (d_fmt): Likewise.
8860 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8861 * localedata/locales/ta_IN (d_fmt): Likewise.
8862 * localedata/locales/ta_LK (d_fmt): Likewise.
8863 * localedata/locales/tcy_IN (d_fmt): Likewise.
8864 * localedata/locales/ur_IN (d_fmt): Likewise.
8866 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8867 * localedata/locales/ks_IN (d_fmt): Likewise.
8868 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8870 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8871 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8872 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8873 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8875 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8877 * NEWS: Mention exp and exp2 improvements.
8878 * math/Makefile (libm-support): Remove t_exp.
8879 (type-double-routines): Add math_err and e_exp_data.
8880 * sysdeps/aarch64/libm-test-ulps: Update.
8881 * sysdeps/arm/libm-test-ulps: Update.
8882 * sysdeps/i386/fpu/e_exp_data.c: New file.
8883 * sysdeps/i386/fpu/math_err.c: New file.
8884 * sysdeps/i386/fpu/t_exp.c: Remove.
8885 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8886 * sysdeps/ia64/fpu/math_err.c: New file.
8887 * sysdeps/ia64/fpu/t_exp.c: Remove.
8888 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8889 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8890 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8892 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8893 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8894 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8895 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8896 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8897 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8898 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8899 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8900 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8901 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8905 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8907 * sysdeps/alpha/fpu/math_private.h: Remove.
8909 * sysdeps/generic/math_private.h
8910 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8911 Move this inline function ....
8912 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8913 * include/math.h [!_ISOMAC]: To here....
8915 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8917 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8919 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8920 * include/fenv.h [!_ISOMAC]: ... to here.
8921 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8922 (feraiseexcept): Likewise.
8923 * math/fromfp.h: Do not include <fenv_private.h>.
8924 * math/s_cexp_template.c: Likewise.
8925 * math/s_csin_template.c: Likewise.
8926 * math/s_csinh_template.c: Likewise.
8927 * math/s_ctan_template.c: Likewise.
8928 * math/s_ctanh_template.c: Likewise.
8929 * math/s_iseqsig_template.c: Likewise.
8930 * math/w_acos_compat.c: Likewise.
8931 * math/w_acosf_compat.c: Likewise.
8932 * math/w_acosl_compat.c: Likewise.
8933 * math/w_asin_compat.c: Likewise.
8934 * math/w_asinf_compat.c: Likewise.
8935 * math/w_asinl_compat.c: Likewise.
8936 * math/w_j0_compat.c: Likewise.
8937 * math/w_j0f_compat.c: Likewise.
8938 * math/w_j0l_compat.c: Likewise.
8939 * math/w_j1_compat.c: Likewise.
8940 * math/w_j1f_compat.c: Likewise.
8941 * math/w_j1l_compat.c: Likewise.
8942 * math/w_jn_compat.c: Likewise.
8943 * math/w_jnf_compat.c: Likewise.
8944 * math/w_log10_compat.c: Likewise.
8945 * math/w_log10f_compat.c: Likewise.
8946 * math/w_log10l_compat.c: Likewise.
8947 * math/w_log2_compat.c: Likewise.
8948 * math/w_log2f_compat.c: Likewise.
8949 * math/w_log2l_compat.c: Likewise.
8950 * math/w_log_compat.c: Likewise.
8951 * math/w_logf_compat.c: Likewise.
8952 * math/w_logl_compat.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8958 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8959 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8960 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8961 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8962 * sysdeps/ieee754/k_standardl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8975 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8976 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8980 * math/w_ilogb_template.c: Include <fenv.h> instead of
8982 * math/w_llogb_template.c: Likewise.
8983 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8984 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8986 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8988 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8989 * math/fromfp.h: Include <fenv_private.h>.
8990 * math/math-narrow.h: Likewise.
8991 * math/s_cexp_template.c: Likewise.
8992 * math/s_csin_template.c: Likewise.
8993 * math/s_csinh_template.c: Likewise.
8994 * math/s_ctan_template.c: Likewise.
8995 * math/s_ctanh_template.c: Likewise.
8996 * math/s_iseqsig_template.c: Likewise.
8997 * math/w_acos_compat.c: Likewise.
8998 * math/w_acosf_compat.c: Likewise.
8999 * math/w_acosl_compat.c: Likewise.
9000 * math/w_asin_compat.c: Likewise.
9001 * math/w_asinf_compat.c: Likewise.
9002 * math/w_asinl_compat.c: Likewise.
9003 * math/w_ilogb_template.c: Likewise.
9004 * math/w_j0_compat.c: Likewise.
9005 * math/w_j0f_compat.c: Likewise.
9006 * math/w_j0l_compat.c: Likewise.
9007 * math/w_j1_compat.c: Likewise.
9008 * math/w_j1f_compat.c: Likewise.
9009 * math/w_j1l_compat.c: Likewise.
9010 * math/w_jn_compat.c: Likewise.
9011 * math/w_jnf_compat.c: Likewise.
9012 * math/w_llogb_template.c: Likewise.
9013 * math/w_log10_compat.c: Likewise.
9014 * math/w_log10f_compat.c: Likewise.
9015 * math/w_log10l_compat.c: Likewise.
9016 * math/w_log2_compat.c: Likewise.
9017 * math/w_log2f_compat.c: Likewise.
9018 * math/w_log2l_compat.c: Likewise.
9019 * math/w_log_compat.c: Likewise.
9020 * math/w_logf_compat.c: Likewise.
9021 * math/w_logl_compat.c: Likewise.
9022 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9023 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9024 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9025 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9050 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9051 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9052 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9053 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9054 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9055 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9056 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9057 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9058 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9059 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9060 * sysdeps/ieee754/k_standardl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9087 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9092 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9097 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9098 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9099 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9100 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9101 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9102 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9103 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9104 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9105 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9106 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9107 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9108 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9109 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9110 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9111 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9112 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9113 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9114 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9115 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9116 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9117 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9118 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9119 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9120 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9121 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9122 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9123 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9124 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9125 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9126 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9127 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9128 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9129 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9130 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9131 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9133 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9136 * include/stdio.h (__libc_fatal): Mention newline in comment.
9137 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9138 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9140 * nss/nsswitch.c (__nss_next2): Likewise.
9141 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9142 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9143 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9144 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9145 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9146 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9147 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9148 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9149 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9150 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9151 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9152 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9153 (__netlink_assert_response): Likewise.
9155 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9157 * conform/glibcconform.py: New file.
9158 * conform/list-header-symbols.py: Likewise.
9159 * conform/list-header-symbols.pl: Remove.
9160 * conform/Makefile (tests-special): Only add linknamespace tests
9162 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9164 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9167 * support/Makefile (libsupport-routines): Add
9168 support_copy_file_range and xcopy_file_range.
9169 * support/support.h: Include <sys/types.h>.
9170 (support_copy_file_range): New prototype.
9171 * support/support_copy_file_range.c: New file. Copied and
9172 modified from io/copy_file_range-compat.c.
9173 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9174 instead of copy_file_range.
9175 * support/xcopy_file_range.c: New file.
9176 * support/xunistd.h (xcopy_file_range): New prototype.
9178 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9180 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9181 xpthread_create and xpthread_join.
9183 2018-08-30 Florian Weimer <fweimer@redhat.com>
9185 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9187 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9189 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9192 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9194 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9195 and minus_oflow as non-finite.
9197 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9199 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9200 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9201 moved to fenv_private.h except for ...
9202 (TOINT_INTRINSICS): Kept in math_private.h.
9203 (roundtoint): Likewise.
9204 (converttoint): Likewise.
9205 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9206 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9207 * sysdeps/arm/math_private.h: Remove.
9208 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9210 * sysdeps/generic/math_private.h: ... this file. Include
9211 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9212 Include <fenv_private.h>. Remove functions and macros moved to
9214 * sysdeps/i386/fpu/math_private.h: Remove.
9215 * sysdeps/mips/math_private.h: Move to ....
9216 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9217 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9218 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9219 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9220 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9221 * sysdeps/powerpc/fpu/math_private.h: Do not include
9223 * sysdeps/riscv/rvf/math_private.h: Move to ....
9224 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9225 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9227 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9228 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9229 * sysdeps/sparc/fpu/math_private.h: Remove.
9230 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9231 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9232 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9234 * sysdeps/x86_64/fpu/math_private.h: Do not include
9235 <sysdeps/i386/fpu/fenv_private.h>.
9237 2018-08-28 Florian Weimer <fweimer@redhat.com>
9240 * posix/tst-regcomp-truncated.c: New file.
9241 * posix/Makefile (tests): Add it.
9242 (tst-regcomp-truncated.out): Depend on generated locales.
9244 2018-08-28 Florian Weimer <fweimer@redhat.com>
9246 * support/test-container.c (main): Treat unshare failure with
9247 EPERM as an unsupported test.
9249 2018-08-28 Florian Weimer <fweimer@redhat.com>
9252 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9253 * nscd/netgroupcache.c
9254 (addgetnetgrentX): Add tofreep parameter. Do not free
9255 heap-allocated buffer.
9256 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9257 (addgetnetgrentX_ignore): New function.
9258 (addgetnetgrent): Call it.
9259 (readdgetnetgrent): Likewise.
9261 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9263 * string/memmem.c: Use memcmp for first match.
9265 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9268 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9270 2018-08-27 DJ Delorie <dj@redhat.com>
9272 * support/Makefile (others): Don't list programs explicitly as a
9273 dependency of "others".
9275 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9277 * sysdeps/generic/math-tests-trap-force.h: New file.
9278 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9279 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9280 * sysdeps/powerpc/math-tests.h: Remove file.
9281 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9283 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9284 Torvald Riegel <triegel@redhat.com>
9287 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9288 Update r to include the set wake-request flag if waiters are
9289 remaining after spinning.
9291 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9293 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9295 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9298 regex: fix uninitialized memory access
9299 I introduced this bug into gnulib in commit
9300 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9301 eventually it was merged into glibc. The bug was found by
9302 project-repo <bugs@feusi.co> and reported here:
9303 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9304 Diagnosis and draft fix reported by Assaf Gordon here:
9305 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9306 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9307 * posix/regex_internal.c (build_wcs_upper_buffer):
9308 Fix bug when mbrtowc returns 0.
9310 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9312 * po/be.po: Update translation.
9314 2018-08-24 DJ Delorie <dj@delorie.com>
9316 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9319 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9322 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9323 create temporary files in source tree.
9325 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9327 * sysdeps/generic/math-tests-trap.h: New file.
9328 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9329 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9330 * sysdeps/aarch64/math-tests.h: Remove file.
9331 * sysdeps/arm/math-tests.h: Likewise.
9332 * sysdeps/riscv/math-tests.h: Likewise.
9333 * sysdeps/aarch64/math-tests-trap.h: New file.
9334 * sysdeps/arm/math-tests-trap.h: Likewise.
9335 * sysdeps/riscv/math-tests-trap.h: Likewise.
9337 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9339 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9340 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9341 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9342 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9343 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9344 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9348 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9349 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9350 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9351 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9352 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9353 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9354 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9355 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9356 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9358 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9360 * sysdeps/generic/math-tests-exceptions.h: New file.
9361 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9362 (EXCEPTION_TESTS_float): Do not define here.
9363 (EXCEPTION_TESTS_double): Likewise.
9364 (EXCEPTION_TESTS_long_double): Likewise.
9365 (EXCEPTION_TESTS_float128): Likewise.
9366 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9368 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9369 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9370 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9371 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9372 * sysdeps/mips/math-tests.h: Likewise.
9373 * sysdeps/nios2/math-tests.h: Likewise.
9374 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9375 (EXCEPTION_TESTS_float): Do not define here.
9376 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9377 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9378 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9380 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9382 * NEWS: Move optimized sinf entry to 2.29.
9384 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9386 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9388 2018-08-22 DJ Delorie <dj@redhat.com>
9390 * Makefile (testroot.pristine): New rules to initialize the
9391 test-in-container "testroot".
9392 * Makerules (all-testsuite): Add tests-container.
9393 * Rules (tests-expected): Add tests-container.
9394 (binaries-all-tests): Likewise.
9395 (tests-container): New, run these tests in the testroot container.
9396 * support/Makefile (others): Add *-container, support_paths.c,
9397 xmkdirp, and links-dso-program.
9398 * support/links-dso-program-c.c: New.
9399 * support/links-dso-program.cc: New.
9400 * support/test-container.c: New.
9401 * support/shell-container.c: New.
9402 * support/echo-container.c: New.
9403 * support/true-container.c: New.
9404 * support/xmkdirp.c: New.
9405 * support/xsymlink.c: New.
9406 * support/support_paths.c: New.
9407 * support/support.h: Add support paths prototypes.
9408 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9410 * nss/tst-nss-test3.c: Convert to test-in-container.
9411 * nss/tst-nss-test3.root/: New.
9413 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9415 regex: port Gnulib code to z/OS POSIX environment
9416 Problem reported by Arnold Robbins in:
9417 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9418 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9421 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9423 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9424 (ROUNDING_TESTS_double): Remove.
9425 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9426 (ROUNDING_TESTS_double): Remove.
9427 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9428 (ROUNDING_TESTS_double): Remove.
9429 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9430 (ROUNDING_TESTS_float): Remove.
9431 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9432 (ROUNDING_TESTS_float): Remove.
9433 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9434 (ROUNDING_TESTS_float): Remove.
9435 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9437 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9438 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9440 * sysdeps/generic/math-tests-rounding.h: New file.
9441 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9442 (ROUNDING_TESTS_float): Do not define here.
9443 (ROUNDING_TESTS_double): Likewise.
9444 (ROUNDING_TESTS_long_double): Likewise.
9445 (ROUNDING_TESTS_float128): Likewise.
9446 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9447 (ROUNDING_TESTS_double): Undefine before defining.
9448 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9449 (ROUNDING_TESTS_double): Undefine before defining.
9450 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9451 (ROUNDING_TESTS_double): Undefine before defining.
9452 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9453 (ROUNDING_TESTS_float): Undefine before defining.
9454 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9455 (ROUNDING_TESTS_float): Undefine before defining.
9456 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9457 (ROUNDING_TESTS_float): Undefine before defining.
9458 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9459 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9461 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9462 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9463 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9464 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9465 (ROUNDING_TESTS_float): Do not define here.
9466 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9467 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9468 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9469 (ROUNDING_TESTS_float): Likewise.
9470 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9471 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9472 * sysdeps/mips/math-tests.h [__mips_soft_float]
9473 (ROUNDING_TESTS_float): Likewise.
9474 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9475 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9476 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9477 (ROUNDING_TESTS_double): Likewise.
9478 (ROUNDING_TESTS_long_double): Likewise.
9480 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9482 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9483 (PF_XDP): New macro.
9484 (AF_XDP): New macro.
9485 (SOL_XDP): New macro.
9487 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9489 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9490 (TCP_INQ): Likewise.
9491 (TCP_CM_INQ): Likewise.
9492 (TCP_REPAIR_ON): Likewise.
9493 (TCP_REPAIR_OFF): Likewise.
9494 (TCP_REPAIR_OFF_NO_WP): Likewise.
9495 (struct tcp_zerocopy_receive): New type.
9497 2018-08-21 Florian Weimer <fweimer@redhat.com>
9499 * support/support.h (support_descriptor_supports_holes): Declare.
9500 * support/Makefile (libsupport-routines): Add
9501 support_descriptor_supports_holes.
9502 * support/support_descriptor_supports_holes.c: New file.
9503 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9504 and stop testing if holes are not supported.
9505 * io/test-lfs.c (do_prepare): Likewise.
9506 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9508 * timezone/tst-tzset.c (create_tz_file): Likewise.
9509 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9511 (do_prepare): Set it.
9512 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9514 2018-08-21 Florian Weimer <fweimer@redhat.com>
9517 * Makeconfig (+cflags): Do not sort (and deduplicate).
9519 2018-08-21 Florian Weimer <fweimer@redhat.com>
9521 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9522 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9524 2018-08-20 Florian Weimer <fweimer@redhat.com>
9526 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9527 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9529 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9531 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9532 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9533 and ssi_arch members.
9535 * elf/elf.c (NT_VMCOREDD): New macro.
9536 (AT_MINSIGSTKSZ): Likewise.
9538 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9541 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9542 s_cosf-ppc64 and s_cosf-power8.
9543 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9544 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9545 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9546 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9553 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9554 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9556 2018-08-17 Florian Weimer <fweimer@redhat.com>
9558 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9560 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9562 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9564 2018-08-16 Florian Weimer <fweimer@redhat.com>
9566 * configure.ac: Add --with-nonshared-cflags option.
9567 * config.make.in (extra-nonshared-cflags): Set variable.
9568 * Makeconfig (CFLAGS-.oS): Use it.
9569 * manual/install.texi (Configuring and compiling): Document
9570 --with-nonshared-cflags.
9571 * configure: Regenerate.
9572 * INSTALL: Likewise.
9574 2018-08-16 Florian Weimer <fweimer@redhat.com>
9576 * Makeconfig (ASFLAGS): Always append required assembler flags.
9578 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9580 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9581 (malloc_consolidate): Likewise.
9583 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9585 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9587 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9589 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9592 * benchtests/bench-strlen.c: Print performance numbers in json.
9594 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9596 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9597 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9598 only for little endian.
9599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9600 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9601 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9602 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9603 Add check for little endian.
9604 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9605 (__strcmp_power9): Add check for little endian.
9606 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9607 Add check for little endian.
9608 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9609 (__strncmp_power9): Add check for little endian.
9610 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9611 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9612 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9613 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9614 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9616 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9618 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9619 [!STRLEN](STRLEN): Set to __strlen.
9620 * sysdeps/aarch64/multiarch/strlen.c: New file.
9621 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9622 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9623 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9624 (__libc_ifunc_impl_list): Add strlen.
9625 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9626 strlen_generic and strlen_asimd.
9628 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9630 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9631 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9632 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9634 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9636 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9638 2018-08-14 Florian Weimer <fweimer@redhat.com>
9641 * include/stdio.h (__vfxprintf): Declare.
9642 * stdio-common/fxprintf.c (__vfxprintf): New function.
9643 (__fxprintf): Call it.
9644 * misc/err.c (convert_and_print): Remove function.
9645 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9646 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9647 * misc/Makefile (tests): Add tst-warn-wide.
9648 * misc/tst-warn-wide.c: New file.
9650 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9651 Szabolcs Nagy <szabolcs.nagy@arm.com>
9653 * NEWS: Mention sinf, cosf, sincosf.
9654 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9655 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9656 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9657 constants rather than including generic sincosf.h.
9658 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9659 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9660 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9661 (reduced_cos): Remove.
9662 (sinf_poly): New function.
9663 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9665 2018-08-14 Florian Weimer <fweimer@redhat.com>
9669 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9670 processing, bail out if no room, and close the stream before
9672 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9673 (tst-nss-files-alias-leak): Link with libdl.
9674 (tst-nss-files-alias-leak.out): Depend on nss_files.
9676 * nss/tst-nss-files-alias-leak.c: New file.
9678 2018-08-14 Florian Weimer <fweimer@redhat.com>
9680 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9681 server_user, stat_user.
9683 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9685 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9687 (io_pgetevents): New syscall.
9690 * manual/install.texi (Configuring and compiling): Do not list
9691 tools used for testing pretty printers here.
9692 (Tools for Compilation): List Python, PExpect and GDB here.
9693 Update descriptions of uses of Perl and Python.
9694 * INSTALL: Regenerate.
9696 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9699 2018-08-13 Florian Weimer <fweimer@redhat.com>
9701 * misc/error.c (error): Add missing va_end call.
9702 (error_at_line): Likewise.
9704 2018-08-13 Florian Weimer <fweimer@redhat.com>
9706 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9708 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9710 * benchtests/scripts/benchout.schema.json (properties): Add
9713 * benchtests/bench-skeleton.c (main): Add duration and
9714 iterations attributes.
9716 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9718 regex: Gnulib unibyte RRI uses bytes not chars
9719 Adjust the non-glibc code to agree with what Gawk needs for
9720 rational range interpretation (RRI) for regular expression ranges.
9721 In unibyte locales, Gawk wants ranges to use the underlying byte
9722 rather than the character code point. This change does not affect
9724 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9725 In unibyte locales, use the byte value rather than
9726 running it through btowc.
9728 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9730 * sysdeps/generic/math-tests-snan.h: New file.
9731 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9732 (SNAN_TESTS_float): Do not define here.
9733 (SNAN_TESTS_double): Likewise.
9734 (SNAN_TESTS_long_double): Likewise.
9735 (SNAN_TESTS_float128): Likewise.
9736 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9737 * sysdeps/i386/fpu/math-tests.h: Remove file.
9738 * sysdeps/ia64/math-tests-snan.h: New file.
9739 * sysdeps/ia64/math-tests.h: Remove file.
9740 * sysdeps/x86/math-tests.h: Likewise.
9741 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9743 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9744 Szabolcs Nagy <szabolcs.nagy@arm.com>
9746 * math/Makefile: Add s_sincosf_data.c.
9747 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9748 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9749 (sincosf_poly): Likewise.
9750 (reduce_small): Likewise.
9751 (reduce_large): Likewise.
9752 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9753 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9754 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9755 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9757 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9758 Szabolcs Nagy <szabolcs.nagy@arm.com>
9760 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9761 (converttoint): Use lround.
9762 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9763 document the semantics when TOINT_INTRINSICS is set.
9764 (converttoint): Likewise.
9765 (TOINT_RINT): Remove.
9766 (TOINT_SHIFT): Remove.
9767 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9770 2018-08-10 Florian Weimer <fweimer@redhat.com>
9773 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9775 (__old_getdents64): Use getdents64. Convert entries without
9777 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9778 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9779 tst-readdir64-compat.
9781 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9783 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9786 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9788 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9789 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9790 code to s390x-mcount.h and #include it.
9791 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9792 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9795 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9797 * stdlib/Versions: Remove __fentry__.
9798 * sysdeps/i386/Versions: Add __fentry__.
9799 * sysdeps/x86_64/Versions: Add __fentry__.
9801 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9803 * sysdeps/s390/Makefile: Register the new tests.
9804 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9805 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9806 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9807 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9808 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9809 * sysdeps/s390/tst-dl-runtime.c: New file.
9811 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9813 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9816 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9818 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9821 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9823 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9826 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9828 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9831 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9833 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9834 Use symbolic offsets for stack variables.
9836 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9838 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9839 Use symbolic offsets for stack variables.
9841 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9843 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9844 Use symbolic offsets for stack variables.
9846 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9848 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9849 Use symbolic offsets for stack variables.
9851 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9853 * math/gen-libm-test.py: New file.
9854 * math/gen-libm-test.pl: Remove.
9855 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9856 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9858 ($(libm-test-c-noauto-obj)): Likewise.
9859 ($(libm-test-c-auto-obj)): Likewise.
9860 ($(libm-test-c-narrow-obj)): Likewise.
9861 (regen-ulps): Likewise.
9862 * math/README.libm-test: Update references to gen-libm-test.pl.
9863 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9864 referencing gen-libm-test.pl.
9865 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9866 * math/libm-test-support.c: Likewise.
9867 * math/libm-test-support.h: Likewise.
9868 * sysdeps/generic/libm-test-ulps: Likewise.
9870 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9872 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9875 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9877 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9878 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9880 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9882 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9884 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9885 __pthread_setspecific): Add hidden proto.
9886 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9887 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9889 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9891 * benchtests/bench-string.h (buf1_size, buf2_size): New
9893 (init_sizes): New function.
9894 (test_init): Use it.
9895 (alloc_buf, exit_error): New functions.
9896 (alloc_bufs): Use ALLOC_BUF.
9897 (realloc_bufs): Remove.
9898 * benchtests/bench-memcmp.c (do_test): Adjust.
9899 * benchtests/bench-memset-large.c (do_test): Likewise.
9900 * benchtests/bench-memset-walk.c (do_test): Likewise.
9901 * benchtests/bench-memset.c (do_test): Likewise.
9902 * benchtests/bench-strncmp.c (do_test): Likewise.
9904 2018-08-06 Andreas Schwab <schwab@suse.de>
9906 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9907 of CONST_THREAD_AREA.
9909 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9911 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9912 (STATE_SAVE_MASK): Likewise.
9913 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9914 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9915 (STATE_SAVE_MASK): Likewise.
9916 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9917 instead of <cpu-features.h>.
9919 2018-08-03 DJ Delorie <dj@redhat.com>
9921 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9922 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9924 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9926 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9928 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9930 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9931 * math/libm-test-logb.inc (logb_test_data): Likewise.
9933 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9935 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9936 * string/strstr.c (AVAILABLE): Likewise.
9938 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9940 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9942 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9943 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9944 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9946 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9948 * po/be.po: Update translation.
9950 * po/be.po: Update translation.
9952 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9954 * sysdeps/x86/cpu-features-offsets.sym
9955 (rtld_global_ro_offsetof): Removed.
9956 (CPU_FEATURES_SIZE): Likewise.
9957 (CPUID_OFFSET): Likewise.
9958 (CPUID_SIZE): Likewise.
9959 (CPUID_EAX_OFFSET): Likewise.
9960 (CPUID_EBX_OFFSET): Likewise.
9961 (CPUID_ECX_OFFSET): Likewise.
9962 (CPUID_EDX_OFFSET): Likewise.
9963 (FAMILY_OFFSET): Likewise.
9964 (MODEL_OFFSET): Likewise.
9965 (FEATURE_OFFSET): Likewise.
9966 (FEATURE_SIZ): Likewise.
9967 (COMMON_CPUID_INDEX_1): Likewise.
9968 (COMMON_CPUID_INDEX_7): Likewise.
9969 (FEATURE_INDEX_1): Likewise.
9970 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9972 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9974 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9975 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9976 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9977 (install-locales): Depend on install-locale-archive.
9978 (install-locale-archive): Define.
9979 (install-locale-files): Define.
9980 (build-one-locale): Define macro.
9981 * manual/install.texi (Running make install): Document.
9982 * manual/INSTALL: Regenerate.
9984 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9986 * benchtests/scripts/compare_strings.py: Import traceback.
9987 (parse_file): Pretty-print error.
9989 * NEWS: Mention the change.
9990 * elf/dl-tunables.list: Rename tune namespace to cpu.
9991 * sysdeps/powerpc/dl-tunables.list: Likewise.
9992 * sysdeps/x86/dl-tunables.list: Likewise.
9993 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9995 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9996 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9997 * manual/README.tunables: Likewise.
9998 * manual/tunables.texi: Likewise.
9999 * sysdeps/powerpc/cpu-features.c: Likewise.
10000 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10001 (init_cpu_features): Likewise.
10002 * sysdeps/x86/cpu-features.c: Likewise.
10003 * sysdeps/x86/cpu-features.h: Likewise.
10004 * sysdeps/x86/cpu-tunables.c: Likewise.
10005 * sysdeps/x86_64/Makefile: Likewise.
10006 * sysdeps/x86/dl-cet.c: Likewise.
10008 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10011 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10012 [__mips_hard_float].
10013 (FE_UNDERFLOW): Likewise.
10014 (FE_OVERFLOW): Likewise.
10015 (FE_DIVBYZERO): Likewise.
10016 (FE_INVALID): Likewise.
10017 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10018 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10019 (FE_UPWARD): Likewise.
10020 (FE_DOWNWARD): Likewise.
10021 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10022 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10023 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10024 [__mips_hard_float].
10025 (FP_ROUNDMODE): Likewise.
10026 (FP_RND_NEAREST): Likewise.
10027 (FP_RND_ZERO): Likewise.
10028 (FP_RND_PINF): Likewise.
10029 (FP_RND_MINF): Likewise.
10030 (FP_EX_INVALID): Likewise.
10031 (FP_EX_OVERFLOW): Likewise.
10032 (FP_EX_UNDERFLOW): Likewise.
10033 (FP_EX_DIVZERO): Likewise.
10034 (FP_EX_INEXACT): Likewise.
10035 (FP_INIT_ROUNDMODE): Likewise.
10036 * sysdeps/mips/nofpu/fesetenv.c: New file.
10037 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10039 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10041 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10042 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10043 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10044 conditional on [FE_UPWARD].
10046 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10048 regex: fix memory leak in Gnulib
10049 Problem and fix reported by Assaf Gordon in:
10050 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10051 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10052 range_ends members too, as they are defined in 'struct
10053 re_charset_t' even if not _LIBC. This affects only Gnulib.
10055 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10057 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10059 (get_common_indices): This.
10060 (init_cpu_features): Updated.
10062 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10064 * sysdeps/generic/math-tests-snan-payload.h: New file.
10065 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10066 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10067 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10068 * sysdeps/generic/math-tests.h: Include
10069 <math-tests-snan-payload.h>.
10070 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10071 * sysdeps/hppa/math-tests.h: Remove file.
10072 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10073 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10074 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10077 * sysdeps/generic/math-tests-snan-cast.h: New file.
10078 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10079 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10080 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10081 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10083 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10085 * version.h (RELEASE): Set to "development".
10086 (VERSION): Set to "2.28.9000".
10087 * NEWS (2.29): New section.
10089 * version.h (RELEASE): Set to "stable".
10090 (VERSION): Set to "2.28".
10091 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10092 * NEWS: Add the list of bugs fixed in 2.28.
10094 * po/ca.po: Update to latest version.
10095 * po/cs.po: Likewise
10096 * po/da.po: Likewise
10097 * po/el.po: Likewise
10098 * po/eo.po: Likewise
10099 * po/es.po: Likewise
10100 * po/fi.po: Likewise
10101 * po/fr.po: Likewise
10102 * po/gl.po: Likewise
10103 * po/hu.po: Likewise
10104 * po/ia.po: Likewise
10105 * po/id.po: Likewise
10106 * po/it.po: Likewise
10107 * po/ja.po: Likewise
10108 * po/ko.po: Likewise
10109 * po/lt.po: Likewise
10110 * po/nb.po: Likewise
10111 * po/nl.po: Likewise
10112 * po/pt_BR.po: Likewise
10113 * po/ru.po: Likewise
10114 * po/rw.po: Likewise
10115 * po/sk.po: Likewise
10116 * po/sl.po: Likewise
10117 * po/tr.po: Likewise
10118 * po/zh_CN.po: Likewise
10119 * po/zh_TW.po: Likewise
10121 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10123 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10125 (init): ... before initializing libpthread.
10127 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10128 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10129 (__mach_setup_tls): ... new function.
10130 (mach_setup_tls): New alias.
10131 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10132 __mach_setup_thread.
10133 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10134 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10135 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10136 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10138 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10140 * manual/install.texi: Update versions.
10141 * INSTALL: Regenerate.
10143 * manual/contrib.texi (Contributors): Update contributions.
10145 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10147 * po/be.po: Update translations.
10149 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10151 * sysdeps/sh/libm-test-ulps: Update.
10153 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10155 * po/bg.po: Update translations.
10156 * po/de.po: Likewise.
10157 * po/hr.po: Likewise.
10158 * po/pt_BR.po: Likewise.
10159 * po/sv.po: Likewise.
10160 * po/vi.po: Likewise.
10162 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10165 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10166 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10167 (CFLAGS-tst-cet-property-1.o): New.
10168 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10169 ($(objpfx)tst-cet-property-2): Likewise.
10170 ($(objpfx)tst-cet-property-2.out): Likewise.
10171 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10172 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10173 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10174 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10175 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10177 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10180 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10182 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10184 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10185 __sbrk): Do not set attribute_hidden.
10186 * sysdeps/mach/hurd/not-errno.h: New file.
10187 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10188 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10190 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10192 * po/uk.po: Update translations.
10193 * po/cs.po: Likewise.
10194 * po/pl.po: Likewise.
10196 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10198 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10199 parse beyond the note end.
10201 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10203 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10204 kernel does not support OFD locks.
10205 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10207 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10209 * sysdeps/mach/hurd/Versions (libc): Make __access and
10210 __access_noerrno external so they can override the ld symbols.
10211 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10212 __writev, __open64, __access_noerrno extern so they can be overrided.
10213 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10214 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10216 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10218 * po/libc.pot: Regenerate.
10220 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10222 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10224 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10227 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10229 (init_cpu_features): Call get_extended_indices for both Intel
10231 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10232 Remove "for AMD" comment.
10234 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10237 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10238 COMMON_CPUID_INDEX_80000001.
10240 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10242 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10243 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10245 2018-07-26 Florian Weimer <fweimer@redhat.com>
10247 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10248 aliases for symbols not in the implementation namespace.
10250 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10253 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10254 lowercase in LATIN script.
10255 * localedata/Makefile (test-input): Add en_US.UTF-8.
10256 * localedata/en_US.UTF-8.in: New file.
10257 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10258 and restore old tests.
10259 * posix/tst-regexloc.c (do_test): Add back range expression test.
10261 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10263 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10265 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10267 * nptl/threads.h: Move to ...
10268 * sysdeps/nptl/threads.h: ... here.
10269 * sysdeps/hurd/stdc-predef.h: New file.
10271 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10273 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10274 tst-cet-setcontext-1 if CET is enabled.
10275 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10276 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10278 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10280 * include/threads.h: Move to ...
10281 * sysdeps/nptl/threads.h: ... here.
10282 * sysdeps/htl/threads.h: New file.
10283 * conform/Makefile (linknamespace-libs-ISO11): Use
10284 static-thread-library instead of linking libpthread.
10285 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10287 2018-07-25 Florian Weimer <fweimer@redhat.com>
10289 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10290 nanoseconds into seconds.
10291 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10292 (do_test): Likewise.
10293 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10294 (do_test): Likewise. Avoid nanosecond overflow and spurious
10295 timeouts due to system load.
10296 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10297 (child_wait): Increment it.
10298 (do_test): Wait as long as necessary until all expected threads
10301 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10302 H.J. Lu <hongjiu.lu@intel.com>
10304 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10306 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10307 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10308 (__push___start_context): New.
10309 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10311 (__getcontext): Record the current shadow stack base. Save the
10312 caller's shadow stack pointer and base.
10313 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10314 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10315 (__push___start_context): New prototype.
10316 (__makecontext): Call __push___start_context to allocate a new
10317 shadow stack, push __start_context onto the new stack as well
10318 as the new shadow stack.
10319 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10321 (__setcontext): Restore the target shadow stack.
10322 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10324 (__swapcontext): Record the current shadow stack base. Save
10325 the caller's shadow stack pointer and base. Restore the target
10327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10328 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10329 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10331 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10333 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10334 tst-setcontext8 and tst-setcontext9.
10335 * stdlib/tst-setcontext6.c: New file.
10336 * stdlib/tst-setcontext7.c: Likewise.
10337 * stdlib/tst-setcontext8.c: Likewise.
10338 * stdlib/tst-setcontext9.c: Likewise.
10340 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10342 * stdlib/Makefile ((tests): Add tst-setcontext5.
10343 * stdlib/tst-setcontext5.c: New file.
10345 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10347 * stdlib/Makefile (tests): Add tst-setcontext4.
10348 * stdlib/tst-setcontext4.c: New file.
10350 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10352 * stdlib/Makefile (tests): Add tst-swapcontext1.
10353 * stdlib/tst-swapcontext1.c: New test.
10355 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10357 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10358 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10359 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10360 and tst-cet-legacy-4c.
10361 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10362 and tst-cet-legacy-mod-4.
10363 (CFLAGS-tst-cet-legacy-2.c): New.
10364 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10365 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10366 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10367 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10368 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10369 ($(objpfx)tst-cet-legacy-1): Likewise.
10370 ($(objpfx)tst-cet-legacy-2): Likewise.
10371 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10372 ($(objpfx)tst-cet-legacy-2a): Likewise.
10373 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10374 ($(objpfx)tst-cet-legacy-4): Likewise.
10375 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10376 ($(objpfx)tst-cet-legacy-4a): Likewise.
10377 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10378 (tst-cet-legacy-4a-ENV): Likewise.
10379 ($(objpfx)tst-cet-legacy-4b): Likewise.
10380 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10381 (tst-cet-legacy-4b-ENV): Likewise.
10382 ($(objpfx)tst-cet-legacy-4c): Likewise.
10383 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10384 (tst-cet-legacy-4c-ENV): Likewise.
10385 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10386 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10387 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10388 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10389 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10390 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10391 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10392 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10393 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10394 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10395 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10397 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10399 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10400 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10402 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10403 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10406 2018-07-25 Andreas Schwab <schwab@suse.de>
10409 * locale/weightwc.h (findidx): Handle the case where usrc is a
10410 prefix of cp but one character too short.
10412 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10414 * NEWS: Add ISO C threads addition.
10416 2018-07-24 Florian Weimer <fweimer@redhat.com>
10418 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10419 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10420 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10423 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10425 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10426 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10427 <sys/prctl.h> and <asm/prctl.h>.
10428 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10429 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10431 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10432 ARCH_CET_LEGACY_BITMAP.
10433 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10434 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10435 * sysdeps/x86/libc-start.c: Include <startup.h>.
10437 2018-07-24 Florian Weimer <fweimer@redhat.com>
10439 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10440 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10442 2018-07-24 Rical Jasan <rj@2c3t.io>
10443 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10444 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10447 * manual/debug.texi: Update adjacent chapter name.
10448 * manual/probes.texi: Likewise.
10449 * manual/threads.texi (ISO C Threads): New section.
10450 (POSIX Threads): Convert to a section.
10452 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10453 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10456 * nptl/Makefile (tests): Add new test files.
10457 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10458 * nptl/tst-cnd-basic.c: Likewise.
10459 * nptl/tst-cnd-broadcast.c: Likewise.
10460 * nptl/tst-cnd-timedwait.c: Likewise.
10461 * nptl/tst-mtx-basic.c: Likewise.
10462 * nptl/tst-mtx-recursive.c: Likewise.
10463 * nptl/tst-mtx-timedlock.c: Likewise.
10464 * nptl/tst-mtx-trylock.c: Likewise.
10465 * nptl/tst-thrd-basic.c: Likewise.
10466 * nptl/tst-thrd-detach.c: Likewise.
10467 * nptl/tst-thrd-sleep.c: Likewise.
10468 * nptl/tst-tss-basic.c: Likewise.
10470 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10473 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10474 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10476 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10477 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10478 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10479 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10480 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10481 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10482 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10483 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10484 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10485 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10486 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10487 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10495 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10496 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10497 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10498 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10499 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10500 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10501 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10502 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10503 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10504 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10505 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10506 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10507 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10509 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10510 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10511 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10512 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10513 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10514 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10515 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10516 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10517 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10518 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10519 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10520 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10527 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10528 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10529 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10530 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10531 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10532 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10533 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10534 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10537 * conform/data/threads.h-data (thread_local): New macro.
10538 (TSS_DTOR_ITERATIONS): Likewise.
10540 (tss_dtor_t): Likewise.
10541 (tss_create): New function.
10542 (tss_get): Likewise.
10543 (tss_set): Likewise.
10544 (tss_delete): Likewise.
10545 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10546 tss_get, and tss_set objects.
10547 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10548 * nptl/tss_create.c: New file.
10549 * nptl/tss_delete.c: Likewise.
10550 * nptl/tss_get.c: Likewise.
10551 * nptl/tss_set.c: Likewise.
10552 * sysdeps/nptl/threads.h (thread_local): New define.
10553 (TSS_DTOR_ITERATIONS): Likewise.
10554 (tss_t): New typedef.
10555 (tss_dtor_t): Likewise.
10556 (tss_create): New prototype.
10557 (tss_get): Likewise.
10558 (tss_set): Likewise.
10559 (tss_delete): Likewise.
10562 * conform/data/threads.h-data (cnd_t): New type.
10563 (cnd_init): New function.
10564 (cnd_signal): Likewise.
10565 (cnd_broadcast): Likewise.
10566 (cnd_wait): Likewise.
10567 (cnd_timedwait): Likewise.
10568 (cnd_destroy): Likewise.
10569 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10570 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10572 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10573 * nptl/cnd_broadcast.c: New file.
10574 * nptl/cnd_destroy.c: Likewise.
10575 * nptl/cnd_init.c: Likewise.
10576 * nptl/cnd_signal.c: Likewise.
10577 * nptl/cnd_timedwait.c: Likewise.
10578 * nptl/cnd_wait.c: Likewise.
10579 * sysdeps/nptl/threads.h (cnd_t): New type.
10580 (cnd_init): New prototype.
10581 (cnd_signa): Likewise.
10582 (cnd_broadcast): Likewise.
10583 (cnd_wait): Likewise.
10584 (cnd_timedwait): Likewise.
10585 (cnd_destroy): Likewise.
10588 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10589 (once_flag): New type.
10590 (call_once): New function.
10591 * nptl/Makefile (libpthread-routines): Add call_once object.
10592 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10593 * nptl/call_once.c: New file.
10594 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10595 (once_flag): New type.
10596 (call_once): New prototype.
10599 * conform/data/threads.h-data (mtx_plain): New constant.
10600 (mtx_recursive): Likewise.
10601 (mtx_timed): Likewise.
10603 (mtx_init): New function.
10604 (mtx_lock): Likewise.
10605 (mtx_timedlock): Likewise.
10606 (mtx_trylock): Likewise.
10607 (mtx_unlock): Likewise.
10608 (mtx_destroy): Likewise.
10609 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10610 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10611 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10612 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10613 * nptl/mtx_destroy.c: New file.
10614 * nptl/mtx_init.c: Likewise.
10615 * nptl/mtx_lock.c: Likewise.
10616 * nptl/mtx_timedlock.c: Likewise.
10617 * nptl/mtx_trylock.c: Likewise.
10618 * nptl/mtx_unlock.c: Likewise.
10619 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10620 (mtx_recursive): Likewise.
10621 (mtx_timed): Likewise.
10623 (mtx_init): New prototype.
10624 (mtx_lock): Likewise.
10625 (mtx_timedlock): Likewise.
10626 (mtx_trylock): Likewise.
10627 (mtx_unlock): Likewise.
10628 (mtx_destroy): Likewise.
10631 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10632 (linknamespace-libs-ISO11): Add libpthread.a.
10633 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10635 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10636 * nptl/Makefile (headers): Add threads.h.
10637 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10638 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10640 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10641 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10642 thrd_join, thrd_sleep, and thrd_yield symbols.
10643 * nptl/descr.h (struct pthread): Add c11 field.
10644 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10645 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10646 routine with expected function prototype.
10647 (__pthread_create_2_1): Add C11 threads check based on attribute
10649 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10650 * nptl/thrd_create.c: New file.
10651 * nptl/thrd_current.c: Likewise.
10652 * nptl/thrd_detach.c: Likewise.
10653 * nptl/thrd_equal.c: Likewise.
10654 * nptl/thrd_exit.c: Likewise.
10655 * nptl/thrd_join.c: Likewise.
10656 * nptl/thrd_priv.h: Likewise.
10657 * nptl/thrd_sleep.c: Likewise.
10658 * nptl/thrd_yield.c: Likewise.
10659 * include/threads.h: Likewise.
10661 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10663 * bits/indirect-return.h: New file.
10664 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10665 * sysdeps/x86/bits/indirect-return.h: Likewise.
10666 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10667 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10668 (swapcontext): Add __INDIRECT_RETURN.
10669 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10670 (prepare_test_buffer): Use it.
10672 2018-07-24 Andreas Schwab <schwab@suse.de>
10675 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10676 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10678 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10680 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10681 Redefine if shadow stack is enabled.
10682 (SYSCALL_ERROR_LABEL): Likewise.
10683 (__vfork): Pop shadow stack and jump back to to caller directly
10684 when shadow stack is in use.
10685 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10686 Redefine if shadow stack is enabled.
10687 (SYSCALL_ERROR_LABEL): Likewise.
10688 (__vfork): Pop shadow stack and jump back to to caller directly
10689 when shadow stack is in use.
10691 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10693 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10696 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10699 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10701 * scripts/build-many-glibcs.py (Context.checkout): Default
10702 binutils version to 2.31 branch.
10704 2018-07-20 Zong Li <zong@andestech.com>
10706 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10707 URL of gcc's tarball.
10709 2018-07-20 Florian Weimer <fweimer@redhat.com>
10712 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10713 not compare an extra byte after the end of the weights.
10715 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10717 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10719 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10721 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10722 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10723 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10724 list of libraries whose stack executability is expected.
10725 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10726 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10728 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10729 libc.so libpthread.so.
10731 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10733 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10735 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10737 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10739 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10741 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10743 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10744 library to improve command line parsing.
10745 (__main__): make schema file as optional parameter (--schema),
10746 defaulting to benchtests/scripts/benchout.schema.json.
10747 (main): move out of the parsing stuff to __main_ and leave it
10748 only as caller of main comparison functions.
10750 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10752 * NEWS: Add a note for Intel CET status.
10753 * manual/install.texi: Likewise.
10754 * INSTALL: Regenerated.
10756 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10759 * localedata/locales/oc_FR (mon): Rename to...
10760 (alt_mon): This, then update October (typo fix).
10761 (mon): New content (genitive case, month names preceded by
10765 * localedata/locales/oc_FR (abday): Update all items.
10766 (day): Update Wednesday and Saturday (typo fixes).
10767 (abmon): Update all items, except May.
10768 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10769 (LC_IDENTIFICATION): Bump the revision number and date.
10770 Keep the "category" entries in alphabetic order.
10771 (LC_ADDRESS): Remove no longer needed comment.
10772 (LC_COLLATE): Use “copy "ca_ES"”.
10773 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10776 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10778 * grp/tst_fgetgrent.c: Include <unistd.h>.
10779 (main): Use mkstemp instead of tmpnam.
10780 * io/test-utime.c (main): Likewise.
10781 * posix/annexc.c (macrofile): Change to modifiable array.
10782 (main): Remove macrofile here.
10783 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10785 (check_header): Do not remove macrofile here.
10786 * posix/bug-getopt1.c: Include <stdlib.h>.
10787 (do_test): Use mkstemp instead of tmpnam.
10788 * posix/bug-getopt2.c: Include <stdlib.h>.
10789 (do_test): Use mkstemp instead of tmpnam.
10790 * posix/bug-getopt3.c: Include <stdlib.h>.
10791 (do_test): Use mkstemp instead of tmpnam.
10792 * posix/bug-getopt4.c: Include <stdlib.h>.
10793 (do_test): Use mkstemp instead of tmpnam.
10794 * posix/bug-getopt5.c: Include <stdlib.h>.
10795 (do_test): Use mkstemp instead of tmpnam.
10796 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10797 (main): Use mkstemp instead of tmpnam.
10798 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10799 (main): Use mkstemp instead of tmpnam.
10800 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10801 (main): use mkstemp instead of tmpnam.
10802 * stdlib/isomac.c (macrofile): Change to modifiable array.
10803 (main): Remove macrofile here.
10804 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10806 (check_header): Do not remove macrofile here.
10808 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10810 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10811 glibc.tune.x86_shstk.
10813 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10815 * NEWS: Mention --enable-cet.
10816 * manual/install.texi: Document --enable-cet.
10817 * INSTALL: Regenerated.
10819 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10821 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10822 Add _CET_NOTRACK before indirect jump to jump table.
10824 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10826 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10827 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10830 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10832 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10833 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10836 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10838 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10839 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10842 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10845 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10848 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10850 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10851 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10853 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10855 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10857 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10858 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10861 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10863 * sysdeps/i386/i686/multiarch/memset-sse2.S
10864 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10867 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10869 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10870 indirect jump to jump table.
10872 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10874 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10875 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10877 (MEMCPY): Likewise.
10879 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10882 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10884 (MEMCPY): Likewise.
10886 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10888 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10889 _CET_NOTRACK before indirect jump to jump table.
10891 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10893 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10894 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10897 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10899 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10900 indirect jump to jump table.
10902 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10905 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10906 (LOCALES): Likewise.
10907 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10908 * localedata/locales/sah_RU: New file.
10909 * localedata/sah_RU.UTF-8.in: New file.
10911 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10913 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10915 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10916 _CET_ENDBR to indirect jump targets and adjust jump destination
10918 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10920 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10921 _CET_ENDBR to indirect jump targets and adjust jump destination
10923 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10925 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10926 _CET_ENDBR to indirect jump targets and adjust jump destination
10929 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10931 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10934 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10936 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10938 (_dl_tlsdesc_undefweak): Likewise.
10939 (_dl_tlsdesc_dynamic): Likewise.
10940 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10941 (_dl_tlsdesc_resolve_rel): Likewise.
10942 (_dl_tlsdesc_resolve_rela): Likewise.
10943 (_dl_tlsdesc_resolve_hold): Likewise.
10944 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10945 (_dl_tlsdesc_undefweak): Likewise.
10946 (_dl_tlsdesc_dynamic): Likewise.
10947 (_dl_tlsdesc_resolve_rela): Likewise.
10948 (_dl_tlsdesc_resolve_hold): Likewise.
10950 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10952 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10954 * sysdeps/x86_64/crti.S (_init): Likewise.
10957 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10960 * localedata/locales/os_RU (mon): Rename to...
10962 (mon): Import from CLDR (genitive case).
10964 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10966 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10967 cet-tunables.h> when CET is enabled.
10969 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10972 * configure.ac: Add --enable-cet.
10973 * configure: Regenerated.
10974 * elf/Makefille (all-built-dso): Add a comment.
10975 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10976 Include <dl-prop.h>.
10977 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10979 * elf/dl-open.c: Include <dl-prop.h>.
10980 (dl_open_worker): Call _dl_open_check.
10981 * elf/rtld.c: Include <dl-prop.h>.
10982 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10984 * sysdeps/generic/dl-prop.h: New file.
10985 * sysdeps/i386/dl-cet.c: Likewise.
10986 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10987 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10988 * sysdeps/x86/cet-tunables.h: Likewise.
10989 * sysdeps/x86/check-cet.awk: Likewise.
10990 * sysdeps/x86/configure: Likewise.
10991 * sysdeps/x86/configure.ac: Likewise.
10992 * sysdeps/x86/dl-cet.c: Likewise.
10993 * sysdeps/x86/dl-procruntime.c: Likewise.
10994 * sysdeps/x86/dl-prop.h: Likewise.
10995 * sysdeps/x86/libc-start.h: Likewise.
10996 * sysdeps/x86/link_map.h: Likewise.
10997 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10999 (_dl_runtime_profile): Likewise.
11000 (_dl_runtime_resolve_shstk): New.
11001 (_dl_runtime_profile_shstk): Likewise.
11002 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11004 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11005 (CFLAGS-.os): Likewise.
11006 (CFLAGS-.op): Likewise.
11007 (CFLAGS-.oS): Likewise.
11008 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11010 (tests-special): Add $(objpfx)check-cet.out.
11011 (cet-built-dso): New.
11012 (+$(cet-built-dso:=.note)): Likewise.
11013 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11014 ($(objpfx)check-cet.out): New.
11015 (generated): Add check-cet.out.
11016 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11018 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11019 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11020 (init_cpu_features): Call get_cet_status to check CET status
11021 and update dl_x86_feature_1 with CET status. Call
11022 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11023 (set_x86_shstk). Disable and lock CET in libc.a.
11024 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11025 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11026 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11027 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11028 (_CET_ENDBR): Define if not defined.
11029 (ENTRY): Add _CET_ENDBR.
11030 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11032 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11034 (_dl_runtime_profile): Likewise.
11036 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11039 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11040 restore r2 on longjmp.
11041 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11043 Added rules to build test tst-setjmp-bug21895-static.
11044 Added module setjmp-bug21895 and rules to build a shared object from it.
11045 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11046 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11048 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11050 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11051 * benchtests/bench-strstr.c: Likewise.
11052 * string/memmem.c (FASTSEARCH): Define.
11053 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11054 Add support for FASTSEARCH.
11055 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11056 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11057 (FASTSEARCH): Define.
11058 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11059 * string/test-strstr.c: Likewise.
11061 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11063 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11064 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11066 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11067 H.J. Lu <hongjiu.lu@intel.com>
11069 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11070 (__longjmp): Restore shadow stack pointer if shadow stack is
11071 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11072 isn't defined for __longjmp_cancel.
11073 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11074 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11075 and SHADOW_STACK_POINTER_OFFSET is defined.
11076 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11077 (setjmp): Save shadow stack pointer if shadow stack is enabled
11078 and SHADOW_STACK_POINTER_OFFSET is defined.
11079 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11080 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11081 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11082 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11084 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11085 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11086 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11087 Remove jmp_buf-ssp.sym.
11088 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11090 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11091 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11092 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11094 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11095 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11096 (__longjmp): Restore shadow stack pointer if shadow stack is
11097 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11098 isn't defined for __longjmp_cancel.
11099 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11100 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11101 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11103 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11106 * nptl/pthread_create.c: Include <tls-setup.h>.
11107 (__pthread_create_2_1): Call tls_setup_tcbhead.
11108 * sysdeps/generic/tls-setup.h: New file.
11109 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11110 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11111 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11113 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11115 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11116 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11117 (X86_FEATURE_1_SHSTK): Likewise.
11118 (CET_ENABLED): Likewise.
11119 (IBT_ENABLED): Likewise.
11120 (SHSTK_ENABLED): Likewise.
11122 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11125 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11126 (LOCALES): Likewise.
11127 * localedata/dsb_DE.UTF-8.in: New file.
11128 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11130 2018-07-12 Florian Weimer <fweimer@redhat.com>
11132 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11133 __mprotect, not mprotect.
11135 2018-07-11 Florian Weimer <fweimer@redhat.com>
11137 * io/Makefile (headers): Add bits/statx.h.
11139 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11141 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11142 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11144 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11145 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11148 2018-07-10 Florian Weimer <fweimer@redhat.com>
11150 * io/Makefile (routines): Add statx.
11151 (tests-internal): Add tst-statx.
11152 * io/Versions (GLIBC_2.28): Export statx.
11153 * io/bits/statx.h: New file.
11154 * io/sys/stat.h [__USE_GNU]: Include it.
11155 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11156 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11158 * io/statx.c: New file.
11159 * io/statx_generic.: Likewise.
11160 * io/tst-statx.: Likewise.
11161 * include/bits/statx.h: Likewise.
11162 * sysdeps/unix/sysv/linux/kernel-features.h
11163 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11164 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11165 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11166 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11168 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11169 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11170 * sysdeps/unix/sysv/linux/statx.c: New file.
11171 * manual/filesys.texi: Note that statx is undocumented.
11172 * sysdeps/**/libc*.abilist: Update.
11174 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11176 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11177 a kernel issue which lead to test failure in some cases.
11179 2018-07-10 Florian Weimer <fweimer@redhat.com>
11182 * posix/regexec.c (check_node_accept_bytes): When comparing
11183 weights, do not compare an extra byte after the end of the
11186 2018-07-10 Florian Weimer <fweimer@redhat.com>
11188 * libio/readline.c: Fix copyright year.
11189 * libio/tst-readline.c Likewise.
11190 * nss/tst-nss-files-hosts-getent.c: Likewise.
11192 2018-07-06 Florian Weimer <fweimer@redhat.com>
11195 * nss/nss_files/files-XXX.c (internal_getent): Use
11196 __libc_readline_unlocked. Seek back to the start of the line if
11197 parsing failes with ERANGE.
11198 (get_contents_ret, get_contents): Remove.
11199 * nss/tst-nss-files-hosts-getent.c: New file.
11200 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11201 (tst-nss-files-hosts-getent): Link with -ldl.
11203 2018-07-06 Florian Weimer <fweimer@redhat.com>
11205 * include/stdio.h (__libc_readline_unlocked): Declare.
11206 (__ftello64, __fseeko64): Declare aliases.
11207 * libio/readline.c: New file.
11208 * libio/tst-readline.c: Likewise.
11209 (routines): Add readline.
11210 (tests-internal): Add tst-readlime.
11211 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11212 __libc_readline_unlocked.
11213 * libio/fseeko.c (__fseeko): Rename from fseeko.
11214 (fseeko): Add alias.
11215 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11216 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11217 (fseeko64): Add alias.
11218 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11219 * libio/ftello64.c (__ftello64): Rename from ftello64.
11220 (ftello64): Add alias.
11222 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11224 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11227 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11229 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11230 Use dl_hwcap without masking.
11231 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11232 Remove HWCAP_CPUID.
11234 2018-07-06 Florian Weimer <fweimer@redhat.com>
11236 * conform/conformtest.pl (checknamespace): Escape literal braces
11237 in regular expressions.
11239 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11241 * sysdeps/x86/cpu-features.c (get_common_indeces):
11242 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11243 * sysdeps/x86/cpu-features.c (init_cpu_features):
11244 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11246 2018-07-05 Florian Weimer <fweimer@redhat.com>
11248 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11250 (CFLAGS-elf-init.oS): Likewise.
11252 2018-07-05 Florian Weimer <fweimer@redhat.com>
11253 Carlos O'Donell <carlos@redhat.com>
11255 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11256 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11257 with stack protector enabled because there is no risk of infinite
11260 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11264 * libc-abis (ABSOLUTE): New ABI.
11265 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11266 * NEWS: Mention the new ABI.
11268 2018-07-05 Florian Weimer <fweimer@redhat.com>
11271 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11272 (RENAME_WHITEOUT): Define.
11273 [__USE_GNU] (renameat2): Declare.
11274 * stdio-common/Makefile (routines): Add renameat2.
11275 (tests): Add tst-renameat2.
11276 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11277 * stdio-common/renameat2.c: New file.
11278 * stdio-common/tst-renameat2.c: Likewise.
11279 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11280 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11282 * sysdeps/unix/sysv/linux/kernel-features.h
11283 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11284 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11285 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11286 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11287 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11288 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11289 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11290 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11291 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11292 * include/stdio.h (__renameat): Add alias for renameat.
11293 * stdio-common/renameat.c (__renameat): Rename from renameat.
11294 Add hidden definition and alias.
11295 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11296 * sysdeps/mach/hurd/renameat.c: Likewise.
11297 * sysdeps/**/libc*.abilist: Add renameat2.
11299 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11301 * posix/bug-regex33.c: Fix build after regex sync.
11303 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11306 * localedata/tst-langinfo-setlocale.c: New file.
11307 * localedata/tst-langinfo-setlocale-static.c: New file.
11308 * localedata/tst-langinfo-newlocale.c: New file.
11309 * localedata/tst-langinfo-newlocale-static.c: New file.
11310 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11311 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11312 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11313 (tests-static): Remove tst-langinfo-static. Add
11314 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11315 (tests-special): Remove $(objpfx)tst-langinfo.out,
11316 $(objpfx)tst-langinfo-static.out. Add
11317 $(objpfx)tst-langinfo-setlocale.out,
11318 $(objpfx)tst-langinfo-newlocale.out,
11319 $(objpfx)tst-langinfo-setlocale-static.out,
11320 $(objpfx)tst-langinfo-newlocale-static.out.
11321 ($(objpfx)tst-langinfo.out): Remove.
11322 ($(objpfx)tst-langinfo-static.out): Remove.
11323 ($(objpfx)tst-langinfo-newlocale.out): New target.
11324 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11325 (test-xfail-tst-langinfo-newlocale-static): Add.
11326 ($(objpfx)tst-langinfo-setlocale.out): New target.
11327 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11328 * localedata/tst-langinfo.c: Call test_locale.
11329 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11332 2018-07-04 Florian Weimer <fweimer@redhat.com>
11334 testrun.sh: Implement --tool=strace, --tool=valgrind
11335 * Makefile (testrun-script): Define variable.
11336 (testrun.sh): Use variable.
11337 * manual/install.texi (Tools for Compilation): make 4.0 or later
11339 * configure.ac: Check for make 4.0 or later.
11340 * INSTALL: Regenerate.
11341 * configure: Likewise.
11343 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11349 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11350 * posix/PCRE.tests: Remove invalid test.
11351 * posix/bug-regex28.c: Fix expected values for used syntax.
11352 * posix/bug-regex37.c: New file.
11353 * posix/bug-regex38.c: Likewise.
11354 * posix/regcomp.c: Sync with gnulib.
11355 * posix/regex.c: Likewise.
11356 * posix/regex.h: Likewise.
11357 * posix/regex_internal.c: Likewise.
11358 * posix/regex_internal.h: Likewise.
11359 * posix/regexec.c: Likewise.
11361 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11364 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11365 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11366 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11367 * localedata/unicode-gen/PropList.txt: likewise.
11368 * localedata/unicode-gen/UnicodeData.txt: likewise.
11369 * localedata/charmaps/UTF-8: Regenerate.
11370 * localedata/locales/i18n_ctype: likewise.
11371 * localedata/locales/tr_TR: likewise.
11372 * localedata/locales/translit_circle: likewise.
11373 * localedata/locales/translit_cjk_compat: likewise.
11374 * localedata/locales/translit_combining: likewise.
11375 * localedata/locales/translit_compat: likewise.
11376 * localedata/locales/translit_font: likewise.
11377 * localedata/locales/translit_fraction: likewise.
11379 2018-07-03 Florian Weimer <fweimer@redhat.com>
11382 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11383 * stdio-common/tst-printf.sh: Adjust expected output.
11384 * LICENSES: Update.
11386 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11388 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11391 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11393 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11394 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11395 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11396 * stdio-common/tst-printfsz-islongdouble.c: New file.
11397 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11398 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11399 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11400 [subdir == stdio-common] (tests-internal): Add
11401 test-printf-size-ieee128, and test-printf-size-ibm128.
11402 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11403 (CFLAGS-test-printf-size-ibm128.c): New variables.
11404 [subdir == stdio-common] (tests-special): Add
11405 $(objpfx)test-printf-size-ieee128.out and
11406 $(objpfx)test-printf-size-ibm128.out.
11407 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11408 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11409 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11410 __printf_sizeieee128.
11411 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11413 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11415 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11418 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11420 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11421 (exp2f_inline): Likewise.
11422 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11423 (__math_uflowf): Likewise.
11424 (__math_may_uflowf): Likewise.
11425 (__math_divzerof): Likewise.
11426 (__math_invalidf): Likewise.
11427 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11428 (__math_oflowf): Likewise.
11429 (__math_uflowf): Likewise.
11430 (__math_may_uflowf): Likewise.
11431 (__math_divzerof): Likewise.
11432 (__math_invalidf): Likewise.
11434 2018-06-29 DJ Delorie <dj@redhat.com>
11435 Carlos O'Donell <carlos@redhat.com>
11438 * include/libc-symbols.h: Comment the freeres framework.
11439 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11440 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11441 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11442 * dlfcn/dlerror.c: Include libc-symbols.h
11443 (__dlerror_main_freeres): New function.
11444 * dlfcn/dlfreeres.c: New file.
11445 * dlfcn/sdlfreeres.c: New file.
11446 * include/dlfcn.h: Declare __dlerror_main_freeres.
11447 * malloc/set-freeres.c: Declare __libdl_freeres, and
11448 __libpthread_freeres.
11449 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11450 the releavant libraries are loaded.
11451 * malloc/thread-freeres.c: Add comments.
11452 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11453 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11454 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11455 (__free_stacks): Rename to...
11456 (free_stacks): ...this. Mark static.
11457 (queue_stack): Call free_stacks.
11458 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11459 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11460 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11461 ptr_freeres element from struct.
11462 (pthread_functions): Remove .ptr_freeres from struct initializer.
11463 [SHARED] (nptl_freeres): Remove.
11464 * nptl/nptlfreeres.c: New file.
11466 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11467 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11469 (__free_stacks): Rename to...
11470 (__nptl_stacks_freeres): ...this.
11471 (__shm_directory_freeres): Declare.
11472 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11473 (__nptl_unwind_freeres): ...this.
11474 * resolv/res-close.c: Add comment.
11475 * resolv/resolv_conf.c: Include libc-symbols.h.
11476 * string/strerror_l.c: Include libc-symbols.h.
11477 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11478 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11479 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11480 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11482 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11484 * stdlib/tst-strfmon_l.c: Add tests for long double.
11486 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11489 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11490 * localedata/locales/dsb_DE: New file.
11492 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11495 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11497 (alt_mon): New entry, import from CLDR (nominative case).
11499 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11502 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11504 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11506 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11507 Use vector registers.
11509 * sysdeps/aarch64/multiarch/memmove_falkor.S
11510 (__memcpy_falkor): Use vector registers.
11512 2018-06-29 Martin Sebor <msebor@redhat.com>
11514 * manual/stdio.texi (Customizing Printf): Mention interaction
11515 with GCC built-ins.
11517 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11520 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11521 `st_value' is 0 if `st_shndx' is SHN_ABS.
11522 * elf/tst-absolute-zero.c: New file.
11523 * elf/tst-absolute-zero-lib.c: New file.
11524 * elf/tst-absolute-zero-lib.lds: New file.
11525 * elf/Makefile (tests): Add `tst-absolute-zero'.
11526 (modules-names): Add `tst-absolute-zero-lib'.
11527 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11528 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11529 ($(objpfx)tst-absolute-zero: New dependency.
11531 2018-06-29 Zack Weinberg <zackw@panix.com>
11533 * configure.ac: New command-line option --disable-crypt.
11534 Force --disable-nss-crypt when --disable-crypt is given, with a
11535 warning if it was explicitly enabled.
11536 * configure: Regenerate.
11537 * config.make.in: New boolean substitution variable $(build-crypt).
11538 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11539 when $(build-crypt).
11540 * manual/install.texi: Document --disable-crypt.
11541 * INSTALL: Regenerate.
11543 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11544 which is never set.
11545 * conform/Makefile: Only include libcrypt.a in
11546 linknamespace-libs-xsi and linknamespace-libs-XPG4
11547 when $(build-crypt).
11548 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11549 USE_CRYPT to 1 when $(build-crypt).
11550 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11551 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11552 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11554 2018-06-29 Zack Weinberg <zackw@panix.com>
11556 * crypt/crypt.h, posix/unistd.h: Update comments and
11557 prototypes for crypt and crypt_r.
11559 * manual/crypt.texi (Cryptographic Functions): New initial
11561 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11562 (Unpredictable Bytes): Improve initial exposition. Clarify error
11563 behavior of getentropy and getrandom.
11564 * manual/examples/genpass.c: Generate a salt using getentropy
11565 instead of the current time. Use hash $5$ (SHA-2-256).
11566 * manual/examples/testpass.c: Demonstrate validation against
11567 hashes generated with three different one-way functions.
11569 * manual/intro.texi: crypt.texi does not need an overview
11572 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11573 * manual/terminal.texi: Consistently refer to "passphrases"
11574 * instead of "passwords", and to the "user database" instead
11575 * of the "password database".
11576 * manual/users.texi: Similarly. Add notes about how actual
11577 passphrase hashes are now stored in the shadow database.
11578 Remove 20-year-old junk todo note.
11580 2018-06-29 Zack Weinberg <zackw@panix.com>
11582 * manual/crypt.texi: Use a normal top-level @node declaration.
11583 Move most of the introductory text to the 'crypt' section.
11584 Move the example programs below the @deftypefun for 'crypt_r'.
11585 Move the 'getpass' section...
11586 * manual/terminal.texi: ...here.
11588 2018-06-29 Zack Weinberg <zackw@panix.com>
11589 Florian Weimer <fweimer@redhat.com>
11591 * posix/unistd.h: Do not declare encrypt.
11592 (_XOPEN_CRYPT): Remove macro definition.
11593 (crypt): Declare only for _USE_MISC.
11594 * stdlib/stdlib.h: Do not declare setkey.
11595 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11596 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11598 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11599 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11600 into compat symbols. Don't define initial_perm if it's not
11602 * crypt/cert.c: Link explicitly with the expected versions for
11603 setkey and encrypt. If they are not available at all, mark
11604 the test as unsupported.
11606 * sunrpc/des_crypt.c: Unconditionally block linkage with
11607 cbc_crypt and ecb_crypt for new binaries.
11608 * sunrpc/des_soft.c: Unconditionally block linkage with
11609 des_setparity for new binaries.
11611 * manual/crypt.texi: Remove the entire "DES Encryption"
11612 section. Also remove the paragraph talking about FIPS 140-2
11613 from the introduction.
11614 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11615 of libgcrypt for "real" encryption, not DES.
11616 * manual/conf.texi (Constants for Sysconf): Mention that
11617 _XOPEN_CRYPT is no longer impelemented.
11619 * conform/data/unistd.h-data: Remove crypt function declaration.
11621 2018-06-29 Florian Weimer <fweimer@redhat.com>
11624 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11625 (disallow_malloc_check): Remove variable.
11626 (__malloc_check_init): Adjust.
11627 (malloc_set_state): Update comment.
11628 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11631 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11634 * localedata/locales/ast_ES (mon): Rename to...
11636 (mon): Import from CLDR (genitive case).
11638 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11639 Jakub Sitnicki <jkbs@redhat.com>
11642 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11643 on NLM_F_DUMP_INTR.
11645 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11647 * manual/llio.texi: Remove spurious space.
11649 2018-06-28 Florian Weimer <fweimer@redhat.com>
11652 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11655 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11657 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11658 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11659 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11660 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11661 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11662 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11663 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11665 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11668 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11669 Copy and null-terminate entries that are not terminated, in
11670 addition to empty ones.
11672 2018-06-27 Florian Weimer <fweimer@redhat.com>
11675 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11676 (extend_alloca_account): Remove.
11677 * manual/stdio.texi (Variable Arguments Output): Update comment.
11679 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11681 * nptl/sockperf.c: Remove file.
11683 2018-06-27 Florian Weimer <fweimer@redhat.com>
11686 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11687 scratch_buffer instead of extend_alloca.
11689 2018-06-27 Florian Weimer <fweimer@redhat.com>
11692 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11693 scratch_buffer instead of extend_alloca. Update comments.
11695 2018-06-27 Florian Weimer <fweimer@redhat.com>
11698 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11699 instead of extend_alloca.
11701 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11704 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11705 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11707 * scripts/test-installation.pl: Put temporary files in build
11708 directory, not /tmp.
11709 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11710 (CFLAGS-bug4.c): Likewise.
11711 (CFLAGS-bug5.c): Likewise.
11712 (CFLAGS-test-fseek.c): Likewise.
11713 (CFLAGS-test-popen.c): Likewise.
11714 (CFLAGS-test_rdwr.c): Likewise.
11715 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11717 * stdio-common/bug4.c (main): Likewise.
11718 * stdio-common/bug5.c (main): Likewise.
11719 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11720 * stdio-common/test-popen.c (do_test): Likewise.
11721 * stdio-common/test_rdwr.c (main): Likewise.
11723 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11725 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11726 (sem_open): Set sem.newsem.pad to zero for valgrind.
11728 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11731 * NEWS: Mention fcntl64 addition.
11732 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11733 * login/utmp_file.c: Likewise.
11734 * sysdeps/posix/fdopendir.c: Likewise.
11735 * sysdeps/posix/opendir.c: Likewise.
11736 * sysdeps/unix/pt-fcntl.c: Likewise.
11737 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11738 __fcntl64_nocancel_adjusted): New prototype.
11739 (__fcntl_nocancel_adjusted): Remove prototype.
11740 * io/Makefile (routines): Add fcntl64.
11741 (CFLAGS-fcntl64.c): New rule.
11742 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11743 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11744 * io/fcntl.h (fcntl64): Add prototype and redirect if
11745 __USE_FILE_OFFSET64 is defined.
11746 * io/fcntl64.c: New file.
11747 * manual/llio.text: Add a note for which commands fcntl acts a
11748 cancellation point.
11749 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11750 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11751 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11753 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11754 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11756 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11757 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11758 to __fcntl64_nocancel.
11759 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11760 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11761 to __fcntl64_nocancel.
11762 * sysdeps/generic/not-cancel.h: Likewise.
11763 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11764 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11765 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11766 (fcntl64): New symbol.
11767 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11768 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11769 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11772 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11773 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11774 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11776 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11777 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11778 fcntl64): Likewise.
11779 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11780 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11781 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11782 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11784 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11785 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11786 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11787 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11792 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11793 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11794 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11796 2018-06-26 Florian Weimer <fweimer@redhat.com>
11798 Run thread shutdown functions in an explicit order.
11799 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11801 (__libc_thread_freeres): Call thread shutdown functions
11803 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11804 * include/string.h (__strerror_thread_freeres): Declare.
11805 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11806 arena_thread_freeres. No longer static. Remove thread shutdown
11808 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11810 * resolv/res-close.c (__res_thread_freeres): Renamed from
11811 res_thread_freeres. No longer static. Remove thread shutdown
11813 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11814 * resolv/resolv_conf.c (freeres): Remove incorrect section
11815 attribute and use libc_freeres_fn.
11816 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11817 strerror_thread_freeres. No longer static. Remove thread
11818 shutdown hook registration.
11819 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11820 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11821 shutdown hook registration.
11822 * Makerules (shlib.lds): Do not provide section boundary symbols
11823 for __libc_thread_subfreeres.
11824 * manual/memory.texi (Basic Allocation): Update comment.
11826 2018-06-26 Florian Weimer <fweimer@redhat.com>
11828 Remove always-defined _RPC_THREAD_SAFE_ macro.
11829 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11830 Do not define _RPC_THREAD_SAFE_.
11831 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11833 * sunrpc/clnt_perr.c: Likewise.
11834 * sunrpc/clnt_raw.c: Likewise.
11835 * sunrpc/clnt_simp.c: Likewise.
11836 * sunrpc/key_call.c: Likewise.
11837 * sunrpc/rpc_common.c: Likewise.
11838 * sunrpc/rpc_main.c: Likewise.
11839 * sunrpc/rpc_thread.c: Likewise.
11840 * sunrpc/svc.c: Likewise.
11841 * sunrpc/svc_raw.c: Likewise.
11842 * sunrpc/svc_simple.c: Likewise.
11843 * sumrpc/svcauth_des.c: Likewise.
11845 2018-06-26 Florian Weimer <fweimer@redhat.com>
11847 * libio/Makefile (tests-internal): Add tst-vtables,
11848 tst-vtables-interposed.
11849 * libio/tst-vtables.c: New file.
11850 * libio/tst-vtables-common.c: Likewise.
11851 * libio/tst-vtables-interposed.c: Likewise.
11853 2018-06-26 Florian Weimer <fweimer@redhat.com>
11855 * support/support_test_main.c (support_test_main): Only call
11856 setvbuf if not disables.
11857 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11858 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11860 2018-06-26 Florian Weimer <fweimer@redhat.com>
11863 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11865 2018-06-25 Florian Weimer <fweimer@redhat.com>
11868 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11869 Use struct scratch_buffer instead of extend_alloca.
11871 2018-06-25 Florian Weimer <fweimer@redhat.com>
11874 * nss/getent.c (initgroups_keys): Use dynarray instead of
11877 2018-06-25 Florian Weimer <fweimer@redhat.com>
11880 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11881 Use struct scratch_buffer instead of extend_alloca.
11883 2018-06-25 Florian Weimer <fweimer@redhat.com>
11886 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11887 back to malloc directly, without stack allocations.
11889 2018-06-25 Florian Weimer <fweimer@redhat.com>
11892 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11895 2018-06-25 Florian Weimer <fweimer@redhat.com>
11898 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11900 * nscd/hstcache.c (addhstbyX): Likewise.
11901 * nscd/pwdcache.c (addpwbyX): Likewise.
11902 * nscd/servicescache.c (addservbyX): Likewise.
11904 2018-06-25 Florian Weimer <fweimer@redhat.com>
11907 * nscd/connections.c (read_cmdline): New function.
11908 (restart): Use it. Update comment.
11910 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11913 * localedata/locales/csb_PL (mon): Rename to...
11915 (abmon): Rename to...
11916 (ab_alt_mon): This.
11917 (mon): Add with proper genitive forms, copy from Wikipedia.
11920 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11923 * localedata/locales/csb_PL (mon): Fix typos:
11924 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11925 (yesstr): Add, value is "jo".
11926 (nostr): Add, value is "nié".
11928 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11930 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11931 all log1p and significand functions on m680x0.
11932 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11933 of s_significand.c..
11934 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11935 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11936 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11937 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11938 s_log1p.c and include it..
11940 2018-06-21 Vincent Chen <vincentc@andestech.com>
11942 * elf/elf.h (R_NDS32_NONE): New define.
11943 (R_NDS32_32_RELA): Likewise.
11944 (R_NDS32_COPY): Likewise.
11945 (R_NDS32_GLOB_DAT): Likewise.
11946 (R_NDS32_JUMP_SLOT): Likewise.
11947 (R_NDS32_RELATIVE): Likewise.
11948 (R_NDS32_TLS_TPOFF): Likewise.
11949 (R_NDS32_TLS_DESC): Likewise.
11951 2018-06-21 Mark Wielaard <mark@klomp.org>
11953 * elf/elf.h (R_BPF_MAP_FD): Removed.
11954 (R_BPF_64_64, R_BPF_64_32): New.
11956 2018-06-21 Florian Weimer <fweimer@redhat.com>
11959 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11960 Renamed from libc_feholdsetround_ctx.
11961 (default_libc_feresetround_ctx): Renamed from
11962 libc_feresetround_ctx.
11963 (default_libc_feholdsetround_noex_ctx): Renamed from
11964 libc_feholdsetround_noex_ctx.
11965 (default_libc_feresetround_noex_ctx): Renamed from
11966 libc_feresetround_noex_ctx.
11967 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11968 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11969 forwardning to the old implementations under the new names.
11970 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11971 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11972 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11973 (libc_feresetround_ctx): Forward to default implements for i386
11974 and MATH_SET_BOTH_ROUNDING_MODES.
11975 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11976 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11978 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11980 * string/tst-cmp.c: Include <libc-diag.h>.
11981 (strncmp_max): Disable -Wstringop-overflow= around call to
11983 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11986 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11987 (main): Disable -Wunused-value around call to strpbrk.
11988 * string/bug-strspn1.c: Include <libc-diag.h>.
11989 (main): Disable -Wunused-value around call to strspn.
11991 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11992 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11994 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11995 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11997 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11999 * math/Makefile (libm-calls): Move s_significandF to...
12000 (gen-libm-calls): ... here.
12001 * math/s_significand_template.c: New file.
12002 * math/s_significand.c: Removed.
12003 * math/s_significandf.c: Removed.
12004 * math/s_significandl.c: Removed.
12005 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12006 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12008 * math/e_exp2_template.c (declare_mgen_finite_alias,
12009 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12010 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12011 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12013 2018-06-20 Florian Weimer <fweimer@redhat.com>
12015 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12017 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12020 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12021 floating-point number to strtod functions rather than possibly
12022 negating result of those functions.
12023 * stdio-common/tst-scanf-round.c: New file.
12024 * stdio-common/Makefile (tests): Add tst-scanf-round.
12025 ($(objpfx)tst-scanf-round): Depend on $(libm).
12027 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12029 * sysdeps/mach/hurd/localplt.data: Move to...
12030 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12031 R_386_GLOB_DAT like on Linux i386.
12033 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12035 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12036 (SHM_STAT_ANY): New macro.
12037 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12038 (SHM_STAT_ANY): Likewise.
12039 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12040 (SHM_STAT_ANY): Likewise.
12041 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12042 (SHM_STAT_ANY): Likewise.
12043 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12044 (SHM_STAT_ANY): Likewise.
12045 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12046 (SHM_STAT_ANY): Likewise.
12047 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12048 (SHM_STAT_ANY): Likewise.
12049 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12050 (SHM_STAT_ANY): Likewise.
12051 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12052 (SHM_STAT_ANY): Likewise.
12053 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12054 (SHM_STAT_ANY): Likewise.
12055 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12056 (SHM_STAT_ANY): Likewise.
12057 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12058 (SHM_STAT_ANY): Likewise.
12060 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12061 (SEM_STAT_ANY): New macro.
12062 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12063 (SEM_STAT_ANY): Likewise.
12064 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12065 (SEM_STAT_ANY): Likewise.
12066 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12067 (SEM_STAT_ANY): Likewise.
12068 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12069 (SEM_STAT_ANY): Likewise.
12070 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12071 (SEM_STAT_ANY): Likewise.
12072 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12073 (SEM_STAT_ANY): Likewise.
12074 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12075 (SEM_STAT_ANY): Likewise.
12076 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12077 (SEM_STAT_ANY): Likewise.
12078 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12079 (SEM_STAT_ANY): Likewise.
12081 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12082 (MSG_STAT_ANY): New macro.
12083 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12084 (MSG_STAT_ANY): Likewise.
12085 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12086 (MSG_STAT_ANY): Likewise.
12087 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12088 (MSG_STAT_ANY): Likewise.
12089 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12090 (MSG_STAT_ANY): Likewise.
12091 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12092 (MSG_STAT_ANY): Likewise.
12093 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12094 (MSG_STAT_ANY): Likewise.
12095 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12096 (MSG_STAT_ANY): Likewise.
12097 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12098 (MSG_STAT_ANY): Likewise.
12099 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12100 (MSG_STAT_ANY): Likewise.
12102 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12103 (MAP_TYPE): Change value to 0x2b.
12105 2018-06-18 Florian Weimer <fweimer@redhat.com>
12108 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12109 socket with SOCK_CLOEXEC.
12111 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12114 * sysdeps/powerpc/powerpc64/le/Makefile
12115 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12116 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12117 (gnulib-tests): Also add $(f128-loader-link) for
12118 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12120 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12122 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12123 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12125 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12126 (sendfile64): New strong alias.
12127 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12128 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12129 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12130 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12132 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12133 ___pthread_get_cleanup_stack.
12134 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12135 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12136 * mach/shortcut.awk: Make syscall stubs include
12137 <mach-shortcuts-hidden.h> and add hidden definition.
12138 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12139 (__mach_msg): Add hidden prototype.
12140 * mach/msg.c: Include <mach.h>.
12141 (__mach_msg): Add hidden definition.
12142 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12143 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12144 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12145 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12146 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12147 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12148 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12149 prototype and definition.
12150 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12151 hidden target for _hurd_self_sigstate.
12153 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12156 * stdlib/tst-strtod-nan-sign-main.c: New file.
12157 * stdlib/tst-strtod-nan-sign.c: Likewise.
12158 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12159 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12160 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12161 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12162 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12164 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12167 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12170 2018-06-14 Florian Weimer <fweimer@redhat.com>
12173 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12174 that the result stays within the ISO-8859-1 range.
12175 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12176 characters are defined in IBM273.
12178 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12180 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12181 __mach_task_self): Remove attribute_hidden.
12183 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12185 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12186 ignore -Wrestrict for one test.
12188 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12189 Szabolcs Nagy <szabolcs.nagy@arm.com>
12191 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12193 2018-06-14 Florian Weimer <fweimer@redhat.com>
12195 * scripts/update-abilist.sh: Accept empty list of files to patch.
12197 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12199 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12200 test-xfail-check-abi-libmachuser): Add.
12201 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12202 __libc_read and __libc_write to __read and __write.
12203 * sysdeps/hurd/include/hurd/port.h: New file.
12204 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12205 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12206 __thread_switch, __evc_wait): Move declarations to...
12207 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12209 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12210 use PLT to call _hurd_self_sigstate.
12212 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12215 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12216 MAX_EXP as overflowing.
12217 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12219 (round_str): Output also whether result overflows in each rounding
12221 * stdlib/tst-strtod-round-data: Add more tests.
12222 * stdlib/tst-strtod-round-data.h: Regenerated.
12223 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12224 (TEST): Handle extra arguments for overflow flags.
12225 (struct test_overflow): New type.
12226 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12227 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12228 (test_in_one_mode): Take argument with overflow information.
12229 (do_test): Update calls to test_in_one_mode.
12231 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12233 * elf/dl-load (_dl_dst_substitute): Correct comment.
12234 (_dl_dst_count): Likewise.
12236 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12237 lll_futex_timed_wait.
12239 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12242 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12244 * math/test-nan-const.c: New file.
12245 * math/Makefile (tests): Add test-nan-const.
12246 (CFLAGS-test-nan-const.c): New variable.
12248 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12250 * benchtests/scripts/compare_strings.py (process_results): Add
12251 funcs argument. Compare only functions which are selected.
12252 (main): Check if base function is among selected functions.
12253 Pass selected functions to process_results.
12254 (__main__): Add -f/--functions argument.
12256 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12257 Hongbo Zhang <hongbo.zhang@linaro.org>
12259 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12260 __memcpy_falkor for phecda core.
12261 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12262 __memmove_falkor for phecda core.
12263 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12264 __memset_falkor for phecda core.
12265 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12267 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12268 macro to identify phecda core.
12270 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12271 Andreas Schwab <schwab@suse.de>
12272 Dmitry V. Levin <ldv@altlinux.org>
12273 Florian Weimer <fweimer@redhat.com>
12280 * elf/dl-dst.h: Remove DL_DST_COUNT.
12281 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12282 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12283 (is_dst): Comment. Support ELF gABI.
12284 (_dl_dst_count): Comment. Simplify and count DSTs.
12285 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12286 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12289 2018-06-12 Zack Weinberg <zackw@panix.com>
12291 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12292 * sysdeps/unix/sysv/linux/dl-sysdep.c
12293 Include not-cancel.h. Use __close_nocancel instead of __close,
12294 __open64_nocancel instead of __open, __read_nocancel instead of
12295 __libc_read, and __write_nocancel instead of __libc_write.
12297 * csu/check_fds.c (check_one_fd)
12298 * sysdeps/posix/fdopendir.c (__fdopendir)
12299 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12300 instead of __fcntl and/or __libc_fcntl.
12302 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12303 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12304 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12305 Use __open64_nocancel instead of __open_nocancel.
12307 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12308 hidden_proto declarations to the end and issue them if either
12309 IS_IN(libc) or IS_IN(rtld).
12310 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12311 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12312 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12313 read_nocancel, waitpid_nocancel, write_nocancel.
12315 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12316 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12317 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12319 * nptl/pt-fcntl.c: New file.
12320 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12321 (libpthread-routines): Add pt-fcntl.
12322 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12323 (__libc_fcntl): Remove attribute_hidden.
12324 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12325 __fcntl_nocancel_adjusted, not fcntl_common.
12326 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12327 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12328 to fcntl_nocancel.c.
12329 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12332 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12334 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12335 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12336 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12337 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12338 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12339 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12340 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12341 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12342 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12343 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12344 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12345 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12346 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12347 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12348 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12349 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12350 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12351 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12352 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12353 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12355 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12356 libpthread-routines.
12357 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12360 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12361 __libc_read, and __write instead of __libc_write. Define
12362 __open64 in addition to __open.
12364 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12368 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12369 to _private_tm[3] and add __glibc_reserved2.
12370 Add _Static_assert of offset of __private_ss == 0x30.
12371 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12372 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12374 2018-06-12 Florian Weimer <fweimer@redhat.com>
12376 x86: Make strncmp usable from rtld.
12377 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12378 __strncmp_ia32 if in libc (and not in rtld).
12379 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12380 strncmp if not in libc (and not to __strncmp_sse2).
12382 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12385 * localedata/locales/gd_GB (mon): Rename to...
12387 (mon): Import from CLDR (genitive case).
12388 * localedata/locales/hsb_DE (mon): Rename to...
12390 (mon): Import from CLDR (genitive case).
12391 * localedata/locales/wa_BE (mon): Rename to...
12393 (mon): Add, fill with the proper genitive forms, but CLDR data
12394 is incomplete; completed according to the comments in this file.
12395 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12397 * localedata/locales/wa_BE (country_name): Reword
12398 "Beljike" -> "Beldjike".
12400 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12403 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12404 cases of non-finite arguments.
12405 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12407 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12410 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12412 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12415 * include/unistd.h (__execvpex): New prototype.
12416 * posix/Makefile (tests): Add tst-spawn4.
12417 (tests-internal): Add tst-spawn4-compat.
12418 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12419 * posix/tst-spawn4-compat.c: New file.
12420 * posix/tst-spawn4.c: Likewise.
12421 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12422 binaries as shell scripts.
12423 * sysdeps/posix/spawni.c (__spawni): Likewise.
12425 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12428 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12429 ($(all-built-dso:=.dynsym): New target.
12430 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12431 ($(objpfx)check-initfini.out): New target.
12432 (generated): Add check-initfini.out.
12433 * scripts/check-initfini.awk: New file.
12434 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12436 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12438 * sysdeps/arm/crti.S (_init): Mark as hidden.
12440 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12442 * sysdeps/i386/crti.S (_init): Mark as hidden.
12444 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12446 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12448 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12450 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12452 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12454 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12456 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12458 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12460 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12462 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12464 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12466 * sysdeps/sh/crti.S (_init): Mark as hidden.
12468 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12470 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12473 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12475 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12476 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12477 and TF redirection to KFtype and KF only when the default
12478 long double type is not the IEEE 128-bit floating point type.
12480 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12482 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12484 (HWCAP_USCAT): Likewise.
12485 (HWCAP_ILRCPC): Likewise.
12486 (HWCAP_FLAGM): Likewise.
12487 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12489 (_dl_aarch64_cap_flags): Add new flag names.
12491 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12492 (MAP_FIXED_NOREPLACE): New macro.
12493 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12494 (MAP_FIXED_NOREPLACE): Likewise.
12495 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12496 (MAP_FIXED_NOREPLACE): Likewise.
12497 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12498 (MAP_FIXED_NOREPLACE): Likewise.
12499 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12500 (MAP_FIXED_NOREPLACE): Likewise.
12501 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12502 (MAP_FIXED_NOREPLACE): Likewise.
12503 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12504 (MAP_FIXED_NOREPLACE): Likewise.
12505 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12506 (MAP_FIXED_NOREPLACE): Likewise.
12507 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12508 (MAP_FIXED_NOREPLACE): Likewise.
12509 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12510 (MAP_FIXED_NOREPLACE): Likewise.
12511 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12512 (MAP_FIXED_NOREPLACE): Likewise.
12513 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12514 (MAP_FIXED_NOREPLACE): Likewise.
12515 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12516 (MAP_FIXED_NOREPLACE): Likewise.
12517 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12518 (MAP_FIXED_NOREPLACE): Likewise.
12519 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12520 (MAP_FIXED_NOREPLACE): Likewise.
12522 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12525 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12527 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12530 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12532 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12534 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12536 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12538 * benchtests/scripts/compare_string.py: (process_results) Catch
12539 exception in non-existent base_func and catch exception in
12540 non-existent attribute.
12541 (parse_file) Catch exception if input file does not exist.
12543 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12545 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12546 options to avoid diff calculation and omit header, respectively.
12547 (main): process --no-diff and --no-header
12549 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12550 H.J. Lu <hongjiu.lu@intel.com>
12552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12553 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12555 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12556 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12557 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12558 and __wcsncmp_sse2.
12559 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12560 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12561 AVX unaligned load is fast and vzeroupper is preferred.
12562 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12563 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12564 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12565 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12566 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12567 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12568 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12569 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12570 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12571 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12574 2018-06-01 Florian Weimer <fweimer@redhat.com>
12576 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12577 configuring with --disable-multi-arch, building with
12578 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12581 2018-06-01 Florian Weimer <fweimer@redhat.com>
12583 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12584 results from building with “-march=x86-64 -mtune=generic
12585 -mfpmath=sse” and running on a Haswell-era CPU.
12587 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12590 * soft-fp/sqrttf2.c: Remove file.
12591 * soft-fp/sqrtdf2.c: Move to ....
12592 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12594 (__sqrtdf2): Make conditional on
12595 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12597 * soft-fp/sqrtsf2.c: Move to ....
12598 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12600 (__sqrtsf2): Make conditional on
12601 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12603 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12604 (gcc-double-routines): Remove sqrtdf2.
12605 (gcc-quad-routines): Remove sqrttf2.
12606 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12607 Do not filter out sqrtsf2 and sqrtdf2.
12608 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12609 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12611 2018-06-01 Florian Weimer <fweimer@redhat.com>
12613 * sysdeps/generic/libcidn.abilist: Remove file.
12615 2018-06-01 Florian Weimer <fweimer@redhat.com>
12618 * libio/strfile.h (struct _IO_str_fields): Rename members to
12619 discourage their use and add comment.
12620 (_IO_STR_DYNAMIC): Remove unused macro.
12621 * libio/strops.c (_IO_str_init_static_internal): Do not use
12622 callback pointers. Call malloc and free.
12623 (_IO_str_overflow): Do not use callback pointers. Call malloc
12625 (enlarge_userbuf): Likewise.
12626 (_IO_str_finish): Call free.
12627 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12628 _allocate_buffer_unused.
12629 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12631 (enlarge_userbuf): Likewise.
12632 (_IO_wstr_finish): Call free.
12633 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12634 _allocate_buffer_unused, _free_buffer_unused.
12635 * libio/memstream.c (__open_memstream): Likewise.
12636 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12637 * libio/wmemstream.c (open_wmemstream): Likewise.
12639 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12641 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12644 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12646 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12647 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12648 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12650 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12652 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12654 2018-05-29 Florian Weimer <fweimer@redhat.com>
12656 * support/Makefile (libsupport-routines): Add
12657 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12658 xpthread_barrierattr_setpshared.
12659 * support/xpthread_barrierattr_destroy.c: New file.
12660 * support/xpthread_barrierattr_init.c: Likewise.
12661 * support/xpthread_barrierattr_setpshared.c: Likewise.
12663 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12666 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12667 _r_debug and update DT_DEBUG for debugger.
12669 2018-05-29 Florian Weimer <fweimer@redhat.com>
12671 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12672 (tst-strtod5i.out): Likewise.
12674 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12676 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12677 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12678 (sparc64-quad-routines): New variable. Moved from ....
12679 [$(subdir) = soft-fp] (sysdep_routines): Add
12680 $(sparc64-quad-routines). Moved from ....
12681 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12682 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12683 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12685 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12686 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12687 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12688 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12689 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12690 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12691 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12692 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12693 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12694 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12695 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12696 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12697 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12698 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12699 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12700 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12701 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12702 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12703 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12704 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12705 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12706 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12707 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12708 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12709 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12710 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12711 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12712 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12713 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12714 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12715 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12716 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12717 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12718 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12719 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12720 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12721 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12722 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12723 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12724 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12725 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12726 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12727 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12728 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12729 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12730 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12731 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12732 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12733 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12734 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12735 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12736 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12737 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12738 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12739 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12740 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12741 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12742 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12744 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12745 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12746 (sparc32-quad-routines): New variable. Moved from ....
12747 [$(subdir) = soft-fp] (sysdep_routines): Add
12748 $(sparc32-quad-routines). Moved from ....
12749 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12750 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12752 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12753 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12754 * sysdeps/sparc/sparc32/q_add.c: ... here.
12755 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12756 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12757 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12758 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12759 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12760 * sysdeps/sparc/sparc32/q_div.c: ... here.
12761 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12762 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12763 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12764 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12765 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12766 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12767 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12768 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12769 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12770 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12771 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12772 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12773 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12774 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12775 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12776 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12777 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12778 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12779 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12780 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12781 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12782 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12783 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12784 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12785 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12786 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12787 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12788 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12789 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12790 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12791 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12792 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12793 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12794 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12795 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12796 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12797 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12798 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12799 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12800 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12801 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12802 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12803 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12804 * sysdeps/sparc/sparc32/q_util.c: ... here.
12805 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12806 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12807 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12808 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12810 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12811 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12813 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12814 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12815 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12816 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12818 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12824 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12825 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12827 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12830 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12833 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12835 * sysdeps/sh/Implies: Remove sh/soft-fp.
12836 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12837 * sysdeps/sh/sfp-machine.h: ... here.
12839 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12841 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12842 (__mempcpy_erms): Skip zero length.
12843 (__memmove_erms): Likewise.
12844 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12845 (__memset_erms): Likewise.
12847 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12849 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12850 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12851 Add functions moved from ....
12852 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12853 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12854 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12856 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12857 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12858 * sysdeps/alpha/e_sqrtl.c: ... here.
12859 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12860 * sysdeps/alpha/local-soft-fp.h: ... here.
12861 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12862 * sysdeps/alpha/ots_add.c: ... here.
12863 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12864 * sysdeps/alpha/ots_cmp.c: ... here.
12865 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12866 * sysdeps/alpha/ots_cmpe.c: ... here.
12867 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12868 * sysdeps/alpha/ots_cvtqux.c: ... here.
12869 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12870 * sysdeps/alpha/ots_cvtqx.c: ... here.
12871 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12872 * sysdeps/alpha/ots_cvttx.c: ... here.
12873 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12874 * sysdeps/alpha/ots_cvtxq.c: ... here.
12875 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12876 * sysdeps/alpha/ots_cvtxt.c: ... here.
12877 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12878 * sysdeps/alpha/ots_div.c: ... here.
12879 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12880 * sysdeps/alpha/ots_mul.c: ... here.
12881 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12882 * sysdeps/alpha/ots_nintxq.c: ... here.
12883 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12884 * sysdeps/alpha/ots_sub.c: ... here.
12885 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12886 * sysdeps/alpha/sfp-machine.h: ... here.
12888 2018-05-23 Florian Weimer <fweimer@redhat.com>
12896 Switch to extern IDNA implementation (libidn2).
12897 * libidn: Remove subdirectory.
12898 * LICENSES: Do not mention licensing conditions for the removed
12900 * config.h.in (HAVE_LIBIDN): Remove.
12901 * include/dlfcn.h (__libc_dlopen): Update comment.
12902 * include/idna.h: Remove file.
12903 * inet/Makefile (routines): Add idna.
12904 (tests-static, tests-internal): Add tst-idna_name_classify.
12905 (LOCALES): Generate locales for tests.
12906 (tst-idna_name_classify.out): Depend on generated locales.
12907 * inet/idna_name_classify.c: New file.
12908 * inet/tst-idna_name_classify.c: Likewise.
12909 * inet/net-internal.h (__idna_to_dns_encoding)
12910 (__idna_from_dns_encoding): Declare.
12911 * inet/net-internal.h (enum idna_name_classification): Define.
12912 (__idna_name_classify): Declare.
12913 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12914 __idna_from_dns_encoding.
12915 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12916 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12917 name as a fallback in case of encoding errors.
12918 (getnameinfo): Use DEPRECATED_NI_IDN.
12919 * inet/idna.c: New file.
12920 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12921 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12922 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12923 (modules-names): Add tst-no-libidn2.
12924 (extra-test-objs): Add tst-no-libidn2.os.
12925 (LDFLAGS-tst-no-libidn2.so): Set soname.
12926 (LOCALES): Set, and generate locales.
12927 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12928 (tst-resolv-ai_idn-latin1): Likewise.
12929 (tst-resolv-ai_idn-nolibidn2): Likewise.
12930 (tst-resolv-ai_idn.out): Depend on locales.
12931 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12932 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12934 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12935 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12936 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12937 * resolv/tst-resolv-ai_idn.c: New file.
12938 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12939 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12940 * resolv/tst-no-libidn2.c: Likewise.
12941 * support/support_format_addrinfo.c (format_ai_flags): Do not
12942 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12943 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12944 (gaih_inet): Call __idna_to_dns_encoding and
12945 __idna_from_dns_encoding, and use the original (punycode) name if
12946 __idna_from_dns_encoding fails due to an encoding error.
12947 (getaddrinfo): Use DEPRECATED_AI_IDN.
12948 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12949 * sysdeps/unix/inet/configure: Remove file.
12950 * sysdeps/unix/inet/configure.ac: Likewise.
12952 2018-05-23 Florian Weimer <fweimer@redhat.com>
12954 Implement allocate_once.
12955 * include/allocate_once.h: New file.
12956 * misc/allocate_once.c: Likewise.
12957 * misc/tst-allocate_once.c: Likewise.
12958 * misc/Makefile (routines): Add allocate_once.
12959 (tests-internal): Add tst-allocate_once.
12960 (generated): Add tst-allocate_once.mtrace,
12961 tst-allocate_once-mem.out.
12962 (tests-special): Add tst-allocate_once-mem.out.
12963 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12964 (tst-allocate_once-mem.out): Call mtrace.
12965 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12967 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12970 * string/test-memcpy.c (do_test1): New function.
12971 (test_main): Call it.
12973 2018-05-23 Andreas Schwab <schwab@suse.de>
12977 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12978 (L(preloop_large)): Save initial destination pointer in %r11 and
12979 use it instead of %rax after the loop.
12980 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12982 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12984 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12985 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12986 -I../soft-fp. Moved from ....
12987 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12988 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12989 * sysdeps/aarch64/e_sqrtl.c: ... here.
12990 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12991 * sysdeps/aarch64/sfp-machine.h: ... here.
12993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12994 -Wmaybe-uninitialized around access to fq[0].
12995 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12999 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13000 aliases for non-libc case of versioned symbols.
13001 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13002 (llseek): Define as compat symbol if
13003 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13005 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13006 Make into a compat symbol, disabled for minimum symbol version
13007 GLIBC_2.28 and later.
13008 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13010 2018-05-22 Florian Weimer <fweimer@redhat.com>
13012 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13013 not add -mpreferred-stack-boundary=4.
13014 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13015 (stack-align-test-flags): Likewise.
13016 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13018 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13019 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13020 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13021 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13022 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13023 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13024 (CFLAGS-tst-align2.c): Likewise.
13026 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13028 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13029 (index_arch_Prefer_FSRM): Likewise.
13030 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13031 Also check Prefer_FSRM.
13032 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13033 Also return OPTIMIZE (erms) for Prefer_FSRM.
13035 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13037 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13038 (index_cpu_FSRM): Likewise.
13039 (reg_FSRM): Likewise.
13041 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13043 * math/gen-tgmath-tests.py: Import sys.
13044 (Tests.__init__): Initialize macros_seen.
13045 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13046 if requested to do so for this macro.
13047 (Tests.add_all_tests): Take argument for macro for which to
13049 (Tests.check_macro_list): New function.
13050 (main): Handle check-list argument and argument specifying macro
13051 for which to generate tests.
13052 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13053 [PYTHON] (tgmath3-macro-tests): Likewise.
13054 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13055 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13056 not test-tgmath3.c.
13057 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13058 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13060 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13061 [PYTHON] ($(foreach
13062 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13064 [PYTHON] (tests-special): Add
13065 $(objpfx)test-tgmath3-macro-list.out.
13066 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13068 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13069 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13073 * time/tzset.c (SECSPERDAY): Cast to time_t.
13074 * time/tst-y2039.c: New file.
13075 * time/Makefile (tests): Add tst-y2039.
13077 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13079 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13080 (PREFETCH_ONE_SET): Remove duplicate line.
13082 2018-05-17 Florian Weimer <fweimer@redhat.com>
13084 * sysdeps/generic/math-type-macros-double.h: Include
13085 <math-nan-payload-double.h> after <libm-alias-double.h>.
13086 * sysdeps/generic/math-type-macros-float.h: Include
13087 <math-nan-payload-float.h> after <libm-alias-float.h>.
13088 * sysdeps/generic/math-type-macros-float128.h: Include
13089 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13090 * sysdeps/generic/math-type-macros-ldouble.h: Include
13091 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13093 2018-05-17 Andreas Schwab <schwab@suse.de>
13095 * resolv/res_send.c (__res_context_send): Don't set errno when
13096 returing error after malloc failure.
13098 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13100 * nptl/allocatestack.c (allocate_stack): Remove the
13101 !__ASSUME_PRIVATE_FUTEX paths.
13102 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13103 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13105 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13106 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13107 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13108 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13109 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13110 !__ASSUME_PRIVATE_FUTEX path.
13111 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13112 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13113 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13114 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13115 !__ASSUME_PRIVATE_FUTEX macros.
13116 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13117 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13118 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13119 * sysdeps/unix/sysv/linux/kernel-features.h
13120 (__ASSUME_PRIVATE_FUTEX): Removed.
13122 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13124 * math/Makefile (libm-narrow-fns): Add div.
13125 (libm-test-funcs-narrow): Likewise.
13126 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13127 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13128 * math/gen-auto-libm-tests.c (test_functions): Add div.
13129 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13130 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13131 (NARROW_DIV_TRIVIAL): Likewise.
13132 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13134 (__ddivl): Likewise.
13135 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13137 (CFLAGS-nldbl-ddiv.c): New variable.
13138 (CFLAGS-nldbl-fdiv.c): Likewise.
13139 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13141 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13143 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13144 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13145 * math/auto-libm-test-in: Add tests of div.
13146 * math/auto-libm-test-out-narrow-div: New generated file.
13147 * math/libm-test-narrow-div.inc: New file.
13148 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13151 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13152 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13153 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13162 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13163 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13164 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13165 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13167 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13168 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13169 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13170 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13171 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13173 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13176 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13178 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13179 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13184 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13185 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13186 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13187 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13189 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13190 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13191 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13193 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13196 * nscd/nscd-client.h (sendfileall): Remove prototype.
13197 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13198 (handle_request): Use writeall instead of sendfileall.
13199 * nscd/aicache.c (addhstaiX): Likewise.
13200 * nscd/grpcache.c (cache_addgr): Likewise.
13201 * nscd/hstcache.c (cache_addhst): Likewise.
13202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13203 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13204 * nscd/pwdcache.c (cache_addpw): Likewise.
13205 * nscd/servicescache.c (cache_addserv): Likewise.
13206 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13207 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13208 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13211 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13213 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13214 Include <string/strncat.c>.
13215 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13217 (__GI___strncat): New hidden alias.
13219 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13221 * sysdeps/mips/mips32/libm-test-ulps: Update.
13222 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13224 2018-05-16 Florian Weimer <fweimer@redhat.com>
13226 * support/Makefile (libsupport-routines): Add support_quote_blob,
13227 support_test_compare_blob.
13228 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13229 * support/check.h (TEST_COMPARE_BLOB): Define.
13230 (support_test_compare_blob): Declare.
13231 * support/support.h (support_quote_blob): Declare.
13232 * support/support_quote_blob.c: New file.
13233 * support/support_test_compare_blob.c: Likewise.
13234 * support/tst-support_quote_blob.c: Likewise.
13235 * support/tst-test_compare_blob.c: Likewise.
13237 2018-05-16 Florian Weimer <fweimer@redhat.com>
13239 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13240 of <strtod_nan_double.h>.
13241 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13242 instead of SET_MANTISSA.
13243 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13244 of include <strtod_nan_float.h>.
13245 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13246 instead of <strtod_nan_ldouble.h>.
13247 * stdlib/strtod_nan_double.h: Move to ...
13248 * sysdeps/generic/math-nan-payload-double.h: ... here.
13249 (FLOAT): Remove definition.
13250 (SET_MANTISSA): Rename to ...
13251 (SET_NAN_PAYLOAD): ... this.
13252 * stdlib/strtod_nan_float.h: Move to ...
13253 * sysdeps/generic/math-nan-payload-float.h: ... here.
13254 (FLOAT): Remove definition.
13255 (SET_MANTISSA): Rename to ...
13256 (SET_NAN_PAYLOAD): ... this.
13257 * sysdeps/generic/math-type-macros-double.h: Include
13258 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13259 instead of <math-svid-compat.h>.
13260 * sysdeps/generic/math-type-macros-float.h: Include
13261 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13262 instead of <math-svid-compat.h>.
13263 * sysdeps/generic/math-type-macros-float128.h: Include
13264 <math-nan-payload-float128.h>.
13265 * sysdeps/generic/math-type-macros-ldouble.h: Include
13266 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13267 instead of <math-svid-compat.h>.
13268 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13269 check for definition.
13270 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13271 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13272 Include <ieee754_float128.h>.
13273 (FLOAT): Remove definition.
13274 (SET_MANTISSA): Rename to ...
13275 (SET_NAN_PAYLOAD): ... this.
13276 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13277 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13278 Do not include <float128_private.h>.
13279 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13281 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13282 (FLOAT): Remove definition.
13283 (SET_MANTISSA): Rename to ...
13284 (SET_NAN_PAYLOAD): ... this.
13285 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13286 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13287 (FLOAT): Remove definition.
13288 (SET_MANTISSA): Rename to ...
13289 (SET_NAN_PAYLOAD): ... this.
13290 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13291 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13292 (FLOAT): Remove definition.
13293 (SET_MANTISSA): Rename to ...
13294 (SET_NAN_PAYLOAD): ... this.
13295 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13296 of "../stdlib/strtod_nan_double.h".
13297 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13298 of "../stdlib/strtod_nan_float.h".
13299 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13300 instead of "../stdlib/strtod_nan_ldouble.h".
13301 * manual/arith.texi (Parsing of Floats): Adjust comment.
13303 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13305 * math/Makefile (libm-narrow-fns): Add mul.
13306 (libm-test-funcs-narrow): Likewise.
13307 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13308 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13309 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13310 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13311 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13312 (NARROW_MUL_TRIVIAL): Likewise.
13313 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13314 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13316 (__dmull): Likewise.
13317 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13319 (CFLAGS-nldbl-dmul.c): New variable.
13320 (CFLAGS-nldbl-fmul.c): Likewise.
13321 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13323 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13325 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13326 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13327 * math/auto-libm-test-in: Add tests of mul.
13328 * math/auto-libm-test-out-narrow-mul: New generated file.
13329 * math/libm-test-narrow-mul.inc: New file.
13330 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13333 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13334 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13335 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13341 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13342 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13343 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13344 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13345 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13346 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13347 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13349 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13353 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13375 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13377 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13378 with *%eax in call.
13380 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13382 * sysdeps/i386/ldsodefs.h: Removed.
13383 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13384 * sysdeps/x86/ldsodefs.h: This.
13385 (La_i86_regs): New.
13386 (La_i86_retval): Likewise.
13387 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13388 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13390 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13392 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13395 2018-05-13 Alan Modra <amodra@gmail.com>
13397 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13398 R_PARISC_TLS_DTPOFF32 reloc addend.
13400 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13402 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13403 * math/math.h: Restrict the prototype definition for the functions
13404 issignaling(_Float128) and iszero(_Float128); and template
13405 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13406 __HAVE_FLOAT128_UNLIKE_LDBL.
13407 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13408 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13409 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13410 __f128() constants; define the type _Float128 as long double;
13411 and reuse long double in __CFLOAT128.
13413 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13415 * sysdeps/generic/math_private.h: Do not include
13417 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13419 * math/fromfp.h: Include <math-barriers.h>.
13420 * math/math-narrow.h: Likewise.
13421 * math/s_nextafter.c: Likewise.
13422 * math/s_nexttowardf.c: Likewise.
13423 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13424 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13425 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13426 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13427 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13428 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13429 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13442 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13443 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13444 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13445 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13446 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13447 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13448 * sysdeps/ieee754/k_standardl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13465 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13466 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13467 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13468 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13469 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13470 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13472 2018-05-11 Florian Weimer <fweimer@redhat.com>
13474 Use 64-bit epoch values in the time zone file parser.
13475 * include/time.h (internal_time_t): Define.
13476 (__tzfile_compute): Use it.
13477 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13479 (transitions): Switch to internal_time_t.
13480 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13482 (__tzfile_compute): Use internal_time_t for timer argument. Check
13483 for truncation before calling __offtime.
13485 2018-05-11 Florian Weimer <fweimer@redhat.com>
13488 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13489 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13491 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13492 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13493 export without --enable-obsolete-rpc.
13494 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13495 symbol. This should not have been exported, ever.
13497 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13500 * localedata/locales/gd_GB (abmon): Fix typo in May:
13501 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13503 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13505 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13506 Use multiple registers to copy data in loop tail.
13508 * sysdeps/aarch64/multiarch/memmove_falkor.S
13509 (__memmove_falkor): Use multiple registers to move data in
13512 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13514 * math/math-underflow.h: New file.
13515 * sysdeps/generic/math_private.h: Do not include <float.h>.
13516 (fabs_tg): Remove macro. Moved to math-underflow.h.
13517 (min_of_type_f): Likewise.
13518 (min_of_type_): Likewise.
13519 (min_of_type_l): Likewise.
13520 (min_of_type_f128): Likewise.
13521 (min_of_type): Likewise.
13522 (math_check_force_underflow): Likewise.
13523 (math_check_force_underflow_nonneg): Likewise.
13524 (math_check_force_underflow_complex): Likewise.
13525 * math/e_exp2_template.c: Include <math-underflow.h>.
13526 * math/k_casinh_template.c: Likewise.
13527 * math/s_catan_template.c: Likewise.
13528 * math/s_catanh_template.c: Likewise.
13529 * math/s_ccosh_template.c: Likewise.
13530 * math/s_cexp_template.c: Likewise.
13531 * math/s_clog10_template.c: Likewise.
13532 * math/s_clog_template.c: Likewise.
13533 * math/s_csin_template.c: Likewise.
13534 * math/s_csinh_template.c: Likewise.
13535 * math/s_csqrt_template.c: Likewise.
13536 * math/s_ctan_template.c: Likewise.
13537 * math/s_ctanh_template.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13556 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13557 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13558 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13559 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13560 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13561 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13562 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13563 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13564 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13565 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13566 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13567 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13568 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13569 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13605 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13606 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13615 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13616 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13618 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13623 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13625 * sysdeps/generic/math-barriers.h: New file.
13626 * sysdeps/generic/math_private.h [!math_opt_barrier]
13627 (math_opt_barrier): Move to math-barriers.h.
13628 [!math_opt_barrier] (math_force_eval): Likewise.
13629 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13630 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13632 (math_force_eval): Likewise.
13633 * sysdeps/alpha/fpu/math-barriers.h: New file.
13634 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13636 (math_force_eval): Likewise.
13637 * sysdeps/x86/fpu/math-barriers.h: New file.
13638 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13640 (math_force_eval): Likewise.
13641 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13642 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13643 multiple-include guard for rename.
13644 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13645 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13647 (math_force_eval): Likewise.
13649 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13653 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13655 * stdlib/Makefile (test-bz22786): New test.
13656 * stdlib/test-bz22786.c: New test.
13658 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13660 * include/math-narrow-eval.h: New file. Contents moved from ....
13661 * sysdeps/generic/math_private.h: ... here.
13662 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13663 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13664 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13665 * stdlib/strtod_l.c: Likewise.
13666 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13667 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13668 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13681 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13682 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13683 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13684 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13685 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13686 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13687 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13688 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13690 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13691 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13692 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13693 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13694 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13696 2018-05-08 Andreas Schwab <schwab@suse.de>
13698 * sysdeps/nptl/internaltypes.h: Fix comment.
13700 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13702 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13703 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13706 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13708 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13709 of I into loop header.
13710 * benchtests/bench-memmove-walk.c
13711 (test_main): Likewise.
13713 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13716 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13717 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13719 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13722 * elf/dl-load.c (open_verify): Fix stack overflow.
13723 * elf/Makefile (tst-big-note): New test.
13724 * elf/tst-big-note-lib.S: New.
13725 * elf/tst-big-note.c: New.
13727 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13729 * scripts/abilist.awk: Ignore absolute symbols.
13730 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13731 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13732 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13733 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13734 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13735 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13736 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13737 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13738 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13739 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13740 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13741 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13765 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13770 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13771 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13772 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13773 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13774 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13775 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13776 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13777 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13778 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13779 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13780 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13783 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13784 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13785 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13786 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13787 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13788 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13789 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13803 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13804 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13805 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13806 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13807 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13808 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13809 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13810 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13811 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13812 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13814 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13815 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13816 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13817 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13818 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13819 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13820 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13821 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13823 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13825 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13826 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13827 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13828 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13831 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13832 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13833 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13834 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13835 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13837 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13838 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13839 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13840 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13841 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13843 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13844 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13845 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13846 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13847 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13848 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13849 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13850 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13851 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13852 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13853 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13854 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13855 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13856 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13857 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13858 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13859 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13860 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13861 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13865 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13866 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13868 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13869 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13886 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13976 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13991 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14004 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14013 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14014 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14015 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14016 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14018 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14030 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14032 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14033 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14034 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14036 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14037 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14038 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14039 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14040 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14044 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14047 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14048 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14050 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14058 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14059 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14060 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14061 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14062 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14063 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14064 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14065 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14066 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14067 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14069 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14070 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14071 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14072 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14073 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14074 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14075 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14076 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14077 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14078 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14079 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14080 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14081 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14083 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14086 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14087 Use atomic_load_acquire to load __tid.
14089 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14091 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14092 Restore the pointer into %rdx, after syscall and use %rdx,
14093 instead of %rsi, to restore context.
14095 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14097 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14098 Pop the pointer into %rdx after syscall and use %rdx, instead
14099 of %rsi, to restore context.
14101 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14103 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14104 handlers after setjmp.
14105 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14107 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14108 <libc-pointer-arith.h>.
14109 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14110 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14111 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14112 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14113 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14114 * sysdeps/x86/__longjmp_cancel.S: New file.
14115 * sysdeps/x86/longjmp.c: Likewise.
14116 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14118 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14120 * NEWS: Add ustat.h deprecation entry.
14121 * bits/ustat.h: Remove file.
14122 * misc/sys/ustat.h: Likewise.
14123 * misc/ustat.h: Likewise.
14124 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14125 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14126 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14127 compatibility mode.
14128 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14129 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14130 generic Linux implementation.
14132 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14134 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14135 * math/w_expl_compat.c: Likewise.
14136 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14138 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14140 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14142 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14144 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14145 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14146 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14148 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14151 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14152 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14155 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14157 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14159 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14160 * math/w_asin_template.c: Likewise.
14161 * math/w_atanh_template.c: Likewise.
14163 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14165 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14166 to powerpc/powerpc64/be for big-endian.
14167 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14170 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14171 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14172 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14173 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14174 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14175 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14176 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14177 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14178 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14179 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14180 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14181 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14182 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14183 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14184 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14185 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14186 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14187 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14188 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14189 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14190 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14191 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14192 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14193 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14194 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14195 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14196 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14197 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14198 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14199 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14200 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14201 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14203 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14204 adjusted to imply powerpc64 and older processors on powerpc64/be.
14205 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14206 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14207 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14208 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14209 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14210 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14211 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14212 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14213 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14214 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14215 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14216 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14217 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14218 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14219 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14220 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14221 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14222 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14223 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14224 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14225 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14226 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14227 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14228 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14229 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14230 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14231 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14232 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14233 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14234 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14235 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14237 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14238 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14239 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14240 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14242 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14243 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14244 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14245 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14247 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14248 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14249 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14250 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14251 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14252 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14253 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14254 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14255 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14256 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14257 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14259 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14260 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14261 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14262 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14263 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14264 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14265 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14266 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14267 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14268 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14269 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14271 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14272 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14273 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14274 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14275 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14276 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14277 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14278 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14279 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14280 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14281 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14282 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14284 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14285 and adjusted to imply olders processors.
14286 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14287 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14288 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14289 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14290 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14291 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14292 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14293 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14294 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14295 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14296 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14315 powerpc64 and adjusted.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14321 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14323 * sysdeps/tile: Remove.
14324 * sysdeps/unix/sysv/linux/tile: Likewise.
14325 * README (tilegx-*-linux-gnu): Remove from list of supported
14327 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14328 contribution of support for generic Linux kernel syscall
14330 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14331 tilegx configurations.
14332 (Config.install_linux_headers): Do not handle tile.
14333 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14335 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14336 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14337 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14338 conditional undefine and redefine.
14339 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14341 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14342 conditional undefine and redefine.
14344 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14346 * signal/tst-sigaction.c: New file to test BZ #23069.
14347 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14349 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14352 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14353 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14354 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14355 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14357 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14359 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14360 _DIRENT_MATCHES_DIRENT64 is not defined.
14361 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14362 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14364 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14365 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14367 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14369 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14370 version to GCC 8 branch.
14372 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14374 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14375 (check_no_hidden): Use type of original function when declaring
14378 * sysdeps/unix/sysv/linux/sys/ptrace.h
14379 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14380 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14381 (struct __ptrace_seccomp_metadata): New type.
14382 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14383 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14384 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14385 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14386 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14387 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14388 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14389 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14390 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14391 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14393 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14394 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14395 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14396 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14397 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14399 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14401 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14403 * dirent/versionsort.c (versionsort): Likewise.
14404 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14405 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14406 * dirent/versionsort64.c (versionsort64): Likewise.
14407 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14408 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14409 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14410 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14411 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14412 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14413 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14414 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14415 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14416 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14419 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14420 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14422 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14424 * elf/elf.h (NT_PPC_PKEY): New macro.
14426 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14429 * localedata/locales/hr_HR: fix thousands_sep and
14432 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14434 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14435 (XTABS): Define to TAB3.
14437 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14439 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14441 * dirent/scandir-tail-common.c: New file.
14442 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14443 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14444 * dirent/scandir.c: Use scandir-tail-common.c.
14445 * dirent/scandirat.c: Likewise.
14446 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14447 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14448 if _DIRENT_MATCHES_DIRENT64 is defined.
14449 * dirent/scandirat64.c (scandirat64): Likewise.
14450 * include/dirent.h (__scandir_tail): Only define iff
14451 _DIRENT_MATCHES_DIRENT64 is not defined.
14452 (__scandir64_tail): Define regardless.
14453 (__scandirat, scandirat64): Remove libc_hidden_proto.
14454 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14455 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14457 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14458 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14459 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14460 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14462 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14464 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14466 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14468 (_dl_aarch64_cap_flags): Add asimdfhm.
14470 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14472 * sysdeps/nios2/libm-test-ulps: Update.
14474 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14476 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14477 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14479 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14481 (_DIRENT_MATCHES_DIRENT64): Undef
14482 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14483 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14484 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14485 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14486 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14487 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14488 use getdents64 syscalls as base.
14489 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14490 symbol if required.
14491 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14492 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14493 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14494 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14495 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14496 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14497 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14498 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14500 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14501 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14503 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14505 * scripts/test_printers_common.py (init_test): Disable lock elision.
14507 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14509 * math/test-tgmath.c (count_double, count_float,
14510 count_ldouble, count_cdouble, count_cfloat,
14511 count_cldouble): Use volatile int.
14513 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14515 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14516 (conformtest-xfail-conds): Add i386-gnu.
14517 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14519 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14520 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14521 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14522 msqid_ds.msg_lrpid): Likewise.
14523 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14525 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14526 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14527 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14528 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14530 (struct statvfs64): Likewise.
14531 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14533 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14534 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14535 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14536 instead of wait_queue.
14537 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14538 instead of vm_area_struct.
14539 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14540 struct sched_param definition to it.
14541 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14542 * bits/types/struct_sched_param.h: New file.
14543 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14544 <bits/types/struct_sched_param.h> instead of <sched.h>.
14545 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14546 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14547 generic version but include <bits/pthreadtypes.h> to make struct
14548 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14549 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14551 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14552 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14553 [__USE_XOPEN] (OFDEL): New macro.
14554 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14555 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14556 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14558 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14559 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14560 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14562 * sysdeps/i386/sys/ucontext.h: Likewise.
14563 * sysdeps/m68k/sys/ucontext.h: Likewise.
14564 * sysdeps/mips/sys/ucontext.h: Likewise.
14565 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14566 * sysdeps/mach/hurd/i386/Makefile
14567 (test-xfail-POSIX/fcntl.h/conform): Add.
14568 (test-xfail-POSIX/signal.h/conform): Add.
14569 (test-xfail-POSIX/semaphore.h/conform): Add.
14570 (test-xfail-POSIX/regex.h/conform): Add.
14571 (test-xfail-POSIX/aio.h/conform): Add.
14572 (test-xfail-POSIX/mqueue.h/conform): Add.
14573 (test-xfail-POSIX/sys/types.h/conform): Add.
14574 (test-xfail-UNIX98/fcntl.h/conform): Add.
14575 (test-xfail-UNIX98/netdb.h/conform): Add.
14576 (test-xfail-UNIX98/signal.h/conform): Add.
14577 (test-xfail-UNIX98/semaphore.h/conform): Add.
14578 (test-xfail-UNIX98/regex.h/conform): Add.
14579 (test-xfail-UNIX98/aio.h/conform): Add.
14580 (test-xfail-UNIX98/ftw.h/conform): Add.
14581 (test-xfail-UNIX98/mqueue.h/conform): Add.
14582 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14583 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14584 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14585 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14586 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14587 (test-xfail-UNIX98/sys/types.h/conform): Add.
14588 (test-xfail-UNIX98/stdlib.h/conform): Add.
14589 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14590 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14591 (test-xfail-POSIX2008/netdb.h/conform): Add.
14592 (test-xfail-POSIX2008/signal.h/conform): Add.
14593 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14594 (test-xfail-POSIX2008/regex.h/conform): Add.
14595 (test-xfail-POSIX2008/aio.h/conform): Add.
14596 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14597 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14598 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14599 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14600 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14601 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14602 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14603 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14604 (test-xfail-XOPEN2K/signal.h/conform): Add.
14605 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14606 (test-xfail-XOPEN2K/regex.h/conform): Add.
14607 (test-xfail-XOPEN2K/aio.h/conform): Add.
14608 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14609 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14610 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14611 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14612 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14613 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14614 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14615 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14616 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14617 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14618 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14619 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14620 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14621 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14622 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14623 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14624 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14625 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14626 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14627 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14628 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14629 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14630 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14631 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14632 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14633 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14634 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14636 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14637 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14639 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14641 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14642 --enable-obsolete for powerpc-linux-gnuspe.
14644 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14646 * conform/data/sys/un.h-data: Allow sun_ prefix.
14647 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14649 * sysdeps/mach/include/mach.h: Likewise.
14650 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14651 * sysdeps/mach/include/mach_error.h: Likewise.
14653 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14655 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14656 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14657 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14658 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14660 2018-04-16 Andreas Schwab <schwab@suse.de>
14663 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14665 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14667 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14668 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14670 2018-04-12 DJ Delorie <dj@redhat.com>
14672 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14675 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14677 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14678 (struct kernel_sigaction): Use the same definition on 31bit as is used
14681 2018-04-09 Florian Weimer <fweimer@redhat.com>
14684 * resolv/res_send.c (send_dg): Use designated initializers instead
14685 of assignment to zero-initialize other fields of struct mmsghdr.
14687 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14689 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14690 __READDIR_ALIAS): Undefine after usage.
14691 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14692 __READDIR_R_ALIAS): Likewise.
14693 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14694 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14695 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14696 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14697 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14698 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14699 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14700 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14701 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14702 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14703 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14704 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14705 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14706 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14707 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14708 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14709 * sysdeps/unix/sysv/linux/readdir.c: New file.
14710 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14711 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14712 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14714 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14716 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14718 * manual/charset.texi (Converting a Character): Fix typo.
14720 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14724 * sysdeps/arm/libm-test-ulps: Update.
14726 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14727 as base implementation.
14728 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14729 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14730 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14731 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14732 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14733 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14734 remove unrequired definitions and update comments.
14735 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14736 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14737 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14738 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14739 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14740 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14741 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14742 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14743 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14744 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14745 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14746 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14747 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14748 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14749 and RESET_SA_RESTORER hooks.
14751 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14753 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14755 2018-04-05 Florian Weimer <fweimer@redhat.com>
14757 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14758 integer overflow, memory leak on error, and indeterminate errno
14759 value. Add a null wide character to terminate the result string.
14760 * manual/charset.texi (Converting a Character): Mention embedded
14761 null bytes in the mbrtowc input string. Explain what happens in
14762 the -2 result case. Do not claim that mbrtowc is simple or
14763 obvious to use. Adjust the description of the code example. Use
14764 @code, not @var, for concrete variables.
14766 2018-04-05 Florian Weimer <fweimer@redhat.com>
14768 * manual/examples/mbstouwcs.c: New file.
14769 * manual/charset.texi (Converting a Character): Include it.
14771 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14773 * include/dirent.h (dirfd): Add hidden proto.
14774 * dirent/dirfd.c (dirfd): Add hidden def.
14775 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14776 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14778 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14780 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14781 sin, cos and sincos to 1 ULP.
14783 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14786 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14788 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14789 * elf/tst-absolute-sym.c: New file.
14790 * elf/tst-absolute-sym-lib.c: New file.
14791 * elf/tst-absolute-sym-lib.lds: New file.
14792 * elf/Makefile (tests): Add `tst-absolute-sym'.
14793 (modules-names): Add `tst-absolute-sym-lib'.
14794 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14795 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14796 ($(objpfx)tst-absolute-sym): New dependency.
14799 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14801 (SYMBOL_ADDRESS): New macro.
14802 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14803 SYMBOL_ADDRESS for symbol address calculation.
14804 * elf/dl-runtime.c (_dl_fixup): Likewise.
14805 (_dl_profile_fixup): Likewise.
14806 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14807 * elf/rtld.c (dl_main): Likewise.
14808 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14809 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14810 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14811 (elf_machine_rela): Likewise.
14812 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14813 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14814 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14815 (elf_machine_rela): Likewise.
14816 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14817 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14818 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14819 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14821 (elf_machine_reloc): Likewise.
14822 (elf_machine_got_rel): Likewise.
14823 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14824 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14825 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14829 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14830 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14832 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14834 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14835 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14839 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14842 2018-04-04 Zack Weinberg <zackw@panix.com>
14844 * sysdeps/generic/internal-signals.h: Include signal.h,
14845 sigsetops.h, and stdbool.h.
14846 (__libc_signal_block_all): Actually block all signals.
14847 (__libc_signal_block_app): Likewise.
14848 (__libc_signal_restore_set): Actually restore the signal mask.
14850 2018-04-04 Florian Weimer <fweimer@redhat.com>
14852 inet: Actually build and run tst-deadline.
14853 * inet/Makefile (tests-internal): Add tst-deadline and do not
14854 overwrite the variable.
14855 (tests-static-internal): Remove variable.
14857 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14860 * bits/uio-ext.h (RWF_APPEND): New.
14861 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14862 * manual/llio.texi: Document RWF_APPEND.
14863 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14864 (RWF_SUPPORTED): Add RWF_APPEND.
14866 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14869 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14870 check for internal nptl signals.
14871 * nptl/sigaction.c (__sigaction): Likewise.
14872 * signal/sigaddset.c (sigaddset): Likewise.
14873 * signal/sigdelset.c (sigdelset): Likewise.
14874 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14875 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14877 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14878 to filter out internal nptl signals.
14879 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14880 also check realtime signals using standard macros.
14881 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14882 __is_internal_signal, __libc_signal_block_all,
14883 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14884 * sysdeps/nptl/sigfillset.c: Remove file.
14885 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14886 Change return to bool.
14887 (__clear_internal_signals): Remove SIGTIMER clean since it is
14888 equal to SIGCANEL on Linux.
14889 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14890 signal set was constructed using standard functions.
14892 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14894 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14895 ifname is too long.
14896 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14897 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14898 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14900 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14901 * signal/sigaddset.c: Include <sigsetopts.h>.
14902 * signal/sigdelset.c: Likewise.
14904 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14908 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14909 logic as sin and cos.
14911 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14913 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14914 inputs. Return correct sign.
14915 (do_sincos): Remove small input check before do_sin, let do_sin set
14920 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14922 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14923 (do_cos_slow): Likewise.
14924 (do_sin_slow): Likewise.
14925 (reduce_and_compute): Likewise.
14930 (sloww1): Likewise.
14931 (sloww2): Likewise.
14933 (bslow1): Likewise.
14934 (bslow2): Likewise.
14935 (cslow2): Likewise.
14937 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14939 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14940 (do_cos): Remove corp parameter and calculations.
14941 (do_sin): Likewise.
14942 (do_sincos): Remove cor variable.
14943 (__sin): Use do_sincos for huge inputs.
14945 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14946 (reduce_and_compute_sincos): Remove unused function.
14948 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14950 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14951 reduce_sincos, improve accuracy to 136 bits.
14952 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14953 (__sin): Use improved reduction and simplified do_sincos calculation.
14955 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14957 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14959 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14960 (do_sincos_2): Likewise.
14961 (__sin): Remove middle range reduction case.
14963 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14966 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14968 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14972 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14974 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14976 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14979 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14981 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14982 Remove definitions.
14983 (opendir_oflags): Use O_DIRECTORY regardless.
14984 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14985 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14987 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14989 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14990 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14992 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14993 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14994 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14995 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14996 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14997 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14999 * htl/Makefile: Bump licence to LGPL 2.1+.
15000 * htl/alloca_cutoff.c: Likewise.
15001 * htl/cthreads-compat.c: Likewise.
15002 * htl/lockfile.c: Likewise.
15003 * htl/pt-alloc.c: Likewise.
15004 * htl/pt-cancel.c: Likewise.
15005 * htl/pt-cleanup.c: Likewise.
15006 * htl/pt-create.c: Likewise.
15007 * htl/pt-dealloc.c: Likewise.
15008 * htl/pt-detach.c: Likewise.
15009 * htl/pt-exit.c: Likewise.
15010 * htl/pt-getattr.c: Likewise.
15011 * htl/pt-initialize.c: Likewise.
15012 * htl/pt-internal.h: Likewise.
15013 * htl/pt-join.c: Likewise.
15014 * htl/pt-self.c: Likewise.
15015 * htl/pt-setcancelstate.c: Likewise.
15016 * htl/pt-setcanceltype.c: Likewise.
15017 * htl/pt-sigmask.c: Likewise.
15018 * htl/pt-spin-inlines.c: Likewise.
15019 * htl/pt-testcancel.c: Likewise.
15020 * htl/pt-yield.c: Likewise.
15021 * htl/tests/test-1.c: Likewise.
15022 * htl/tests/test-10.c: Likewise.
15023 * htl/tests/test-11.c: Likewise.
15024 * htl/tests/test-12.c: Likewise.
15025 * htl/tests/test-13.c: Likewise.
15026 * htl/tests/test-14.c: Likewise.
15027 * htl/tests/test-15.c: Likewise.
15028 * htl/tests/test-16.c: Likewise.
15029 * htl/tests/test-17.c: Likewise.
15030 * htl/tests/test-2.c: Likewise.
15031 * htl/tests/test-3.c: Likewise.
15032 * htl/tests/test-4.c: Likewise.
15033 * htl/tests/test-5.c: Likewise.
15034 * htl/tests/test-6.c: Likewise.
15035 * htl/tests/test-7.c: Likewise.
15036 * htl/tests/test-8.c: Likewise.
15037 * htl/tests/test-9.c: Likewise.
15038 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15039 * sysdeps/htl/bits/cancelation.h: Likewise.
15040 * sysdeps/htl/bits/pthread-np.h: Likewise.
15041 * sysdeps/htl/bits/pthread.h: Likewise.
15042 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15043 * sysdeps/htl/bits/semaphore.h: Likewise.
15044 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15045 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15046 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15047 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15048 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15049 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15050 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15051 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15052 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15053 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15054 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15055 * sysdeps/htl/old_pt-atfork.c: Likewise.
15056 * sysdeps/htl/pt-atfork.c: Likewise.
15057 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15058 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15059 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15060 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15061 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15062 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15063 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15064 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15065 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15066 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15067 * sysdeps/htl/pt-attr-init.c: Likewise.
15068 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15069 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15070 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15071 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15072 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15073 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15074 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15075 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15076 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15077 * sysdeps/htl/pt-attr.c: Likewise.
15078 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15079 * sysdeps/htl/pt-barrier-init.c: Likewise.
15080 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15081 * sysdeps/htl/pt-barrier.c: Likewise.
15082 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15083 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15084 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15085 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15086 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15087 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15088 * sysdeps/htl/pt-cond-init.c: Likewise.
15089 * sysdeps/htl/pt-cond-signal.c: Likewise.
15090 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15091 * sysdeps/htl/pt-cond-wait.c: Likewise.
15092 * sysdeps/htl/pt-cond.c: Likewise.
15093 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15094 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15095 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15096 * sysdeps/htl/pt-condattr-init.c: Likewise.
15097 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15098 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15099 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15100 * sysdeps/htl/pt-equal.c: Likewise.
15101 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15102 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15103 * sysdeps/htl/pt-getschedparam.c: Likewise.
15104 * sysdeps/htl/pt-getspecific.c: Likewise.
15105 * sysdeps/htl/pt-init-specific.c: Likewise.
15106 * sysdeps/htl/pt-key-create.c: Likewise.
15107 * sysdeps/htl/pt-key-delete.c: Likewise.
15108 * sysdeps/htl/pt-key.h: Likewise.
15109 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15110 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15111 * sysdeps/htl/pt-mutex-init.c: Likewise.
15112 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15113 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15114 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15115 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15116 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15117 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15118 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15119 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15120 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15121 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15122 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15123 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15124 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15125 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15126 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15127 * sysdeps/htl/pt-mutexattr.c: Likewise.
15128 * sysdeps/htl/pt-once.c: Likewise.
15129 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15130 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15131 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15132 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15133 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15134 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15135 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15136 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15137 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15138 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15139 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15140 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15141 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15142 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15143 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15144 * sysdeps/htl/pt-setschedparam.c: Likewise.
15145 * sysdeps/htl/pt-setschedprio.c: Likewise.
15146 * sysdeps/htl/pt-setspecific.c: Likewise.
15147 * sysdeps/htl/pt-spin.c: Likewise.
15148 * sysdeps/htl/pt-startup.c: Likewise.
15149 * sysdeps/htl/pthread.h: Likewise.
15150 * sysdeps/htl/sem-close.c: Likewise.
15151 * sysdeps/htl/sem-destroy.c: Likewise.
15152 * sysdeps/htl/sem-getvalue.c: Likewise.
15153 * sysdeps/htl/sem-init.c: Likewise.
15154 * sysdeps/htl/sem-open.c: Likewise.
15155 * sysdeps/htl/sem-post.c: Likewise.
15156 * sysdeps/htl/sem-timedwait.c: Likewise.
15157 * sysdeps/htl/sem-trywait.c: Likewise.
15158 * sysdeps/htl/sem-unlink.c: Likewise.
15159 * sysdeps/htl/sem-wait.c: Likewise.
15160 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15161 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15162 * sysdeps/mach/htl/pt-block.c: Likewise.
15163 * sysdeps/mach/htl/pt-spin.c: Likewise.
15164 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15165 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15166 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15167 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15168 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15169 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15170 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15171 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15172 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15173 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15174 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15175 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15176 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15177 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15178 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15179 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15180 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15181 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15182 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15183 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15184 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15185 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15186 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15187 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15188 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15189 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15190 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15191 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15192 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15193 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15194 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15195 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15196 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15197 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15198 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15199 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15200 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15201 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15202 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15203 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15204 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15205 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15206 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15208 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15209 * README: Remove the mention of out-of-tree patches needed for
15212 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15213 (UTIME_NOW, UTIME_OMIT): Define macros.
15215 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15216 instead of pthread_detach.
15217 (__cthread_fork): Call __pthread_create instead of pthread_create.
15218 (__cthread_keycreate): Call __pthread_key_create instead of
15219 pthread_key_create.
15220 (__cthread_getspecific): Call __pthread_getspecific instead of
15221 pthread_getspecific.
15222 (__cthread_setspecific): Call __pthread_setspecific instead of
15223 pthread_setspecific.
15224 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15225 __pthread_mutex_unlock instead of pthread_mutex_lock and
15226 pthread_mutex_unlock.
15227 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15228 ___pthread_get_cleanup_stack.
15229 (__pthread_get_cleanup_stack): New strong alias.
15230 * htl/pt-create.c: Include <pthreadP.h>.
15231 (entry_point): Call __pthread_exit instead of pthread_exit.
15232 (pthread_create): Rename to __pthread_create.
15233 (pthread_create): New strong alias.
15234 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15235 (pthread_detach): New strong alias.
15236 (__pthread_detach): Call __pthread_cond_broadcast instead of
15237 pthread_cond_broadcast.
15238 * htl/pt-exit.c: Include <pthreadP.h>.
15239 (__pthread_exit): Call __pthread_setcancelstate and
15240 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15241 __pthread_get_cleanup_stack.
15242 * htl/pt-testcancel.c: Include <pthreadP.h>.
15243 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15244 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15245 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15246 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15247 pthread_attr_getstacksize.
15248 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15249 Rename to __pthread_attr_getstackaddr.
15250 (pthread_attr_getstackaddr): New strong alias.
15251 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15252 Rename to __pthread_attr_getstacksize.
15253 (pthread_attr_getstacksize): New strong alias.
15254 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15255 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15256 (pthread_attr_setstack): New strong alias.
15257 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15258 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15259 pthread_attr_getstacksize, pthread_attr_setstacksize and
15260 pthread_attr_setstackaddr.
15261 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15262 Rename to __pthread_attr_setstackaddr.
15263 (pthread_attr_setstackaddr): New strong alias.
15264 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15265 Rename to __pthread_attr_setstacksize.
15266 (pthread_attr_setstacksize): New strong alias.
15267 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15268 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15270 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15271 (__pthread_key_create): New hidden def.
15272 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15273 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15274 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15275 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15276 __pthread_setspecific, __pthread_setcancelstate,
15277 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15278 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15279 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15281 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15282 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15283 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15284 (pthread_attr_setstackaddr): New strong alias.
15285 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15286 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15287 (pthread_attr_setstacksize): New strong alias.
15288 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15289 (call_exit): Call __pthread_exit instead of pthread_exit.
15290 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15291 (_pthread_mutex_init): New hidden definition.
15292 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15293 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15294 instead of pthread_attr_init and pthread_attr_setstack.
15296 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15297 __vm_deallocate instead of vm_allocate and vm_deallocate.
15298 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15300 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15302 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15304 * hurd/siginfo.c: Include <libioP.h>.
15305 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15306 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15308 * mach/devstream.c: Include <libioP.h>.
15309 (dealloc_ref): Call __mach_port_deallocate instead of
15310 mach_port_deallocate.
15311 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15312 Call __mach_port_deallocate instead of mach_port_deallocate.
15313 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15315 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15317 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15318 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15319 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15321 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15323 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15324 instead of sysconf.
15325 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15326 __clock_gettime instead of clock_gettime.
15327 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15328 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15329 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15330 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15331 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15333 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15334 __clock_gettime and __nanosleep instead of clock_gettime and
15336 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15337 __hurd_catch_signal.
15338 (hurd_catch_signal): New strong alias.
15339 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15340 __hurd_catch_signal instead of hurd_catch_signal.
15341 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15342 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15343 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15344 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15345 (_hurd_thread_sigstate): Add hidden def.
15346 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15348 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15349 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15350 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15351 __hurd_file_name_path_lookup.
15352 (hurd_file_name_path_lookup): New strong alias.
15353 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15354 hurd_file_name_path_lookup.
15355 * mach/errstring.c (mach_error_type): Add hidden def.
15356 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15357 * mach/mutex-init.c (__mutex_init): Add hidden def.
15358 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15359 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15360 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15361 * sysdeps/mach/hurd/getcwd.c
15362 (_hurd_canonicalize_directory_name_internal): Rename to
15363 __hurd_canonicalize_directory_name_internal.
15364 (_hurd_canonicalize_directory_name_internal): New strong alias.
15365 (__canonicalize_directory_name_internal, __getcwd): Call
15366 __hurd_canonicalize_directory_name_internal instead of
15367 _hurd_canonicalize_directory_name_internal.
15368 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15369 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15371 * sysdeps/hurd/include/hurd.h: New file.
15372 * sysdeps/hurd/include/hurd/fd.h: New file.
15373 * sysdeps/hurd/include/hurd/signal.h: New file.
15374 * sysdeps/mach/include/lock-intern.h: New file.
15375 * sysdeps/mach/include/mach.h: New file.
15376 * sysdeps/mach/include/mach/mig_support.h: New file.
15377 * sysdeps/mach/include/mach_error.h: New file.
15378 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15380 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15381 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15382 _HEADER_H_HIDDEN_DEF macro.
15383 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15384 _hurd_fd_error_signal): Add hidden prototype.
15385 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15387 * libio/iolibio.h (_IO_puts): New hidden prototype.
15388 * libio/ioputs.c (_IO_puts): New hidden def.
15389 * sysdeps/mach/hurd/localplt.data: New file.
15391 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15392 Amos Jeffries <squid3@treenet.co.nz>
15393 David Michael <fedora.dm0@gmail.com>
15394 Marco Gerards <marco@gnu.org>
15395 Marcus Brinkmann <marcus@gnu.org>
15396 Neal H. Walfield <neal@gnu.org>
15397 Pino Toscano <toscano.pino@tiscali.it>
15398 Richard Braun <rbraun@sceen.net>
15399 Roland McGrath <roland@gnu.org>
15400 Samuel Thibault <samuel.thibault@ens-lyon.org>
15401 Thomas DiModica <ricinwich@yahoo.com>
15402 Thomas Schwinge <tschwinge@gnu.org>
15404 * htl: New directory.
15405 * sysdeps/htl: New directory.
15406 * sysdeps/hurd/htl: New directory.
15407 * sysdeps/i386/htl: New directory.
15408 * sysdeps/mach/htl: New directory.
15409 * sysdeps/mach/hurd/htl: New directory.
15410 * sysdeps/mach/hurd/i386/htl: New directory.
15411 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15412 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15413 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15415 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15417 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15418 signals in thread created for runing timers.
15420 2018-04-01 Florian Weimer <fweimer@redhat.com>
15422 * support/support_format_addrinfo.c (support_format_addrinfo):
15423 Include unknown error number in formatted result.
15425 2018-03-29 Florian Weimer <fweimer@redhat.com>
15427 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15430 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15432 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15433 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15434 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15435 (__ASSUME_CLONE_BACKWARDS): Define.
15437 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15441 early when linux sentinel value is set.
15443 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15445 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15447 2018-03-27 Andreas Schwab <schwab@suse.de>
15450 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15451 allocation of private copy of nsaddr_list fails.
15453 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15456 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15457 * sysdeps/unix/sysv/linux/umount.c: ... here.
15458 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15459 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15460 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15461 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15463 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15464 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15466 2018-03-26 Andreas Schwab <schwab@suse.de>
15468 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15469 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15470 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15471 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15472 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15473 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15474 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15475 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15476 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15477 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15478 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15479 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15480 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15481 (R_RISCV_NUM): Define.
15483 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15485 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15486 TLS declaration of errno.
15487 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15489 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15490 (ARCH_SETUP_TLS): Likewise.
15491 * sysdeps/mach/hurd/libc-start.h: New file copied from
15492 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15493 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15494 instead of __libc_setup_tls.
15495 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15496 __libc_setup_tls before initializing libpthread and running _hurd_init
15497 which starts the signal thread.
15498 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15500 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15502 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15505 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15506 after it is defined.
15508 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15509 Max Horn <max@quendi.de>
15513 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15515 * string/test-memmove.c (do_test2): New testcase.
15517 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15519 * sysdeps/generic/frame.h: Remove file.
15520 * sysdeps/arm/frame.h: Likewise.
15521 * sysdeps/hppa/frame.h: Likewise.
15522 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15524 (GET_FRAME): Likewise.
15525 (GET_STACK): Likewise.
15526 (CALL_SIGHANDLER): Likewise.
15527 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15529 (GET_FRAME): Likewise.
15530 (GET_STACK): Likewise.
15531 (CALL_SIGHANDLER): Likewise.
15532 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15533 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15534 (GET_FRAME): Likewise.
15535 (GET_STACK): Likewise.
15536 (CALL_SIGHANDLER): Likewise.
15537 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15538 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15539 (GET_FRAME): Likewise.
15540 (GET_STACK): Likewise.
15541 (ADVANCE_STACK_FRAME): Likewise.
15542 (CALL_SIGHANDLER): Likewise.
15543 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15544 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15545 (GET_FRAME): Likewise.
15546 (GET_STACK): Likewise.
15547 (CALL_SIGHANDLER): Likewise.
15548 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15549 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15550 (GET_FRAME): Likewise.
15551 (GET_STACK): Likewise.
15552 (CALL_SIGHANDLER): Likewise.
15553 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15554 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15555 (GET_FRAME): Likewise.
15556 (GET_STACK): Likewise.
15557 (CALL_SIGHANDLER): Likewise.
15558 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15559 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15560 (GET_FRAME): Likewise.
15561 (GET_STACK): Likewise.
15562 (CALL_SIGHANDLER): Likewise.
15563 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15564 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15565 (GET_FRAME): Likewise.
15566 (GET_STACK): Likewise.
15567 (CALL_SIGHANDLER): Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15569 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15570 (GET_FRAME): Likewise.
15571 (GET_STACK): Likewise.
15572 (CALL_SIGHANDLER): Likewise.
15573 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15574 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15575 (GET_FRAME): Likewise.
15576 (GET_STACK): Likewise.
15577 (CALL_SIGHANDLER): Likewise.
15578 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15579 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15580 (GET_FRAME): Likewise.
15581 (GET_STACK): Likewise.
15582 (CALL_SIGHANDLER): Likewise.
15583 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15584 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15585 (GET_FRAME): Likewise.
15586 (GET_STACK): Likewise.
15587 (CALL_SIGHANDLER): Likewise.
15588 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15589 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15590 (FIRST_FRAME_POINTER): Likewise.
15591 (ADVANCE_STACK_FRAME): Likewise.
15592 (GET_STACK): Likewise.
15593 (GET_FRAME): Likewise.
15594 (CALL_SIGHANDLER): Likewise.
15595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15596 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15597 (ADVANCE_STACK_FRAME): Likewise.
15598 (GET_STACK): Likewise.
15599 (GET_FRAME): Likewise.
15600 (CALL_SIGHANDLER): Likewise.
15601 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15602 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15603 (GET_FRAME): Likewise.
15604 (GET_STACK): Likewise.
15605 (CALL_SIGHANDLER): Likewise.
15606 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15607 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15608 (GET_FRAME): Likewise.
15609 (GET_STACK): Likewise.
15610 (CALL_SIGHANDLER): Likewise.
15612 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15614 * sysdeps/x86_64/backtrace.c: Move to ....
15615 * debug/backtrace.c: ... here.
15616 * sysdeps/aarch64/backtrace.c: Remove file.
15617 * sysdeps/alpha/backtrace.c: Likewise.
15618 * sysdeps/hppa/backtrace.c: Likewise.
15619 * sysdeps/ia64/backtrace.c: Likewise.
15620 * sysdeps/mips/backtrace.c: Likewise.
15621 * sysdeps/nios2/backtrace.c: Likewise.
15622 * sysdeps/riscv/backtrace.c: Likewise.
15623 * sysdeps/sh/backtrace.c: Likewise.
15624 * sysdeps/tile/backtrace.c: Likewise.
15626 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15629 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15632 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15635 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15636 possibly overflowing computations.
15638 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15640 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15641 values from Linux-specific section now that it is in the GNU section.
15642 * sysdeps/gnu/errlist.c: Regenerate.
15644 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15646 * math/Makefile (libm-narrow-fns): Add sub.
15647 (libm-test-funcs-narrow): Likewise.
15648 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15649 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15650 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15651 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15652 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15653 (NARROW_SUB_TRIVIAL): Likewise.
15654 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15656 (__dsubl): Likewise.
15657 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15659 (CFLAGS-nldbl-dsub.c): New variable.
15660 (CFLAGS-nldbl-fsub.c): Likewise.
15661 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15663 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15665 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15666 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15667 * math/auto-libm-test-in: Add tests of sub.
15668 * math/auto-libm-test-out-narrow-sub: New generated file.
15669 * math/libm-test-narrow-sub.inc: New file.
15670 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15672 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15673 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15674 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15675 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15678 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15681 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15684 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15685 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15686 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15687 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15689 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15690 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15691 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15692 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15693 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15694 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15695 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15696 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15697 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15698 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15699 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15700 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15701 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15706 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15707 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15708 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15709 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15710 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15711 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15717 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15720 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15722 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15724 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15726 2018-03-18 Richard Braun <rbraun@sceen.net>
15728 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15731 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15733 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15734 (__libc_cleanup_fct): Define function.
15735 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15736 __libc_cleanup_end): Rewrite implementation using
15737 __attribute__ ((__cleanup__)).
15738 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15739 * hurd/Makefile (routines): Add hurdlock.
15740 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15742 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15743 * hurd/hurdpid.c: Include <lowlevellock.h>
15744 (_S_msg_proc_newids): Use lll_wait to synchronize.
15745 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15746 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15747 * mach/Makefile (lock-headers): Remove machine-lock.h.
15748 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15750 (__spin_lock_t): New type.
15751 (__SPIN_LOCK_INITIALIZER): New macro.
15752 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15753 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15754 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15755 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15756 (__mutex_init): Initialize with lll.
15757 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15758 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15760 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15761 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15762 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15763 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15764 (__setpgid): Use lll for synchronization.
15765 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15766 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15767 instead of <cthreads.h>.
15768 (_IO_lock_inexpensive): New macro
15769 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15770 (__libc_lock_self0): New declaration.
15771 (__libc_lock_owner_self): New macro.
15772 (__libc_key_t): Remove type.
15773 (_LIBC_LOCK_INITIALIZER): New macro.
15774 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15775 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15776 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15777 __libc_lock_define_initialized_recursive,
15778 __rtld_lock_define_initialized_recursive,
15779 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15780 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15781 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15782 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15783 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15784 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15785 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15787 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15788 * hurd/hurdlock.c: New file.
15789 * hurd/hurdlock.h: New file.
15790 * mach/lowlevellock.h: New file
15792 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15794 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15795 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15796 when opening a symlink with O_NOFOLLOW.
15797 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15798 path when flags contains O_NOFOLLOW.
15799 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15800 if flags contains O_DIRECTORY and the result is a directory.
15801 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15802 oneself when the pointer given in D is nul (as set by ext2fs).
15803 * sysdeps/mach/hurd/mlockall.c: New file.
15804 * sysdeps/mach/hurd/munlockall.c: New file.
15806 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15808 * hurd/hurdsig.c: Include <pthread.h>.
15809 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15810 get the signal thread stack layout.
15811 * hurd/Makefile (headers): Remove threadvar.h.
15812 (inline-headers): Remove threadvar.h.
15813 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15814 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15815 __hurd_threadvar_max, __hurd_errno_location.
15816 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15817 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15818 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15819 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15820 unless TLS is not initialized yet, in which case we do not need a
15821 critical section yet anyway.
15822 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15824 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15826 (__hurd_threadvar_index): Remove enum.
15827 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15828 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15830 (__hurd_reply_port0): New variable declaration.
15831 (__hurd_local_reply_port): New macro.
15832 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15833 (interrupted_reply_port_location): Add thread_t parameter. Use it
15834 with THREAD_TCB to access thread-local variables.
15835 (_hurdsig_abort_rpcs): Pass ss->thread to
15836 interrupted_reply_port_location.
15837 (_hurd_internal_post_signal): Likewise.
15838 (_hurdsig_init): Use presence of cthread_fork instead of
15839 __hurd_threadvar_stack_mask to start signal thread by hand.
15840 Remove signal thread threadvar initialization.
15841 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15842 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15843 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15845 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15847 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15848 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15849 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15850 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15851 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15852 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15853 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15855 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15856 <hurd/threadvar.h>.
15857 [IS_IN(rtld)] (rtld_errno): New variable.
15858 [IS_IN(rtld)] (__errno_location): New weak function.
15859 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15860 * sysdeps/mach/hurd/errno.c: Remove file.
15861 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15862 (__fork): Remove THREADVAR_SPACE macro and its use.
15863 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15865 (init): Do not initialize threadvar.
15866 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15868 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15869 __hurd_local_reply_port instead of threadvar.
15870 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15871 _hurd_sigstate fields.
15872 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15873 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15874 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15875 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15876 instead of threadvar.
15877 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15878 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15879 (use_threadvar, global_reply_port): Remove variables.
15880 (__hurd_reply_port0): New variable.
15881 (__mig_get_reply_port): Use __hurd_local_reply_port and
15882 __hurd_reply_port0 instead of threadvar.
15883 (__mig_dealloc_reply_port): Likewise.
15884 (__mig_init): Do not initialize threadvar.
15885 * sysdeps/mach/hurd/profil.c: Fix comment.
15886 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15887 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15888 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15889 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15890 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15891 __cthread_setspecific.
15892 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15893 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15894 __cthread_t instead of cthread_fork, cthread_detach,
15895 pthread_getattr_np, pthread_attr_getstack.
15896 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15897 __cthread_keycreate.
15898 (cthread_getspecific): Rename to __cthread_getspecific.
15899 (cthread_setspecific): Rename to __cthread_setspecific.
15900 (__libc_getspecific): Use __cthread_getspecific instead of
15901 cthread_getspecific.
15902 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15903 __cthread_keycreate instead of cthread_keycreate.
15904 (__libc_setspecific): Use __cthread_setspecific instead of
15905 cthread_setspecific.
15906 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15909 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15910 testing whether it is defined.
15912 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15914 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15916 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15917 * sysdeps/mach/i386/thread_state.h
15918 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15920 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15922 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15924 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15925 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15927 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15929 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15930 descriptor instead of creating a new one.
15931 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15933 * mach/setup-thread.c: Include <ldsodefs.h>.
15934 (__mach_setup_thread): Call _dl_allocate_tls, pass
15935 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15936 MACHINE_THREAD_STATE_FLAVOR, before getting
15937 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15938 MACHINE_THREAD_STATE_FLAVOR with the result.
15939 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15940 MACHINE_THREAD_STATE_FIX_NEW.
15941 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15942 too. Add original thread parameter.
15944 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15946 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15947 Remove inline function.
15949 * sysdeps/i386/fpu/libm-test-ulps: Update.
15950 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15952 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15954 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15957 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15959 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15960 (__sincos_code): Remove define and undefine.
15961 [__FAST_MATH__] (__sincos): Remove inline function.
15962 [__FAST_MATH__] (__sincosf): Remove inline function.
15963 [__FAST_MATH__] (__sincosl): Remove inline function.
15964 (__atan2l): Remove inline functions.
15965 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15966 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15968 (floor): Remove inline function.
15970 [__FAST_MATH__] (__ldexp_code): Remove macro.
15971 [__FAST_MATH__] (ldexp): Remove inline function.
15972 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15973 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15974 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15975 [__USE_ISOC99] (__lrint_code): Remove macro.
15976 [__USE_ISOC99] (__llrint_code): Likewise.
15977 [__USE_ISOC99] (lrintf): Remove inline function.
15978 [__USE_ISOC99] (lrint): Likewise.
15979 [__USE_ISOC99] (lrintl): Likewise.
15980 [__USE_ISOC99] (llrint): Likewise.
15981 [__USE_ISOC99] (llrintf): Likewise.
15982 [__USE_ISOC99] (llrintl): Likewise.
15984 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15986 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15987 (__ieee754_sqrtf): Remove.
15988 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15989 (__ieee754_sqrtf): Remove.
15990 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15991 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15992 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15993 (__ieee754_sqrtf): Remove.
15994 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15995 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15998 (__ieee754_sqrt): Remove.
15999 (__ieee754_sqrtf): Remove.
16000 (__ieee754_sqrtl): Remove.
16001 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16002 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16003 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16004 (__ieee754_sqrtf): Remove.
16005 (__ieee754_sqrtl): Remove.
16007 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16009 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16010 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16011 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16012 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16013 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16014 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16015 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16016 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16018 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16019 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16020 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16021 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16022 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16023 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16024 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16025 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16026 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16027 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16028 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16029 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16030 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16031 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16032 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16033 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16034 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16035 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16036 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16037 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16038 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16039 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16040 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16041 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16042 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16043 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16044 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16046 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16047 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16048 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16049 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16050 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16051 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16052 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16053 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16054 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16055 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16056 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16057 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16059 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16061 * include/math.h (sqrt): Declare with asm redirect.
16064 (sqrtf128): Likewise.
16065 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16066 nonlib and libnldbl with -fmath-errno.
16067 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16068 * math/w_sqrt_template.c: Likewise.
16069 * math/w_sqrtf_compat.c: Likewise.
16070 * math/w_sqrtl_compat.c: Likewise.
16071 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16072 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16073 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16076 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16078 * benchtests/Makefile: Define _ISOMAC.
16079 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16080 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16081 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16082 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16083 * benchtests/bench-timing.h: Define attribute_hidden.
16085 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16087 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16090 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16093 * localedata/locales/cs_CZ (mon): Rename to...
16095 (mon): Import from CLDR (genitive case).
16097 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16100 * localedata/locales/el_CY (abmon): Rename to...
16101 (ab_alt_mon): This.
16102 (abmon): Import from CLDR (abbreviated genitive case).
16103 * localedata/locales/el_GR (abmon): Rename to...
16104 (ab_alt_mon): This.
16105 (abmon): Import from CLDR (abbreviated genitive case).
16107 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16110 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16112 2018-03-15 Robert Buj <robert.buj@gmail.com>
16115 * localedata/locales/ca_ES (abmon): Rename to...
16116 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16117 (mon): Rename to...
16119 (abmon): Import from CLDR (genitive case, month names preceded by
16122 (abday): Synchronize with CLDR.
16123 (d_t_fmt): Likewise.
16127 (LC_TIME): Improve indentation.
16128 (LC_TELEPHONE): Likewise.
16129 (LC_NAME): Likewise.
16130 (LC_ADDRESS): Likewise.
16132 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16134 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16135 (lrintf): Remove definitions used only with old GCC.
16136 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16137 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16138 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16139 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16140 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16141 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16142 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16143 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16144 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16145 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16146 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16147 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16148 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16149 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16150 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16151 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16152 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16153 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16154 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16155 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16156 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16157 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16158 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16159 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16160 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16161 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16162 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16163 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16165 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16167 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16168 instruction to unbreak builds with binutils 2.26 and older.
16170 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16172 * sysdeps/aarch64/strncmp.S (count): New macro.
16173 (strncmp): Store misaligned length in SRC1 in COUNT.
16174 (mutual_align): Adjust.
16175 (misaligned8): Load dword at a time when it is safe.
16177 2018-03-12 Zack Weinberg <zackw@panix.com>
16181 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16182 if the _IO_EOF_SEEN bit is already set; update commentary.
16183 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16184 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16186 * support/support_openpty.c, support/tty.h: New files.
16187 * support/Makefile (libsupport-routines): Add support_openpty.
16189 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16191 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16192 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16194 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16196 * po/pt_BR.po: Update translations.
16198 2018-03-12 David Michael <fedora.dm0@gmail.com>
16200 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16201 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16202 get a port to the startup server.
16204 2018-03-11 Zack Weinberg <zackw@panix.com>
16206 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16207 before nldbl-compat.h.
16209 2018-03-10 Zack Weinberg <zackw@panix.com>
16211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16212 math.h or math_private.h.
16214 * sysdeps/alpha/fpu/s_isnan.c
16215 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16216 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16219 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16220 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16221 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16222 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16223 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16226 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16227 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16228 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16229 Include math_private.h.
16231 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16232 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16233 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16234 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16235 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16236 * sysdeps/powerpc/power7/fpu/s_logb.c:
16237 Include math.h and math_private.h.
16239 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16240 uses of $at in .set noat / .set at.
16242 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16244 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16245 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16246 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16247 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16250 2018-03-09 Florian Weimer <fweimer@redhat.com>
16252 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16255 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16258 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16259 Add nop before __startcontext, add explaining comments.
16261 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16264 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16266 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16267 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16268 Do not build hardware transactional code for __SPE__.
16269 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16270 (__lll_trylock_elision): Likewise.
16271 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16272 (__lll_unlock_elision): Likewise.
16274 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16275 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16276 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16277 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16278 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16279 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16280 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16281 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16282 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16283 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16284 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16285 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16286 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16287 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16288 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16289 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16290 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16292 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16293 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16294 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16295 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16296 (__ASSUME_CLONE_BACKWARDS): Define.
16297 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16298 __clone2 if __NR_clone2 is defined.
16299 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16300 (__ASSUME_CLONE_BACKWARDS): Likewise.
16301 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16302 (__ASSUME_CLONE_BACKWARDS): Likewise.
16303 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16304 (__ASSUME_CLONE2): Likewise.
16305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16306 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16307 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16308 variants and the define architecture can use.
16309 (__ASSUME_CLONE_DEFAULT): Define as default.
16310 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16311 (__ASSUME_CLONE_BACKWARDS): Likewise.
16312 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16313 (__ASSUME_CLONE_BACKWARDS): Likewise.
16314 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16315 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16317 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16319 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16321 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16324 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16325 (do_test_limit): Likewise.
16327 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16328 for every implementation.
16329 (do_test): Likewise.
16331 * benchtests/bench-strncmp.c: Convert output to json.
16333 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16335 * io/futimens.c: Add missing start-of-file descriptive comment.
16336 * io/utime.c: Likewise.
16337 * misc/futimesat.c: Likewise.
16338 * misc/utimes.c: Likewise.
16339 * sysdeps/mach/hurd/futimesat.c: Likewise.
16340 * sysdeps/mach/hurd/utimes.c: Likewise.
16341 * sysdeps/posix/utime.c: Likewise.
16342 * sysdeps/posix/utimes.c: Likewise.
16343 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16344 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16345 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16346 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16348 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16350 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16352 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16353 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16354 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16355 (__futimens): Move implementation to...
16356 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16357 utime_tvalue_from_tspec): ... new helper functions.
16358 (hurd_futimens): New function.
16359 * sysdeps/mach/hurd/futimesat.c: New file.
16360 * sysdeps/mach/hurd/utimensat.c: New file.
16362 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16364 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16365 UTIME_OMIT): New macros.
16366 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16367 before reverting to converting time spec to time value and calling
16369 * sysdeps/mach/hurd/utime-helper.c: New file.
16370 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16371 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16372 reverting to utime_tvalue_from_tval and __file_utimes.
16373 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16374 (__lutimes): Just call hurd_futimens after lookup.
16375 * sysdeps/mach/hurd/utimes.c: Likewise.
16377 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16379 * bits/sigaction.h: Add include guard.
16380 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16381 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16382 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16383 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16384 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16385 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16386 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16387 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16388 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16390 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16392 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16393 -Wmaybe-uninitialized for -Os.
16394 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16397 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16399 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16400 __INO_T_MATCHES_INO64_T is defined.
16401 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16402 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16404 * dirent/alphasort64.c: Likewise.
16405 * dirent/scandir.c: Likewise.
16406 * dirent/scandir64-tail.c: Likewise.
16407 * dirent/scandir64.c: Likewise.
16408 * dirent/scandirat.c: Likewise.
16409 * dirent/scandirat64.c: Likewise.
16410 * dirent/versionsort.c: Likewise.
16411 * dirent/versionsort64.c: Likewise.
16412 * include/dirent.h: Likewise.
16414 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16415 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16416 for socketpair endpoint.
16417 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16418 WRITE_BUFFER_SIZE as buffer size for sending socket.
16419 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16420 issue on system where send is implemented with sendto syscall.
16421 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16422 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16423 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16424 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16427 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16428 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16429 sa_restorer for vDSO case.
16430 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16432 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16434 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16435 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16436 * hurd/hurd/ioctl.h: Include <mach/port.h>
16437 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16438 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16439 <mach/mach_types.h> and <mach/message.h>.
16440 (headers): Move mach/param.h to bits/mach/param.h.
16441 * sysdeps/mach/i386/mach/param.h: Move file to ...
16442 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16443 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16445 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16446 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16447 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16448 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16449 trivial, for C++ conformity.
16450 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16451 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16452 Process mig output through $(migheadersed).
16453 * hurd/Makefile (migheadersed): Define variable.
16454 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16455 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16457 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16458 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16459 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16460 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16461 <bits/types/sigset_t.h>.
16462 [!defined __USE_GNU]: Do not #error out.
16463 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16464 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16465 Include <stddef.h> and <bits/types/sigset_t.h>
16466 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16467 instead of sighandler_t.
16468 * stdlib/errno.h (error_t): Move definition to...
16469 * bits/types/error_t.h: ... new header.
16470 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16471 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16472 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16473 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16474 * hurd/hurd.h: Include <bits/types/error_t.h>
16475 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16476 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16477 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16478 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16479 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16480 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16481 * sysdeps/mach/hurd/futimens.c: New file.
16483 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16486 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16487 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16488 * nscd/gai.c (__nss_hosts_database): Readd definition.
16489 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16490 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16491 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16493 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16495 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16496 (ifunc_one): Likewise.
16498 2018-03-01 DJ Delorie <dj@delorie.com>
16501 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16504 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16506 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16507 `match_pid' parameter.
16508 (td_ta_thr_iter): Update accordingly.
16510 2018-03-01 Florian Weimer <fweimer@redhat.com>
16512 * nptl/Makefile (install-lib-ldscripts): Remove.
16513 (install): Remove rule.
16514 ($(inst_libdir)/libpthread.so): Likewise.
16516 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16519 * localedata/locales/an_ES: update month and day names,
16520 improve d_fmt, improve postal_fmt, add country_post,
16523 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16525 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16526 Ukrainian instead of Bulgarian.
16528 2018-03-01 Florian Weimer <fweimer@redhat.com>
16530 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16533 2018-03-01 Florian Weimer <fweimer@redhat.com>
16535 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16536 * nptl/Makefile (routines): Add pthread_atfork.
16537 (static-only-routines): Set to pthread_atfork.
16538 (libpthread-routines): Remove pthread_atfork.
16539 (libpthread-static-only-routines): Remove.
16540 (install): Update comment.
16541 (libpthread.so): Do not install libpthread_nonshared.a.
16542 (tests): Do not link with libpthread_nonshared.a.
16543 (generated): Remove libpthread_nonshared.a.
16544 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16545 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16546 with libpthread_nonshared.a.
16548 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16551 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16552 (libc_feholdexcept_setroundf128): New macro.
16553 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16556 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16558 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16559 * include/inttypes.h: New file.
16561 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16563 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16564 -Os in two more places.
16566 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16568 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16569 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16570 be sorted correctly at the moment because of a bug.
16572 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16574 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16575 treat ñ as a primary different character, sync the collation
16576 for Spanish with CLDR.
16577 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16578 * localedata/Makefile: Add new test files.
16579 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16580 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16582 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16583 * localedata/am_ET.UTF-8.in: New test file.
16584 * localedata/az_AZ.UTF-8.in: Likewise.
16585 * localedata/be_BY.UTF-8.in: Likewise.
16586 * localedata/ber_DZ.UTF-8.in: Likewise.
16587 * localedata/ber_MA.UTF-8.in: Likewise.
16588 * localedata/bg_BG.UTF-8.in: Likewise.
16589 * localedata/br_FR.UTF-8.in: Likewise.
16590 * localedata/cmn_TW.UTF-8.in: Likewise.
16591 * localedata/crh_UA.UTF-8.in: Likewise.
16592 * localedata/csb_PL.UTF-8.in: Likewise.
16593 * localedata/cv_RU.UTF-8.in: Likewise.
16594 * localedata/cy_GB.UTF-8.in: Likewise.
16595 * localedata/dz_BT.UTF-8.in: Likewise.
16596 * localedata/eo.UTF-8.in: Likewise.
16597 * localedata/es_ES.UTF-8.in: Likewise.
16598 * localedata/fa_IR.UTF-8.in: Likewise.
16599 * localedata/fi_FI.UTF-8.in: Likewise.
16600 * localedata/fil_PH.UTF-8.in: Likewise.
16601 * localedata/fur_IT.UTF-8.in: Likewise.
16602 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16603 * localedata/ha_NG.UTF-8.in: Likewise.
16604 * localedata/ig_NG.UTF-8.in: Likewise.
16605 * localedata/ik_CA.UTF-8.in: Likewise.
16606 * localedata/kk_KZ.UTF-8.in: Likewise.
16607 * localedata/ku_TR.UTF-8.in: Likewise.
16608 * localedata/ky_KG.UTF-8.in: Likewise.
16609 * localedata/ln_CD.UTF-8.in: Likewise.
16610 * localedata/mi_NZ.UTF-8.in: Likewise.
16611 * localedata/ml_IN.UTF-8.in: Likewise.
16612 * localedata/mn_MN.UTF-8.in: Likewise.
16613 * localedata/mr_IN.UTF-8.in: Likewise.
16614 * localedata/mt_MT.UTF-8.in: Likewise.
16615 * localedata/nb_NO.UTF-8.in: Likewise.
16616 * localedata/om_KE.UTF-8.in: Likewise.
16617 * localedata/os_RU.UTF-8.in: Likewise.
16618 * localedata/ps_AF.UTF-8.in: Likewise.
16619 * localedata/ro_RO.UTF-8.in: Likewise.
16620 * localedata/ru_RU.UTF-8.in: Likewise.
16621 * localedata/sc_IT.UTF-8.in: Likewise.
16622 * localedata/se_NO.UTF-8.in: Likewise.
16623 * localedata/sq_AL.UTF-8.in: Likewise.
16624 * localedata/sv_SE.UTF-8.in: Likewise.
16625 * localedata/szl_PL.UTF-8.in: Likewise.
16626 * localedata/tg_TJ.UTF-8.in: Likewise.
16627 * localedata/tk_TM.UTF-8.in: Likewise.
16628 * localedata/tt_RU.UTF-8.in: Likewise.
16629 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16630 * localedata/ug_CN.UTF-8.in: Likewise.
16631 * localedata/uz_UZ.UTF-8.in: Likewise.
16632 * localedata/vi_VN.UTF-8.in: Likewise.
16633 * localedata/yi_US.UTF-8.in: Likewise.
16634 * localedata/yo_NG.UTF-8.in: Likewise.
16635 * localedata/zh_CN.UTF-8.in: Likewise.
16636 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16637 file and fix bugs in the collation.
16638 * localedata/locales/az_AZ: Likewise.
16639 * localedata/locales/be_BY: Likewise.
16640 * localedata/locales/ber_DZ: Likewise.
16641 * localedata/locales/ber_MA: Likewise.
16642 * localedata/locales/bg_BG: Likewise.
16643 * localedata/locales/br_FR: Likewise.
16644 * localedata/locales/br_FR@euro: Likewise.
16645 * localedata/locales/ca_ES: Likewise.
16646 * localedata/locales/cns11643_stroke: Likewise.
16647 * localedata/locales/crh_UA: Likewise.
16648 * localedata/locales/cs_CZ: Likewise.
16649 * localedata/locales/csb_PL: Likewise.
16650 * localedata/locales/cv_RU: Likewise.
16651 * localedata/locales/cy_GB: Likewise.
16652 * localedata/locales/da_DK: Likewise.
16653 * localedata/locales/dz_BT: Likewise.
16654 * localedata/locales/en_CA: Likewise.
16655 * localedata/locales/eo: Likewise.
16656 * localedata/locales/es_CU: Likewise.
16657 * localedata/locales/es_EC: Likewise.
16658 * localedata/locales/es_ES: Likewise.
16659 * localedata/locales/es_US: Likewise.
16660 * localedata/locales/et_EE: Likewise.
16661 * localedata/locales/fa_IR: Likewise.
16662 * localedata/locales/fi_FI: Likewise.
16663 * localedata/locales/fil_PH: Likewise.
16664 * localedata/locales/fur_IT: Likewise.
16665 * localedata/locales/gez_ER@abegede: Likewise.
16666 * localedata/locales/ha_NG: Likewise.
16667 * localedata/locales/hr_HR: Likewise.
16668 * localedata/locales/hsb_DE: Likewise.
16669 * localedata/locales/hu_HU: Likewise.
16670 * localedata/locales/ig_NG: Likewise.
16671 * localedata/locales/ik_CA: Likewise.
16672 * localedata/locales/is_IS: Likewise.
16673 * localedata/locales/iso14651_t1_pinyin: Likewise.
16674 * localedata/locales/kk_KZ: Likewise.
16675 * localedata/locales/ku_TR: Likewise.
16676 * localedata/locales/ky_KG: Likewise.
16677 * localedata/locales/ln_CD: Likewise.
16678 * localedata/locales/lt_LT: Likewise.
16679 * localedata/locales/lv_LV: Likewise.
16680 * localedata/locales/mi_NZ: Likewise.
16681 * localedata/locales/ml_IN: Likewise.
16682 * localedata/locales/mn_MN: Likewise.
16683 * localedata/locales/mr_IN: Likewise.
16684 * localedata/locales/mt_MT: Likewise.
16685 * localedata/locales/nb_NO: Likewise.
16686 * localedata/locales/om_KE: Likewise.
16687 * localedata/locales/os_RU: Likewise.
16688 * localedata/locales/pl_PL: Likewise.
16689 * localedata/locales/ps_AF: Likewise.
16690 * localedata/locales/ro_RO: Likewise.
16691 * localedata/locales/ru_RU: Likewise.
16692 * localedata/locales/ru_UA: Likewise.
16693 * localedata/locales/sc_IT: Likewise.
16694 * localedata/locales/se_NO: Likewise.
16695 * localedata/locales/si_LK: Likewise.
16696 * localedata/locales/sq_AL: Likewise.
16697 * localedata/locales/sv_FI: Likewise.
16698 * localedata/locales/sv_FI@euro: Likewise.
16699 * localedata/locales/sv_SE: Likewise.
16700 * localedata/locales/szl_PL: Likewise.
16701 * localedata/locales/tg_TJ: Likewise.
16702 * localedata/locales/ti_ER: Likewise.
16703 * localedata/locales/tk_TM: Likewise.
16704 * localedata/locales/tl_PH: Likewise.
16705 * localedata/locales/tr_TR: Likewise.
16706 * localedata/locales/tt_RU: Likewise.
16707 * localedata/locales/tt_RU@iqtelif: Likewise.
16708 * localedata/locales/ug_CN: Likewise.
16709 * localedata/locales/uk_UA: Likewise.
16710 * localedata/locales/uz_UZ: Likewise.
16711 * localedata/locales/uz_UZ@cyrillic: Likewise.
16712 * localedata/locales/vi_VN: Likewise.
16713 * localedata/locales/yi_US: Likewise.
16714 * localedata/locales/yo_NG: Likewise.
16716 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16718 * gen-locales.mk: Make test files which contain @ modifiers in their
16720 * localedata/gen-locale.sh: Likewise.
16722 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16724 * posix/tst-fnmatch.input: Fix results for range expressions
16726 * posix/tst-regexloc.c: Do not use a range expression for
16727 de_DE.ISO-8859-1 locale.
16729 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16731 * posix/bug-regex5.c: Fix test case because with the new
16732 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16733 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16736 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16738 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16739 downloaded from ISO, the collation order of @-. and space has changed.
16740 Therefore, this test file needed to be adapted.
16741 * localedata/fr_CA.UTF-8.in: Likewise.
16742 * localedata/fr_FR.UTF-8.in: Likewise.
16743 * localedata/uk_UA.UTF-8.in: Likewise.
16745 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16747 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16748 order of ȥ in the new iso14651_t1_common file.
16749 * localedata/pl_PL.UTF-8.in: Likewise.
16751 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16753 * localedata/locales/iso14651_t1_common: Add sections for various
16754 scripts to the iso14651_t1_common file.
16756 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16758 * localedata/locales/iso14651_t1_common: Use the code point of a
16759 character in the fourth collation level instead of IGNORE for all
16760 entries which have IGNORE on all 4 levels.
16762 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16764 * localedata/locales/iso14651_t1_common: Add some convenient collation
16765 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16766 rules similar to those in CLDR.
16768 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16770 * localedata/locales/iso14651_t1_common: The new version of this
16771 file downloaded from ISO contained several syntax errors which
16772 are fixed by this patch.
16774 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16776 * localedata/locales/iso14651_t1_common: replace all <U.....>
16777 with <U000.....> because glibc understands only 4 digit or 8 digit
16779 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16781 * localedata/locales/iso14651_t1_common: Necessary changes
16782 to make the file downloaded from ISO usable by glibc.
16784 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16787 * localedata/locales/iso14651_t1_common: Update file to
16788 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16790 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16792 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16793 of <nptl/pthreadP.h>
16794 (thread_attr_compare): Move function to...
16795 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16796 * sysdeps/nptl/timer_routines.h: ... new header.
16797 * sysdeps/mach/hurd/gai_misc.h: New file.
16799 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16801 * string/strcoll_l.c: Include <libc-diag.h>.
16802 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16803 declarations of seq1 and seq2.
16806 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16807 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16809 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16813 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16814 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16815 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16816 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16817 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16818 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16820 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16822 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16823 macros used in __ptrace_request.
16825 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16828 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16830 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16831 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16832 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16835 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16838 * ctype/ctype.c (tolower): Use libc_hidden_def.
16839 (toupper): Likewise.
16840 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16841 [!_ISOMAC] (toupper): Likewise.
16843 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16845 * localedata/Makefile: Remove --quiet argument when
16848 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16851 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16853 * localedata/locales/pt_PT (LC_TIME): likewise
16855 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16858 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16859 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16860 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16862 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16866 * nptl/Makefile (routines): Remove unregister-atfork.
16867 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16868 (fork_handler_alloc): Remove function.
16869 (fork_handlers, fork_handler_init): New variables.
16870 (__fork_lock): Rename to atfork_lock.
16871 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16872 to use a dynamic array to add/remove atfork handlers.
16873 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16874 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16875 Remove declaration.
16876 (fork_handler): Remove next, refcntr, and need_signal member.
16877 (__run_fork_handler_type): New enum.
16878 (__run_fork_handlers): New prototype.
16879 * nptl/register-atfork.c: Remove file.
16880 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16882 * sysdeps/nptl/nptl-signals.h: Move to ...
16883 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16885 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16886 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16887 unnecessary check for SIGTIMER.
16888 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16889 remove unnecessary removal of SIGTIMER.
16890 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16891 include-signals.h rename.
16892 * nptl/pthreadP.h: Likewise.
16893 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16894 __is_internal_signal instead of __nptl_is_internal_signal.
16896 2018-02-22 Andrew Waterman <andrew@sifive.com>
16899 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16900 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16901 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16902 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16904 2018-02-22 DJ Delorie <dj@delorie.com>
16906 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16908 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16910 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16911 do_misaligned, not misaligned8.
16913 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16915 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16916 Add memcpy_thunderx2.
16917 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16919 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16920 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16921 and IS_THUNDERX2PA checks.
16922 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16923 Use macro to set name appropriately.
16924 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16925 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16926 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16928 (IS_THUNDERX2): New macro.
16930 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16932 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16934 2018-02-21 Zack Weinberg <zackw@panix.com>
16936 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16937 Define here, unconditionally.
16938 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16939 * libio/libioP.h: Remove #if 0 blocks.
16940 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16941 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16942 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16944 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16945 Assume weak_alias is always defined.
16947 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16948 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16949 Remove #if 0 and #ifdef TODO blocks.
16950 Assume text_set_element is always defined.
16952 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16953 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16954 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16956 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16957 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16958 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16959 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16960 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16961 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16962 Reformat bit flags for _flags field to make occupancy clearer.
16964 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16965 Keep definitions consistent with those in libio/libio.h.
16967 * libio/libio.h (_IO_file_flags): Remove macro.
16968 All uses changed to _flags.
16970 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16971 (__HAVE_COLUMN, _IO_BE): Don't define.
16972 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16973 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16974 * libio/libioP.h (EOF): Don't define.
16975 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16976 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16977 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16978 testing _IO_UNIFIED_JUMPTABLES.
16980 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16981 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16982 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16983 (_IO_size_t): Delete; all uses changed to size_t.
16984 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16985 (_IO_off_t): Delete; all uses changed to off_t.
16986 (_IO_off64_t): Delete; all uses changed to off64_t.
16987 (_IO_pid_t): Delete; all uses changed to pid_t.
16988 (_IO_uid_t): Delete; all uses changed to uid_t.
16989 (_IO_wint_t): Delete; all uses changed to wint_t.
16990 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16991 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16992 (_IO_cookie_io_functions_t): Delete; all uses changed to
16993 cookie_io_functions_t.
16994 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16995 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16996 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16997 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16999 * libio/iofopncook.c: Remove unnecessary forward declarations.
17000 * libio/iolibio.h: Correct outdated commentary.
17001 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17002 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17003 Remove unnecessary casts.
17004 * stdio-common/getline.c: Use _IO_getdelim directly.
17005 Don't redefine ssize_t.
17006 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17007 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17008 Remove outdated comments.
17009 * stdio-common/vfscanf.c: Don't redefine va_list.
17011 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17012 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17013 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17014 which are always true, and __cplusplus, which is always false.
17016 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17020 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17021 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17022 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17023 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17025 [!_ISOMAC] (putc_unlocked): Likewise.
17026 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17027 define inline if [__USE_EXTERN_INLINES].
17028 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17033 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17034 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17035 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17036 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17037 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17039 * time/tzfile.c (__tzfile_read): Likewise.
17041 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17044 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17046 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17048 * io/fcntl.h: Fix a typo in a comment.
17050 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17053 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17054 define _DEFAULT_SOURCE.
17055 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17057 2018-02-21 Florian Weimer <fweimer@redhat.com>
17060 * elf/cache.c (save_cache): Call fsync on temporary file before
17062 (save_aux_cache): Call fdatasync on temporary file before renaming
17065 2018-02-21 Florian Weimer <fweimer@redhat.com>
17068 * include/caller.h: Remove file.
17069 * elf/dl-caller.c: Likewise.
17070 * elf/Makefile (dl-routines): Remove dl-caller.
17071 (shared-only-routines): Do not add dl-caller.
17072 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17074 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17076 (dl_open_worker): Do not call __check_caller.
17077 (_dl_open): Do not set caller_dl_open member.
17078 * elf/rtld.c (_rtld_global_ro): Do not initialize
17079 _dl_check_caller member.
17080 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17081 _dl_check_caller member.
17082 (_dl_check_caller): Remove declaration.
17083 * sysdeps/unix/sysv/linux/dl-execstack.c
17084 (_dl_make_stack_executable): Do not call __check_caller.
17086 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17088 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17089 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17091 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17093 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17096 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17099 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17100 of 199606L, 200112L, and 200809L.
17101 (_XOPEN_SOURCE): Document special values of 600 and 700.
17102 (_ISOC11_SOURCE): Document macro.
17103 (_ATFILE_SOURCE): Likewise.
17104 (_FORTIFY_SOURCE): Likewise.
17106 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17110 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17111 and define as weak alias of __ferror_unlocked. Use
17113 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17115 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17116 function if [__USE_EXTERN_INLINES].
17117 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17120 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17123 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17125 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17128 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17129 the GLIBC_2.1 version.
17131 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17134 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17135 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17136 intl/tst-gettext-de.po from po/de.po by removing the
17137 POT-Creation-Date line.
17138 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17140 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17143 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17145 * mach/Makefile (headers): Add mach/param.h.
17146 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17147 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17148 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17149 (__ptsname_r): Move implementation to...
17150 (__ptsname_internal): ... new function. Add filling the STP
17153 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17155 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17158 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17160 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17163 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17165 * nptl/Makefile (tst-mutex8-ENV): Delete.
17166 * nptl/tst-mutex8.c (check_type):
17167 Add runtime check if mutex will be elided.
17169 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17173 * manual/install.texi (Configuring and compiling): Describe
17174 passing CC and CFLAGS on configure command line, not as
17175 environment variables. Use @code markup on those variables.
17176 Specify what options go in CC and what go in CFLAGS. Note the
17177 requirement to compile with optimization.
17178 * INSTALL: Regenerated.
17181 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17182 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17183 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17184 __sigprocmask instead of sigprocmask.
17185 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17187 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17188 __sigsetjmp and sigprocmask.
17191 * include/argz.h (argz_next): Use libc_hidden_proto.
17192 (__argz_next): Likewise.
17193 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17194 (argz_next): Use libc_hidden_weak.
17197 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17199 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17203 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17205 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17209 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17210 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17211 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17212 (__feof_unlocked): New declaration, and inline function if
17213 [__USE_EXTERN_INLINES].
17214 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17215 instead of feof_unlocked.
17216 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17217 * nss/nsswitch.c (nss_parse_file): Likewise.
17218 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17220 * time/getdate.c (__getdate_r): Likewise.
17221 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17222 Define as macro to call __feof_unlocked.
17224 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17226 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17228 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17230 * math/Makefile: Remove mpexp.c and mplog.c
17231 * sysdeps/i386/fpu/mpexp.c: Delete file.
17232 * sysdeps/i386/fpu/mplog.c: Likewise.
17233 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17234 * sysdeps/ia64/fpu/mplog.c: Likewise.
17235 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17236 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17237 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17238 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17239 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17240 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17241 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17242 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17243 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17244 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17245 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17246 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17247 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17248 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17249 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17250 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17252 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17254 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17256 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17258 * sysdeps/sh/libm-test-ulps: Update.
17260 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17262 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17265 2018-02-12 Zack Weinberg <zackw@panix.com>
17268 * posix/sys/types.h: Don't include sys/sysmacros.h.
17269 * misc/sys/sysmacros.h: Remove the conditional deprecation
17270 warnings for the macros defined by this header.
17272 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17274 * manual/probes.texi: Remove slowexp probes.
17275 * math/Makefile: Remove slowexp.
17276 * sysdeps/generic/math_private.h (__slowexp): Remove.
17277 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17278 document error bounds.
17279 * sysdeps/i386/fpu/slowexp.c: Remove.
17280 * sysdeps/ia64/fpu/slowexp.c: Remove.
17281 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17282 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17283 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17284 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17285 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17286 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17287 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17288 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17289 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17290 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17291 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17293 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17296 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17297 * benchtests/pow-inputs: Update comment for slow path cases.
17298 * manual/probes.texi (slowpow_p10): Delete removed probe.
17299 (slowpow_p10): Likewise.
17300 * math/Makefile: Remove halfulp.c and slowpow.c.
17301 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17302 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17303 (__halfulp): Remove.
17304 (__slowpow): Remove.
17305 * sysdeps/i386/fpu/halfulp.c: Delete file.
17306 * sysdeps/i386/fpu/slowpow.c: Likewise.
17307 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17308 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17310 improve comments and add error analysis.
17311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17312 (power1): Remove function:
17313 (log1): Remove error argument, add error analysis.
17314 (my_log2): Remove function.
17315 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17316 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17317 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17318 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17319 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17320 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17321 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17322 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17323 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17324 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17325 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17326 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17327 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17328 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17330 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17332 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17333 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17335 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17338 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17339 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17340 and PTRACE_SETHBPREGS.
17342 2018-02-10 Zack Weinberg <zackw@panix.com>
17345 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17347 * malloc/tst-malloc-stats-cancellation.c: New test case.
17348 * malloc/Makefile: Add new test case.
17350 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17352 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17354 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17356 * math/Makefile (libm-narrow-fns): Add add.
17357 (libm-test-funcs-narrow): Likewise.
17358 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17359 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17360 * math/gen-auto-libm-tests.c (test_functions): Add add.
17361 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17362 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17363 (NARROW_ADD_TRIVIAL): Likewise.
17364 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17366 (__daddl): Likewise.
17367 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17369 (CFLAGS-nldbl-dadd.c): New variable.
17370 (CFLAGS-nldbl-fadd.c): Likewise.
17371 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17373 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17375 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17376 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17377 * math/auto-libm-test-in: Add tests of add.
17378 * math/auto-libm-test-out-narrow-add: New generated file.
17379 * math/libm-test-narrow-add.inc: New file.
17380 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17383 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17384 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17385 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17394 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17395 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17396 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17397 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17399 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17409 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17410 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17416 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17418 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17420 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17421 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17422 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17423 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17424 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17425 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17427 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17428 (f128-pairs): New variable.
17429 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17430 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17432 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17433 Also make tests add $(f128-loader-link) to gnulib-tests.
17435 2018-02-09 DJ Delorie <dj@redhat.com>
17438 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17439 64-bit ELF type for 64-bit ELF objects.
17441 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17443 * math/libm-test-driver.c (snan_tests_arg): New variable.
17444 * math/libm-test-support.h (snan_tests_arg): New declaration.
17445 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17447 * math/Makefile (test-type-pairs): New variable.
17448 (test-type-pairs-f64xf128-yes): Likewise.
17449 (tests): Add test-narrow-macros.
17450 (libm-test-funcs-narrow): New variable.
17451 (libm-test-c-narrow): Likewise.
17452 (generated): Add $(libm-test-c-narrow).
17453 (libm-tests-base-narrow): New variable.
17454 (libm-tests-narrow): Likewise.
17455 (libm-tests): Add $(libm-tests-narrow).
17456 (libm-tests-for-type): Handle $(libm-tests-narrow).
17457 (libm-test-c-narrow-obj): New variable.
17458 ($(libm-test-c-narrow-obj)): New rule.
17459 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17460 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17461 $(o-iterator) to set dependencies and CFLAGS.
17462 * math/gen-auto-libm-tests.c: Document use for narrowing
17464 (output_for_one_input_case): Take argument NARROW.
17465 (generate_output): Likewise. Update call to
17466 output_for_one_input_case.
17467 (main): Take --narrow option. Update call to generate_output.
17468 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17469 (apply_lit): Update call to _apply_lit.
17470 (apply_arglit): New function.
17471 (parse_args): Handle "a" arguments.
17472 (parse_auto_input): Handle format names using ":".
17473 * math/README.libm-test: Document "a" parameter type.
17474 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17475 (ARG_TYPE_TRUE_MIN): Likewise.
17476 (ARG_TYPE_MAX): Likwise.
17477 (ARG_MIN_EXP): Likewise.
17478 (ARG_MAX_EXP): Likewise.
17479 (ARG_MANT_DIG): Likewise.
17480 (TEST_COND_arg_ibm128): Likewise.
17481 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17482 (TEST_COND_arg_fmt): New macro.
17483 (init_max_error): Update prototype.
17484 * math/libm-test-support.c (test_ibm128): New variable.
17485 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17486 instead of using [TEST_COND_ibm128] conditional.
17487 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17488 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17489 [TEST_NARROW] (TEST_MSG): New definition.
17490 (arg_plus_zero): New macro.
17491 (arg_minus_zero): Likewise.
17492 (arg_plus_infty): Likewise.
17493 (arg_minus_infty): Likewise.
17494 (arg_qnan_value_pl): Likewise.
17495 (arg_qnan_value): Likewise.
17496 (arg_snan_value_pl): Likewise.
17497 (arg_snan_value): Likewise.
17498 (arg_max_value): Likewise.
17499 (arg_min_value): Likewise.
17500 (arg_min_subnorm_value): Likewise.
17501 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17502 (RUN_TEST_LOOP_aa_f): New macro.
17503 (TEST_SUFF): New macro.
17504 (TEST_SUFF_STR): Likewise.
17505 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17506 (TEST_COND_any_ibm128): New macro.
17507 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17508 this_func. Update call to init_max_error.
17509 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17510 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17511 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17512 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17513 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17514 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17515 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17516 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17517 * math/test-math-vector.h (TEST_NARROW): Likewise.
17518 * math/test-arg-double.h: New file.
17519 * math/test-arg-float128.h: Likewise.
17520 * math/test-arg-float32x.h: Likewise.
17521 * math/test-arg-float64.h: Likewise.
17522 * math/test-arg-float64x.h: Likewise.
17523 * math/test-arg-ldouble.h: Likewise.
17524 * math/test-math-narrow.h: Likewise.
17525 * math/test-narrow-macros.c: Likewise.
17526 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17527 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17528 test-narrow-macros-ldbl-64.
17529 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17531 * math/bits/mathcalls-narrow.h: New file.
17532 * include/bits/mathcalls-narrow.h: Likewise.
17533 * math/math-narrow.h: Likewise.
17534 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17535 (__MATHCALL_NARROW_ARGS_2): Likewise.
17536 (__MATHCALL_NARROW_ARGS_3): Likewise.
17537 (__MATHCALL_NARROW_NORMAL): Likewise.
17538 (__MATHCALL_NARROW_REDIR): Likewise.
17539 (__MATHCALL_NARROW): Likewise.
17540 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17541 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17543 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17544 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17545 (libm-narrow-fns): New variable.
17546 (libm-narrow-types-basic): Likewise.
17547 (libm-narrow-types-ldouble-yes): Likewise.
17548 (libm-narrow-types-float128-yes): Likewise.
17549 (libm-narrow-types-float128-alias-yes): Likewise.
17550 (libm-narrow-types): Likewise.
17551 (libm-routines): Add narrowing functions.
17552 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17553 (libc_feholdexcept_setroundf128): New macro.
17554 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17555 * sysdeps/ieee754/float128/float128_private.h: Include
17556 <math/math-narrow.h>.
17557 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17558 Undefine and redefine.
17559 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17560 (libm_alias_float_ldouble): Undefine and redefine.
17561 (libm_alias_double_ldouble): Likewise.
17563 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17565 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17567 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17570 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17572 * manual/creature.texi: Convert references to gcc.info to gcc.
17573 * manual/stdio.texi: Likewise.
17574 * manual/string.texi: Likewise.
17576 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17579 * posix/bits/types.h (__int_least8_t): New typedef.
17580 (__uint_least8_t): Likewise.
17581 (__int_least16_t): Likewise.
17582 (__uint_least16_t): Likewise.
17583 (__int_least32_t): Likewise.
17584 (__uint_least32_t): Likewise.
17585 (__int_least64_t): Likewise.
17586 (__uint_least64_t): Likewise.
17587 * sysdeps/generic/stdint.h (int_least8_t): Define using
17589 (int_least16_t): Define using __int_least16_t.
17590 (int_least32_t): Define using __int_least32_t.
17591 (int_least64_t): Define using __int_least64_t.
17592 (uint_least8_t): Define using __uint_least8_t.
17593 (uint_least16_t): Define using __uint_least16_t.
17594 (uint_least32_t): Define using __uint_least32_t.
17595 (uint_least64_t): Define using __uint_least64_t.
17596 * wcsmbs/uchar.h: Include <bits/types.h>.
17597 (char16_t): Define using __uint_least16_t conditional only on
17599 (char32_t): Define using __uint_least32_t conditional only on
17601 * wcsmbs/test-char-types.c: New file.
17602 * wcsmbs/Makefile (tests): Add test-char-types.
17604 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17607 2018-02-07 Zack Weinberg <zackw@panix.com>
17609 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17610 Delete all contents except for definitions of _G_HAVE_MMAP and
17611 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17612 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17613 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17616 * libio/libio.h: Don't include bits/_G_config.h here.
17617 Include stddef.h with __need_wchar_t defined. Include
17618 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17619 Define _IO_iconv_t here, directly.
17620 Don't define _IO_HAVE_ST_BLKSIZE.
17621 * libio/libioP.h: Include _G_config.h here. Move include of
17622 shlib-compat.h up with rest of includes. Simplify conditionals
17623 controlling definition of _IO_JUMPS_OFFSET.
17625 * csu/init.c: Remove always-true #if around entire file.
17626 Don't include stdio.h. Set _IO_stdin_used to hardwired
17627 constant 0x20001, and update commentary.
17628 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17629 Replace all uses of _G_va_list with __gnuc_va_list.
17630 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17631 instead of #if _IO_HAVE_ST_BLKSIZE.
17632 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17633 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17636 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17637 multiple-include guard to match.
17638 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17640 Remove preprocessor conditionals that are always true and/or
17641 redundant to other preprocessor conditionals in the same nest.
17642 Include shlib-compat.h unconditionally.
17643 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17644 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17645 defined after including stdio.h.
17646 Use __BEGIN_DECLS/__END_DECLS.
17648 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17649 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17650 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17652 2018-02-07 Zack Weinberg <zackw@panix.com>
17654 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17655 New single-type headers split from _G_config.h.
17656 * libio/bits/types/cookie_io_functions_t.h
17657 * libio/bits/types/struct_FILE.h
17658 New single-type headers split from libio.h.
17660 * libio/Makefile: Install the above new headers. Don't install
17661 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17663 * libio/_G_config.h, libio/libio.h: Delete file.
17665 * libio/bits/libio.h: Remove improper-inclusion guard.
17666 Include stdio.h and don't repeat anything that it does.
17667 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17668 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17669 __io_read_fn as cookie_read_function_t,
17670 __io_write_fn as cookie_write_function_t,
17671 __io_seek_fn as cookie_seek_function_t,
17672 __io_close_fn as cookie_close_function_t,
17673 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17674 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17675 here, in the "compatibility defines" section. Remove an #if 0
17676 block. Use the "body" macros from bits/types/struct_FILE.h to
17677 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17678 and _IO_ferror_unlocked.
17679 Move prototypes of __uflow and __overflow...
17681 * libio/stdio.h: ...here. Don't include bits/libio.h.
17682 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17683 directly from stdarg.h. Include bits/types/__fpos_t.h,
17684 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17685 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17686 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17687 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17688 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17689 __ssize_t, not _IO_ssize_t. Unconditionally define
17690 BUFSIZ as 8192 and EOF as (-1).
17692 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17693 macros from bits/types/struct_FILE.h instead of _IO_* macros
17694 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17695 instead of _IO_ssize_t.
17696 * libio/bits/stdio2.h: Similarly.
17698 * libio/iolibio.h: Add multiple-include guard.
17699 Include bits/libio.h after stdio.h.
17700 * libio/libioP.h: Add multiple-include guard.
17701 Include stdio.h and bits/libio.h before iolibio.h.
17703 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17704 * include/bits/types/cookie_io_functions_t.h
17705 * include/bits/types/struct_FILE.h: New wrappers.
17707 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17708 Get definitions of _G_fpos_t and _G_fpos64_t from
17709 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17710 respectively. Remove improper-inclusion guards.
17712 * conform/data/stdio.h-data: Update expectations of va_list.
17713 * scripts/check-installed-headers.sh: Remove special case for
17714 libio.h and _G_config.h.
17716 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17720 * include/sys/sysmacros.h [!_ISOMAC]
17721 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17722 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17723 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17724 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17726 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17727 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17729 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17730 Undefine and redefine to add use __gnu_dev_ prefix.
17731 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17733 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17734 and define as hidden inline function.
17735 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17737 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17739 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17740 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17741 (gnu_dev_minor): Likewise.
17742 (gnu_dev_makedev): Likewise.
17743 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17745 * posix/wordexp.c (exec_comm_child): Likewise.
17746 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17747 instead of minor and __gnu_dev_major instead of major.
17748 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17749 __gnu_dev_major instead of major.
17750 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17751 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17752 instead of gnu_dev_minor.
17753 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17754 (SLAVE_P): Likewise.
17755 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17756 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17760 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17762 * locale/weightwc.h (findidx): Likewise.
17764 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17766 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17767 (slowlog_inexact): Likewise
17768 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17769 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17771 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17774 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17775 missing second underscore to parameter name.
17777 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17783 * bits/byteswap.h: Update file comment. Do not include
17784 <bits/byteswap-16.h>.
17785 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17787 (__bswap_16): Define as inline function.
17788 (__bswap_constant_32): Reformat definition.
17789 (__bswap_32): Always define as inline function, not macro, using
17790 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17791 otherwise __bswap_constant_32.
17792 (__bswap_constant_64): Reformat definition. Do not use
17793 __extension__ here.
17794 (__bswap_64): Always define as inline function, not macro. Use
17795 __extension__ on function definition. Use __builtin_bswap64 if
17796 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17797 * string/test-endian-file-scope.c: New file.
17798 * string/test-endian-sign-conversion.c: Likewise.
17799 * string/Makefile (headers): Remove bits/byteswap-16.h.
17800 (tests): Add test-endian-file-scope and
17801 test-endian-sign-conversion.
17802 (CFLAGS-test-endian-sign-conversion.c): New variable.
17803 * bits/byteswap-16.h: Remove file.
17804 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17805 * sysdeps/ia64/bits/byteswap.h: Likewise.
17806 * sysdeps/m68k/bits/byteswap.h: Likewise.
17807 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17808 * sysdeps/s390/bits/byteswap.h: Likewise.
17809 * sysdeps/tile/bits/byteswap.h: Likewise.
17810 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17811 * sysdeps/x86/bits/byteswap.h: Likewise.
17814 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17815 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17816 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17817 199901L] (__restrict): Define to restrict.
17820 * string/testcopy.c: Include <support/support.h>. Do not include
17821 <malloc.h>. Use <support/test-driver.c>.
17822 (main): Rename to do_test. Make static. Use xmalloc instead of
17826 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17827 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17828 (SSIZE_MAX): Define to INT_MAX.
17829 * posix/test-ssize-max.c: New file.
17830 * posix/Makefile (tests): Add test-ssize-max.
17833 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17834 <support/support.h>. Do not include <malloc.h>.
17835 (query_auxv): Use xmalloc instead of malloc.
17838 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17839 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17842 2018-02-06 Florian Weimer <fweimer@redhat.com>
17845 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17846 Use scratch_buffer instead of extend_alloca.
17848 2018-02-06 Zack Weinberg <zackw@panix.com>
17850 * libio/stdio.h: Don't define getc or putc as macros.
17851 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17852 not _IO_getc and _IO_putc.
17854 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17855 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17857 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17859 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17860 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17862 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17865 * elf/elf.h (NT_PRFPREG): New macro.
17866 (NT_S390_VXRS_LOW): Likewise.
17867 (NT_S390_VXRS_HIGH): Likewise.
17868 (NT_S390_GS_CB): Likewise.
17869 (NT_S390_GS_BC): Likewise.
17870 (NT_S390_RI_CB): Likewise.
17872 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17873 (MAP_SYNC): New macro.
17874 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17876 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17877 (MAP_SYNC): Likewise.
17878 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17879 (MAP_SYNC): Likewise.
17880 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17881 (MAP_SYNC): Likewise.
17882 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17883 (MAP_SYNC): Likewise.
17884 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17885 (MAP_SYNC): Likewise.
17886 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17887 (MAP_SYNC): Likewise.
17888 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17890 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17893 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17894 (MAP_SHARED_VALIDATE): New macro.
17895 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17896 (MAP_SHARED_VALIDATE): Likewise.
17898 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17900 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17901 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17902 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17904 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17906 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17907 (DT_NUM): Updated to 35.
17909 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17911 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17912 __builtin_expect with __glibc_likely and __glibc_unlikely.
17913 (elf_machine_rela): Likewise.
17914 (elf_machine_lazy_rel): Likewise.
17916 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17919 __builtin_expect with __glibc_likely and __glibc_unlikely.
17920 (elf_machine_lazy_rel): Likewise.
17922 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17925 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17927 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17929 2018-02-05 Andreas Schwab <schwab@suse.de>
17932 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17935 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17937 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17938 not check against PTHREAD_STACK_MIN.
17940 2018-02-02 Sean McKean <smckean83@gmail.com>
17943 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17945 2018-02-02 Florian Weimer <fweimer@redhat.com>
17948 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17949 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17950 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17951 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17952 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17953 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17954 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17955 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17956 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17957 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17958 * misc/tst-preadvwritev2.c (do_test): Call it.
17959 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17961 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17963 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17965 * benchtests/bench-memcmp.c: Print json instead of plain text.
17967 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17970 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17972 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17974 (s390_sthyi): New syscall.
17976 * sysdeps/generic/ldbl-classify-compat.h: New file.
17977 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17978 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17979 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17980 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17981 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17982 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17983 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17984 <ldbl-classify-compat.h>.
17985 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17986 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17987 <ldbl-classify-compat.h>.
17988 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17989 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17990 <ldbl-classify-compat.h>.
17991 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17992 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17993 <ldbl-classify-compat.h>.
17994 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17996 <ldbl-classify-compat.h>.
17997 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17999 <ldbl-classify-compat.h>.
18000 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18001 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18002 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18003 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18004 * sysdeps/microblaze/math_private.h: Likewise.
18005 * sysdeps/nios2/math_private.h: Likewise.
18006 * sysdeps/sh/math_private.h: Likewise.
18008 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18009 * sysdeps/m68k/coldfire/math_private.h: ... here.
18010 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18011 * sysdeps/tile/math_private.h: Likewise.
18012 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18014 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18017 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18019 (libc_fetestexcept): Likewise.
18020 (libc_feupdateenv_test): Likewise.
18021 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18022 (libc_fetestexcept): Likewise.
18023 (libc_feupdateenv_test): Likewise.
18024 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18025 (libc_fetestexcept): Likewise.
18026 (libc_feupdateenv_test): Likewise.
18027 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18028 (libc_fetestexcept): Likewise.
18029 (libc_feupdateenv_test): Likewise.
18031 * sysdeps/generic/math_private.h
18032 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18033 New inline function.
18034 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18037 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18038 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18039 * sysdeps/generic/math_private.h
18040 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18042 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18044 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18046 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18048 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18050 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18052 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18053 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18054 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18055 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18056 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18057 (__fegetenv): Likewise.
18058 (fesetenv): Likewise.
18059 (__fesetenv): Likewise.
18060 (feupdateenv): Likewise.
18061 (__feupdateenv): Likewise.
18062 (fegetround): Likewise.
18063 (__fegetround): Likewise.
18064 (fesetround): Likewise.
18065 (__fesetround): Likewise.
18067 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18068 (feraiseexcept): New macro.
18069 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18070 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18072 (__feraiseexcept): Likewise.
18073 (feclearexcept): Likewise.
18074 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18075 (__feraiseexcept): Likewise.
18076 (feclearexcept): Likewise.
18077 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18078 (__feraiseexcept): Likewise.
18079 (feclearexcept): Likewise.
18080 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18081 (__feraiseexcept): Likewise.
18082 (feclearexcept): Likewise.
18083 (fetestexcept): Likewise.
18085 * sysdeps/m68k/coldfire/math-tests.h: New file.
18087 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18088 * sysdeps/m68k/bits/fenv.h: ... here.
18089 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18091 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18093 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18095 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18097 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18099 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18101 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18102 (__FE_UNDEFINED): New enum constant.
18103 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18105 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18107 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18109 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18110 to match generic bits/fenv.h.
18111 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18114 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18116 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18117 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18118 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18119 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18121 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18122 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18123 Joseph Myers <joseph@codesourcery.com>
18126 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18127 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18128 computation using c.
18129 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18130 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18131 computation using c.
18133 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18135 * version.h (RELEASE): Set to "development".
18136 (VERSION): Set to "2.27.9000".
18137 * NEWS (2.28): New section.
18139 * version.h (RELEASE): Set to "stable".
18140 (VERSION): Set to "2.27".
18141 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18143 * NEWS: Add the list of bugs fixed in 2.27.
18145 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18147 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18148 against PTHREAD_STACK_MIN.
18150 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18152 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18154 (Rafal Luzynski, Andreas Schwab): Update.
18156 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18159 * NEWS: List the languages which actually use the alternative
18160 months feature in this release. Also explain that "alt_mon" and
18161 "ab_alt_mon" are optional.
18163 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18166 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18168 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18170 * manual/install.texi (Tools for Compilation): Update the newest
18171 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18172 * INSTALL: Regenerated.
18174 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18176 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18177 instead of __builtin_expect.
18179 2018-01-30 Florian Weimer <fweimer@redhat.com>
18181 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18183 * nss/tst-nss-getpwent.c (do_test): Likewise.
18185 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18188 * localedata/locales/hr_HR (mon): Rename to...
18190 (mon): Import from CLDR (genitive case).
18191 (d_t_fmt): Update the comment.
18193 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18195 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18196 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18197 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18199 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18201 * mach/Versions: Fix version when __mach_host_self_ was added.
18202 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18203 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18204 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18205 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18206 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18207 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18208 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18209 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18210 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18211 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18212 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18213 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18214 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18215 || to respect codestyle.
18216 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18217 (do_test_bz20181): Rename accordingly.
18218 * malloc/malloc.c: Include <assert.h>.
18219 (assert): Do not define.
18220 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18221 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18222 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18223 * sysdeps/mach/hurd/hp-timing.h: New file.
18224 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18226 2018-01-29 Darius Rad <darius@bluespec.com>
18228 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18230 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18232 * sysdeps/init_array/crti.S (.section .init_array): Add
18233 PREINIT_FUNCTION when defined.
18234 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18235 * config.h.in: Regenerate.
18236 * manual/platform.texi: Add RISC-V documenation for
18237 __riscv_flush_icache.
18238 * sysdeps/riscv/__longjmp.S: New file.
18239 * sysdeps/riscv/backtrace.c: Likewise.
18240 * sysdeps/riscv/bits/endian.h: Likewise.
18241 * sysdeps/riscv/bits/setjmp.h: Likewise.
18242 * sysdeps/riscv/bits/wordsize.h: Likewise.
18243 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18244 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18245 * sysdeps/riscv/dl-trampoline.S: Likewise.
18246 * sysdeps/riscv/gccframe.h: Likewise.
18247 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18248 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18249 * sysdeps/riscv/machine-gmon.h: Likewise.
18250 * sysdeps/riscv/memusage.h: Likewise.
18251 * sysdeps/riscv/setjmp.S: Likewise.
18252 * sysdeps/riscv/sys/asm.h: Likewise.
18253 * sysdeps/riscv/tls-macros.h: Likewise.
18254 * sysdeps/riscv/dl-tls.h: New file.
18255 * sysdeps/riscv/libc-tls.c: Likewise.
18256 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18257 * sysdeps/riscv/nptl/tls.h: Likewise.
18258 * sysdeps/riscv/stackinfo.h: Likewise.
18259 * sysdeps/riscv/bits/fenv.h: New file.
18260 * sysdeps/riscv/e_sqrtl.c: Likewise.
18261 * sysdeps/riscv/fpu_control.h: Likewise.
18262 * sysdeps/riscv/math-tests.h: Likewise.
18263 * sysdeps/riscv/nofpu/Implies: Likewise.
18264 * sysdeps/riscv/sfp-machine.h: Likewise.
18265 * sysdeps/riscv/tininess.h: Likewise.
18266 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18267 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18268 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18269 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18270 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18271 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18272 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18273 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18274 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18275 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18276 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18277 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18278 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18279 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18280 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18281 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18282 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18283 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18284 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18285 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18286 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18287 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18288 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18289 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18290 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18291 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18292 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18293 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18294 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18295 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18296 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18297 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18298 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18299 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18300 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18301 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18302 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18303 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18304 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18305 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18306 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18307 * sysdeps/riscv/rvf/math_private.h: Likewise.
18308 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18309 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18310 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18311 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18312 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18313 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18314 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18315 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18316 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18317 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18318 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18319 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18320 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18321 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18322 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18323 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18324 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18325 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18326 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18327 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18328 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18329 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18330 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18331 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18332 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18333 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18334 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18335 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18336 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18337 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18338 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18339 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18340 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18341 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18342 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18343 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18344 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18345 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18346 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18347 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18348 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18349 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18350 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18351 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18352 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18353 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18354 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18355 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18356 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18357 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18358 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18359 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18360 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18361 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18362 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18363 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18364 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18365 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18366 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18367 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18368 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18372 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18376 * sysdeps/riscv/Implies: New file.
18377 * sysdeps/riscv/Makefile: Likewise.
18378 * sysdeps/riscv/configure: Likewise.
18379 * sysdeps/riscv/configure.ac: Likewise.
18380 * sysdeps/riscv/nptl/Makefile: Likewise.
18381 * sysdeps/riscv/preconfigure: Likewise.
18382 * sysdeps/riscv/rv64/Implies-after: Likewise.
18383 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18384 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18385 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18386 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18387 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18388 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18389 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18390 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18391 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18392 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18393 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18394 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18395 (Config): Likewise.
18397 2018-01-29 Florian Weimer <fweimer@redhat.com>
18400 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18401 libnsl_hidden_proto.
18402 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18403 libnsl_hidden_proto.
18404 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18405 * nis/Makefile (libnsl-routines): Add nss-default only for
18406 build-obsolete-nsl.
18407 * nis/nis_defaults.c (__nis_default_ttl): Add
18408 libnsl_hidden_nolink_def.
18409 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18411 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18412 * nis/ypclnt.c (yp_maplist): Likewise.
18414 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18416 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18417 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18419 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18421 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18422 clean -dxfq for git updates when replacing sources.
18424 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18425 --disable-libcilkrts unconditionally, not just for the final GCC
18428 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18431 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18434 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18437 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18440 * localedata/locales/be_BY (mon): Rename to...
18441 (alt_mon): This, then synchronize with CLDR (nominative case).
18442 (abmon): Rename to...
18443 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18444 (mon): Import from CLDR (genitive case).
18446 * localedata/locales/be_BY@latin (mon): Rename to...
18448 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18450 * localedata/locales/be_BY@latin (lang_name): Reworded to
18451 "biełaruskaja mova".
18453 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18456 * localedata/locales/el_CY (mon): Renamed to...
18458 (mon): Import from CLDR (genitive case).
18459 * localedata/locales/el_GR: Likewise.
18461 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18464 * localedata/locales/ru_RU (mon): Rename to...
18466 (abmon): Rename to...
18467 (ab_alt_mon): This.
18468 (mon): Import from CLDR (genitive case).
18469 (abmon): Copy from the old content except the 5th month which is
18470 now in the genitive case, even when abbreviated.
18471 * localedata/locales/ru_UA: Likewise.
18472 * time/tst-strptime.c (day_tests): Add an actual example of
18473 a difference between %b and %Ob in Russian.
18475 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18477 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18478 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18480 * resolv/res-close.c: Include <stdlib.h>.
18481 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18482 <sys/wait.h>, <time.h>, <sys/uio.h>.
18483 (NOT_CANCEL_H): Add inclusion guard.
18484 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18485 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18486 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18488 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18489 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18490 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18492 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18493 timer_ptr2id to cast struct timer_node * to void *.
18494 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18495 --disable-libcilkrts to gcc configure.
18496 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18497 and make them the default for now.
18498 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18499 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18500 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18501 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18502 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18504 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18505 __task_terminate would ever return successfully.
18506 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18508 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18509 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18510 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18511 critical section to make code simpler and avoid warning.
18512 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18513 critical section to make code simpler and avoid warning.
18514 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18515 const char * instead of char *.
18516 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18517 __hurd_file_name_split, hurd_file_name_split,
18518 __hurd_directory_name_split, hurd_directory_name_split,
18519 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18520 hurd_file_name_path_lookup): Make lookup function parameter take a
18521 const char *name instead of char *name.
18522 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18523 __hurd_directory_name_split): Likewise.
18524 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18525 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18526 * sysdeps/mach/hurd/check_native.c: New file.
18527 * sysdeps/mach/hurd/check_pf.c: New file.
18528 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18529 (__freeifaddrs): Define macro to freeifaddrs.
18530 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18531 * sysdeps/mach/libmachuser.abilist: New file.
18532 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18533 (do_test_bz20181): Rename accordingly.
18534 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18535 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18537 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18538 version only if __USE_EXTERN_INLINES is defined.
18539 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18540 __hurd_sockfail): Likewise.
18541 (_hurd_fd_get): Always declare functions, and provide inline versions
18542 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18543 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18544 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18545 _hurd_port_set): Always declare functions, and provide inline versions
18546 only if __USE_EXTERN_INLINES and _LIBC are defined and
18548 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18549 _hurd_critical_section_unlock): Likewise.
18550 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18551 * __hurd_threadvar_location): Likewise.
18552 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18553 _hurd_userlink_clear): Likewise.
18554 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18555 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18556 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18557 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18558 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18559 __spin_lock_locked): Likewise.
18560 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18561 __spin_lock_locked): Likewise.
18562 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18563 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18564 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18565 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18566 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18567 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18568 _POSIX_NO_TRUNC): Define to 0.
18569 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18570 check size against PTHREAD_STACK_MIN.
18571 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18572 IS_IN(libpthread)]: Include <sigsetops.h>.
18573 * mach/Makefile (user-interfaces): Add mach/gnumach.
18574 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18575 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18576 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18577 instead of invalid -1.
18578 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18579 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18580 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18583 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18585 * hurd/fcntl-internal.h: New file.
18587 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18589 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18591 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18593 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18596 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18597 Build only shared objects.
18599 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18601 * README: Update for hppa.
18603 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18605 * sysdeps/sparc/fpu/libm-test-ulps: Update
18606 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18608 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18612 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18615 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18616 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18617 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18618 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18621 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18624 * bits/types/__cancel_jmp_buf_tag.h: New file.
18625 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18626 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18627 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18628 * nptl/Makefile (headers): Add
18629 bits/types/__cancel_jmp_buf_tag.h.
18630 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18631 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18632 * sysdeps/nptl/pthread.h: Include
18633 <bits/types/__cancel_jmp_buf_tag.h>.
18634 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18636 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18638 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18641 * localedata/locales/uk_UA (mon): Renamed to...
18643 (alt_digits): "0" removed and then renamed to...
18645 (date_fmt): Definition changed not to use the alternative
18648 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18650 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18651 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18652 * elf/elf.h (EF_RISCV_RVC): New define.
18653 (EF_RISCV_FLOAT_ABI): Likewise.
18654 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18655 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18656 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18657 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18658 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18660 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18662 2018-01-25 Andreas Schwab <schwab@suse.de>
18664 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18666 * sysdeps/gnu/configure: Regenerate.
18667 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18668 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18670 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18671 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18672 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18673 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18674 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18676 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18678 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18679 URL, and run autoconf, make it the default for now.
18681 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18683 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18684 soft-float ColdFire configuration.
18686 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18687 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18688 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18690 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18693 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18695 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18697 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18700 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18701 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18702 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18705 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18708 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18709 Rename to __reserved and add comment.
18710 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18711 Rename to __reserved.
18713 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18715 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18716 i686-gnu configurations.
18717 (Context.run_builds): Include mig, gnumach and hurd in components
18719 (Context.checkout): Add mig, gnumach and hurd to components.
18720 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18722 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18723 (Config.build): Install gnumach headers, build mig and install
18724 hurd headers for 'gnu' OS.
18725 (Config.install_gnumach_headers): New function.
18726 (Config.install_hurd_headers): Likewise.
18727 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18728 when building for 'gnu' OS.
18730 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18732 * manual/tunables.texi (Hardware Capability Tunables): Fix
18735 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18737 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18738 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18739 (ALTMON_11, ALTMON_12): Improve documentation.
18740 * manual/time.texi (strftime): Likewise.
18742 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18745 * localedata/locales/pl_PL: Alternative month names added,
18746 primary month names are genitive now.
18747 * time/tst-strptime.c (day_tests): Actually use a genitive case
18748 of a month name in Polish language.
18750 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18753 * manual/locale.texi: Document ALTMON_1..12 constants for
18754 nl_langinfo. Specify when to use ALTMON instead of MON.
18755 * manual/time.texi (strftime, strptime): Document GNU extension
18756 permitting O modifier with %B and %b. Specify when to use
18759 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18762 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18763 names, define them as the same as abbreviated month names explicitly.
18764 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18765 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18766 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18767 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18768 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18769 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18770 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18771 _NL_WABALTMON_12): New enum constants.
18772 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18773 wab_alt_mon, and ab_alt_mon_defined members.
18774 (time_output): Output ab_alt_mon and wab_alt_mon members.
18775 (time_read): Read them, initialize them as copies of abmon and wabmon
18776 respectively if they are missing, initialize ab_alt_mon_defined.
18777 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18778 * locale/programs/locfile-kw.h: Regenerate.
18779 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18780 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18782 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18783 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18784 (__strftime_internal): Handle %Ob and %Oh formats.
18785 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18786 (__strptime_internal): Handle %Ob and %Oh formats.
18787 * time/tst-strptime.c (day_tests): Add more tests to parse different
18788 forms of month names including the new %Ob format specifier.
18790 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18793 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18794 define them as the same as primary full month names explicitly.
18795 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18796 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18797 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18798 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18799 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18800 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18801 _NL_WALTMON_12): New enum constants.
18802 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18803 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18805 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18806 walt_mon, and alt_mon_defined members.
18807 (time_output): Output alt_mon and walt_mon members.
18808 (time_read): Read them, initialize them as copies of mon and wmon
18809 respectively if they are missing, initialize alt_mon_defined.
18810 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18811 * locale/programs/locfile-kw.h: Regenerate.
18812 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18813 * localedata/tst-langinfo.c (map): Add tests for the new constants
18814 ALTMON_1 .. ALTMON_12.
18815 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18817 * time/strftime_l.c (f_altmonth): New macro.
18818 (__strftime_internal): Handle %OB format.
18819 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18820 (__strptime_internal): Handle %OB format.
18821 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18822 of month names including the new %OB format specifier.
18824 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18827 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18828 from ABORT_TRANSACTION.
18829 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18830 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18831 ABORT_TRANSACTION_IMPL): Likewise.
18832 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18833 Linux code, but remove the code that aborts transactions.
18835 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18837 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18839 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18841 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18842 in date: "2004-14-09" should be "2004-09-14".
18843 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18844 "2003-15-09" should be "2003-09-15".
18846 2018-01-18 Arjun Shankar <arjun@redhat.com>
18852 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18854 (_int_memalign): check for integer overflow before calling
18856 * malloc/tst-malloc-too-large.c: New test.
18857 * malloc/Makefile: Add tst-malloc-too-large.
18859 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18861 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18862 in date: "2017-24-07" should be "2017-07-24".
18863 * localedata/locales/mai_IN: Likewise.
18864 * localedata/locales/mai_NP: Likewise.
18866 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18868 * po/ru.po: Update translations.
18870 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18873 * sysdeps/hppa/backtrace.c: New file.
18875 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18878 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18879 align La_x86_64_retval to VEC_SIZE.
18881 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18883 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18884 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18886 2018-01-16 Florian Weimer <fweimer@redhat.com>
18888 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18889 Move tst-thread-exit-clobber ...
18890 [$(CXX)] (tests-unsupported): ... to here.
18892 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18894 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18895 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18896 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18897 (_dl_aarch64_cap_flags): Update.
18898 (_DL_HWCAP_COUNT): Update.
18900 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18902 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18903 (_DL_HWCAP_LAST): Remove.
18904 (_DL_HWCAP_COUNT): Move to ...
18905 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18906 (_DL_HWCAP_COUNT): ... here.
18908 2018-01-16 Florian Weimer <fweimer@redhat.com>
18910 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18911 mode with GNU extensions.
18913 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18915 * elf/elf.h (NT_ARM_SVE): Define.
18917 2018-01-15 Florian Weimer <fweimer@redhat.com>
18920 * nptl/tst-minstack-throw.cc: New file.
18921 * nptl/Makefile (tests): Add tst-minstack-throw.
18922 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18923 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18925 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18927 * scripts/build-many-glibcs.py (Context.checkout): Default
18928 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18931 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18934 * elf/elf.h (DF_1_STUB): Define.
18935 (DF_1_PIE): Define.
18937 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18940 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18941 Do not add 0.5 to integer or out-of-range arguments.
18943 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18945 * po/bg.po: Update translations.
18946 * po/cs.po: Likewise.
18947 * po/de.po: Likewise.
18948 * po/ko.po: Likewise.
18949 * po/pl.po: Likewise.
18950 * po/sv.po: Likewise.
18951 * po/uk.po: Likewise.
18952 * po/vi.po: Likewise.
18954 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18956 * aarch64/start.S (_start): Use __wrap_main.
18957 (__wrap_main): New local symbol.
18959 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18963 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18964 generic_getcwd if the path returned by getcwd syscall is not absolute.
18965 * io/tst-getcwd-abspath.c: New test.
18966 * io/Makefile (tests): Add tst-getcwd-abspath.
18968 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18970 * malloc/malloc.c (malloc_consolidate): Add size check.
18972 2018-01-12 Florian Weimer <fweimer@redhat.com>
18974 * support/write_message.c (write_message): Preserve errno.
18975 * support/check.c (print_failure): Likewise.
18976 * support/support_test_verify_impl.c (support_test_verify_impl):
18978 * support/support_test_compare_failure.c
18979 (support_test_compare_failure): Likewise.
18981 2018-01-12 Florian Weimer <fweimer@redhat.com>
18984 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18985 Prevent installation of libnsl.so.
18986 (libnsl-inhibit-o): Do not build (or install) static libraries.
18988 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18991 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18992 before the day number which may produce a double space.
18993 (date_fmt): Likewise.
18995 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18997 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18998 instead of fegetenv.
19000 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19003 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19004 comment to say exceptions are discarded.
19005 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19007 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19010 2018-01-11 Florian Weimer <fweimer@redhat.com>
19012 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19015 2018-01-11 Florian Weimer <fweimer@redhat.com>
19018 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19019 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19021 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19024 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19025 negative arguments in test for NaN or infinity argument.
19027 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19029 * po/libc.pot: Regenerate.
19031 2018-01-10 Florian Weimer <fweimer@redhat.com>
19034 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19035 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19037 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19039 * hurd/hurd/fd.h: Include <fcntl.h>
19040 (__hurd_at_flags): New function.
19041 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19042 with call to __hurd_at_flags.
19043 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19044 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19046 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19047 (__access_noerrno): Use __faccessat_common instead of access_common.
19048 (__access): Likewise.
19049 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19050 with a call to __faccessat.
19051 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19052 (__faccessat_common): ... this. Move implementation of __access into it when
19053 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19054 reauthenticate_cwdir_at helper to implement AT mechanism.
19055 (__faccessat_noerrno): New function, just calls __faccessat_common.
19056 (__faccessat): New function, just calls __faccessat_common.
19057 (faccessat): Define weak alias.
19059 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19062 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19063 (CFLAGS-s_fmaxmagl.c): New variable.
19064 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19068 long int for arguments of possibly overflowing addition or
19070 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19072 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19075 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19076 (CFLAGS-e_remainderl.c): New variable.
19079 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19081 (CFLAGS-s_cacoshl.c): Likewise.
19082 (CFLAGS-s_casinhl.c): Likewise.
19083 (CFLAGS-s_catanl.c): Likewise.
19084 (CFLAGS-s_catanhl.c): Likewise.
19085 (CFLAGS-s_cexpl.c): Likewise.
19086 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19087 (CFLAGS-s_csinhl.c): Likewise.
19088 (CFLAGS-s_clogl.c): Likewise.
19089 (CFLAGS-s_clog10l.c): Likewise.
19090 (CFLAGS-s_csinl.c): Likewise.
19091 (CFLAGS-s_csqrtl.c): Likewise.
19093 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19094 2017-01-09 Svante Signell <svante.signell@gmail.com>
19096 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19097 (_hurd_exec_paths): New function.
19098 * hurd/hurd.h (_hurd_exec): Deprecate function.
19099 (_hurd_exec_paths): Declare function.
19100 * hurd/Versions: Export _hurd_exec_paths.
19101 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19102 (__execve): Use __getcwd to build absolute path, and use
19103 _hurd_exec_paths instead of _hurd_exec.
19104 * sysdeps/mach/hurd/spawni.c: Likewise.
19105 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19108 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19110 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19111 test instead of failing in case of ENOENT returned by posix_openpt.
19113 2018-01-08 Florian Weimer <fweimer@redhat.com>
19115 resolv: Support binary labels in test framework.
19116 * support/resolv_test.c (struct to_be_freed): Remove.
19117 (struct compressed_name): New.
19118 (allocate_compressed_name, ascii_tolower)
19119 (compare_compressed_name): New functions.
19120 (struct resolv_response_builder): Update type of
19121 compression_offsets for use with tsearch. Rempve to_be_freed.
19122 (response_push_pointer_to_free): Remove function.
19123 (resolv_response_add_name): Rewrite using struct compressed_name
19124 and tsearch instead of hsearch_r.
19125 (response_builder_allocate): Remove initialization of
19126 compression_offsets.
19127 (response_builder_free): Update for removal of to_be_freed. Use
19128 tdestroy instead of hdestroy_r.
19129 * resolv/Makefile (tests): Add tst-resolv-binary.
19130 (tst-resolv-binary): Link with -lresolv -lpthread.
19132 2018-01-08 Florian Weimer <fweimer@redhat.com>
19134 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19135 time. Pass positive flag instead of negative flag to
19136 support_test_compare_failure.
19137 (support_test_compare_failure): Change negative parameter to
19139 * support/support_test_compare_failure.c (report)
19140 (support_test_compare_failure): Likewise.
19141 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19142 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19144 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19147 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19148 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19149 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19151 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19153 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19155 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19156 Add s_sincosf-sse2 and s_sincosf-fma.
19157 (CFLAGS-s_sincosf-fma.c): New.
19158 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19159 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19160 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19161 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19162 __sincosf is defined.
19164 2018-01-08 Florian Weimer <fweimer@redhat.com>
19166 * nptl/tst-thread-exit-clobber.cc: New file.
19167 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19169 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19170 (tests): Add tst-thread-exit-clobber.
19171 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19173 2018-01-08 Florian Weimer <fweimer@redhat.com>
19175 * support/check.h (support_static_assert): Define.
19176 (TEST_COMPARE): Use it.
19178 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19180 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19181 [!__RLIM_T_MATCHES_RLIM64_T]
19182 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19183 __getrlimit64. Add libc_hidden_weak.
19185 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19187 * elf/elf.h (R_RISCV_NONE): New define.
19188 (R_RISCV_32): Likewise.
19189 (R_RISCV_64): Likewise.
19190 (R_RISCV_RELATIVE): Likewise.
19191 (R_RISCV_COPY): Likewise.
19192 (R_RISCV_JUMP_SLOT): Likewise.
19193 (R_RISCV_TLS_DTPMOD32): Likewise.
19194 (R_RISCV_TLS_DTPMOD64): Likewise.
19195 (R_RISCV_TLS_DTPREL32): Likewise.
19196 (R_RISCV_TLS_DTPREL64): Likewise.
19197 (R_RISCV_TLS_TPREL32): Likewise.
19198 (R_RISCV_TLS_TPREL64): Likewise.
19199 * Makerules (make-link-multidir): Make directories before linking into
19201 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19203 (VDSO_HASH_LINUX_4_15): Likewise.
19204 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19205 in subdirectories of lib.
19206 * nptl/Makefile (/librt.so): Always depend on
19207 "$(shared-thread-library)".
19209 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19211 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19212 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19213 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19215 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19216 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19218 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19219 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19220 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19221 * sysdeps/gnu/glob-lstat-compat.c: New file.
19222 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19223 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19225 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19227 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19228 Reserve 16 chars to reloc_addr before calling _itoa_word.
19230 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19233 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19234 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19236 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19237 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19239 * resource/tst-getrlimit.c: Add copyright header.
19241 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19242 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19244 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19245 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19246 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19247 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19249 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19250 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19251 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19252 RLIM64_INFINITY): Fix values to match the kernel ones.
19253 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19254 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19255 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19256 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19257 getrlimit64@@GLIBC_2_27.
19258 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19260 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19261 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19262 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19263 setrlimit, getrlimit64 and setrlimit64.
19265 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19268 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19269 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19271 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19273 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19274 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19275 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19277 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19281 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19282 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19286 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19287 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19288 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19289 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19291 2018-01-04 Florian Weimer <fweimer@redhat.com>
19294 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19295 Align the stack before calling exit.
19296 * stdlib/tst-makecontext-align.c: New file.
19297 * stdlib/Makefile (tests): Add tst-makecontext-align.
19299 2018-01-04 Florian Weimer <fweimer@redhat.com>
19301 Add support for calling dlvsym from libc.so.
19302 * include/dlfcn.h (__libc_dlvsym): Declare.
19303 * elf/Makefile (tests-static-internal): Add
19304 tst-libc_dlvsym-static.
19305 (tests-internal): Add tst-libc_dlvsym.
19306 (modules-names): Add tst-libc_dlvsym-dso.
19307 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19308 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19309 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19310 object tst-libc_dlvsym-dso.so needs to be built before running
19312 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19313 * elf/Versions: Export __libc_dlvsym.
19314 * elf/dl-libc.c (struct do_dlvsym_args): New.
19315 (do_dlvsym, __libc_dlvsym): New functions.
19316 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19317 (_dl_open_hook2): New variable.
19318 (__libc_register_dl_open_hook): Set it.
19319 * elf/tst-libc_dlvsym-dso.c: New file.
19320 * elf/tst-libc_dlvsym-static.c: Likewise.
19321 * elf/tst-libc_dlvsym.c: Likewise.
19322 * elf/tst-libc_dlvsym.h: Likewise.
19324 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19326 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19327 include <sys/mount.h>.
19329 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19331 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19332 Add __NO_MATH_ERRNO__ check.
19334 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19336 * sysdeps/mips/mips32/libm-test-ulps: Update.
19337 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19339 2018-01-02 Florian Weimer <fweimer@redhat.com>
19341 * misc/tst-pselect.c: Add copyright header.
19343 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19345 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19347 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19349 (settrlimit): Rename into setrlimit.
19350 (__sttrlimit): Rename into __setrlimit.
19352 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19353 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19354 never defined in that case.
19356 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19358 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19360 * sysdeps/arm/libm-test-ulps: Update.
19362 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19363 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19365 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19367 * NEWS: Add cosf and sincosf to list of optimized functions.
19369 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19372 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19373 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19374 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19375 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19377 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19380 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19382 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19383 making a copy of it.
19385 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19387 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19388 trailing whitespace removed.
19389 * scripts/config.guess: Update to version 2018-01-01.
19390 * scripts/config.sub: Update to version 2018-01-01.
19391 * scripts/move-if-change: Update from gnulib.
19393 * NEWS: Update copyright dates.
19394 * catgets/gencat.c (print_version): Likewise.
19395 * csu/version.c (banner): Likewise.
19396 * debug/catchsegv.sh: Likewise.
19397 * debug/pcprofiledump.c (print_version): Likewise.
19398 * debug/xtrace.sh (do_version): Likewise.
19399 * elf/ldconfig.c (print_version): Likewise.
19400 * elf/ldd.bash.in: Likewise.
19401 * elf/pldd.c (print_version): Likewise.
19402 * elf/sotruss.sh: Likewise.
19403 * elf/sprof.c (print_version): Likewise.
19404 * iconv/iconv_prog.c (print_version): Likewise.
19405 * iconv/iconvconfig.c (print_version): Likewise.
19406 * locale/programs/locale.c (print_version): Likewise.
19407 * locale/programs/localedef.c (print_version): Likewise.
19408 * login/programs/pt_chown.c (print_version): Likewise.
19409 * malloc/memusage.sh (do_version): Likewise.
19410 * malloc/memusagestat.c (print_version): Likewise.
19411 * malloc/mtrace.pl: Likewise.
19412 * manual/libc.texinfo: Likewise.
19413 * nptl/version.c (banner): Likewise.
19414 * nscd/nscd.c (print_version): Likewise.
19415 * nss/getent.c (print_version): Likewise.
19416 * nss/makedb.c (print_version): Likewise.
19417 * posix/getconf.c (main): Likewise.
19418 * scripts/test-installation.pl: Likewise.
19419 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19421 * All files with FSF copyright notices: Update copyright dates
19422 using scripts/update-copyrights.
19423 * locale/programs/charmap-kw.h: Regenerated.
19424 * locale/programs/locfile-kw.h: Likewise.
19426 2017-12-31 Zack Weinberg <zackw@panix.com>
19428 * libio/bits/libio-ldbl.h: Correct check for improper
19429 inclusion. Add own multiple include guard.
19431 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19432 Dmitry V. Levin <ldv@altlinux.org>
19436 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19437 string token expansion. Check for NULL pointer or empty string possibly
19438 returned by expand_dynamic_string_token.
19439 (decompose_rpath): Check for empty path after dynamic string
19442 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19445 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19447 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19448 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19449 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19450 and PTRACE_SYSCALL.
19451 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19452 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19455 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19456 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19458 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19459 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19460 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19461 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19463 bits/ptrace-shared.h.
19464 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19465 <bits/ptrace-shared.h>.
19466 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19467 __ptrace_peeksiginfo_flags, ptrace): Remove.
19468 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19469 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19470 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19471 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19472 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19474 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19477 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19478 end of the loop. Improve comments.
19480 2017-12-29 Zack Weinberg <zackw@panix.com>
19483 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19484 might be set on success.
19486 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19489 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19490 is unchanged on success.
19492 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19494 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19496 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19497 expand_dynamic_string_token): Likewise.
19498 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19501 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19504 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19505 is set and name contains ':', and all code depending on these checks.
19507 2017-12-24 Zack Weinberg <zackw@panix.com>
19509 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19510 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19512 * libio/libio.h: Rename the original version of this file to
19513 libio/bits/libio.h. Error out if not included by stdio.h or the
19515 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19516 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19517 if not included by bits/libio.h or the stub _G_config.h.
19518 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19519 sysdeps/unix/sysv/linux/bits. Error out if not included by
19520 bits/libio.h or the stub _G_config.h.
19521 * libio/stdio.h: Include bits/libio.h, not libio.h.
19522 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19523 well as libio.h and _G_config.h.
19525 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19526 * libio/strfile.h, stdio-common/vfscanf.c
19527 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19528 Include stdio.h, not _G_config.h nor libio.h.
19529 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19530 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19532 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19534 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19537 * stdlib/getrandom.c (getrandom): Fix comment.
19538 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19540 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19543 * manual/arith.texi (strtoul): Fix a typo.
19546 * manual/arith.texi (finite): Fix the description of the return
19549 2017-12-22 Eric Blake <ebb9@byu.net>
19551 Avoid gcc warnings on cygwin
19552 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19553 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19554 Avoid unused variable.
19556 2017-12-22 Florian Weimer <fweimer@redhat.com>
19558 * io/Makefile (routines): Add copy_file_range.
19559 (tests): Add tst-copy_file_range.
19560 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19561 * io/Versions (GLIBC_2.27): Export copy_file_range.
19562 * io/copy_file_range-compat.c: New file.
19563 * io/copy_file_range.c: Likewise.
19564 * io/tst-copy_file_range-compat.c: Likewise.
19565 * io/tst-copy_file_range.c: Likewise.
19566 * manual/llio.texi (Copying File Data): New section.
19567 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19568 * support/Makefile (libsupport-routines): Add support-xfstat,
19569 xftruncate, xlseek.
19570 * support/support-xfstat.c: New file.
19571 * support/xftruncate.c: Likewise.
19572 * support/xlseek.c: Likewise.
19573 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19574 * sysdeps/unix/sysv/linux/**.abilist: Update.
19575 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19577 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19579 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19580 disable-multi-arch variant to aarch64-linux-gnu.
19582 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19584 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19585 trailing whitespace removed.
19586 * scripts/config.guess: Update to version 2017-12-17.
19587 * scripts/config.sub: Update to version 2017-11-23.
19588 * scripts/install-sh: Update to version 2017-09-23.17.
19589 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19591 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19593 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19594 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19595 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19596 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19597 * sysdeps/tile/crtn.S: Likewise.
19598 * sysdeps/tile/dl-start.S (_start): Likewise.
19599 * sysdeps/tile/dl-trampoline.S: Likewise.
19600 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19601 * sysdeps/tile/start.S (_start): Likewise.
19602 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19603 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19604 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19605 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19606 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19607 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19608 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19610 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19612 * sysdeps/tile/preconfigure: Remove tilegx folder.
19613 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19614 * sysdeps/tile/Implies: ... here.
19615 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19616 * sysdeps/tile/Makefile: ... here.
19617 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19618 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19619 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19620 * sysdeps/tile/bits/wordsize.h: ... here.
19621 * sysdeps/tile/tilegx/*: Move to ...
19622 * sysdeps/tile/*: ... here.
19623 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19624 * sysdeps/tile/tilegx32/Implies: ... here.
19625 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19626 * sysdeps/tile/tilegx64/Implies: ... here.
19627 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19629 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19630 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19631 * sysdeps/unix/sysv/linux/tile/*: ... here.
19632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19633 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19635 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19637 * README: Remove tilepro-*-linux-gnu from supported architecture.
19638 * scripts/build-many-glibcs.py: Likewise.
19639 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19640 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19641 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19642 elf_machine_matches_host, elf_machine_dynamic,
19643 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19644 howto, elf_machine_rela): Likewise.
19645 * sysdeps/tile/dl-start.S (_start): Likewise.
19646 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19647 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19648 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19649 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19650 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19651 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19653 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19654 * sysdeps/tile/preconfigure: Likewise.
19655 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19656 POINTER_CHK_GUARD): Likewise.
19657 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19658 * sysdeps/tile/start.S (_start): Likewise.
19659 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19661 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19662 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19664 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19665 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19666 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19668 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19669 * sysdeps/tile/tilepro/Implies: Remove file.
19670 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19671 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19672 * sysdeps/tile/tilepro/memchr.c: Likewise.
19673 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19674 * sysdeps/tile/tilepro/memset.c: Likewise.
19675 * sysdeps/tile/tilepro/memusage.h: Likewise.
19676 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19677 * sysdeps/tile/tilepro/strchr.c: Likewise.
19678 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19679 * sysdeps/tile/tilepro/strlen.c: Likewise.
19680 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19681 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19682 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19683 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19684 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19685 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19686 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19688 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19689 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19690 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19691 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19692 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19693 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19694 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19695 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19696 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19697 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19698 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19699 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19700 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19701 tilepro mention in comment.
19703 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19704 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19705 * nptl/pthread_join_common.c: New file: common function used on
19706 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19707 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19708 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19709 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19710 (cleanup): Move definition to pthread_join_common.c.
19711 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19712 Remove superflous checks.
19713 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19716 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19718 * sysdeps/aarch64/libm-test-ulps: Update.
19720 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19722 * sysdeps/aarch64/memset.S (MEMSET): Define.
19724 2017-12-20 Florian Weimer <fweimer@redhat.com>
19727 nptl: Provide full implementation of pthread_self in libc.so.
19728 * nptl/Makefile (routines): Add pthread_self.
19729 (libpthread-routines): Replace pthread_self with
19730 compat-pthread_self.
19731 * nptl/forward.c (pthread_self): Remove.
19732 * nptl/nptl-init.c (pthread_functions): Do not initialize
19734 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19735 * nptl/compat-pthread_self.c: New file.
19736 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19737 Remove ptr_pthread_self.
19739 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19741 * posix/regcomp.c: Fix spelling in comments.
19742 * posix/regex.h: Likewise.
19743 * posix/regex_internal.c: Likewise.
19744 * posix/regexec.c: Likewise.
19746 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19749 * math/Makefile [C++] (tests): Add test for iseqsig.
19750 * math/math.h [C++] (iseqsig): New implementation, which does
19751 not rely on __MATH_TG/__builtin_types_compatible_p.
19752 * math/test-math-iseqsig.cc: New file.
19753 * sysdeps/powerpc/powerpc64le/Makefile
19754 (CFLAGS-test-math-iseqsig.cc): New variable.
19756 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19758 * elf/dl-load.c (is_trusted_path): Remove.
19759 (fillin_rpath): Remove check_trusted argument and its use,
19760 all callers changed.
19762 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19765 * Makeconfig (link-pie-before-libc): Replace -pie with
19766 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19767 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19768 (tst-dlopen-aout-no-pie): New.
19769 (LDFLAGS-tst-prelink): Removed.
19770 (tst-prelink-no-pie): New.
19771 (LDFLAGS-tst-main1): Removed.
19772 (tst-main1-no-pie): New.
19773 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19774 (tst-gmon-no-pie): New.
19776 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19778 * manual/install.texi: Document that --enable-static-pie
19780 * INSTALL: Regenerated.
19782 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19785 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19788 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19792 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19796 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19798 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19799 <errno.h>. Include "eexp.tbl".
19800 (half): New constant.
19802 (__ieee754_exp): Rewrite.
19803 (__slowexp): Remove prototype.
19804 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19805 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19806 * sysdeps/i386/fpu/slowexp.c: Likewise.
19807 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19808 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19809 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19810 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19811 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19812 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19813 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19815 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19816 (CPPFLAGS-slowexp.c): Remove variable.
19817 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19818 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19819 (CFLAGS-slowexp-fma.c): Remove variable.
19820 (CFLAGS-slowexp-fma4.c): Likewise.
19821 (CFLAGS-slowexp-avx.c): Likewise.
19822 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19824 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19825 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19826 * math/Makefile (type-double-routines): Remove slowexp.
19827 * manual/probes.texi (slowexp_p6): Remove.
19828 (slowexp_p32): Likewise.
19830 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19832 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19835 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19837 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19841 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19843 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19844 <errno.h>. Include "eexp.tbl".
19845 (half): New constant.
19847 (__ieee754_exp): Rewrite.
19848 (__slowexp): Remove prototype.
19849 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19850 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19851 * sysdeps/i386/fpu/slowexp.c: Likewise.
19852 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19853 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19854 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19855 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19856 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19857 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19858 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19860 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19861 (CPPFLAGS-slowexp.c): Remove variable.
19862 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19863 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19864 (CFLAGS-slowexp-fma.c): Remove variable.
19865 (CFLAGS-slowexp-fma4.c): Likewise.
19866 (CFLAGS-slowexp-avx.c): Likewise.
19867 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19869 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19870 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19871 * math/Makefile (type-double-routines): Remove slowexp.
19872 * manual/probes.texi (slowexp_p6): Remove.
19873 (slowexp_p32): Likewise.
19875 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19876 James Clarke <jrtc27@jrtc27.com>
19879 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19882 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19885 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19888 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19891 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19892 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19893 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19894 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19897 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19900 * bits/types/__cancel_jmp_buf_tag.h: New file.
19901 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19902 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19903 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19904 * nptl/Makefile (headers): Add
19905 bits/types/__cancel_jmp_buf_tag.h.
19906 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19907 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19908 * sysdeps/nptl/pthread.h: Include
19909 <bits/types/__cancel_jmp_buf_tag.h>.
19910 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19912 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19914 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19916 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19917 --enable-static-pie variants to x86_64, x32 and i686.
19919 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19922 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19923 argument for attrubutes. All callers changed.
19924 (__inline_mathop1): Likewise. All callers changed.
19925 (__inline_mathop): Likewise. All callers changed.
19926 [__USE_MISC] (scalbn): Use __inline_forward instead of
19927 __inline_forward_c.
19928 [__USE_ISOC99] (scalbln): Likewise.
19929 [__USE_ISOC99] (nearbyint): Likewise.
19930 [__USE_ISOC99] (lrint): Likewise.
19931 [__USE_MISC] (scalbnf): Likewise.
19932 [__USE_ISOC99] (scalblnf): Likewise.
19933 [__USE_ISOC99] (nearbyintf): Likewise.
19934 [__USE_ISOC99] (lrintf): Likewise.
19935 [__USE_MISC] (scalbnl): Likewise.
19936 [__USE_ISOC99] (scalblnl): Likewise.
19937 [__USE_ISOC99] (nearbyintl): Likewise.
19938 [__USE_ISOC99] (lrintl): Likewise.
19939 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19940 __inline_mathop and __m81_defun changed.
19942 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19943 CPU or FPU for ARM hard-float configurations.
19945 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19947 * nptl/tst-attr3.c: Include <libc-diag.h>.
19948 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19950 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19952 * string/tester.c (test_strncat): Also disable -Warray-bounds
19953 warnings for two tests.
19955 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19958 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19959 $(cc-pie-default) == yes.
19960 * config.make.in (cc-pie-default): New.
19961 * configure.ac (libc_cv_pie_default): Renamed to ...
19962 (libc_cv_cc_pie_default): This.
19963 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19964 * configure: Regenerated.
19966 2017-12-18 Florian Weimer <fweimer@redhat.com>
19969 ld.so: Harden dl-libc/libdl hooks.
19970 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19971 (rtld_active): New function.
19972 * dlfcn/dladdr.c (__dladdr): Call it.
19973 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19974 * dlfcn/dlclose.c (__dlcose): Likewise.
19975 * dlfcn/dlerror.c (__dlerror): Likewise.
19976 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19977 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19978 * dlfcn/dlopen.c (__dlopen): Likewise.
19979 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19980 * dlfcn/dlsym.c (__dlsym): Likewise.
19981 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19982 * libio/vtables.c (_IO_vtable_check): Likewise.
19983 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19984 (__libc_dlclose): Likewise.
19985 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19988 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19991 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19992 buffers for readlink input and output.
19994 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19997 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19998 inhibit_stack_protector.
20001 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20002 inhibit_stack_protector.
20004 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20007 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20008 code and invocation.
20010 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20012 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20014 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20017 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20019 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20021 * sysdeps/s390/fpu/libm-test-ulps: Update.
20023 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20027 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20029 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20030 constants to s_sincosf.h file.
20031 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20032 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20034 * sysdeps/ieee754/flt-32/s_sincosf.h:
20037 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20040 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20043 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20046 * INSTALL: Regenerated.
20047 * Makeconfig (real-static-start-installed-name): New.
20048 (pic-default): Updated for --enable-static-pie.
20049 (pie-default): New for --enable-static-pie.
20050 (default-pie-ldflag): Likewise.
20051 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20052 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20053 Replace $(static-start-installed-name) with
20054 $(real-static-start-installed-name).
20055 (+prectorT): Updated for --enable-static-pie.
20056 (+postctorT): Likewise.
20057 (CFLAGS-.o): Add $(pie-default).
20058 (CFLAGS-.op): Likewise.
20059 * NEWS: Mention --enable-static-pie.
20060 * config.h.in (ENABLE_STATIC_PIE): New.
20061 * configure.ac (--enable-static-pie): New configure option.
20062 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20063 (have-static-pie): Likewise.
20064 Enable static PIE if linker supports --no-dynamic-linker.
20065 (ENABLE_STATIC_PIE): New AC_DEFINE.
20066 (enable-static-pie): New LIBC_CONFIG_VAR.
20067 * configure: Regenerated.
20068 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20069 gr$(start-installed-name) for --enable-static-pie.
20070 (extra-objs): Likewise.
20071 (install-lib): Likewise.
20072 (extra-objs): Add static-reloc.o and static-reloc.os
20073 ($(objpfx)$(start-installed-name)): Also depend on
20074 $(objpfx)static-reloc.o.
20075 ($(objpfx)r$(start-installed-name)): New.
20076 ($(objpfx)g$(start-installed-name)): Also depend on
20077 $(objpfx)static-reloc.os.
20078 ($(objpfx)gr$(start-installed-name)): New.
20079 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20081 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20083 * csu/static-reloc.c: New file.
20084 * elf/Makefile (routines): Add dl-reloc-static-pie.
20085 (elide-routines.os): Likewise.
20086 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20087 (tst-tls1-static-non-pie-no-pie): New.
20088 * elf/dl-reloc-static-pie.c: New file.
20089 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20090 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20091 STATIC_PIE_BOOTSTRAP.
20092 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20093 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20094 (tests-static): Likewise.
20095 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20096 (tst-gmon-static-no-pie): New.
20097 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20098 (CRT-tst-gmon-static-pie): Likewise.
20099 (tst-gmon-static-pie-ENV): Likewise.
20100 (tests-special): Likewise.
20101 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20102 (clean-tst-gmon-static-pie-data): Likewise.
20103 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20104 * gmon/tst-gmon-static-pie.c: New file.
20105 * manual/install.texi: Document --enable-static-pie.
20106 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20107 (_dl_get_dl_main_map): Likewise.
20108 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20109 * sysdeps/x86_64/configure.ac: Likewise.
20110 * sysdeps/i386/configure: Regenerated.
20111 * sysdeps/x86_64/configure: Likewise.
20112 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20113 (ASFLAGS-.op): Likewise.
20115 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20117 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20118 * posix/tst-mmap-offset.c (fname): Use /tmp.
20119 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20121 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20123 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20125 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20127 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20130 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20132 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20133 --with-float=hard for arm-linux-gnueabihf configurations.
20136 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20137 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20138 ($(mo-installed)): Use $(objpfx)%.mo.
20139 (realclean): Remove rule.
20141 * po/Makefile (linguas): Remove rule and dependencies.
20142 (linguas.mo): Likewise.
20143 (.PHONY): Do not depend on linguas and linguas.mo.
20144 (podir): Remove variable.
20145 (pofiles): Likewise.
20146 [$(pofiles)] (%.po): Remove rule.
20148 * sysdeps/sparc/sparc32/Makefile
20149 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20150 start-of-line whitespace in argument of echo.
20151 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20152 with whitespace. Generate __wrap_.udiv alias.
20153 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20154 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20155 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20156 * sysdeps/sparc/sparc32/urem.S: Likewise.
20158 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20160 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20161 for aligned inputs.
20163 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20165 * benchtests/bench-strcmp.c: Print output in JSON format.
20167 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20169 2017-12-14 Florian Weimer <fweimer@redhat.com>
20173 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20174 the expanded path string.
20176 2017-12-14 Florian Weimer <fweimer@redhat.com>
20180 * elf/dl-load.c (system_dirs): Update comment.
20181 (nsystem_dirs_len): Use array_length.
20182 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20184 2017-12-14 Florian Weimer <fweimer@redhat.com>
20186 Simplify compiling most of support/ outside of glibc.
20187 * support/check_addrinfo.c: Include <string.h>.
20188 * support/check_dns_packet.c: Likewise.
20189 * support/check_hostent.c: Likewise.
20190 * support/support_can_chroot.c: Include <support/xunistd.h>.
20191 * support/support_format_addrinfo.c: Include <stdlib.h>
20192 * support/support_format_dns_packet.c: Include <stdbool.h>.
20193 * support/support_format_hostent.c: Include <stdlib.h>.
20194 * support/support_format_netent.c: Likewise.
20195 * support/support_write_string.c: Include <support/xunistd.h>.
20196 * support/xdlfcn.c: Include <stddef.h>.
20198 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20200 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20202 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20203 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20205 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20206 (sysdeps_routines): Add memset-niagara7.
20207 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20209 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20211 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20212 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20213 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20214 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20215 Add niagara7 option.
20216 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20219 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20220 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20221 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20223 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20225 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20226 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20227 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20228 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20229 and __memmove_niagara7.
20230 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20231 Add niagara7 option.
20232 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20233 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20234 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20235 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20236 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20238 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20240 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20241 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20242 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20243 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20245 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20246 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20247 _dl_sparc_cap_flags array.
20248 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20250 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20252 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20253 time whenever possible.
20255 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20257 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20258 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20260 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20262 * soft-fp/fmadf4.c: Move to ....
20263 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20264 * soft-fp/fmasf4.c: Move to ....
20265 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20266 * soft-fp/fmatf4.c: Move to ....
20267 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20268 * sysdeps/ieee754/soft-fp/Makefile: New file.
20269 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20270 * sysdeps/arm/preconfigure: Regenerated.
20271 * sysdeps/arm/nofpu/Implies: New file.
20272 * sysdeps/arm/s_fma.c: Remove file.
20273 * sysdeps/arm/s_fmaf.c: Likewise.
20274 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20275 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20276 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20277 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20278 * sysdeps/microblaze/s_fma.c: Remove file.
20279 * sysdeps/microblaze/s_fmaf.c: Likewise.
20280 * sysdeps/mips/mips32/nofpu/Implies: New file.
20281 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20282 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20283 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20284 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20285 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20286 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20287 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20289 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20290 * sysdeps/nios2/s_fma.c: Remove file.
20291 * sysdeps/nios2/s_fmaf.c: Likewise.
20292 * sysdeps/sh/nofpu/Implies: New file.
20293 * sysdeps/sh/s_fma.c: Remove file.
20294 * sysdeps/sh/s_fmaf.c: Likewise.
20295 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20296 * sysdeps/tile/s_fma.c: Remove file.
20297 * sysdeps/tile/s_fmaf.c: Likewise.
20299 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20301 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20302 Add s_cosf-sse2 and s_cosf-fma.
20303 (CFLAGS-s_cosf-fma.c): New.
20304 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20305 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20306 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20308 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20310 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20312 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20314 * libio/Makefile (tests): Add tst-bz22415.
20315 (tst-bz22415-ENV): New rule.
20316 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20317 (tests-special): Add tst-bz22415-mem.out.
20318 ($(objpfx)tst-bz22415-mem.out): New rule.
20319 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20320 in case of a successful seek operation.
20321 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20322 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20323 buffer is required.
20324 * libio/tst-bz22415.c: New test.
20326 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20328 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20330 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20331 __IPC_64 to 0 to avoid IPC_64 being set.
20333 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20336 * math/bits/mathcalls.h (nextafter): Remove const.
20337 (nexttoward): Likewise.
20339 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20341 * configure.ac (--with-fp): Remove configure option.
20342 (with_fp_cond): New variable.
20343 (libc_cv_with_fp): New configure test. Use this variable instead
20345 * configure: Regenerated.
20346 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20347 * manual/install.texi (Configuring and compiling): Remove
20349 * INSTALL: Regenerated.
20350 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20351 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20352 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20353 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20354 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20355 use --without-fp to configure glibc.
20357 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20359 * manual/locale.texi (nl_langinfo): Fix a typo.
20361 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20364 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20366 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20368 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20369 (CFLAGS-argp-parse.c): Likewise.
20370 (CFLAGS-argp-fmtstream.c): Likewise.
20371 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20372 (CPPFLAGS-sha512-crypt.c): Likewise.
20373 (CPPFLAGS-md5-crypt.c): Likewise.
20374 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20375 (CFLAGS-stack_chk_fail_local.c): Likewise.
20376 (CFLAGS-backtrace.c): Likewise.
20377 (CFLAGS-sprintf_chk.c): Likewise.
20378 (CFLAGS-snprintf_chk.c): Likewise.
20379 (CFLAGS-vsprintf_chk.c): Likewise.
20380 (CFLAGS-vsnprintf_chk.c): Likewise.
20381 (CFLAGS-asprintf_chk.c): Likewise.
20382 (CFLAGS-vasprintf_chk.c): Likewise.
20383 (CFLAGS-obprintf_chk.c): Likewise.
20384 (CFLAGS-dprintf_chk.c): Likewise.
20385 (CFLAGS-vdprintf_chk.c): Likewise.
20386 (CFLAGS-printf_chk.c): Likewise.
20387 (CFLAGS-fprintf_chk.c): Likewise.
20388 (CFLAGS-vprintf_chk.c): Likewise.
20389 (CFLAGS-vfprintf_chk.c): Likewise.
20390 (CFLAGS-gets_chk.c): Likewise.
20391 (CFLAGS-fgets_chk.c): Likewise.
20392 (CFLAGS-fgets_u_chk.c): Likewise.
20393 (CFLAGS-fread_chk.c): Likewise.
20394 (CFLAGS-fread_u_chk.c): Likewise.
20395 (CFLAGS-swprintf_chk.c): Likewise.
20396 (CFLAGS-vswprintf_chk.c): Likewise.
20397 (CFLAGS-wprintf_chk.c): Likewise.
20398 (CFLAGS-fwprintf_chk.c): Likewise.
20399 (CFLAGS-vwprintf_chk.c): Likewise.
20400 (CFLAGS-vfwprintf_chk.c): Likewise.
20401 (CFLAGS-fgetws_chk.c): Likewise.
20402 (CFLAGS-fgetws_u_chk.c): Likewise.
20403 (CFLAGS-read_chk.c): Likewise.
20404 (CFLAGS-pread_chk.c): Likewise.
20405 (CFLAGS-pread64_chk.c): Likewise.
20406 (CFLAGS-recv_chk.c): Likewise.
20407 (CFLAGS-recvfrom_chk.c): Likewise.
20408 (CFLAGS-tst-longjmp_chk.c): Likewise.
20409 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20410 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20411 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20412 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20413 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20414 (CFLAGS-tst-chk1.c): Likewise.
20415 (CFLAGS-tst-chk2.c): Likewise.
20416 (CFLAGS-tst-chk3.c): Likewise.
20417 (CFLAGS-tst-chk4.cc): Likewise.
20418 (CFLAGS-tst-chk5.cc): Likewise.
20419 (CFLAGS-tst-chk6.cc): Likewise.
20420 (CFLAGS-tst-lfschk1.c): Likewise.
20421 (CFLAGS-tst-lfschk2.c): Likewise.
20422 (CFLAGS-tst-lfschk3.c): Likewise.
20423 (CFLAGS-tst-lfschk4.cc): Likewise.
20424 (CFLAGS-tst-lfschk5.cc): Likewise.
20425 (CFLAGS-tst-lfschk6.cc): Likewise.
20426 (CFLAGS-tst-ssp-1.c): Likewise.
20427 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20428 (CFLAGS-scandir64.c): Likewise.
20429 (CFLAGS-scandir-tail.c): Likewise.
20430 (CFLAGS-scandir64-tail.c): Likewise.
20431 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20432 (CFLAGS-dl-tunables.c): Likewise.
20433 (CFLAGS-dl-runtime.c): Likewise.
20434 (CFLAGS-dl-lookup.c): Likewise.
20435 (CFLAGS-dl-iterate-phdr.c): Likewise.
20436 (CFLAGS-vismain.c): Likewise.
20437 (CFLAGS-tst-linkall-static.c): Likewise.
20438 (CFLAGS-tst-linkall-static.c): Likewise.
20439 (CPPFLAGS-dl-load.c): Likewise.
20440 (CFLAGS-ldconfig.c): Likewise.
20441 (CFLAGS-dl-cache.c): Likewise.
20442 (CFLAGS-cache.c): Likewise.
20443 (CFLAGS-rtld.c): Likewise.
20444 (CFLAGS-multiload.c): Likewise.
20445 (CFLAGS-filtmod1.c): Likewise.
20446 (CFLAGS-tst-align.c): Likewise.
20447 (CFLAGS-tst-align2.c): Likewise.
20448 (CFLAGS-tst-alignmod.c): Likewise.
20449 (CFLAGS-tst-alignmod2.c): Likewise.
20450 (CPPFLAGS-tst-execstack.c): Likewise.
20451 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20452 (CFLAGS-tst-latepthreadmod.c): Likewise.
20453 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20454 (CFLAGS-getgrnam_r.c): Likewise.
20455 (CFLAGS-getgrent_r.c): Likewise.
20456 (CFLAGS-getgrent.c): Likewise.
20457 (CFLAGS-fgetgrent.c): Likewise.
20458 (CFLAGS-fgetgrent_r.c): Likewise.
20459 (CFLAGS-putgrent.c): Likewise.
20460 (CFLAGS-initgroups.c): Likewise.
20461 (CFLAGS-getgrgid.c): Likewise.
20462 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20463 (CFLAGS-getsgent.c): Likewise.
20464 (CFLAGS-fgetsgent.c): Likewise.
20465 (CFLAGS-fgetsgent_r.c): Likewise.
20466 (CFLAGS-putsgent.c): Likewise.
20467 (CFLAGS-getsgnam.c): Likewise.
20468 (CFLAGS-getsgnam_r.c): Likewise.
20469 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20470 (CFLAGS-iconv_charmap.c): Likewise.
20471 (CFLAGS-dummy-repertoire.c): Likewise.
20472 (CFLAGS-charmap.c): Likewise.
20473 (CFLAGS-linereader.c): Likewise.
20474 (CFLAGS-simple-hash.c): Likewise.
20475 (CFLAGS-gconv_conf.c): Likewise.
20476 (CFLAGS-iconvconfig.c): Likewise.
20477 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20478 (CFLAGS-gethstbyad.c): Likewise.
20479 (CFLAGS-gethstbynm_r.c): Likewise.
20480 (CFLAGS-gethstbynm.c): Likewise.
20481 (CFLAGS-gethstbynm2_r.c): Likewise.
20482 (CFLAGS-gethstbynm2.c): Likewise.
20483 (CFLAGS-gethstent_r.c): Likewise.
20484 (CFLAGS-gethstent.c): Likewise.
20485 (CFLAGS-rcmd.c): Likewise.
20486 (CFLAGS-getnetbynm_r.c): Likewise.
20487 (CFLAGS-getnetbynm.c): Likewise.
20488 (CFLAGS-getnetbyad_r.c): Likewise.
20489 (CFLAGS-getnetbyad.c): Likewise.
20490 (CFLAGS-getnetent_r.c): Likewise.
20491 (CFLAGS-getnetent.c): Likewise.
20492 (CFLAGS-getaliasent_r.c): Likewise.
20493 (CFLAGS-getaliasent.c): Likewise.
20494 (CFLAGS-getrpcent_r.c): Likewise.
20495 (CFLAGS-getrpcent.c): Likewise.
20496 (CFLAGS-getservent_r.c): Likewise.
20497 (CFLAGS-getservent.c): Likewise.
20498 (CFLAGS-getprtent_r.c): Likewise.
20499 (CFLAGS-getprtent.c): Likewise.
20500 (CFLAGS-either_ntoh.c): Likewise.
20501 (CFLAGS-either_hton.c): Likewise.
20502 (CFLAGS-getnetgrent.c): Likewise.
20503 (CFLAGS-getnetgrent_r.c): Likewise.
20504 (CFLAGS-tst-checks-posix.c): Likewise.
20505 (CFLAGS-tst-sockaddr.c): Likewise.
20506 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20507 (CFLAGS-tst-translit.c): Likewise.
20508 (CFLAGS-tst-gettext2.c): Likewise.
20509 (CFLAGS-tst-codeset.c): Likewise.
20510 (CFLAGS-tst-gettext3.c): Likewise.
20511 (CFLAGS-tst-gettext4.c): Likewise.
20512 (CFLAGS-tst-gettext5.c): Likewise.
20513 (CFLAGS-tst-gettext6.c): Likewise.
20514 * io/Makefile (CFLAGS-open.c): Likewise.
20515 (CFLAGS-open64.c): Likewise.
20516 (CFLAGS-creat.c): Likewise.
20517 (CFLAGS-creat64.c): Likewise.
20518 (CFLAGS-fcntl.c): Likewise.
20519 (CFLAGS-poll.c): Likewise.
20520 (CFLAGS-ppoll.c): Likewise.
20521 (CFLAGS-lockf.c): Likewise.
20522 (CFLAGS-statfs.c): Likewise.
20523 (CFLAGS-fstatfs.c): Likewise.
20524 (CFLAGS-statvfs.c): Likewise.
20525 (CFLAGS-fstatvfs.c): Likewise.
20526 (CFLAGS-fts.c): Likewise.
20527 (CFLAGS-fts64.c): Likewise.
20528 (CFLAGS-ftw.c): Likewise.
20529 (CFLAGS-ftw64.c): Likewise.
20530 (CFLAGS-lockf.c): Likewise.
20531 (CFLAGS-posix_fallocate.c): Likewise.
20532 (CFLAGS-posix_fallocate64.c): Likewise.
20533 (CFLAGS-fallocate.c): Likewise.
20534 (CFLAGS-fallocate64.c): Likewise.
20535 (CFLAGS-read.c): Likewise.
20536 (CFLAGS-write.c): Likewise.
20537 (CFLAGS-test-stat.c): Likewise.
20538 (CFLAGS-test-lfs.c): Likewise.
20539 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20540 (CFLAGS-fputc.c): Likewise.
20541 (CFLAGS-fputwc.c): Likewise.
20542 (CFLAGS-freopen64.c): Likewise.
20543 (CFLAGS-freopen.c): Likewise.
20544 (CFLAGS-fseek.c): Likewise.
20545 (CFLAGS-fseeko64.c): Likewise.
20546 (CFLAGS-fseeko.c): Likewise.
20547 (CFLAGS-ftello64.c): Likewise.
20548 (CFLAGS-ftello.c): Likewise.
20549 (CFLAGS-fwide.c): Likewise.
20550 (CFLAGS-genops.c): Likewise.
20551 (CFLAGS-getc.c): Likewise.
20552 (CFLAGS-getchar.c): Likewise.
20553 (CFLAGS-getwc.c): Likewise.
20554 (CFLAGS-getwchar.c): Likewise.
20555 (CFLAGS-iofclose.c): Likewise.
20556 (CFLAGS-iofflush.c): Likewise.
20557 (CFLAGS-iofgetpos64.c): Likewise.
20558 (CFLAGS-iofgetpos.c): Likewise.
20559 (CFLAGS-iofgets.c): Likewise.
20560 (CFLAGS-iofgetws.c): Likewise.
20561 (CFLAGS-iofputs.c): Likewise.
20562 (CFLAGS-iofputws.c): Likewise.
20563 (CFLAGS-iofread.c): Likewise.
20564 (CFLAGS-iofsetpos64.c): Likewise.
20565 (CFLAGS-iofsetpos.c): Likewise.
20566 (CFLAGS-ioftell.c): Likewise.
20567 (CFLAGS-iofwrite.c): Likewise.
20568 (CFLAGS-iogetdelim.c): Likewise.
20569 (CFLAGS-iogetline.c): Likewise.
20570 (CFLAGS-iogets.c): Likewise.
20571 (CFLAGS-iogetwline.c): Likewise.
20572 (CFLAGS-ioputs.c): Likewise.
20573 (CFLAGS-ioseekoff.c): Likewise.
20574 (CFLAGS-ioseekpos.c): Likewise.
20575 (CFLAGS-iosetbuffer.c): Likewise.
20576 (CFLAGS-iosetvbuf.c): Likewise.
20577 (CFLAGS-ioungetc.c): Likewise.
20578 (CFLAGS-ioungetwc.c): Likewise.
20579 (CFLAGS-oldfileops.c): Likewise.
20580 (CFLAGS-oldiofclose.c): Likewise.
20581 (CFLAGS-oldiofgetpos64.c): Likewise.
20582 (CFLAGS-oldiofgetpos.c): Likewise.
20583 (CFLAGS-oldiofsetpos64.c): Likewise.
20584 (CFLAGS-oldiofsetpos.c): Likewise.
20585 (CFLAGS-peekc.c): Likewise.
20586 (CFLAGS-putc.c): Likewise.
20587 (CFLAGS-putchar.c): Likewise.
20588 (CFLAGS-putwc.c): Likewise.
20589 (CFLAGS-putwchar.c): Likewise.
20590 (CFLAGS-rewind.c): Likewise.
20591 (CFLAGS-wfileops.c): Likewise.
20592 (CFLAGS-wgenops.c): Likewise.
20593 (CFLAGS-oldiofopen.c): Likewise.
20594 (CFLAGS-iofopen.c): Likewise.
20595 (CFLAGS-iofopen64.c): Likewise.
20596 (CFLAGS-oldtmpfile.c): Likewise.
20597 (CFLAGS-tst_putwc.c): Likewise.
20598 * locale/Makefile (CFLAGS-md5.c): Likewise.
20599 (CFLAGS-charmap.c): Likewise.
20600 (CFLAGS-locfile.c): Likewise.
20601 (CFLAGS-charmap-dir.c): Likewise.
20602 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20603 (CFLAGS-getpt.c): Likewise.
20604 (CFLAGS-pt_chown.c): Likewise.
20605 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20606 (CFLAGS-obstack.c): Likewise.
20607 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20608 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20609 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20610 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20611 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20612 (CFLAGS-test-tgmath.c): Likewise.
20613 (CFLAGS-test-tgmath2.c): Likewise.
20614 (CFLAGS-test-tgmath-ret.c): Likewise.
20615 (CFLAGS-test-powl.c): Likewise.
20616 (CFLAGS-test-snan.c): Likewise.
20617 (CFLAGS-test-signgam-finite.c): Likewise.
20618 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20619 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20620 (CFLAGS-test-signgam-uchar.c): Likewise.
20621 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20622 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20623 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20624 (CFLAGS-test-signgam-uint.c): Likewise.
20625 (CFLAGS-test-signgam-uint-init.c): Likewise.
20626 (CFLAGS-test-signgam-uint-static.c): Likewise.
20627 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20628 (CFLAGS-test-signgam-ullong.c): Likewise.
20629 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20630 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20631 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20632 (CFLAGS-test-math-cxx11.cc): Likewise.
20633 (CFLAGS-test-math-isinff.cc): Likewise.
20634 (CFLAGS-test-math-iszero.cc): Likewise.
20635 (CFLAGS-test-math-issignaling.cc): Likewise.
20636 (CFLAGS-test-math-iscanonical.cc): Likewise.
20637 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20638 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20639 (CFLAGS-test-flt-eval-method.c): Likewise.
20640 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20641 (CFLAGS-test-finite-macros.c): Likewise.
20642 * misc/Makefile (CFLAGS-select.c): Likewise.
20643 (CFLAGS-tsearch.c): Likewise.
20644 (CFLAGS-lsearch.c): Likewise.
20645 (CFLAGS-pselect.c): Likewise.
20646 (CFLAGS-readv.c): Likewise.
20647 (CFLAGS-writev.c): Likewise.
20648 (CFLAGS-preadv.c): Likewise.
20649 (CFLAGS-preadv64.c): Likewise.
20650 (CFLAGS-pwritev.c): Likewise.
20651 (CFLAGS-pwritev64.c): Likewise.
20652 (CFLAGS-preadv2.c): Likewise.
20653 (CFLAGS-preadv64v2.c): Likewise.
20654 (CFLAGS-pwritev2.c): Likewise.
20655 (CFLAGS-pwritev64v2.c): Likewise.
20656 (CFLAGS-usleep.c): Likewise.
20657 (CFLAGS-syslog.c): Likewise.
20658 (CFLAGS-error.c): Likewise.
20659 (CFLAGS-getpass.c): Likewise.
20660 (CFLAGS-mkstemp.c): Likewise.
20661 (CFLAGS-mkstemp64.c): Likewise.
20662 (CFLAGS-getsysstats.c): Likewise.
20663 (CFLAGS-getusershell.c): Likewise.
20664 (CFLAGS-err.c): Likewise.
20665 (CFLAGS-tst-tsearch.c): Likewise.
20666 (CFLAGS-msync.c): Likewise.
20667 (CFLAGS-fdatasync.c): Likewise.
20668 (CFLAGS-fsync.c): Likewise.
20669 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20670 (CFLAGS-unwind.c): Likewise.
20671 (CFLAGS-unwind-forcedunwind.c): Likewise.
20672 (CFLAGS-pthread_cancel.c): Likewise.
20673 (CFLAGS-pthread_setcancelstate.c): Likewise.
20674 (CFLAGS-pthread_setcanceltype.c): Likewise.
20675 (CFLAGS-cancellation.c): Likewise.
20676 (CFLAGS-libc-cancellation.c): Likewise.
20677 (CFLAGS-pthread_exit.c): Likewise.
20678 (CFLAGS-forward.c): Likewise.
20679 (CFLAGS-pthread_testcancel.c): Likewise.
20680 (CFLAGS-pthread_join.c): Likewise.
20681 (CFLAGS-pthread_timedjoin.c): Likewise.
20682 (CFLAGS-pthread_once.c): Likewise.
20683 (CFLAGS-pthread_cond_wait.c): Likewise.
20684 (CFLAGS-sem_wait.c): Likewise.
20685 (CFLAGS-sem_timedwait.c): Likewise.
20686 (CFLAGS-fcntl.c): Likewise.
20687 (CFLAGS-lockf.c): Likewise.
20688 (CFLAGS-pread.c): Likewise.
20689 (CFLAGS-pread64.c): Likewise.
20690 (CFLAGS-pwrite.c): Likewise.
20691 (CFLAGS-pwrite64.c): Likewise.
20692 (CFLAGS-wait.c): Likewise.
20693 (CFLAGS-waitpid.c): Likewise.
20694 (CFLAGS-sigwait.c): Likewise.
20695 (CFLAGS-msgrcv.c): Likewise.
20696 (CFLAGS-msgsnd.c): Likewise.
20697 (CFLAGS-tcdrain.c): Likewise.
20698 (CFLAGS-open.c): Likewise.
20699 (CFLAGS-open64.c): Likewise.
20700 (CFLAGS-pause.c): Likewise.
20701 (CFLAGS-recv.c): Likewise.
20702 (CFLAGS-send.c): Likewise.
20703 (CFLAGS-accept.c): Likewise.
20704 (CFLAGS-sendto.c): Likewise.
20705 (CFLAGS-connect.c): Likewise.
20706 (CFLAGS-recvfrom.c): Likewise.
20707 (CFLAGS-recvmsg.c): Likewise.
20708 (CFLAGS-sendmsg.c): Likewise.
20709 (CFLAGS-close.c): Likewise.
20710 (CFLAGS-read.c): Likewise.
20711 (CFLAGS-write.c): Likewise.
20712 (CFLAGS-nanosleep.c): Likewise.
20713 (CFLAGS-sigsuspend.c): Likewise.
20714 (CFLAGS-msync.c): Likewise.
20715 (CFLAGS-fdatasync.c): Likewise.
20716 (CFLAGS-fsync.c): Likewise.
20717 (CFLAGS-pt-system.c): Likewise.
20718 (CFLAGS-tst-cleanup2.c): Likewise.
20719 (CFLAGS-tst-cleanupx2.c): Likewise.
20720 (CFLAGS-flockfile.c): Likewise.
20721 (CFLAGS-ftrylockfile.c): Likewise.
20722 (CFLAGS-funlockfile.c): Likewise.
20723 (CFLAGS-tst-initializers1.c): Likewise.
20724 (CFLAGS-tst-initializers1-c89.c): Likewise.
20725 (CFLAGS-tst-initializers1-c99.c): Likewise.
20726 (CFLAGS-tst-initializers1-c11.c): Likewise.
20727 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20728 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20729 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20730 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20731 (CFLAGS-nscd_getgr_r.c): Likewise.
20732 (CFLAGS-nscd_gethst_r.c): Likewise.
20733 (CFLAGS-nscd_getai.c): Likewise.
20734 (CFLAGS-nscd_initgroups.c): Likewise.
20735 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20736 (CFLAGS-pause.c): Likewise.
20737 (CFLAGS-pread.c): Likewise.
20738 (CFLAGS-pread64.c): Likewise.
20739 (CFLAGS-pwrite.c): Likewise.
20740 (CFLAGS-pwrite64.c): Likewise.
20741 (CFLAGS-sleep.c): Likewise.
20742 (CFLAGS-wait.c): Likewise.
20743 (CFLAGS-waitid.c): Likewise.
20744 (CFLAGS-waitpid.c): Likewise.
20745 (CFLAGS-getopt.c): Likewise.
20746 (CFLAGS-wordexp.c): Likewise.
20747 (CFLAGS-sysconf.c): Likewise.
20748 (CFLAGS-pathconf.c): Likewise.
20749 (CFLAGS-fpathconf.c): Likewise.
20750 (CFLAGS-spawn.c): Likewise.
20751 (CFLAGS-spawnp.c): Likewise.
20752 (CFLAGS-spawni.c): Likewise.
20753 (CFLAGS-glob.c): Likewise.
20754 (CFLAGS-glob64.c): Likewise.
20755 (CFLAGS-getconf.c): Likewise.
20756 (CFLAGS-nanosleep.c): Likewise.
20757 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20758 (CFLAGS-getpwent.c): Likewise.
20759 (CFLAGS-getpw.c): Likewise.
20760 (CFLAGS-fgetpwent_r.c): Likewise.
20761 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20762 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20763 (CFLAGS-mq_timedreceive.c): Likewise.
20764 (CFLAGS-mq_timedsend.c): Likewise.
20765 (CFLAGS-clock_nanosleep.c): Likewise.
20766 (CFLAGS-librt-cancellation.c): Likewise.
20767 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20768 (CFLAGS-getspent.c): Likewise.
20769 (CFLAGS-fgetspent.c): Likewise.
20770 (CFLAGS-fgetspent_r.c): Likewise.
20771 (CFLAGS-putspent.c): Likewise.
20772 (CFLAGS-getspnam.c): Likewise.
20773 (CFLAGS-getspnam_r.c): Likewise.
20774 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20775 (CFLAGS-sigsuspend.c): Likewise.
20776 (CFLAGS-sigtimedwait.c): Likewise.
20777 (CFLAGS-sigwait.c): Likewise.
20778 (CFLAGS-sigwaitinfo.c): Likewise.
20779 (CFLAGS-sigreturn.c): Likewise.
20780 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20781 (CFLAGS-vfwprintf.c): Likewise.
20782 (CFLAGS-tmpfile.c): Likewise.
20783 (CFLAGS-tmpfile64.c): Likewise.
20784 (CFLAGS-tempname.c): Likewise.
20785 (CFLAGS-psignal.c): Likewise.
20786 (CFLAGS-vprintf.c): Likewise.
20787 (CFLAGS-cuserid.c): Likewise.
20788 (CFLAGS-errlist.c): Likewise.
20789 (CFLAGS-siglist.c): Likewise.
20790 (CFLAGS-scanf15.c): Likewise.
20791 (CFLAGS-scanf17.c): Likewise.
20792 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20793 (CFLAGS-msort.c): Likewise.
20794 (CFLAGS-qsort.c): Likewise.
20795 (CFLAGS-system.c): Likewise.
20796 (CFLAGS-fmtmsg.c): Likewise.
20797 (CFLAGS-strfmon.c): Likewise.
20798 (CFLAGS-strfmon_l.c): Likewise.
20799 (CFLAGS-strfromd.c): Likewise.
20800 (CFLAGS-strfromf.c): Likewise.
20801 (CFLAGS-strfroml.c): Likewise.
20802 (CFLAGS-tst-bsearch.c): Likewise.
20803 (CFLAGS-tst-qsort.c): Likewise.
20804 (CFLAGS-tst-makecontext2.c): Likewise.
20805 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20806 (CFLAGS-xnlm_prot.c): Likewise.
20807 (CFLAGS-xrstat.c): Likewise.
20808 (CFLAGS-xyppasswd.c): Likewise.
20809 (CFLAGS-xklm_prot.c): Likewise.
20810 (CFLAGS-xrex.c): Likewise.
20811 (CFLAGS-xsm_inter.c): Likewise.
20812 (CFLAGS-xmount.c): Likewise.
20813 (CFLAGS-xrusers.c): Likewise.
20814 (CFLAGS-xspray.c): Likewise.
20815 (CFLAGS-xnfs_prot.c): Likewise.
20816 (CFLAGS-xrquota.c): Likewise.
20817 (CFLAGS-xkey_prot.c): Likewise.
20818 (CFLAGS-auth_unix.c): Likewise.
20819 (CFLAGS-key_call.c): Likewise.
20820 (CFLAGS-pmap_rmt.c): Likewise.
20821 (CFLAGS-clnt_perr.c): Likewise.
20822 (CFLAGS-openchild.c): Likewise.
20823 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20824 (CFLAGS-msgsnd.c): Likewise.
20825 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20826 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20827 (CFLAGS-tzset.c): Likewise.
20828 (CFLAGS-getdate.c): Likewise.
20829 (CFLAGS-test_time.c): Likewise.
20830 (CPPFLAGS-tst-tzname.c): Likewise.
20831 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20832 (CFLAGS-zic.c): Likewise.
20833 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20834 (CFLAGS-wcswidth.c): Likewise.
20835 (CFLAGS-wcstol.c): Likewise.
20836 (CFLAGS-wcstoul.c): Likewise.
20837 (CFLAGS-wcstoll.c): Likewise.
20838 (CFLAGS-wcstoull.c): Likewise.
20839 (CFLAGS-wcstod.c): Likewise.
20840 (CFLAGS-wcstold.c): Likewise.
20841 (CFLAGS-wcstof128.c): Likewise.
20842 (CFLAGS-wcstof.c): Likewise.
20843 (CFLAGS-wcstol_l.c): Likewise.
20844 (CFLAGS-wcstoul_l.c): Likewise.
20845 (CFLAGS-wcstoll_l.c): Likewise.
20846 (CFLAGS-wcstoull_l.c): Likewise.
20847 (CFLAGS-wcstod_l.c): Likewise.
20848 (CFLAGS-wcstold_l.c): Likewise.
20849 (CFLAGS-wcstof128_l.c): Likewise.
20850 (CFLAGS-wcstof_l.c): Likewise.
20851 (CPPFLAGS-tst-wchar-h.c): Likewise.
20852 (CPPFLAGS-wcstold_l.c): Likewise.
20854 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20856 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20858 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20859 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20861 * manual/tunables.texi (Hardware Capability Tunables): Document
20862 glibc.tune.cached_memopt.
20863 * sysdeps/powerpc/cpu-features.c: New file.
20864 * sysdeps/powerpc/cpu-features.h: New file.
20865 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20866 _dl_powerpc_cpu_features.
20867 * sysdeps/powerpc/dl-tunables.list: New file.
20868 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20869 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20870 (INIT_ARCH): Initialize use_aligned_memopt.
20871 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20872 IS_IN(rtld))]: Restrict dl_platform_init availability and
20873 initialize CPU features used by tunables.
20874 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20875 Add memcpy-power8-cached.
20876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20877 __memcpy_power8_cached.
20878 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20879 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20882 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20884 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20885 (CFLAGS-noinl-tester.c): Likewise.
20886 (CFLAGS-tst-strlen.c): Likewise.
20887 (CFLAGS-stratcliff.c): Likewise.
20888 (CFLAGS-test-ffs.c): Likewise.
20889 (CFLAGS-tst-inlcall.c): Likewise.
20890 (CFLAGS-tst-xbzero-opt.c): Likewise.
20891 (CFLAGS-memcpy.c): Likewise.
20892 (CFLAGS-wordcopy.c): Likewise.
20894 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20896 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20897 Store r15 on stack and add cfi rule.
20898 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20901 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20904 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20907 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20909 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20910 Add s_sinf-sse2 and s_sinf-fma.
20911 (CFLAGS-s_sinf-fma.c): New.
20912 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20913 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20914 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20916 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20918 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20920 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20923 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20924 part of result to imaginary part of argument if it is zero and the
20925 real part of the argument is not finite.
20926 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20927 of result to real part of argument if it is zero and the imaginary
20928 part of the argument is not finite.
20930 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20933 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20934 and to the list of locales to be built for testing.
20935 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20936 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20937 and build the collation rules upon that.
20939 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20941 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20942 * manual/math.texi (Mathematics): Document support for _Float32.
20943 * math/Makefile (test-types): Add float32.
20944 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20945 * stdlib/Versions (GLIBC_2.27): Likewise.
20946 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20947 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20948 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20949 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20950 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20951 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20952 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20953 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20954 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20955 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20956 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20957 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20958 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20959 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20960 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20961 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20962 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20963 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20964 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20965 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20966 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20967 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20969 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20970 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20971 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20972 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20973 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20991 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20992 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20993 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20994 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20995 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20996 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20997 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20998 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20999 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21000 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21009 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21010 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21011 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21012 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21013 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21014 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21015 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21016 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21018 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21020 * stdlib/strtof.c: Include <bits/floatn.h>
21021 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21022 and later undefine as macro. Define as weak alias if
21024 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21025 and later undefine as macro. Define as weak alias if
21027 * stdlib/strtof_l.c: Include <bits/floatn.h>
21028 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21029 and later undefine as macro. Define as weak alias if
21031 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21032 and later undefine as macro. Define as weak alias if
21035 * stdlib/strfromf.c: Include <bits/floatn.h>.
21036 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21037 and later undefine as macro and define as weak alias.
21039 * math/test-float32.h: New file.
21041 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21042 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21043 (libm_alias_float_other_r): Create f32 alias.
21044 (libm_alias_float_r): Use semicolon before call to
21045 libm_alias_float_other_r.
21047 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21048 second argument to libm_alias_float_other.
21049 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21050 second argument to libm_alias_float_other.
21051 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21052 argument to libm_alias_float_other.
21055 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21056 real part of result for argument 0 + i * NaN.
21057 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21058 results for tests of 0 + i * NaN.
21060 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21062 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21064 2017-12-06 David S. Miller <davem@davemloft.net>
21066 * sysdeps/sparc/fpu/libm-test-ulps: Update
21067 exp_{downward,towardzero,upward} ulps.
21069 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21071 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21074 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21076 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21078 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21080 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21083 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21086 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21087 and to the list of locales to be built for testing.
21088 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21089 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21090 and build the collation rules upon that.
21092 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21094 * NEWS: Add sinf to list of optimized functions.
21096 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21098 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21099 (__HAVE_FLOAT32X): Likewise.
21100 * manual/math.texi (Mathematics): Document support for _Float64
21102 * math/Makefile (test-types): Add float64 and float32x.
21103 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21105 * stdlib/Versions (GLIBC_2.27): Likewise.
21106 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21107 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21108 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21109 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21110 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21111 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21112 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21113 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21114 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21115 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21116 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21117 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21118 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21119 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21120 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21121 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21122 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21123 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21124 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21125 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21126 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21127 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21129 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21130 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21131 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21132 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21133 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21150 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21151 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21152 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21153 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21154 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21155 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21156 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21158 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21159 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21168 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21169 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21170 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21171 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21172 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21173 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21174 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21175 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21177 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21179 * bits/floatn-common.h: Include <bits/long-double.h>.
21180 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21181 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21182 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21183 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21184 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21185 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21186 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21187 (__builtin_huge_valf64): Use __builtin_huge_vall.
21188 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21189 (__builtin_inff64): Use __builtin_infl.
21190 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21191 (__builtin_nanf64): Use __builtin_nanl.
21192 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21193 (__builtin_nansf64): Use __builtin_nansl.
21195 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21196 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21197 Carlos O'Donnell <carlos@redhat.com>
21199 * elf/dl-tunables.list: Add elision parameters.
21200 * manual/tunables.texi: Add entries about elision tunable.
21201 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21202 Add callback functions to dynamically enable/disable elision.
21203 Add multiple callbacks functions to set elision parameters.
21204 Deleted __libc_enable_secure check.
21205 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21206 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21207 * configure: Regenerated.
21208 * configure.ac: Option enable_lock_elision was deleted.
21209 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21210 * config.make.in: Remove references to enable_lock_elision.
21211 * manual/install.texi: Elision configure option was removed.
21212 * INSTALL: Regenerated to remove enable_lock_elision.
21214 Disable elision so it can verify error case for destroying a mutex.
21215 * sysdeps/powerpc/nptl/elide.h:
21216 Cleanup ENABLE_LOCK_ELISION check.
21217 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21218 * sysdeps/s390/configure: Regenerated.
21219 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21220 * nptl/tst-mutex8.c:
21221 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21222 * sysdeps/powerpc/powerpc32/sysdep.h:
21223 Deleted all ENABLE_LOCK_ELISION checks.
21224 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21225 * sysdeps/powerpc/sysdep.h: Likewise.
21226 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21227 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21228 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21229 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21230 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21231 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21232 enable-lock-elision.
21234 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21236 * stdlib/strtod.c: Include <bits/floatn.h>.
21237 (BUILD_DOUBLE): New macro.
21238 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21239 (strtof64): Define and later undefine as macro. Define as weak
21240 alias if [!USE_WIDE_CHAR].
21241 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21242 (wcstof64): Define and later undefine as macro. Define as weak
21243 alias if [USE_WIDE_CHAR].
21244 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21245 (strtof32x): Define and later undefine as macro. Define as weak
21246 alias if [!USE_WIDE_CHAR].
21247 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21248 (wcstof32x): Define and later undefine as macro. Define as weak
21249 alias if [USE_WIDE_CHAR].
21250 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21251 (BUILD_DOUBLE): New macro.
21252 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21253 (strtof64_l): Define and later undefine as macro. Define as weak
21254 alias if [!USE_WIDE_CHAR].
21255 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21256 (wcstof64_l): Define and later undefine as macro. Define as weak
21257 alias if [USE_WIDE_CHAR].
21258 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21259 (strtof32x_l): Define and later undefine as macro. Define as weak
21260 alias if [!USE_WIDE_CHAR].
21261 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21262 (wcstof32x_l): Define and later undefine as macro. Define as weak
21263 alias if [USE_WIDE_CHAR].
21265 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21267 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21268 (reduced): Use ones as double instead of integer.
21270 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21272 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21274 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21276 * stdlib/strfromd.c: Include <bits/floatn.h>.
21277 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21278 and later undefine as macro and define as weak alias.
21279 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21282 * math/test-float32x.h: New file.
21283 * math/test-float64.h: Likewise.
21285 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21286 (libm_alias_double_other_r_f64): New macro.
21287 (libm_alias_double_other_r_f32x): Likewise.
21288 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21289 libm_alias_double_other_r_f32x.
21290 (libm_alias_double_r): Use semicolon before call to
21291 libm_alias_double_other_r.
21292 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21294 (libm_alias_double_other_r_f64): New macro.
21295 (libm_alias_double_other_r_f32x): Likewise.
21296 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21297 libm_alias_double_other_r_f32x.
21299 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21301 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21303 (SINF_FUNC): Likewise. Replace floor with simple casts.
21305 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21308 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21309 and to the list of locales to be built for testing.
21310 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21311 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21312 and build the collation rules upon that.
21314 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21316 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21317 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21318 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21319 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21320 instead of __insn__xxx.
21321 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21322 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21323 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21324 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21325 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21326 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21328 2017-12-05 Florian Weimer <fweimer@redhat.com>
21330 Linux: Implement interfaces for memory protection keys
21331 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21333 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21334 * support/xunistd.h (xsysconf): Declare.
21335 * support/xraise.c: New file.
21336 * support/xsigaction.c: Likewise.
21337 * support/xsignal.c: Likewise.
21338 * support/xsysconf.c: Likewise.
21339 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21340 pkey_set, pkey_get, pkey_mprotect.
21341 [misc] (tests): Add tst-pkey.
21342 (tst-pkey): Link with -lpthread.
21343 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21344 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21345 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21346 (PKEY_DISABLE_WRITE): Define.
21347 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21349 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21350 (SEGV_PKUERR): Add.
21351 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21352 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21353 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21354 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21356 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21357 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21358 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21359 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21360 * sysdeps/unix/sysv/linux/**.abilist: Update.
21362 2017-12-05 Florian Weimer <fweimer@redhat.com>
21364 * support/tst-test_compare.c (subprocess): Use long long instead
21365 of long argument for consistent type width across 32-bit and
21366 64-bit architectures.
21367 (do_test): Adjust expected output.
21369 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21371 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21372 (cosf): Define using libm_alias_float.
21373 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21374 (fabsf): Define using libm_alias_float.
21375 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21376 (fmaf): Define using libm_alias_float.
21377 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21378 (rintf): Define using libm_alias_float.
21379 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21380 (sinf): Define using libm_alias_float.
21381 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21382 <libm-alias-float.h>.
21383 (modff): Define using libm_alias_float.
21384 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21385 <libm-alias-float.h>.
21386 (logbf): Define using libm_alias_float.
21387 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21388 <libm-alias-float.h>.
21389 (ceilf): Define using libm_alias_float.
21390 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21391 <libm-alias-float.h>.
21392 (copysignf): Define using libm_alias_float.
21393 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21394 <libm-alias-float.h>.
21395 (floorf): Define using libm_alias_float.
21396 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21397 <libm-alias-float.h>.
21398 (llrintf): Define using libm_alias_float.
21399 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21400 <libm-alias-float.h>.
21401 (llroundf): Define using libm_alias_float.
21402 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21403 <libm-alias-float.h>.
21404 (lrintf): Define using libm_alias_float.
21405 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21406 <libm-alias-float.h>.
21407 (lroundf): Define using libm_alias_float.
21408 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21409 <libm-alias-float.h>.
21410 (nearbyintf): Define using libm_alias_float.
21411 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21412 <libm-alias-float.h>.
21413 (rintf): Define using libm_alias_float.
21414 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21415 <libm-alias-float.h>.
21416 (roundf): Define using libm_alias_float.
21417 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21418 <libm-alias-float.h>.
21419 (truncf): Define using libm_alias_float.
21420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21421 Include <libm-alias-float.h>.
21422 (ceilf): Define using libm_alias_float.
21423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21424 Include <libm-alias-float.h>.
21425 (copysignf): Define using libm_alias_float.
21426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21427 Include <libm-alias-float.h>.
21428 (floorf): Define using libm_alias_float.
21429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21430 Include <libm-alias-float.h>.
21431 (llrintf): Define using libm_alias_float.
21432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21433 Include <libm-alias-float.h>.
21434 (llroundf): Define using libm_alias_float.
21435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21436 Include <libm-alias-float.h>.
21437 (logbf): Define using libm_alias_float.
21438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21439 Include <libm-alias-float.h>.
21440 (lrintf): Define using libm_alias_float.
21441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21442 Include <libm-alias-float.h>.
21443 (lroundf): Define using libm_alias_float.
21444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21445 Include <libm-alias-float.h>.
21446 (modff): Define using libm_alias_float.
21447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21448 Include <libm-alias-float.h>.
21449 (roundf): Define using libm_alias_float.
21450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21451 Include <libm-alias-float.h>.
21452 (truncf): Define using libm_alias_float.
21453 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21454 <libm-alias-float.h>.
21455 (llrintf): Define using libm_alias_float.
21456 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21457 <libm-alias-float.h>.
21458 (llroundf): Define using libm_alias_float.
21459 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21460 <libm-alias-float.h>.
21461 (ceilf): Define using libm_alias_float.
21462 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21463 <libm-alias-float.h>.
21464 (floorf): Define using libm_alias_float.
21465 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21466 <libm-alias-float.h>.
21467 (llroundf): Define using libm_alias_float.
21468 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21469 <libm-alias-float.h>.
21470 (lroundf): Define using libm_alias_float.
21471 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21472 <libm-alias-float.h>.
21473 (roundf): Define using libm_alias_float.
21474 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21475 <libm-alias-float.h>.
21476 (truncf): Define using libm_alias_float.
21477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21478 <libm-alias-float.h>.
21479 (copysignf): Define using libm_alias_float.
21480 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21481 <libm-alias-float.h>.
21482 (llrintf): Define using libm_alias_float.
21483 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21484 <libm-alias-float.h>.
21485 (llroundf): Define using libm_alias_float.
21486 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21487 <libm-alias-float.h>.
21488 (lrintf): Define using libm_alias_float.
21489 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21490 <libm-alias-float.h>.
21491 (lroundf): Define using libm_alias_float.
21492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21493 <libm-alias-float.h>.
21494 (ceilf): Define using libm_alias_float.
21495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21496 <libm-alias-float.h>.
21497 (copysignf): Define using libm_alias_float.
21498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21499 <libm-alias-float.h>.
21500 (cosf): Define using libm_alias_float.
21501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21502 <libm-alias-float.h>.
21503 (floorf): Define using libm_alias_float.
21504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21505 <libm-alias-float.h>.
21506 (llrintf): Define using libm_alias_float.
21507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21508 <libm-alias-float.h>.
21509 (llroundf): Define using libm_alias_float.
21510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21511 <libm-alias-float.h>.
21512 (logbf): Define using libm_alias_float.
21513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21514 <libm-alias-float.h>.
21515 (modff): Define using libm_alias_float.
21516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21517 <libm-alias-float.h>.
21518 (roundf): Define using libm_alias_float.
21519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21520 <libm-alias-float.h>.
21521 (sinf): Define using libm_alias_float.
21522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21523 <libm-alias-float.h>.
21524 (truncf): Define using libm_alias_float.
21525 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21526 <libm-alias-float.h>.
21527 (ceilf): Define using libm_alias_float.
21528 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21529 <libm-alias-float.h>.
21530 (copysignf): Define using libm_alias_float.
21531 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21532 <libm-alias-float.h>.
21533 (floorf): Define using libm_alias_float.
21534 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21535 <libm-alias-float.h>.
21536 (llrintf): Define using libm_alias_float.
21537 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21538 <libm-alias-float.h>.
21539 (llroundf): Define using libm_alias_float.
21540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21541 <libm-alias-float.h>.
21542 (nearbyintf): Define using libm_alias_float.
21543 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21544 <libm-alias-float.h>.
21545 (rintf): Define using libm_alias_float.
21546 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21547 <libm-alias-float.h>.
21548 (roundf): Define using libm_alias_float.
21549 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21550 <libm-alias-float.h>.
21551 (truncf): Define using libm_alias_float.
21552 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21553 <libm-alias-float.h>.
21554 (ceilf): Define using libm_alias_float.
21555 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21556 <libm-alias-float.h>.
21557 (floorf): Define using libm_alias_float.
21558 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21559 <libm-alias-float.h>.
21560 (llroundf): Define using libm_alias_float.
21561 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21562 <libm-alias-float.h>.
21563 (roundf): Define using libm_alias_float.
21564 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21565 <libm-alias-float.h>.
21566 (truncf): Define using libm_alias_float.
21567 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21568 <libm-alias-float.h>.
21569 (copysignf): Define using libm_alias_float.
21570 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21571 <libm-alias-float.h>.
21572 (llrintf): Define using libm_alias_float.
21573 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21574 <libm-alias-float.h>.
21575 (llroundf): Define using libm_alias_float.
21576 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21577 <libm-alias-float.h>.
21578 (cosf): Define using libm_alias_float.
21579 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21580 <libm-alias-float.h>.
21581 (llrintf): Define using libm_alias_float.
21582 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21583 <libm-alias-float.h>.
21584 (llroundf): Define using libm_alias_float.
21585 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21586 <libm-alias-float.h>.
21587 (sinf): Define using libm_alias_float.
21589 2017-12-04 Florian Weimer <fweimer@redhat.com>
21591 * support/check.h (TEST_COMPARE): Define.
21592 (support_test_compare_failure): Declare.
21593 * support/Makefile (libsupport-routines): Add
21594 support_test_compare_failure.
21595 (tests): Add tst-test_compare.
21596 * support /support_test_compare_failure.c: New file.
21597 * support/tst-test_compare.c: Likewise.
21599 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21602 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21603 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21604 available, this rewrite of the collation rules does reproduce
21605 the test file in the same order.
21607 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21610 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21611 digraphs in the month and day names. Using single code points for
21612 digraphs is deprecated. While there are dedicated Unicode
21613 codepoints, for the digraphs, these are included for backwards
21614 compatibility and modern texts use a sequence of Basic Latin
21615 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21616 This makes the month and day names agree exactly with CLDR now,
21617 CLDR does not use the single code points for the digraphs either.
21619 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21621 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21623 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21625 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21628 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21630 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21631 Define only for libc.so.
21633 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21636 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21637 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21638 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21639 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21641 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21644 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21646 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21649 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21650 PREINIT_FUNCTION_WEAK is nonzero.
21651 (gmon_initializer): New function. Put procedure label for it in
21652 .init_array section.
21653 (_init): Don't call PREINIT_FUNCTION.
21654 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21655 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21656 value when map argument is null.
21658 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21659 depi instruction from PIC pc-relative sequence.
21660 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21661 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21662 (elf_machine_load_address): Likewise.
21663 (elf_machine_runtime_setup): Likewise.
21665 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21667 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21668 <libm-alias-double.h>.
21669 (logb): Define using libm_alias_double.
21670 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21671 <libm-alias-double.h>.
21672 (copysign): Define using libm_alias_double.
21673 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21674 <libm-alias-double.h>.
21675 (llrint): Define using libm_alias_double.
21676 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21677 <libm-alias-double.h>.
21678 (llround): Define using libm_alias_double.
21679 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21680 <libm-alias-double.h>.
21681 (lrint): Define using libm_alias_double.
21682 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21683 <libm-alias-double.h>.
21684 (lround): Define using libm_alias_double.
21685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21686 Include <libm-alias-double.h>.
21687 (copysign): Define using libm_alias_double.
21688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21689 Include <libm-alias-double.h>.
21690 (llrint): Define using libm_alias_double.
21691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21692 Include <libm-alias-double.h>.
21693 (llround): Define using libm_alias_double.
21694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21695 <libm-alias-double.h>.
21696 (logb): Define using libm_alias_double.
21697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21698 Include <libm-alias-double.h>.
21699 (lrint): Define using libm_alias_double.
21700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21701 Include <libm-alias-double.h>.
21702 (lround): Define using libm_alias_double.
21703 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21704 <libm-alias-double.h>.
21705 (llrint): Define using libm_alias_double.
21706 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21707 <libm-alias-double.h>.
21708 (llround): Define using libm_alias_double.
21709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21710 <libm-alias-double.h>.
21711 (llround): Define using libm_alias_double.
21712 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21713 <libm-alias-double.h>.
21714 (lround): Define using libm_alias_double.
21715 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21716 <libm-alias-double.h>.
21717 (copysign): Define using libm_alias_double.
21718 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21719 <libm-alias-double.h>.
21720 (llrint): Define using libm_alias_double.
21721 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21722 <libm-alias-double.h>.
21723 (llround): Define using libm_alias_double.
21724 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21725 <libm-alias-double.h>.
21726 (lrint): Define using libm_alias_double.
21727 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21728 <libm-alias-double.h>.
21729 (lround): Define using libm_alias_double.
21730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21731 <libm-alias-double.h>.
21732 (copysign): Define using libm_alias_double.
21733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21734 <libm-alias-double.h>.
21735 (llrint): Define using libm_alias_double.
21737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21738 <libm-alias-double.h>.
21739 (llround): Define using libm_alias_double.
21740 (lround): Likewise.
21741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21742 <libm-alias-double.h>.
21743 (logb): Define using libm_alias_double.
21744 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21745 <libm-alias-double.h>.
21746 (copysign): Define using libm_alias_double.
21747 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21748 <libm-alias-double.h>.
21749 (llrint): Define using libm_alias_double.
21751 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21752 <libm-alias-double.h>.
21753 (llround): Define using libm_alias_double.
21754 (lround): Likewise.
21755 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21756 <libm-alias-double.h>.
21757 (llround): Define using libm_alias_double.
21758 (lround): Likewise.
21759 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21760 <libm-alias-double.h>.
21761 (copysign): Define using libm_alias_double.
21762 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21763 <libm-alias-double.h>.
21764 (llrint): Define using libm_alias_double.
21766 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21767 <libm-alias-double.h>.
21768 (llround): Define using libm_alias_double.
21769 (lround): Likewise.
21770 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21771 <libm-alias-double.h>.
21772 (llrint): Define using libm_alias_double.
21774 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21775 <libm-alias-double.h>.
21776 (llround): Define using libm_alias_double.
21777 (lround): Likewise.
21779 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21782 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21783 compat symbol based on llround.
21785 * sysdeps/powerpc/power7/fpu/s_logb.c
21786 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21787 symbol based on __logb, not on logb.
21788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21789 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21791 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21793 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21794 (rint): Define using libm_alias_double.
21795 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21796 <libm-alias-double.h>.
21797 (modf): Define using libm_alias_double.
21798 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21799 <libm-alias-double.h>.
21800 (ceil): Define using libm_alias_double.
21801 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21802 <libm-alias-double.h>.
21803 (floor): Define using libm_alias_double.
21804 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21805 <libm-alias-double.h>.
21806 (nearbyint): Define using libm_alias_double.
21807 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21808 <libm-alias-double.h>.
21809 (rint): Define using libm_alias_double.
21810 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21811 <libm-alias-double.h>.
21812 (round): Define using libm_alias_double.
21813 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21814 <libm-alias-double.h>.
21815 (trunc): Define using libm_alias_double.
21816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21817 <libm-alias-double.h>.
21818 (ceil): Define using libm_alias_double.
21819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21820 Include <libm-alias-double.h>.
21821 (floor): Define using libm_alias_double.
21822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21823 <libm-alias-double.h>.
21824 (modf): Define using libm_alias_double.
21825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21826 Include <libm-alias-double.h>.
21827 (round): Define using libm_alias_double.
21828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21829 Include <libm-alias-double.h>.
21830 (trunc): Define using libm_alias_double.
21831 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21832 <libm-alias-double.h>.
21833 (ceil): Define using libm_alias_double.
21834 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21835 <libm-alias-double.h>.
21836 (floor): Define using libm_alias_double.
21837 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21838 <libm-alias-double.h>.
21839 (round): Define using libm_alias_double.
21840 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21841 <libm-alias-double.h>.
21842 (trunc): Define using libm_alias_double.
21843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21844 <libm-alias-double.h>.
21845 (ceil): Define using libm_alias_double.
21846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21847 <libm-alias-double.h>.
21848 (floor): Define using libm_alias_double.
21849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21850 <libm-alias-double.h>.
21851 (modf): Define using libm_alias_double.
21852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21853 <libm-alias-double.h>.
21854 (round): Define using libm_alias_double.
21855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21856 <libm-alias-double.h>.
21857 (trunc): Define using libm_alias_double.
21858 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21859 <libm-alias-double.h>.
21860 (ceil): Define using libm_alias_double.
21861 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21862 <libm-alias-double.h>.
21863 (floor): Define using libm_alias_double.
21864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21865 <libm-alias-double.h>.
21866 (nearbyint): Define using libm_alias_double.
21867 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21868 <libm-alias-double.h>.
21869 (rint): Define using libm_alias_double.
21870 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21871 <libm-alias-double.h>.
21872 (round): Define using libm_alias_double.
21873 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21874 <libm-alias-double.h>.
21875 (trunc): Define using libm_alias_double.
21876 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21877 <libm-alias-double.h>.
21878 (ceil): Define using libm_alias_double.
21879 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21880 <libm-alias-double.h>.
21881 (floor): Define using libm_alias_double.
21882 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21883 <libm-alias-double.h>.
21884 (round): Define using libm_alias_double.
21885 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21886 <libm-alias-double.h>.
21887 (trunc): Define using libm_alias_double.
21889 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21890 (fabs): Define using libm_alias_double.
21891 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21892 (fma): Define using libm_alias_double.
21893 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21894 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21895 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21896 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21898 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21900 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21902 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21903 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21904 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21907 due redirect macro.
21909 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21911 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21913 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21915 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21916 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21917 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21918 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21921 (libm-sysdep_routines): Add s_nearbyintf-generic and
21922 s_nearbyint-generic.
21923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21936 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21947 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21958 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21969 (sysdep_calls): New rule.
21970 (sysdep_routines): Use sysdep_calls as base.
21971 (libm-sysdep_routines): Add generic rule for symbols shared with
21972 libc. Add s_copysign-generic and s_copysign-generic objects.
21973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21982 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21985 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21986 the list of locales to be built for testing.
21987 * localedata/is_IS.UTF-8.in: New file.
21988 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21991 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21993 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21994 <libm-alias-float.h>.
21995 (fabsf): Define using libm_alias_float.
21997 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21999 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22001 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22003 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22004 <libm-alias-float.h>.
22005 (fabsf): Define using libm_alias_float.
22006 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22007 <libm-alias-float.h>.
22008 (lrintf): Define using libm_alias_float.
22009 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22010 <libm-alias-float.h>.
22011 (rintf): Define using libm_alias_float.
22013 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22014 <libm-alias-double.h>.
22015 (fabs): Define using libm_alias_double.
22016 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22017 <libm-alias-double.h>.
22018 (lrint): Define using libm_alias_double.
22019 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22020 <libm-alias-double.h>.
22021 (rint): Define using libm_alias_double.
22023 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22024 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22025 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22026 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22027 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22028 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22029 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22030 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22031 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22032 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22033 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22034 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22035 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22036 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22037 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22038 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22039 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22040 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22042 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22043 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22044 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22046 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22047 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22048 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22050 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22051 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22052 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22053 s_expm1_template.c.
22054 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22055 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22056 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22058 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22059 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22060 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22061 s_floor_template.c.
22062 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22063 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22064 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22065 s_frexp_template.c.
22066 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22067 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22068 s_lrint_template.c.
22069 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22070 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22071 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22073 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22074 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22075 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22076 s_nearbyint_template.c.
22077 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22078 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22079 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22080 s_remquo_template.c.
22081 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22082 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22083 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22085 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22086 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22087 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22089 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22090 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22091 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22092 s_sincos_template.c.
22093 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22094 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22095 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22097 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22098 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22099 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22101 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22102 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22103 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22104 s_trunc_template.c.
22105 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22106 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22107 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22108 s_atan.c instead of including s_atan.c.
22109 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22110 s_atanf.c instead of including s_atanf.c.
22111 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22112 s_atanl.c instead of including s_atanl.c.
22113 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22114 instead of s_atan.c.
22115 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22116 instead of s_atanf.c.
22117 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22118 instead of s_atanl.c.
22120 * scripts/update-copyrights: Do not handle intl/plural.c
22123 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22126 * configure.ac (BISON): Require to be present.
22127 * configure: Regenerated.
22128 * intl/Makefile (generated): Add plural.c.
22129 [$(BISON) != no]: Make code unconditional.
22130 (plural.c): Change rule to $(objpfx)plural.c.
22131 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22132 * intl/plural.c: Remove.
22133 * manual/install.texi (Tools for Compilation): Document bison as
22135 * INSTALL: Regenerated.
22137 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22139 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22140 <libm-alias-double.h>.
22141 (llrint): Define using libm_alias_double.
22142 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22143 <libm-alias-float.h>.
22144 (llrintf): Define using libm_alias_float.
22145 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22146 <libm-alias-ldouble.h>.
22147 (llrintl): Define using libm_alias_ldouble.
22149 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22150 declare_mgen_alias instead of weak_alias.
22151 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22152 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22153 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22155 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22157 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22159 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22160 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22161 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22163 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22164 Add submul_1-generic.
22165 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22166 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22167 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22169 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22170 Add addmul_1-generic.
22171 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22172 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22173 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22175 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22177 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22178 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22179 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22181 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22183 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22184 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22185 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22187 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22189 According to CLDR, collation rules for Serbian and Bosnian
22190 should be the same as for Croatian.
22193 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22194 and to the list of locales to be built for testing.
22195 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22196 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22197 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22198 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22200 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22202 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22203 to make test case pass.
22204 * localedata/hr_HR.UTF-8.in: Add more test strings.
22206 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22208 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22210 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22212 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22213 the list of locales to built for testing.
22214 * localedata/hr_HR.UTF-8.in: New file.
22216 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22219 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22221 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22222 CLDR (except use ligatures for the digraphs, CLDR does not use
22223 the ligatures), add first_workday, some fixes in the date and time
22225 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22227 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22228 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22229 Add int_p_cs_precedes and int_n_cs_precedes.
22230 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22231 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22233 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22234 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22236 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22237 and lang_lib. Change postal_fmt.
22239 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22241 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22243 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22244 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22245 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22246 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22247 * sysdeps/generic/setjmpP.h: New file.
22248 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22249 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22250 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22251 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22252 Add jmp_buf-ssp.sym.
22253 (tests): Add tst-saved_mask-1.
22255 2017-11-30 Arjun Shankar <arjun@redhat.com>
22259 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22260 instead of request2size.
22262 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22265 (__lllrint): Remove alias.
22266 (lllrint): Likewise.
22267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22268 (__lllrintf): Likewise.
22269 (lllrintf): Likewise.
22271 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22272 <libm-alias-float.h>.
22273 (copysignf): Define using libm_alias_float.
22274 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22275 <libm-alias-float.h>.
22276 (fabsf): Define using libm_alias_float.
22277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22278 Include <libm-alias-float.h>.
22279 (copysignf): Define using libm_alias_float.
22280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22281 <libm-alias-float.h>.
22282 (fabsf): Define using libm_alias_float.
22283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22284 <libm-alias-float.h>.
22285 (fdimf): Define using libm_alias_float.
22286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22287 <libm-alias-float.h>.
22288 (fmaf): Define using libm_alias_float.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22290 <libm-alias-float.h>.
22291 (llrintf): Define using libm_alias_float.
22292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22293 Include <libm-alias-float.h>.
22294 (nearbyintf): Define using libm_alias_float.
22295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22296 <libm-alias-float.h>.
22297 (rintf): Define using libm_alias_float.
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22299 <libm-alias-float.h>.
22300 (llrintf): Define using libm_alias_float.
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22302 <libm-alias-float.h>.
22303 (lrintf): Define using libm_alias_float.
22304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22305 <libm-alias-float.h>.
22306 (nearbyintf): Define using libm_alias_float.
22307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22308 <libm-alias-float.h>.
22309 (rintf): Define using libm_alias_float.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22311 <libm-alias-float.h>.
22312 (ceilf): Define using libm_alias_float.
22313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22314 <libm-alias-float.h>.
22315 (floorf): Define using libm_alias_float.
22316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22317 <libm-alias-float.h>.
22318 (fmaf): Define using libm_alias_float.
22319 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22320 <libm-alias-float.h>.
22321 (lrintf): Define using libm_alias_float.
22322 (llrintf): Likewise.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22324 <libm-alias-float.h>.
22325 (nearbyintf): Define using libm_alias_float.
22326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22327 <libm-alias-float.h>.
22328 (rintf): Define using libm_alias_float.
22329 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22330 <libm-alias-float.h>.
22331 (truncf): Define using libm_alias_float.
22332 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22333 <libm-alias-float.h>.
22334 (copysignf): Define using libm_alias_float.
22335 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22336 <libm-alias-float.h>.
22337 (fabsf): Define using libm_alias_float.
22338 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22339 <libm-alias-float.h>.
22340 (lrintf): Define using libm_alias_float.
22341 (llrintf): Likewise.
22342 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22343 <libm-alias-float.h>.
22344 (nearbyintf): Define using libm_alias_float.
22345 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22346 <libm-alias-float.h>.
22347 (rintf): Define using libm_alias_float.
22349 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22351 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22352 <libm-alias-double.h>.
22353 (copysign): Define using libm_alias_double.
22354 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22355 <libm-alias-double.h>.
22356 (fabs): Define using libm_alias_double.
22357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22358 Include <libm-alias-double.h>.
22359 (copysign): Define using libm_alias_double.
22360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22361 <libm-alias-double.h>.
22362 (fabs): Define using libm_alias_double.
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22364 <libm-alias-double.h>.
22365 (fdim): Define using libm_alias_double.
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22367 <libm-alias-double.h>.
22368 (fma): Define using libm_alias_double.
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22370 <libm-alias-double.h>.
22371 (llrint): Define using libm_alias_double.
22372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22373 Include <libm-alias-double.h>.
22374 (nearbyint): Define using libm_alias_double.
22375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22376 <libm-alias-double.h>.
22377 (rint): Define using libm_alias_double.
22378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22379 <libm-alias-double.h>.
22380 (fabs): Define using libm_alias_double.
22381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22382 <libm-alias-double.h>.
22383 (llrint): Define using libm_alias_double.
22384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22385 <libm-alias-double.h>.
22386 (nearbyint): Define using libm_alias_double.
22387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22388 <libm-alias-double.h>.
22389 (rint): Define using libm_alias_double.
22390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22391 <libm-alias-double.h>.
22392 (ceil): Define using libm_alias_double.
22393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22394 <libm-alias-double.h>.
22395 (floor): Define using libm_alias_double.
22396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22397 <libm-alias-double.h>.
22398 (fma): Define using libm_alias_double.
22399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22400 <libm-alias-double.h>.
22401 (lrint): Define using libm_alias_double.
22402 (llrint): Likewise.
22403 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22404 <libm-alias-double.h>.
22405 (nearbyint): Define using libm_alias_double.
22406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22407 <libm-alias-double.h>.
22408 (rint): Define using libm_alias_double.
22409 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22410 <libm-alias-double.h>.
22411 (trunc): Define using libm_alias_double.
22412 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22413 <libm-alias-double.h>.
22414 (copysign): Define using libm_alias_double.
22415 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22416 <libm-alias-double.h>.
22417 (fabs): Define using libm_alias_double.
22418 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22419 <libm-alias-double.h>.
22420 (lrint): Define using libm_alias_double.
22421 (llrint): Likewise.
22422 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22423 <libm-alias-double.h>.
22424 (nearbyint): Define using libm_alias_double.
22425 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22426 <libm-alias-double.h>.
22427 (rint): Define using libm_alias_double.
22430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22432 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22434 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22435 SPARC --disable-multi-arch glibc variants.
22437 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22438 <libm-alias-float.h>.
22439 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22441 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22442 <libm-alias-float.h>.
22443 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22445 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22446 <libm-alias-float.h>.
22447 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22449 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22450 <libm-alias-float.h>.
22451 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22453 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22454 <libm-alias-float.h>.
22455 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22457 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22458 <libm-alias-float.h>.
22459 (ceilf): Define using libm_alias_float.
22460 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22461 <libm-alias-float.h>.
22462 (floorf): Define using libm_alias_float.
22463 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22464 <libm-alias-float.h>.
22465 (fmaf): Define using libm_alias_float.
22466 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22467 <libm-alias-float.h>.
22468 (nearbyintf): Define using libm_alias_float.
22469 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22470 <libm-alias-float.h>.
22471 (rintf): Define using libm_alias_float.
22472 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22473 <libm-alias-float.h>.
22474 (truncf): Define using libm_alias_float.
22475 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22476 (copysignf): Define using libm_alias_float.
22477 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22478 (cosf): Define using libm_alias_float.
22479 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22480 (fabsf): Define using libm_alias_float.
22481 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22482 (fmaxf): Define using libm_alias_float.
22483 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22484 (fminf): Define using libm_alias_float.
22485 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22486 (llrintf): Define using libm_alias_float.
22487 [!__ILP32__] (lrintf): Likewise.
22488 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22489 (sincosf): Define using libm_alias_float.
22490 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22491 (sinf): Define using libm_alias_float.
22492 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22493 (lrintf): Define using libm_alias_float.
22495 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22496 <libm-alias-double.h>.
22497 (atan): Define using libm_alias_double.
22498 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22499 <libm-alias-double.h>.
22500 (ceil): Define using libm_alias_double.
22501 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22502 <libm-alias-double.h>.
22503 (floor): Define using libm_alias_double.
22504 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22505 <libm-alias-double.h>.
22506 (fma): Define using libm_alias_double.
22507 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22508 <libm-alias-double.h>.
22509 (nearbyint): Define using libm_alias_double.
22510 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22511 <libm-alias-double.h>.
22512 (rint): Define using libm_alias_double.
22513 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22514 <libm-alias-double.h>.
22515 (sin): Define using libm_alias_double.
22517 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22518 <libm-alias-double.h>.
22519 (tan): Define using libm_alias_double.
22520 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22521 <libm-alias-double.h>.
22522 (trunc): Define using libm_alias_double.
22523 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22524 (copysign): Define using libm_alias_double.
22525 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22526 (fabs): Define using libm_alias_double.
22527 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22528 (fmax): Define using libm_alias_double.
22529 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22530 (fmin): Define using libm_alias_double.
22531 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22532 (llrint): Define using libm_alias_double.
22533 [!__ILP32__] (lrint): Likewise.
22534 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22535 (lrint): Define using libm_alias_double.
22537 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22540 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22550 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22557 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22560 (libm-sysdep_routines): Add s_nearbyint-generic and
22561 s_nearbyintf-generic objects.
22562 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22563 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22564 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22565 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22566 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22567 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22570 Add s_finitef-generic and s_finite-generic objects.
22571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22572 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22575 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22579 Add s_isinff-generic and s_isinf-generic objects.
22580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22588 Add s_isnanf-generic and s_isnan-generic objects.
22589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22596 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22600 (sysdep_routines): Use sysdep_calls as base.
22601 (libm-sysdep_routines): Add generic rule for symbols shared with
22602 libc. Add s_signbit-generic and s_signbitf-generic objects.
22603 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22604 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22605 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22610 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22612 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22613 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22614 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22615 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22616 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22617 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22618 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22619 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22620 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22621 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22622 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22623 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22624 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22625 libm_alias_float_r.
22626 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22627 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22629 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22630 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22631 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22632 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22633 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22634 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22635 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22636 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22637 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22638 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22640 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22642 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22643 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22644 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22645 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22646 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22647 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22648 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22649 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22650 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22651 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22652 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22653 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22654 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22655 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22656 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22657 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22658 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22659 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22660 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22662 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22663 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22664 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22665 * sysdeps/ia64/fpu/w_lgammaf_main.c
22666 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22667 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22669 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22670 Alexandre Oliva <aoliva@redhat.com>
22673 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22674 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22676 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22678 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22679 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22680 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22681 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22682 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22683 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22684 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22685 instead of “ifdef DIACRIT_BACKWARD”.
22687 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22689 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22690 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22691 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22692 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22693 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22694 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22701 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22702 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22703 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22704 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22705 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22706 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22708 ($(have-as-vis3) == yes): Remove conditional.
22709 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22719 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22725 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22726 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22728 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22730 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22731 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22732 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22733 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22734 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22735 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22736 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22737 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22738 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22739 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22740 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22741 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22742 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22743 libm_alias_double_r.
22744 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22746 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22747 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22748 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22749 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22750 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22751 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22752 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22753 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22754 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22755 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22756 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22758 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22760 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22761 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22762 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22763 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22764 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22765 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22766 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22767 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22768 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22769 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22770 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22771 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22772 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22773 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22774 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22775 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22776 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22777 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22779 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22780 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22781 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22782 * sysdeps/ia64/fpu/w_lgamma_main.c
22783 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22784 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22786 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22788 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22789 address of $global$ into %dp register earlier. Use pc-relative
22790 instruction sequence for PIC case.
22792 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22794 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22795 (asinhf): Define using libm_alias_float.
22796 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22797 (atanf): Define using libm_alias_float.
22798 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22799 (cbrtf): Define using libm_alias_float.
22800 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22801 (ceilf): Define using libm_alias_float.
22802 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22803 (copysignf): Define using libm_alias_float.
22804 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22805 (expm1f): Define using libm_alias_float.
22806 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22807 (fabsf): Define using libm_alias_float.
22808 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22809 (floorf): Define using libm_alias_float.
22810 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22811 (fmaxf): Define using libm_alias_float.
22812 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22813 (fminf): Define using libm_alias_float.
22814 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22815 (frexpf): Define using libm_alias_float.
22816 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22817 (llrintf): Define using libm_alias_float.
22818 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22819 (logbf): Define using libm_alias_float.
22820 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22821 (lrintf): Define using libm_alias_float.
22822 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22823 (nearbyintf): Define using libm_alias_float.
22824 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22825 (remquof): Define using libm_alias_float.
22826 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22827 (rintf): Define using libm_alias_float.
22828 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22829 (truncf): Define using libm_alias_float.
22830 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22831 <libm-alias-float.h>.
22832 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22834 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22835 <libm-alias-float.h>.
22836 (expf): Define using libm_alias_float, or libm_alias_float_other
22838 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22839 <libm-alias-float.h>.
22840 (log2f): Define using libm_alias_float, or libm_alias_float_other
22842 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22843 <libm-alias-float.h>.
22844 (logf): Define using libm_alias_float, or libm_alias_float_other
22846 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22847 <libm-alias-float.h>.
22848 (powf): Define using libm_alias_float, or libm_alias_float_other
22850 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22851 <libm-alias-float.h>.
22852 (cosf): Define using libm_alias_float.
22853 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22854 <libm-alias-float.h>.
22855 (sincosf): Define using libm_alias_float.
22856 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22857 <libm-alias-float.h>.
22858 (sinf): Define using libm_alias_float.
22859 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22860 (fmaxf): Define using libm_alias_float.
22861 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22862 (fminf): Define using libm_alias_float.
22863 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22864 <libm-alias-float.h>.
22865 (fmaf): Define using libm_alias_float.
22867 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22868 (asinh): Define using libm_alias_double.
22869 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22870 (atan): Define using libm_alias_double.
22871 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22872 (cbrt): Define using libm_alias_double.
22873 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22874 (ceil): Define using libm_alias_double.
22875 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22876 (copysign): Define using libm_alias_double.
22877 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22878 (expm1): Define using libm_alias_double.
22879 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22880 (fabs): Define using libm_alias_double.
22881 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22882 (fdim): Define using libm_alias_double.
22883 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22884 (floor): Define using libm_alias_double.
22885 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22886 (fmax): Define using libm_alias_double.
22887 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22888 (fmin): Define using libm_alias_double.
22889 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22890 (frexp): Define using libm_alias_double.
22891 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22892 (llrint): Define using libm_alias_double.
22893 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22894 (logb): Define using libm_alias_double.
22895 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22896 (lrint): Define using libm_alias_double.
22897 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22898 (nearbyint): Define using libm_alias_double.
22899 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22900 (remquo): Define using libm_alias_double.
22901 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22902 (rint): Define using libm_alias_double.
22903 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22904 (trunc): Define using libm_alias_double.
22905 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22906 (fmax): Define using libm_alias_double.
22907 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22908 (fmin): Define using libm_alias_double.
22909 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22910 (fma): Define using libm_alias_double.
22912 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22915 * elf/dl-hwcaps.c (ROUND): Removed.
22916 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22917 and ELF_NOTE_NEXT_OFFSET.
22918 * elf/dl-load.c (ROUND): Removed.
22919 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22920 * elf/readelflib.c (ROUND): Removed.
22921 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22922 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22923 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22924 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22926 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22928 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22929 [!__fmaf] (fmaf): Define using libm_alias_float.
22931 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22932 [!__fma] (fma): Define using libm_alias_double.
22933 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22935 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22938 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22939 and implement the collation rules for cs from CLDR on top of that.
22940 * Makefile: Add cs_CZ.UTF-8 to test-input.
22941 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22943 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22945 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22947 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22948 Icarus Sparry <icarus.w.sparry@intel.com>
22950 * benchtests/Makefile:Add BENCHSET to allow subsets of
22951 benchmarks to be run.
22952 * benchtests/README: Add documentation for: Running subsets of
22955 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22957 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22958 range of tests names.
22960 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22961 result from property and remove "max", min" and "mean" from
22962 required properties based on benchtests/bench-skeleton.c.
22964 2017-11-28 Florian Weimer <fweimer@redhat.com>
22967 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22968 due to Internet requirement.
22969 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22971 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22973 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22975 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22976 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22977 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22978 (sysdep_routines): Add memset-ultra1.
22979 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22981 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22982 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22983 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22984 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22985 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22986 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22987 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22988 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22990 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22992 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22993 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22994 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22995 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22996 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22997 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22998 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23000 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23001 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23002 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23003 (sysdep_routines): Add memcpy-ultra1.
23004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23005 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23007 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23009 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23010 (cfloat_versions): Take function argument without trailing 'f'.
23011 Call libm_alias_float_other.
23012 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23013 * sysdeps/alpha/fpu/cargf.c: Likewise.
23014 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23015 * sysdeps/alpha/fpu/conjf.c: Likewise.
23016 * sysdeps/alpha/fpu/crealf.c: Likewise.
23017 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23018 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23019 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23020 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23021 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23022 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23023 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23024 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23025 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23026 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23027 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23028 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23029 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23030 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23031 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23032 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23033 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23034 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23035 (clog10f): Use libm_alias_float_other.
23036 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23037 (ceilf): Define using libm_alias_float.
23038 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23039 (copysignf): Define using libm_alias_float.
23040 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23041 (fabsf): Define using libm_alias_float.
23042 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23043 (floorf): Define using libm_alias_float.
23044 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23045 (fmaxf): Define using libm_alias_float.
23046 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23047 (fminf): Define using libm_alias_float.
23048 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23049 (lrintf): Define using libm_alias_float.
23050 (llrintf): Likewise.
23051 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23052 (lroundf): Define using libm_alias_float.
23053 (llroundf): Likewise.
23054 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23055 (rintf): Define using libm_alias_float.
23056 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23057 (truncf): Define using libm_alias_float.
23059 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23060 (ceilf): Define using libm_alias_float.
23061 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23062 (floorf): Define using libm_alias_float.
23063 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23064 (fmaf): Define using libm_alias_float.
23065 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23066 (fmaxf): Define using libm_alias_float.
23067 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23068 (fminf): Define using libm_alias_float.
23069 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23070 (llrintf): Define using libm_alias_float.
23071 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23072 (llroundf): Define using libm_alias_float.
23073 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23074 (lrintf): Define using libm_alias_float.
23075 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23076 (lroundf): Define using libm_alias_float.
23077 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23078 <libm-alias-float.h>.
23079 (nearbyintf): Define using libm_alias_float.
23080 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23081 (rintf): Define using libm_alias_float.
23082 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23083 (roundf): Define using libm_alias_float.
23084 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23085 (truncf): Define using libm_alias_float.
23087 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23088 (ceil): Define using libm_alias_double.
23089 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23090 (copysign): Define using libm_alias_double.
23091 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23092 (fabs): Define using libm_alias_double.
23093 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23094 (floor): Define using libm_alias_double.
23095 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23096 (fmax): Define using libm_alias_double.
23097 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23098 (fmin): Define using libm_alias_double.
23099 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23100 (lrint): Define using libm_alias_double.
23101 (llrint): Likewise.
23102 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23103 (lround): Define using libm_alias_double.
23104 (llround): Likewise.
23105 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23106 (rint): Define using libm_alias_double.
23107 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23108 (trunc): Define using libm_alias_double.
23110 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23111 (libm_alias_double_r): Add semicolon after weak_alias call.
23113 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23115 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23116 (ceil): Define using libm_alias_double.
23117 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23118 (floor): Define using libm_alias_double.
23119 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23120 (fma): Define using libm_alias_double.
23121 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23122 (fmax): Define using libm_alias_double.
23123 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23124 (fmin): Define using libm_alias_double.
23125 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23126 (llrint): Define using libm_alias_double.
23127 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23128 (llround): Define using libm_alias_double.
23129 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23130 (lrint): Define using libm_alias_double.
23131 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23132 (lround): Define using libm_alias_double.
23133 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23134 (nearbyint): Define using libm_alias_double.
23135 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23136 (rint): Define using libm_alias_double.
23137 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23138 (round): Define using libm_alias_double.
23139 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23140 (trunc): Define using libm_alias_double.
23142 2017-11-27 Florian Weimer <fweimer@redhat.com>
23144 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23145 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23146 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23147 (tests): Add tst-mlock2.
23148 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23149 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23150 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23151 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23152 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23153 for mlock. Document mlock2.
23155 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23157 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23158 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23160 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23162 * sysdeps/x86/Makeconfig: New file.
23163 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23164 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23165 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23166 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23167 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23168 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23169 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23171 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23172 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23173 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23174 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23175 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23176 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23177 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23178 * manual/math.texi (Mathematics): Document support for _Float64x.
23179 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23180 * stdlib/Versions (GLIBC_2.27): Likewise.
23181 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23182 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23183 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23184 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23185 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23186 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23187 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23188 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23189 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23190 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23191 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23192 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23197 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23198 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23199 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23200 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23201 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23202 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23203 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23204 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23205 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23206 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23207 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23208 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23209 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23210 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23212 2017-11-27 Andreas Schwab <schwab@suse.de>
23214 * elf/Makefile (dl-routines): Add dl-sort-maps.
23215 * elf/dl-sort-maps.c: New file.
23216 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23217 (_dl_sort_maps): Declare.
23218 * elf/dl-fini.c (_dl_sort_fini): Remove.
23219 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23220 * elf/dl-close.c (_dl_close_worker): Likewise.
23221 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23223 * elf/dl-open.c (dl_open_worker): Likewise.
23225 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23227 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23228 using libm_alias_float128.
23229 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23231 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23233 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23234 (setpayloadsigf128): Likewise.
23235 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23237 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23240 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23241 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23242 -mfloat128 to CFLAGS.
23244 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23246 (CFLAGS-libm-test-support-float64x.c): New variable.
23247 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23248 $(f128-loader-link) to gnulib-tests.
23250 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23251 (libm_alias_float128_other_r): If
23252 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23254 (libm_alias_float128_r): Add semicolon after weak_alias call.
23255 * sysdeps/generic/libm-alias-ldouble.h
23256 (libm_alias_ldouble_other_r_f128): New macro.
23257 (libm_alias_ldouble_other_r_f64x): Likewise.
23258 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23259 and libm_alias_ldouble_other_r_f64x.
23260 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23261 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23262 (libm_alias_ldouble_other_r_f128): New macro.
23263 (libm_alias_ldouble_other_r_f64x): Likewise.
23264 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23265 and libm_alias_ldouble_other_r_f64x.
23267 * stdlib/strfroml.c: Always include <stdlib.h>.
23268 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23269 undefine as macro and define as weak alias.
23270 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23271 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23273 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23274 Define and later undefine as macro and define as weak alias.
23276 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23277 Define and later undefine as macro. Define as weak alias if
23279 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23280 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23281 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23282 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23283 Define and later undefine as macro. Define as weak alias if
23285 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23286 Define and later undefine as macro. Define as weak alias if
23288 * sysdeps/ieee754/float128/strtof128_l.c
23289 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23290 Define and later undefine as macro. Define as weak alias if
23292 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23293 Define and later undefine as macro. Define as weak alias if
23295 * sysdeps/ieee754/ldbl-128/strtold_l.c
23296 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23297 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23298 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23299 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23300 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23301 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23302 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23303 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23304 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23305 * sysdeps/ieee754/ldbl-96/strtold_l.c
23306 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23307 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23308 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23309 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23311 * math/test-float64x.h: New file.
23312 * math/Makefile (type-float64x-yes): New variable.
23313 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23315 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23316 function-like macro.
23317 (min_of_type_): Likewise.
23318 (min_of_type_l): Likewise.
23319 (min_of_type_f128): Likewise.
23320 (min_of_type): Pass () as last argument of __MATH_TG.
23322 * stdlib/tst-strtod-round-skeleton.c
23323 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23326 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23327 for combinations of long double with _Float64 and _Float64x.
23329 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23330 (__DECL_SIMD_cosf32): Likewise.
23331 (__DECL_SIMD_cosf64): Likewise.
23332 (__DECL_SIMD_cosf32x): Likewise.
23333 (__DECL_SIMD_cosf64x): Likewise.
23334 (__DECL_SIMD_cosf128x): Likewise.
23335 (__DECL_SIMD_sinf16): Likewise.
23336 (__DECL_SIMD_sinf32): Likewise.
23337 (__DECL_SIMD_sinf64): Likewise.
23338 (__DECL_SIMD_sinf32x): Likewise.
23339 (__DECL_SIMD_sinf64x): Likewise.
23340 (__DECL_SIMD_sinf128x): Likewise.
23341 (__DECL_SIMD_sincosf16): Likewise.
23342 (__DECL_SIMD_sincosf32): Likewise.
23343 (__DECL_SIMD_sincosf64): Likewise.
23344 (__DECL_SIMD_sincosf32x): Likewise.
23345 (__DECL_SIMD_sincosf64x): Likewise.
23346 (__DECL_SIMD_sincosf128x): Likewise.
23347 (__DECL_SIMD_logf16): Likewise.
23348 (__DECL_SIMD_logf32): Likewise.
23349 (__DECL_SIMD_logf64): Likewise.
23350 (__DECL_SIMD_logf32x): Likewise.
23351 (__DECL_SIMD_logf64x): Likewise.
23352 (__DECL_SIMD_logf128x): Likewise.
23353 (__DECL_SIMD_expf16): Likewise.
23354 (__DECL_SIMD_expf32): Likewise.
23355 (__DECL_SIMD_expf64): Likewise.
23356 (__DECL_SIMD_expf32x): Likewise.
23357 (__DECL_SIMD_expf64x): Likewise.
23358 (__DECL_SIMD_expf128x): Likewise.
23359 (__DECL_SIMD_powf16): Likewise.
23360 (__DECL_SIMD_powf32): Likewise.
23361 (__DECL_SIMD_powf64): Likewise.
23362 (__DECL_SIMD_powf32x): Likewise.
23363 (__DECL_SIMD_powf64x): Likewise.
23364 (__DECL_SIMD_powf128x): Likewise.
23366 * stdlib/Versions (libc): Move entries for wcstof128 and
23367 wcstof128_l to ....
23368 * wcsmbs/Versions (libc): ... here.
23369 Include <float128-abi.h>.
23371 2017-11-24 Florian Weimer <fweimer@redhat.com>
23373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23374 bits/mman-shared.h.
23375 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23376 <bits/mman-shared.h>.
23377 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23379 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23380 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23381 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23382 <bits/mman-shared.h>.
23384 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23387 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23388 posix_memalign/free.
23389 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23391 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23394 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23395 and implement the collation rules for pl from CLDR on top of that.
23396 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23397 of locales to be built for testing.
23398 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23400 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23402 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23403 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23404 libm_alias_ldouble_other.
23405 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23406 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23407 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23408 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23409 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23410 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23411 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23412 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23413 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23414 libm_alias_ldouble_r.
23415 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23416 libm_alias_ldouble_other.
23417 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23418 (log10l): Likewise.
23419 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23420 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23421 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23422 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23423 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23424 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23425 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23426 (atan2l): Likewise.
23427 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23428 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23429 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23430 libm_alias_ldouble.
23431 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23433 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23434 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23435 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23437 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23438 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23439 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23440 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23441 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23442 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23443 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23444 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23445 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23446 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23447 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23448 libm_alias_ldouble.
23449 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23450 libm_alias_ldouble_other.
23451 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23452 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23453 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23454 libm_alias_ldouble.
23455 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23456 libm_alias_ldouble_other.
23457 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23458 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23459 * sysdeps/ia64/fpu/w_lgammal_main.c
23460 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23461 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23463 2017-11-23 Florian Weimer <fweimer@redhat.com>
23465 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23466 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23467 alike. Remove freeres marker.
23468 * malloc/arena.c (arena_thread_freeres): Call
23469 tcache_thread_shutdown.
23471 2017-11-23 Florian Weimer <fweimer@redhat.com>
23474 Export nscd hash function as __nss_hash.
23475 * include/nss.h (__nss_hash): Declare.
23476 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23478 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23479 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23481 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23482 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23483 * nss/Makefiles (routines): Add nss_hash.
23484 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23485 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23486 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23487 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23489 2017-11-23 Florian Weimer <fweimer@redhat.com>
23492 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23493 Return error code, not -1.
23494 * signal/tst-sigwait-eintr.c: New file.
23495 * signal/Makefile (tests): Add tst-sigwait-eintr.
23497 2017-11-23 Florian Weimer <fweimer@redhat.com>
23499 Linux: Add memfd_create system call wrapper
23500 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23502 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23503 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23504 [__USE_GNU] (memfd_create): Declare.
23505 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23506 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23507 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23508 * sysdeps/unix/sysv/linux/**.abilist: Update.
23509 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23511 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23513 * localedata/gen-locale.sh: Fix typo in variable name.
23515 * resolv/res_debug.c (p_secstodate): Condition definition on
23516 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23517 directly as __p_secstodate, and as a compat symbol. Do not use
23518 libresolv_hidden_def.
23519 * resolv/resolv.h (p_secstodate): Remove macro and function
23521 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23522 using p_secstodate.
23523 * include/resolv.h (__p_secstodate): Do not use
23524 libresolv_hidden_proto.
23525 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23526 (tests-internal): ... here.
23527 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23528 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23529 and declare and use __p_secstodate and use compat_symbol_reference
23531 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23532 implementation returning 77.
23535 * resolv/res_debug.c: Include <libc-diag.h>.
23536 (p_secstodate): Assert time_t at least as wide as u_long. On
23537 overflow, use integer seconds since the epoch as output, or use
23538 "<overflow>" as output and set errno to EOVERFLOW if integer
23539 seconds since the epoch would be 14 or more characters.
23540 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23542 * resolv/tst-p_secstodate.c: New file.
23543 * resolv/Makefile (tests): Add tst-p_secstodate.
23544 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23546 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23547 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23548 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23550 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23552 * posix/regcomp.c (init_word_char): Add comments.
23554 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23557 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23558 strlen to compute length of ut_user and set trailing NUL byte of
23561 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23564 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23565 using “copy "iso14651_t1"” and then implementing the
23566 collation rules for lv from CLDR on top of that.
23567 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23568 of locales to be built for testing.
23569 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23572 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23574 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23575 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23576 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23577 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23578 [__USE_MISC] (MADV_HWPOISON): New macro.
23579 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23581 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23583 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23584 -Wmissing-braces on GCC 4.9.
23586 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23588 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23589 * sysdeps/s390/s390-32/start.S (_start): Likewise
23590 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23591 (thread_start): Likewise.
23592 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23593 (thread_start): Likewise.
23594 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23595 (__makecontext_ret): Likewise.
23596 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23597 (__makecontext_ret): Likewise.
23599 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23601 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23602 __wcschrnul): Remove attribute_hidden.
23604 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23606 regex: don't assume uint64_t or uint32_t
23607 This avoids -Werror=overflow errors for 32-bit systems in
23608 the 64-bit case. Problem reported by Joseph Myers in:
23609 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23610 Also, when this code is used in Gnulib it ports to platforms
23611 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23612 them, and on some 32-bit compilers there is no uint64_t.
23613 Problem reported by Gianluigi Tiesi in:
23614 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23615 * posix/regcomp.c (init_word_char): Don't assume that the types
23616 uint64_t and uint32_t exist. Adapted from Gnulib patch
23617 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23618 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23620 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23622 * sysdeps/aarch64/memset-reg.h: New file.
23623 * sysdeps/aarch64/memset.S: Use it.
23624 (__memset): Rename to MEMSET macro.
23625 [ZVA_MACRO]: Use zva_macro.
23626 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23627 Add memset_generic and memset_falkor.
23628 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23629 (__libc_ifunc_impl_list): Add memset ifuncs.
23630 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23631 local variable zva_size.
23632 * sysdeps/aarch64/multiarch/memset.c: New file.
23633 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23634 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23635 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23636 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23637 (DCZID_DZP_MASK): New macro.
23638 (DCZID_BS_MASK): Likewise.
23639 (init_cpu_features): Read and set zva_size.
23640 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23641 (struct cpu_features): New member zva_size.
23643 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23644 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23645 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23647 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23648 backwards. Fix timing computation.
23649 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23650 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23651 on memset by N at a time. Fix timing computation.
23653 2017-11-20 Florian Weimer <fweimer@redhat.com>
23655 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23656 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23658 2017-11-19 Florian Weimer <fweimer@redhat.com>
23660 manual: Document mprotect
23661 * manual/memory.texi (Memory Protection): New section.
23662 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23663 documentation of PROT_* flags and reference the Memory Protection
23666 2017-11-19 Florian Weimer <fweimer@redhat.com>
23668 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23669 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23670 (Scatter-Gather): ... to here. Remove misleading comment.
23672 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23674 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23677 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23678 when /proc/<pid>/setgroups does not exist.
23680 2017-11-18 Florian Weimer <fweimer@redhat.com>
23682 * sysdeps/unix/sysv/linux/tst-ttyname.c
23683 (become_root_in_mount_ns): Remove.
23684 (do_in_chroot_1): Call support_enter_mount_namespace.
23685 (do_in_chroot_2): Likewise.
23686 (do_test): Call support_become_root early.
23688 2017-11-18 Florian Weimer <fweimer@redhat.com>
23690 * support/namespace.h (support_enter_mount_namespace): Declare.
23691 * support/support_enter_mount_namespace.c: New file.
23692 * support/Makefile (libsupport-routines): Add
23693 support_enter_mount_namespace.
23695 2017-11-18 Florian Weimer <fweimer@redhat.com>
23697 * support/temp_file.c (support_create_temp_directory): Use
23698 test_dir and do not rely on the presence of the XXXXXX suffix.
23699 * support/temp_file.h (support_create_temp_directory): Update
23701 * support/tst-xreadlink.c (do_test): Adjust.
23702 * support/support_chroot.c (support_chroot_create): Likewise.
23704 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23706 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23708 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23711 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23713 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23714 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23715 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23716 (ceill): Define using libm_alias_ldouble.
23717 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23718 <libm-alias-ldouble.h>.
23719 (copysignl): Define using libm_alias_ldouble.
23720 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23721 (fabsl): Define using libm_alias_ldouble.
23722 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23723 (floorl): Define using libm_alias_ldouble.
23724 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23725 (fmaxl): Define using libm_alias_ldouble.
23726 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23727 (fminl): Define using libm_alias_ldouble.
23728 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23729 (llrintl): Define using libm_alias_ldouble.
23730 (lrintl): Likewise.
23731 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23732 <libm-alias-ldouble.h>.
23733 (nearbyintl): Define using libm_alias_ldouble.
23734 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23735 (truncl): Define using libm_alias_ldouble.
23736 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23737 <libm-alias-ldouble.h>.
23738 (lrintl): Define using libm_alias_ldouble.
23740 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23741 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23742 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23743 (asinhl): Define using libm_alias_ldouble.
23744 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23745 (atanl): Define using libm_alias_ldouble.
23746 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23747 (cbrtl): Define using libm_alias_ldouble.
23748 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23749 (ceill): Define using libm_alias_ldouble.
23750 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23751 (copysignl): Define using libm_alias_ldouble.
23752 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23753 (fabsl): Define using libm_alias_ldouble.
23754 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23755 (floorl): Define using libm_alias_ldouble.
23756 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23757 (fmaxl): Define using libm_alias_ldouble.
23758 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23759 (fminl): Define using libm_alias_ldouble.
23760 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23761 (frexpl): Define using libm_alias_ldouble.
23762 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23763 (llrintl): Define using libm_alias_ldouble.
23764 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23765 (logbl): Define using libm_alias_ldouble.
23766 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23767 (lrintl): Define using libm_alias_ldouble.
23768 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23769 (nearbyintl): Define using libm_alias_ldouble.
23770 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23771 (nextafterl): Define using libm_alias_ldouble.
23772 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23773 (remquol): Define using libm_alias_ldouble.
23774 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23775 (rintl): Define using libm_alias_ldouble.
23776 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23777 (truncl): Define using libm_alias_ldouble.
23778 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23779 (fmaxl): Define using libm_alias_ldouble.
23780 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23781 (fminl): Define using libm_alias_ldouble.
23783 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23784 to C syntax instead of availability and properties of types.
23785 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23786 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23787 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23788 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23789 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23790 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23792 2017-11-17 Florian Weimer <fweimer@redhat.com>
23794 support_become_root: Enable file creation in namespaces.
23795 * support/support_become_root.c (setup_mapping): New function.
23796 (support_become_root): Call it.
23798 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23800 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23803 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23805 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23806 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23808 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23810 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23812 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23815 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23817 * INSTALL: Fix botched up regeneration.
23819 * NEWS: Update sourceare link to https.
23820 * configure.ac: Likewise.
23821 * crypt/md5test-giant.c: Likewise.
23822 * dlfcn/bug-atexit1.c: Likewise.
23823 * dlfcn/bug-atexit2.c: Likewise.
23824 * localedata/README: Likewise.
23825 * malloc/tst-mallocfork.c: Likewise.
23826 * manual/install.texi: Likewise.
23827 * nptl/tst-pthread-getattr.c: Likewise.
23828 * stdio-common/tst-fgets.c: Likewise.
23829 * stdio-common/tst-fwrite.c: Likewise.
23830 * sunrpc/Makefile: Likewise.
23831 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23832 * wcsmbs/tst-mbrtowc2.c: Likewise.
23833 * configure: Regenerate.
23834 * INSTALL: Regenerate.
23836 2017-11-15 Martin Sebor <msebor@redhat.com>
23838 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23839 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23840 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23842 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23845 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23846 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23850 Defer is_pty check until end of the function.
23851 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23854 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23855 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23856 (ttyname): Likewise.
23857 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23858 (__ttyname_r): Likewise.
23860 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23863 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23865 * manual/terminal.texi (Is It a Terminal):
23866 Mention ENODEV for ttyname and ttyname_r.
23868 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23870 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23871 constant and macro.
23873 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23874 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23875 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23876 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23877 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23878 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23880 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23882 * signal/sigrelse.c (sigrelse): Optimize implementation.
23884 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23885 (__sigpause): Rely on __sigsuspend to implement single thread
23886 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23888 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23890 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23891 kernel version to 4.14.
23893 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23896 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23897 Check if ifname is too long.
23899 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23901 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23903 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23905 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23906 was accidentally lost.
23908 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23910 * localedata/locales/az_IR: Add standard copyright header.
23912 2017-11-15 Florian Weimer <fweimer@redhat.com>
23915 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23916 not just the top one. Output a new "subheaps" statistic.
23918 2017-11-15 Florian Weimer <fweimer@redhat.com>
23921 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23922 under the per-arena lock.
23923 * malloc/Makefile (tests): Add tst-malloc_info.
23924 (tst-malloc_info): Link with libpthread.
23925 * malloc/tst-malloc_info.c: New file.
23927 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23930 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23931 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23932 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23933 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23934 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23935 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23936 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23937 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23938 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23939 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23940 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23941 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23942 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23943 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23944 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23945 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23946 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23947 (__floating_type): Likewise.
23948 (__real_integer_type): Likewise.
23949 (__complex_integer_type): Likewise.
23950 (__expr_is_real): Likewise.
23951 (__tgmath_real_type_sub): Likewise.
23952 (__tgmath_real_type): Likewise.
23953 (__tgmath_complex_type_sub): Likewise.
23954 (__tgmath_complex_type): Likewise.
23955 (__TGMATH_F128): Likewise.
23956 (__TGMATH_CF128): Likewise.
23957 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23959 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23960 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23962 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23964 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23965 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23966 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23967 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23969 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23970 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23972 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23973 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23974 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23976 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23977 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23978 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23982 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23984 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23985 for stpncpy calls for GCC 8.
23986 (test_strncat): Disable -Wstringop-truncation warning for strncat
23987 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23988 strncat call for GCC 7.
23989 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23991 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23994 * string/bug-strncat1.c: Include <libc-diag.h>.
23995 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23997 2017-11-13 Claude Paroz <claude@2xlibre.net>
24000 * localedata/locales/aa_DJ: Improved readibility by replacing
24001 <Uxxxx> sequences in the ASCII printable range by their ASCII
24002 character equivalents.
24003 * localedata/locales/aa_ER: Likewise.
24004 * localedata/locales/aa_ER@saaho: Likewise.
24005 * localedata/locales/aa_ET: Likewise.
24006 * localedata/locales/af_ZA: Likewise.
24007 * localedata/locales/agr_PE: Likewise.
24008 * localedata/locales/ak_GH: Likewise.
24009 * localedata/locales/am_ET: Likewise.
24010 * localedata/locales/anp_IN: Likewise.
24011 * localedata/locales/ar_AE: Likewise.
24012 * localedata/locales/ar_BH: Likewise.
24013 * localedata/locales/ar_DZ: Likewise.
24014 * localedata/locales/ar_EG: Likewise.
24015 * localedata/locales/ar_IN: Likewise.
24016 * localedata/locales/ar_IQ: Likewise.
24017 * localedata/locales/ar_JO: Likewise.
24018 * localedata/locales/ar_KW: Likewise.
24019 * localedata/locales/ar_LB: Likewise.
24020 * localedata/locales/ar_LY: Likewise.
24021 * localedata/locales/ar_MA: Likewise.
24022 * localedata/locales/ar_OM: Likewise.
24023 * localedata/locales/ar_QA: Likewise.
24024 * localedata/locales/ar_SA: Likewise.
24025 * localedata/locales/ar_SD: Likewise.
24026 * localedata/locales/ar_SS: Likewise.
24027 * localedata/locales/ar_SY: Likewise.
24028 * localedata/locales/ar_TN: Likewise.
24029 * localedata/locales/ar_YE: Likewise.
24030 * localedata/locales/as_IN: Likewise.
24031 * localedata/locales/ast_ES: Likewise.
24032 * localedata/locales/ayc_PE: Likewise.
24033 * localedata/locales/az_AZ: Likewise.
24034 * localedata/locales/az_IR: Likewise.
24035 * localedata/locales/be_BY: Likewise.
24036 * localedata/locales/be_BY@latin: Likewise.
24037 * localedata/locales/bem_ZM: Likewise.
24038 * localedata/locales/ber_DZ: Likewise.
24039 * localedata/locales/ber_MA: Likewise.
24040 * localedata/locales/bg_BG: Likewise.
24041 * localedata/locales/bhb_IN: Likewise.
24042 * localedata/locales/bho_IN: Likewise.
24043 * localedata/locales/bi_VU: Likewise.
24044 * localedata/locales/bn_BD: Likewise.
24045 * localedata/locales/bn_IN: Likewise.
24046 * localedata/locales/bo_CN: Likewise.
24047 * localedata/locales/bo_IN: Likewise.
24048 * localedata/locales/br_FR: Likewise.
24049 * localedata/locales/brx_IN: Likewise.
24050 * localedata/locales/bs_BA: Likewise.
24051 * localedata/locales/byn_ER: Likewise.
24052 * localedata/locales/ca_AD: Likewise.
24053 * localedata/locales/ca_ES: Likewise.
24054 * localedata/locales/ca_FR: Likewise.
24055 * localedata/locales/ca_IT: Likewise.
24056 * localedata/locales/ce_RU: Likewise.
24057 * localedata/locales/chr_US: Likewise.
24058 * localedata/locales/cmn_TW: Likewise.
24059 * localedata/locales/crh_UA: Likewise.
24060 * localedata/locales/cs_CZ: Likewise.
24061 * localedata/locales/csb_PL: Likewise.
24062 * localedata/locales/cv_RU: Likewise.
24063 * localedata/locales/cy_GB: Likewise.
24064 * localedata/locales/da_DK: Likewise.
24065 * localedata/locales/de_AT: Likewise.
24066 * localedata/locales/de_BE: Likewise.
24067 * localedata/locales/de_CH: Likewise.
24068 * localedata/locales/de_DE: Likewise.
24069 * localedata/locales/de_IT: Likewise.
24070 * localedata/locales/de_LI: Likewise.
24071 * localedata/locales/de_LU: Likewise.
24072 * localedata/locales/doi_IN: Likewise.
24073 * localedata/locales/dv_MV: Likewise.
24074 * localedata/locales/dz_BT: Likewise.
24075 * localedata/locales/el_CY: Likewise.
24076 * localedata/locales/el_GR: Likewise.
24077 * localedata/locales/en_AG: Likewise.
24078 * localedata/locales/en_AU: Likewise.
24079 * localedata/locales/en_BW: Likewise.
24080 * localedata/locales/en_CA: Likewise.
24081 * localedata/locales/en_DK: Likewise.
24082 * localedata/locales/en_GB: Likewise.
24083 * localedata/locales/en_HK: Likewise.
24084 * localedata/locales/en_IE: Likewise.
24085 * localedata/locales/en_IL: Likewise.
24086 * localedata/locales/en_IN: Likewise.
24087 * localedata/locales/en_NG: Likewise.
24088 * localedata/locales/en_NZ: Likewise.
24089 * localedata/locales/en_PH: Likewise.
24090 * localedata/locales/en_SG: Likewise.
24091 * localedata/locales/en_US: Likewise.
24092 * localedata/locales/en_ZA: Likewise.
24093 * localedata/locales/en_ZM: Likewise.
24094 * localedata/locales/en_ZW: Likewise.
24095 * localedata/locales/eo: Likewise.
24096 * localedata/locales/es_AR: Likewise.
24097 * localedata/locales/es_BO: Likewise.
24098 * localedata/locales/es_CL: Likewise.
24099 * localedata/locales/es_CO: Likewise.
24100 * localedata/locales/es_CR: Likewise.
24101 * localedata/locales/es_CU: Likewise.
24102 * localedata/locales/es_DO: Likewise.
24103 * localedata/locales/es_EC: Likewise.
24104 * localedata/locales/es_ES: Likewise.
24105 * localedata/locales/es_GT: Likewise.
24106 * localedata/locales/es_HN: Likewise.
24107 * localedata/locales/es_MX: Likewise.
24108 * localedata/locales/es_NI: Likewise.
24109 * localedata/locales/es_PA: Likewise.
24110 * localedata/locales/es_PE: Likewise.
24111 * localedata/locales/es_PR: Likewise.
24112 * localedata/locales/es_PY: Likewise.
24113 * localedata/locales/es_SV: Likewise.
24114 * localedata/locales/es_US: Likewise.
24115 * localedata/locales/es_UY: Likewise.
24116 * localedata/locales/es_VE: Likewise.
24117 * localedata/locales/et_EE: Likewise.
24118 * localedata/locales/eu_ES: Likewise.
24119 * localedata/locales/eu_ES@euro: Likewise.
24120 * localedata/locales/fa_IR: Likewise.
24121 * localedata/locales/ff_SN: Likewise.
24122 * localedata/locales/fi_FI: Likewise.
24123 * localedata/locales/fil_PH: Likewise.
24124 * localedata/locales/fo_FO: Likewise.
24125 * localedata/locales/fr_BE: Likewise.
24126 * localedata/locales/fr_CA: Likewise.
24127 * localedata/locales/fr_CH: Likewise.
24128 * localedata/locales/fr_FR: Likewise.
24129 * localedata/locales/fr_LU: Likewise.
24130 * localedata/locales/fur_IT: Likewise.
24131 * localedata/locales/fy_DE: Likewise.
24132 * localedata/locales/fy_NL: Likewise.
24133 * localedata/locales/ga_IE: Likewise.
24134 * localedata/locales/gd_GB: Likewise.
24135 * localedata/locales/gez_ER: Likewise.
24136 * localedata/locales/gez_ET: Likewise.
24137 * localedata/locales/gl_ES: Likewise.
24138 * localedata/locales/gu_IN: Likewise.
24139 * localedata/locales/gv_GB: Likewise.
24140 * localedata/locales/ha_NG: Likewise.
24141 * localedata/locales/hak_TW: Likewise.
24142 * localedata/locales/he_IL: Likewise.
24143 * localedata/locales/hi_IN: Likewise.
24144 * localedata/locales/hif_FJ: Likewise.
24145 * localedata/locales/hne_IN: Likewise.
24146 * localedata/locales/hr_HR: Likewise.
24147 * localedata/locales/hsb_DE: Likewise.
24148 * localedata/locales/ht_HT: Likewise.
24149 * localedata/locales/hu_HU: Likewise.
24150 * localedata/locales/hy_AM: Likewise.
24151 * localedata/locales/i18n: Likewise.
24152 * localedata/locales/ia_FR: Likewise.
24153 * localedata/locales/id_ID: Likewise.
24154 * localedata/locales/ig_NG: Likewise.
24155 * localedata/locales/ik_CA: Likewise.
24156 * localedata/locales/is_IS: Likewise.
24157 * localedata/locales/it_CH: Likewise.
24158 * localedata/locales/it_IT: Likewise.
24159 * localedata/locales/iu_CA: Likewise.
24160 * localedata/locales/ja_JP: Likewise.
24161 * localedata/locales/ka_GE: Likewise.
24162 * localedata/locales/kk_KZ: Likewise.
24163 * localedata/locales/kl_GL: Likewise.
24164 * localedata/locales/kn_IN: Likewise.
24165 * localedata/locales/ko_KR: Likewise.
24166 * localedata/locales/kok_IN: Likewise.
24167 * localedata/locales/ks_IN: Likewise.
24168 * localedata/locales/ks_IN@devanagari: Likewise.
24169 * localedata/locales/ku_TR: Likewise.
24170 * localedata/locales/kw_GB: Likewise.
24171 * localedata/locales/ky_KG: Likewise.
24172 * localedata/locales/lb_LU: Likewise.
24173 * localedata/locales/lg_UG: Likewise.
24174 * localedata/locales/li_BE: Likewise.
24175 * localedata/locales/li_NL: Likewise.
24176 * localedata/locales/lij_IT: Likewise.
24177 * localedata/locales/ln_CD: Likewise.
24178 * localedata/locales/lo_LA: Likewise.
24179 * localedata/locales/lt_LT: Likewise.
24180 * localedata/locales/lv_LV: Likewise.
24181 * localedata/locales/lzh_TW: Likewise.
24182 * localedata/locales/mag_IN: Likewise.
24183 * localedata/locales/mai_IN: Likewise.
24184 * localedata/locales/mg_MG: Likewise.
24185 * localedata/locales/mhr_RU: Likewise.
24186 * localedata/locales/mi_NZ: Likewise.
24187 * localedata/locales/mk_MK: Likewise.
24188 * localedata/locales/ml_IN: Likewise.
24189 * localedata/locales/mn_MN: Likewise.
24190 * localedata/locales/mni_IN: Likewise.
24191 * localedata/locales/mr_IN: Likewise.
24192 * localedata/locales/ms_MY: Likewise.
24193 * localedata/locales/mt_MT: Likewise.
24194 * localedata/locales/my_MM: Likewise.
24195 * localedata/locales/nan_TW: Likewise.
24196 * localedata/locales/nan_TW@latin: Likewise.
24197 * localedata/locales/nb_NO: Likewise.
24198 * localedata/locales/nds_DE: Likewise.
24199 * localedata/locales/nds_NL: Likewise.
24200 * localedata/locales/ne_NP: Likewise.
24201 * localedata/locales/nhn_MX: Likewise.
24202 * localedata/locales/niu_NU: Likewise.
24203 * localedata/locales/niu_NZ: Likewise.
24204 * localedata/locales/nl_AW: Likewise.
24205 * localedata/locales/nl_BE: Likewise.
24206 * localedata/locales/nl_NL: Likewise.
24207 * localedata/locales/nn_NO: Likewise.
24208 * localedata/locales/nr_ZA: Likewise.
24209 * localedata/locales/nso_ZA: Likewise.
24210 * localedata/locales/oc_FR: Likewise.
24211 * localedata/locales/om_ET: Likewise.
24212 * localedata/locales/om_KE: Likewise.
24213 * localedata/locales/or_IN: Likewise.
24214 * localedata/locales/os_RU: Likewise.
24215 * localedata/locales/pa_IN: Likewise.
24216 * localedata/locales/pa_PK: Likewise.
24217 * localedata/locales/pap_AW: Likewise.
24218 * localedata/locales/pap_CW: Likewise.
24219 * localedata/locales/pl_PL: Likewise.
24220 * localedata/locales/ps_AF: Likewise.
24221 * localedata/locales/pt_BR: Likewise.
24222 * localedata/locales/pt_PT: Likewise.
24223 * localedata/locales/quz_PE: Likewise.
24224 * localedata/locales/raj_IN: Likewise.
24225 * localedata/locales/ro_RO: Likewise.
24226 * localedata/locales/ru_RU: Likewise.
24227 * localedata/locales/ru_UA: Likewise.
24228 * localedata/locales/rw_RW: Likewise.
24229 * localedata/locales/sa_IN: Likewise.
24230 * localedata/locales/sat_IN: Likewise.
24231 * localedata/locales/sc_IT: Likewise.
24232 * localedata/locales/sd_IN: Likewise.
24233 * localedata/locales/sd_IN@devanagari: Likewise.
24234 * localedata/locales/se_NO: Likewise.
24235 * localedata/locales/sgs_LT: Likewise.
24236 * localedata/locales/shs_CA: Likewise.
24237 * localedata/locales/si_LK: Likewise.
24238 * localedata/locales/sid_ET: Likewise.
24239 * localedata/locales/sk_SK: Likewise.
24240 * localedata/locales/sl_SI: Likewise.
24241 * localedata/locales/sm_WS: Likewise.
24242 * localedata/locales/so_DJ: Likewise.
24243 * localedata/locales/so_ET: Likewise.
24244 * localedata/locales/so_KE: Likewise.
24245 * localedata/locales/so_SO: Likewise.
24246 * localedata/locales/sq_AL: Likewise.
24247 * localedata/locales/sq_MK: Likewise.
24248 * localedata/locales/sr_ME: Likewise.
24249 * localedata/locales/sr_RS: Likewise.
24250 * localedata/locales/sr_RS@latin: Likewise.
24251 * localedata/locales/ss_ZA: Likewise.
24252 * localedata/locales/st_ZA: Likewise.
24253 * localedata/locales/sv_FI: Likewise.
24254 * localedata/locales/sv_SE: Likewise.
24255 * localedata/locales/sw_KE: Likewise.
24256 * localedata/locales/sw_TZ: Likewise.
24257 * localedata/locales/szl_PL: Likewise.
24258 * localedata/locales/ta_IN: Likewise.
24259 * localedata/locales/ta_LK: Likewise.
24260 * localedata/locales/tcy_IN: Likewise.
24261 * localedata/locales/te_IN: Likewise.
24262 * localedata/locales/tg_TJ: Likewise.
24263 * localedata/locales/th_TH: Likewise.
24264 * localedata/locales/the_NP: Likewise.
24265 * localedata/locales/ti_ER: Likewise.
24266 * localedata/locales/ti_ET: Likewise.
24267 * localedata/locales/tig_ER: Likewise.
24268 * localedata/locales/tk_TM: Likewise.
24269 * localedata/locales/tl_PH: Likewise.
24270 * localedata/locales/tn_ZA: Likewise.
24271 * localedata/locales/to_TO: Likewise.
24272 * localedata/locales/tpi_PG: Likewise.
24273 * localedata/locales/tr_CY: Likewise.
24274 * localedata/locales/tr_TR: Likewise.
24275 * localedata/locales/ts_ZA: Likewise.
24276 * localedata/locales/tt_RU: Likewise.
24277 * localedata/locales/tt_RU@iqtelif: Likewise.
24278 * localedata/locales/ug_CN: Likewise.
24279 * localedata/locales/uk_UA: Likewise.
24280 * localedata/locales/unm_US: Likewise.
24281 * localedata/locales/ur_IN: Likewise.
24282 * localedata/locales/ur_PK: Likewise.
24283 * localedata/locales/uz_UZ: Likewise.
24284 * localedata/locales/uz_UZ@cyrillic: Likewise.
24285 * localedata/locales/ve_ZA: Likewise.
24286 * localedata/locales/vi_VN: Likewise.
24287 * localedata/locales/wa_BE: Likewise.
24288 * localedata/locales/wae_CH: Likewise.
24289 * localedata/locales/wal_ET: Likewise.
24290 * localedata/locales/wo_SN: Likewise.
24291 * localedata/locales/xh_ZA: Likewise.
24292 * localedata/locales/yi_US: Likewise.
24293 * localedata/locales/yo_NG: Likewise.
24294 * localedata/locales/yue_HK: Likewise.
24295 * localedata/locales/yuw_PG: Likewise.
24296 * localedata/locales/zh_CN: Likewise.
24297 * localedata/locales/zh_HK: Likewise.
24298 * localedata/locales/zh_SG: Likewise.
24299 * localedata/locales/zh_TW: Likewise.
24300 * localedata/locales/zu_ZA: Likewise.
24302 2017-11-13 Florian Weimer <fweimer@redhat.com>
24304 * support/next_to_fault.h, support/next_to_fault.c: New files.
24305 * support/Makefile (libsupport-routines): Add next_to_fault.
24306 * resolv/tst-inet_pton.c (struct next_to_fault)
24307 (next_to_fault_allocate, next_to_fault_free): Remove.
24308 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24310 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24312 * elf/dl-support.c: Include <dl-procruntime.c>.
24313 * include/link.h: Include <link_map.h>.
24314 * sysdeps/generic/dl-procruntime.c: New file.
24315 * sysdeps/generic/link_map.h: Likewise.
24316 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24317 the writable ld.so namespace.
24319 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24321 timezone: pacify GCC -Wstringop-truncation
24322 Problem reported by Martin Sebor in:
24323 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24324 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24326 2017-11-12 Florian Weimer <fweimer@redhat.com>
24328 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24330 (tests): Add tst-xreadlink.
24331 * support/support.h (xstrndup): Declare.
24332 * support/xunistd.h (xunlink, xreadlink): Declare.
24333 * support/temp_file.h (support_create_temp_directory): Declare.
24334 * support/temp_file.c (support_create_temp_directory): New function.
24335 * support/support_chroot.c (support_chroot_create): Use it.
24336 * support/xreadlink.c: New file.
24337 * support/xstrndup.c: Likewise.
24338 * support/xunlink.c: Likewise.
24339 * support/tst-xreadlink.c: Likewise.
24341 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24343 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24345 2017-11-11 Florian Weimer <fweimer@redhat.com>
24349 * resolv/res_comp.c (printable_string, binary_hnok)
24350 (binary_leading_dash): New functions.
24351 (res_hnok): Reimplement using these functions and ns_name_pton.
24352 (res_ownok): Likewise.
24353 (res_mailok): Reimplement using printable_string, ns_name_pton and
24355 (res_dnok): Reimplement using printable_string and ns_name_pton.
24356 * resolv/tst-res_hnok.c (tests): Add additional tests.
24357 (LETTERDIGITS, PRINTABLE): Define.
24358 (do_test): Adjust one_char results.
24360 2017-11-11 Florian Weimer <fweimer@redhat.com>
24363 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24364 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24366 2017-11-11 Florian Weimer <fweimer@redhat.com>
24368 * resolv/tst-ns_name_pton.c: New file.
24369 * resolv/Makefile (tests): Add tst-ns_name_pton.
24370 (tst-ns_name_pton): Link against libresolv.
24372 2017-11-11 Florian Weimer <fweimer@redhat.com>
24374 * resolv/tst-res_hnok.c: New file.
24375 * resolv/Makefile (tests): Add tst-res_hnok.
24376 (tst-res_hnok): Link against libresolv.
24378 2017-11-11 Florian Weimer <fweimer@redhat.com>
24380 * resolv/tst-resolv-network.c: Use test framework instead explicit
24383 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24385 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24386 <jmp_buf-macros.h>.
24387 [!_ISOMAC] (STR_HELPER): New.
24388 [!_ISOMAC] (STR): Likewise.
24389 [!_ISOMAC] (TEST_SIZE): Likewise.
24390 [!_ISOMAC] (TEST_ALIGN): Likewise.
24391 [!_ISOMAC] (TEST_OFFSET): Likewise.
24392 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24393 field offsets of jmp_buf as well as sigjmp_buf.
24394 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24395 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24396 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24397 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24398 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24399 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24400 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24401 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24402 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24403 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24405 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24407 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24412 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24413 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24414 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24415 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24416 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24421 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24422 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24423 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24425 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24429 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24430 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24431 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24433 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24435 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24437 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24439 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24441 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24443 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24445 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24447 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24449 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24451 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24453 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24455 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24457 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24458 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24459 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24460 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24461 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24462 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24463 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24464 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24465 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24466 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24467 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24468 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24469 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24470 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24471 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24473 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24475 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24477 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24479 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24481 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24482 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24483 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24484 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24485 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24486 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24487 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24488 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24489 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24490 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24491 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24492 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24493 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24494 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24495 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24496 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24497 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24498 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24499 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24500 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24501 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24502 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24503 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24504 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24505 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24506 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24507 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24508 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24509 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24510 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24511 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24512 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24513 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24514 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24515 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24517 * stdlib/tst-strtod.h (F16): New macro.
24523 (IF_FLOAT16): Likewise.
24524 (IF_FLOAT32): Likewise.
24525 (IF_FLOAT64): Likewise.
24526 (IF_FLOAT32X): Likewise.
24527 (IF_FLOAT64X): Likewise.
24528 (IF_FLOAT128X): Likewise.
24529 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24530 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24531 (STRTOD_TEST_FOREACH): Likewise.
24532 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24533 (CHOOSE_f64): Likewise.
24534 (CHOOSE_f32x): Likewise.
24535 (CHOOSE_f64x): Likewise.
24537 2017-11-07 Andreas Schwab <schwab@suse.de>
24539 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24541 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24544 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24546 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24549 2017-11-07 Claude Paroz <claude@2xlibre.net>
24552 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24554 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24556 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24559 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24562 * nptl/allocatestack.c (allocate_stack): Check if
24563 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24564 __PTHREAD_MUTEX_HAVE_PREV is defined.
24565 * nptl/descr.h (pthread): Likewise.
24566 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24568 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24569 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24570 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24571 * sysdeps/nptl/bits/thread-shared-types.h
24572 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24574 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24575 of __WORDSIZE for internal layout.
24576 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24577 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24578 instead of __WORDSIZE whether to use an union for __spins and __list
24580 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24582 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24583 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24585 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24586 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24588 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24589 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24591 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24592 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24594 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24595 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24597 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24598 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24600 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24601 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24603 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24604 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24606 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24607 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24609 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24610 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24612 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24613 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24615 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24616 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24618 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24619 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24621 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24622 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24624 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24625 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24628 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24630 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24631 checks for expected input type size.
24632 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24633 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24635 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24636 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24637 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24638 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24639 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24640 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24641 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24642 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24643 superflous runtime assert check.
24644 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24646 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24648 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24650 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24652 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24654 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24656 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24657 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24658 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24660 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24662 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24664 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24666 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24668 * nptl/pthread_attr_setinheritsched.c
24669 (__pthread_attr_setinheritsched): Likewise.
24670 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24672 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24674 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24675 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24676 __old_pthread_attr_setstack): Likewise.
24677 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24679 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24681 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24683 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24684 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24686 * nptl/tst-typesizes.c: Remove file.
24688 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24689 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24690 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24691 checks for internal pthread_mutex_t offsets.
24692 * sysdeps/aarch64/nptl/pthread-offsets.h
24693 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24694 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24695 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24696 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24697 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24698 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24699 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24700 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24701 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24702 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24703 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24704 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24705 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24706 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24707 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24708 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24709 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24710 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24712 2017-11-07 Florian Weimer <fweimer@redhat.com>
24714 * bits/mman-linux.h: Move ...
24715 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24717 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24720 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24722 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24723 Redefine STRNLEN as __strnlen_power8.
24725 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24727 * signal/sighold.c (sighold): Optimize implementation.
24729 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24730 __NR_rt_sigqueueinfo.
24732 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24734 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24735 assume __NR_rt_sigtimedwait.
24736 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24737 and add LIBC_CANCEL_HANDLED for cancellation marking.
24738 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24740 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24741 (sysdeps_routines): Add memchr_noneon.
24742 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24743 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24744 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24745 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24746 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24747 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24748 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24750 * sysdeps/arm/arm-ifunc.h: New file.
24751 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24752 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24753 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24754 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24755 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24756 (__memcpy_neon): Avoid create hidden alias.
24757 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24758 (__memcpy_vfp): Likewise.
24759 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24760 (sysdep_routines): Add memcpy_arm.
24761 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24763 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24766 * Makerules (make-link-multidir): New.
24767 * config.make.in (multidir): New.
24768 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24769 * configure: Regenerated.
24770 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24771 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24772 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24775 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24778 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24779 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24781 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24783 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24786 2017-11-04 Florian Weimer <fweimer@redhat.com>
24788 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24790 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24792 * math/math.h [__HAVE_DISTINCT_FLOAT16
24793 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24794 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24795 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24796 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24797 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24798 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24799 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24800 (__MATH_TG_F32): New macro.
24801 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24802 (__MATH_TG_F64X): Likewise.
24803 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24804 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24806 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24808 * po/de.po: Update translations.
24809 * po/ru.po: Likewise.
24811 2017-11-03 Florian Weimer <fweimer@redhat.com>
24813 * manual/filesys.texi (Hard Links): Document linkat.
24815 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24817 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24818 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24819 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24820 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24821 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24822 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24823 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24824 the same as _Float128.
24825 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24826 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24827 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24830 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24832 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24834 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24836 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24837 (strtof32x): Likewise.
24838 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24839 (strtof64x): Likewise.
24840 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24841 (strtof128x): Likewise.
24842 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24843 (strfromf16): Likewise.
24844 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24845 (strfromf32): Likewise.
24846 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24847 (strfromf64): Likewise.
24848 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24849 (strfromf32x): Likewise.
24850 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24851 (strfromf64x): Likewise.
24852 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24853 (strfromf128x): Likewise.
24854 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24855 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24856 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24857 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24858 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24859 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24861 2017-11-03 Richard Henderson <rth@twiddle.net>
24863 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24865 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24867 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24869 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24871 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24872 DT_TLSDESC_GOT initialization.
24873 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24874 (_dl_tlsdesc_resolve_hold): Likewise.
24875 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24876 (_dl_tlsdesc_resolve_hold): Likewise.
24877 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24878 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24880 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24882 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24884 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24887 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24888 non-lazily for R_ARM_TLS_DESC.
24890 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24893 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24894 R_ARM_TLS_DESC case.
24895 (elf_machine_lazy_rel): Remove the prelink check.
24897 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24899 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24900 DT_TLSDESC_GOT initialization.
24901 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24902 (_dl_tlsdesc_resolve_rela): Likewise.
24903 (_dl_tlsdesc_resolve_hold): Likewise.
24904 (_dl_tlsdesc_undefweak): Remove ldar.
24905 (_dl_tlsdesc_dynamic): Likewise.
24906 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24907 (_dl_tlsdesc_resolve_rela): Likewise.
24908 (_dl_tlsdesc_resolve_hold): Likewise.
24909 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24910 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24911 (_dl_tlsdesc_resolve_rela): Likewise.
24912 (_dl_tlsdesc_resolve_hold): Likewise.
24914 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24916 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24917 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24919 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24921 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24922 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24924 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24926 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24928 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24929 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24930 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24931 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24932 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24933 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24934 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24935 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24936 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24937 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24938 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24940 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24943 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24944 * localedata/locales/tpi_PG: Add standard header.
24946 2017-11-02 Florian Weimer <fweimer@redhat.com>
24948 test-errno-linux: quotactl can fail with EPERM in containers.
24949 * sysdeps/unix/sysv/linux/test-errno-linux.c
24950 (LIST, LIST_FORWARD): New macros.
24951 (check_error_in_list): New function.
24952 (test_wrp_rv): Accept list of permitted error codes.
24953 (test_wrp_rv2): Remove.
24954 (test_wrp): Call test_wrp_rv with list of error codes.
24955 (test_wrp2): Accept list of error codes.
24956 (do_test): Adjust. Allow EPERM for quotactl.
24958 2017-11-02 Florian Weimer <fweimer@redhat.com>
24960 * stdio-common/bug16.c (do_test): Use array_length.
24961 * stdio-common/errlist.c (_sys_nerr): Likewise.
24962 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24963 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24964 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24965 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24966 (do_test): Use array_length.
24967 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24968 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24969 * stdio-common/tst-printf-round.c (do_test): Likewise.
24970 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24971 (CHECK): Use array_length.
24972 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24973 * stdio-common/tstscanf.c (main): Likewise.
24974 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24976 2017-11-02 Florian Weimer <fweimer@redhat.com>
24978 Add array_length and array_end macros.
24979 * include/array_length.h: New file.
24981 2017-11-02 Florian Weimer <fweimer@redhat.com>
24984 * posix/tst-glob-tilde.c (do_noescape): New variable.
24985 (one_test): Process it.
24986 (do_test): Set do_noescape. Add unescaping test case.
24988 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24991 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24992 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24993 with appropriate macros defined and undefined.
24994 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24995 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24996 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24997 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24998 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24999 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25000 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25001 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25002 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25003 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25006 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25007 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25008 that for long double. Do not condition define and undefine of
25009 _Mdouble_complex_ on [__CFLOAT128].
25011 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25013 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25014 of <sysdeps/generic/sysdep.h>.
25015 (ALIGNARG): Removed.
25016 (ASM_SIZE_DIRECTIVE): Likewise.
25019 (ENTRY_CHK): Likewise.
25020 (END_CHK): Likewise.
25021 (syscall_error): Likewise.
25022 (mcount): Likewise.
25023 (PSEUDO_END): Likewise.
25025 (atom_text_section): Likewise.
25026 * sysdeps/x86/sysdep.h: New file.
25027 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25028 of <sysdeps/generic/sysdep.h>.
25029 (ALIGNARG): Removed.
25030 (ASM_SIZE_DIRECTIVE): Likewise.
25033 (ENTRY_CHK): Likewise.
25034 (END_CHK): Likewise.
25035 (syscall_error): Likewise.
25036 (mcount): Likewise.
25037 (PSEUDO_END): Likewise.
25039 (atom_text_section): Likewise.
25041 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25043 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25044 category of LC_CTYPE set to "i18n:2012".
25045 * localedata/locales/i18n_ctype: Regenerate.
25047 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25049 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25050 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25051 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25052 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25054 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25055 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25056 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25057 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25059 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25062 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25064 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25066 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25068 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25069 (CMPLXF32X): Likewise.
25070 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25071 (CMPLXF64X): Likewise.
25072 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25073 (CMPLXF128X): Likewise.
25076 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25077 (__MATH_EVAL_FMT2): Define to add 0.0f.
25079 2017-10-31 Alan Modra <amodra@gmail.com>
25081 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25097 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25098 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25099 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25100 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25101 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25102 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25103 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25104 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25105 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25106 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25107 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25108 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25109 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25110 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25111 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25112 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25113 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25114 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25115 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25116 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25117 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25118 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25119 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25121 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25122 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25123 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25124 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25125 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25126 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25127 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25128 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25129 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25130 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25131 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25132 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25133 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25134 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25135 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25136 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25137 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25138 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25139 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25140 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25141 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25142 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25143 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25144 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25145 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25146 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25147 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25148 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25149 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25150 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25151 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25154 include sysdep.h and math_ldbl_opt.h.
25156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25157 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25183 2017-10-31 Alan Modra <amodra@gmail.com>
25185 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25186 string/strncase_l.c, not string/strncase.c.
25187 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25188 (libc_hidden_def): Redefine.
25190 2017-10-31 Alan Modra <amodra@gmail.com>
25192 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25193 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25194 (__strcasecmp): Don't define.
25196 2017-10-31 Alan Modra <amodra@gmail.com>
25198 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25200 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25201 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25202 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25204 2017-10-31 Alan Modra <amodra@gmail.com>
25206 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25209 2017-10-31 Alan Modra <amodra@gmail.com>
25211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25212 Redefine only when SHARED.
25214 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25216 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25217 Include <bits/math-finite.h> with appropriate macros defined and
25219 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25220 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25221 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25222 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25223 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25225 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25226 [!_Mlong_double_] (_Mlong_double_): Likewise.
25227 [!_Mfloat16_] (_Mfloat16_): Likewise.
25228 [!_Mfloat32_] (_Mfloat32_): Likewise.
25229 [!_Mfloat64_] (_Mfloat64_): Likewise.
25230 [!_Mfloat128_] (_Mfloat128_): Likewise.
25231 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25232 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25233 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25234 (_Mdouble_): Define without indirection through those macros.
25235 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25236 [!_Mfloat128_] (_Mfloat128_): Likewise.
25237 [_Mlong_double_] (_Mlong_double_): Likewise.
25238 (_Mdouble_): Define without indirection through those macros.
25239 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25240 not add -D_Mlong_double_=double.
25241 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25242 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25244 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25246 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25248 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25250 * sysdeps/x86/libc-start.c: Reformat.
25252 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25255 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25256 (1): Renamed to ...
25259 (L(Src2)): Likewise.
25260 (L(1)): Renamed to ...
25263 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25265 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25266 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25267 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25268 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25269 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25270 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25271 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25272 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25273 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25274 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25275 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25276 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25277 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25278 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25279 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25280 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25281 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25282 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25283 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25284 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25285 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25286 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25287 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25288 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25289 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25290 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25291 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25292 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25293 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25294 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25295 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25296 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25297 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25298 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25299 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25300 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25301 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25302 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25303 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25304 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25305 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25306 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25307 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25308 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25309 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25310 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25311 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25312 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25313 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25314 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25315 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25316 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25317 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25318 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25319 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25320 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25321 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25322 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25323 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25324 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25325 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25326 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25327 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25328 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25329 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25330 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25332 2017-10-30 Florian Weimer <fweimer@redhat.com>
25334 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25336 * io/tst-mkdirat.c (do_test): Likewise.
25337 * io/tst-mkfifoat.c (do_test): Likewise.
25338 * io/tst-mknodat.c (do_test): Likewise.
25339 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25340 * locale/programs/locale.c (select_dirs): Likewise.
25341 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25342 * posix/bug-glob2.c (my_readdir): Likewise.
25343 * posix/tst-dir.c (main): Likewise.
25344 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25345 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25347 2017-10-30 Florian Weimer <fweimer@redhat.com>
25349 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25352 2017-10-30 Florian Weimer <fweimer@redhat.com>
25354 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25355 Convert to support/test-driver.c.
25356 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25357 New macro parameters.
25358 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25359 * posix/tst-gnuglob.c: New file.
25360 * posix/tst-gnuglob64.c: Likewise.
25361 * posix/Makefile (tests): Add tst-gnuglob64.
25363 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25366 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25367 and use a better translation for March in “mon”.
25368 * localedata/locales/csb_PL: Use more ASCII to improve the
25369 readability of the source.
25371 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25374 * localedata/locales/km_KH: Use ASCII as much
25375 as possible for better readability of the source and
25376 remove useless comments.
25377 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25378 was commented out and apparently wrong anyway because it was
25379 using Lao characters. If Buddhist era should be used
25380 for km_KH, a native speaker should write the correct formaat
25382 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25383 (According to CLDR, the first weekday for Cambodia is Sunday).
25384 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25385 (These were using Lao characters which must be wrong. If we get
25386 the correct data from a native speaker, we could add it back, until
25387 then it is better not to have name_mr and name_mrs at all than
25390 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25392 * locale/loadlocale.c: Correct size of
25393 _nl_value_type_LC_<category> arrays.
25395 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25397 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25398 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25399 with appropriate macros defined and undefined.
25400 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25401 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25402 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25403 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25404 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25406 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25408 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25411 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25413 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25414 with lowercase letters to make it agree with CLDR.
25416 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25419 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25420 first letters of yesstr and nostr in yesexpr and noexpr,
25421 not for the full words.
25422 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25423 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25424 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25425 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25426 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25427 first letters of yesstr and nostr in yesexpr and noexpr,
25428 until now only English was matched in yesexpr and noexpr.
25429 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25430 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25431 fil but not for tl. As tl and fil are very similar, using fil
25432 is probably better than using English.
25434 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25437 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25438 in yesstr and nostr.
25440 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25442 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25443 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25444 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25446 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25448 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25450 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25452 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25453 (SNANF128X): Likewise.
25455 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25456 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25457 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25458 (HUGE_VAL_F32): Likewise.
25459 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25460 (HUGE_VAL_F64): Likewise.
25461 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25462 (HUGE_VAL_F32X): Likewise.
25463 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25464 (HUGE_VAL_F64X): Likewise.
25465 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25466 (HUGE_VAL_F128X): Likewise.
25468 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25470 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25471 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25472 for the br_FR locale.
25474 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25477 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25479 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25481 * locale/programs/record-status.h: Define globals, and function
25482 prototypes. Move function bodies...
25483 * locale/programs/record-status.c: ... to here. New file.
25484 * iconv/Makefile (iconv_prog-modules): Add record-status.
25485 * locale/Makefile (lib-modules): Likewise.
25486 * iconv/iconv_prog.c: Remove verbose.
25487 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25488 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25489 record a warning about ASCII compatibility.
25490 * locale/programs/ld-monetary.c (monetary_finish): If
25491 warn_int_curr_symbol is true then record a warning about the symbol
25492 not being in our ISO 4217 list.
25493 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25494 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25495 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25496 (OPT_NO_WARN): Define.
25497 (OPT_WARN): Define.
25498 (options): Add entry for --no-warnings, and --warnings.
25499 (set_warnings): New function to enable/disable warnings.
25500 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25501 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25502 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25503 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25504 Pass flags to generate_locale.
25505 (generate_locale): Accept new flag argument and pass it to localedef
25507 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25508 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25510 * localedata/Makefile (test-input-data): Use full file name.
25511 * localedata/da_DK.in: Rename to...
25512 * localedata/da_DK.ISO-8859-1.in: ...this.
25513 * localedata/de_DE.in: Rename to...
25514 * localedata/de_DE.ISO-8859-1.in: ...this.
25515 * localedata/en_US.in: Rename to...
25516 * localedata/en_US.ISO-8859-1.in: ...this.
25517 * localedata/fr_FR.in: Rename to...
25518 * localedata/fr_FR.UTF-8.in: ... this.
25519 * localedata/hr_HR.in: Rename to...
25520 * localedata/hr_HR.ISO-8859-2.in: ...this.
25521 * localedata/hu_HU.in: Rename to...
25522 * localedata/hu_HU.UTF-8.in: ...this.
25523 * localedata/si_LK.in: Rename to...
25524 * localedata/si_LK.UTF-8.in: ...this.
25525 * localedata/sv_SE.in: Rename to...
25526 * localedata/sv_SE.ISO-8859-1.in: ...this.
25527 * localedata/tr_TR.in: Rename to...
25528 * localedata/tr_TR.UTF-8.in: ...this.
25529 * localedata/uk_UA.in: Rename to...
25530 * localedata/uk_UA.UTF-8.in: ...this.
25531 * localedata/sort-test.sh: Test file is locale name with the
25534 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25535 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25537 * localedata/locales/i18n_ctype: Regenerate.
25538 * localedata/locales/tr_TR: Likewise.
25539 * localedata/locales/translit_circle: Likewise.
25540 * localedata/locales/translit_cjk_compat: Likewise.
25541 * localedata/locales/translit_combining: Likewise.
25542 * localedata/locales/translit_compat: Likewise.
25543 * localedata/locales/translit_font: Likewise.
25544 * localedata/locales/translit_fraction: Likewise.
25546 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25548 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25549 lxvd2x/stxvd2x with lvx/stvx.
25550 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25552 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25554 * include/alloc_buffer.h: Replace "if if " with "if " in
25556 * sysdeps/mips/memcpy.S: Likkewise.
25557 * sysdeps/mips/memset.S: Likewise.
25558 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25560 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25562 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25565 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25568 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25569 yesexpr and noexpr.
25570 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25571 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25572 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25573 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25574 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25575 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25576 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25578 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25580 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25581 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25582 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25583 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25584 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25585 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25586 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25587 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25588 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25589 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25590 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25591 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25593 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25595 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25596 as possible for better readability of the source.
25597 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25598 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25599 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25600 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25601 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25602 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25603 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25604 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25605 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25606 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25607 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25608 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25609 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25610 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25611 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25612 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25613 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25614 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25615 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25616 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25617 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25618 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25619 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25620 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25621 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25622 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25623 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25624 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25625 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25626 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25627 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25628 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25629 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25630 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25631 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25632 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25633 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25634 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25635 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25636 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25637 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25638 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25639 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25640 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25641 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25642 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25643 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25644 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25645 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25646 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25647 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25648 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25649 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25650 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25651 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25652 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25653 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25654 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25655 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25656 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25657 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25658 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25659 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25660 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25661 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25662 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25663 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25664 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25665 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25666 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25667 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25668 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25669 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25670 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25671 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25672 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25673 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25674 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25675 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25676 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25677 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25678 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25679 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25680 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25681 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25682 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25683 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25684 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25685 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25686 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25687 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25688 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25689 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25690 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25691 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25692 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25693 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25694 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25695 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25696 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25697 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25698 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25699 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25700 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25701 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25702 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25703 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25704 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25705 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25706 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25707 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25708 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25709 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25710 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25711 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25712 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25713 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25714 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25715 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25716 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25717 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25718 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25719 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25720 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25721 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25722 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25723 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25724 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25725 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25726 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25727 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25728 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25729 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25730 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25731 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25732 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25733 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25734 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25735 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25736 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25737 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25738 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25739 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25740 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25741 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25742 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25743 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25744 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25745 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25746 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25747 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25748 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25749 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25750 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25751 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25752 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25753 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25754 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25755 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25756 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25757 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25758 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25759 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25760 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25761 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25762 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25763 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25764 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25765 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25766 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25767 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25768 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25769 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25770 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25772 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25774 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25775 (Use first letters of yesstr and nostr correctly instead of using
25778 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25780 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25781 (Use first letters of yesstr and nostr correctly).
25783 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25785 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25786 also check for the first characters of yesstr and nostr.
25787 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25788 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25790 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25792 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25793 also check for Chinese characters.
25795 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25797 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25798 match also for the contents of yesstr and nostr. As the first letter
25799 of yesstr and nostr is equal, checking only for the first letter
25802 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25804 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25805 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25807 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25809 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25810 of main contributor.
25812 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25814 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25815 instead of using English.
25817 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25819 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25820 by including the first letters of nostr and yesexpr in the regexp.
25821 Also make it more readable by using ASCII where possible.
25823 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25825 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25826 the first letter of nostr in the regexp. It agrees with CLDR now.
25827 Also make it more readable by using ASCII where possible.
25829 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25831 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25832 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25833 these strings contain a U+17D6 (which somewhat looks like a colon)
25834 instead of a real colon to separate the full words for “yes”
25835 and “no” from the single letter responses.
25837 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25839 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25840 it agree with CLDR (include the first letter of yesstr).
25841 Also make it more readable by using ASCII where possible.
25843 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25845 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25846 and improve yesexpr and noexpr. The yesstr and nostr apparently
25847 came from CLDR. And CLDR has a bug there: these strings contain
25848 a U+0903 (which looks like a colon) instead of a real colon
25849 to separate the full words for “yes” and “no” from the single
25852 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25854 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25855 letters of the full yesstr and nostr in yesexpr and noexpr.
25857 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25859 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25860 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25861 * localedata/locales/an_ES: Make source more readable by using ASCII
25864 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25867 * localedata/locales/yuw_PG: New file.
25868 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25869 * locale/iso-639.def: Add Yau (Uruwa).
25871 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25873 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25875 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25877 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25878 (__libc_realloc): Likewise.
25879 (_mid_memalign): Likewise.
25880 (__libc_calloc): Likewise.
25882 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25884 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25885 by adding the generic +1 and -0 as in all other locales.
25886 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25887 day names and make it more readable by using ASCII where possible.
25889 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25891 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25892 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25894 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25896 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25897 WNOHANG in waitpid call.
25899 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25901 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25902 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25904 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25905 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25906 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25907 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25908 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25909 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25910 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25911 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25914 2017-10-23 Michael Collison <michael.collison@arm.com>
25916 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25917 with __builtin_sqrt.
25918 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25919 with __builtin_sqrtf.
25920 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25921 with __builtin_ceil.
25922 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25923 with __builtin_ceilf.
25924 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25925 with __builtin_floor.
25926 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25927 with __builtin_floorf.
25928 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25929 with __builtin_fma.
25930 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25931 with __builtin_fmaf.
25932 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25933 with __builtin_fmax.
25934 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25935 with __builtin_fmaxf.
25936 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25937 with __builtin_fmin.
25938 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25939 with __builtin_fminf.
25940 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25941 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25942 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25943 with builtin_rint and conversion to int.
25944 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25945 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25946 with builtin_llround.
25947 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25948 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25949 with builtin_rint and conversion to long int.
25950 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25951 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25952 with builtin_lround.
25953 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25954 with builtin_lroundf.
25955 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25956 statements with __builtin_nearbyint.
25957 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25958 statements with __builtin_nearbyintf.
25959 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25960 with __builtin_rint.
25961 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25962 with __builtin_rintf.
25963 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25964 with __builtin_round.
25965 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25966 with __builtin_roundf.
25967 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25968 with __builtin_trunc.
25969 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25970 with __builtin_truncf.
25971 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25972 and s_l[l]round[f].c too.
25974 2017-10-23 Alan Modra <amodra@gmail.com>
25976 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25977 Adjust stack after restoring regs. Add missing LR cfi_restore.
25979 2017-10-23 Alan Modra <amodra@gmail.com>
25981 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25982 Move LR save and frame setup/teardown and LR restore to
25983 immediately around memset call. Provide cfi.
25985 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25987 * sysdeps/i386/fpu/e_powf.S: Removed.
25988 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25989 * sysdeps/i386/fpu/w_powf.c: Likewise.
25990 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25991 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25992 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25994 (CFLAGS-e_powf-sse2.c): New.
25995 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25996 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25998 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26000 * sysdeps/i386/fpu/e_log2f.S: Removed.
26001 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26002 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26003 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26004 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26005 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26007 (CFLAGS-e_log2f-sse2.c): New.
26008 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26009 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26011 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26013 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26015 (CFLAGS-e_powf-fma.c): New.
26016 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26017 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26019 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26021 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26023 (CFLAGS-e_log2f-fma.c): New.
26024 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26025 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26027 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26029 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26031 (CFLAGS-e_logf-fma.c): New.
26032 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26033 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26035 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26037 * sysdeps/i386/fpu/e_logf.S: Removed.
26038 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26039 * sysdeps/i386/fpu/w_logf.c: Likewise.
26040 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26041 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26042 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26043 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26045 (CFLAGS-e_logf-sse2.c): New.
26046 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26047 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26049 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26051 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26052 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26053 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26054 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26055 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26057 (CFLAGS-e_exp2f-sse2.c): New.
26058 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26059 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26061 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26063 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26065 (CFLAGS-e_exp2f-fma.c): New.
26066 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26067 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26069 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26071 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26072 * sysdeps/i386/fpu/e_expf.S: Likewise.
26073 * sysdeps/i386/fpu/math_errf.c: Likewise.
26074 * sysdeps/i386/fpu/w_expf.c: Likewise.
26075 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26076 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26077 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26078 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26079 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26080 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26081 Remove e_expf-ia32.
26082 (CFLAGS-e_expf-sse2.c): New.
26083 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26084 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26086 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26088 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26089 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26090 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26091 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26093 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26095 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26096 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26098 (__redirect_expf): This.
26099 (SYMBOL_NAME): Changed to expf.
26100 (__ieee754_expf): Renamed to ...
26102 (__GI___expf): This.
26103 (__ieee754_expf): Add strong_alias.
26104 (__expf_finite): Likewise.
26106 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26108 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26111 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26114 2017-10-21 Florian Weimer <fweimer@redhat.com>
26116 * posix/Makefile (tests): Add tst-glob-tilde.
26117 (tests-special): Add tst-glob-tilde-mem.out
26118 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26119 (tst-glob-tilde-mem.out): Add mtrace check.
26120 * posix/tst-glob-tilde.c: New file.
26122 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26124 * bits/floatn-common.h: New file.
26125 * math/Makefile (headers): Add bits/floatn-common.h.
26126 * bits/floatn.h: Include <bits/floatn-common.h>.
26127 * sysdeps/ia64/bits/floatn.h: Likewise.
26128 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26129 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26130 * sysdeps/powerpc/bits/floatn.h: Likewise.
26131 * sysdeps/x86/bits/floatn.h: Likewise.
26133 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26135 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26136 indicates whether compiler emits an warning for alias for
26137 functions with incompatible types.
26140 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26141 the auxiliary process is terminated by a signal before calling _exit
26144 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26147 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26149 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26150 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26151 and bit_arch_XSAVEC_Usable if needed.
26152 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26153 and bit_arch_Use_dl_runtime_resolve_opt.
26154 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26156 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26157 (bit_arch_Prefer_No_AVX512): Updated.
26158 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26159 (bit_arch_XSAVEC_Usable): New.
26160 (STATE_SAVE_OFFSET): Likewise.
26161 (STATE_SAVE_MASK): Likewise.
26162 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26163 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26164 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26165 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26166 (index_arch_XSAVEC_Usable): New.
26167 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26168 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26169 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26171 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26172 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26173 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26174 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26175 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26176 _dl_runtime_resolve_xsavec.
26177 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26179 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26180 instead of VEC_SIZE.
26181 (REGISTER_SAVE_BND0): Removed.
26182 (REGISTER_SAVE_BND1): Likewise.
26183 (REGISTER_SAVE_BND3): Likewise.
26184 (REGISTER_SAVE_RAX): Always defined to 0.
26186 (_dl_runtime_resolve_avx): Likewise.
26187 (_dl_runtime_resolve_avx_slow): Likewise.
26188 (_dl_runtime_resolve_avx_opt): Likewise.
26189 (_dl_runtime_resolve_avx512): Likewise.
26190 (_dl_runtime_resolve_avx512_opt): Likewise.
26191 (_dl_runtime_resolve_sse): Likewise.
26192 (_dl_runtime_resolve_sse_vex): Likewise.
26194 (_dl_runtime_resolve_fxsave): Likewise.
26195 (USE_XSAVE): Likewise.
26196 (_dl_runtime_resolve_xsave): Likewise.
26197 (USE_XSAVEC): Likewise.
26198 (_dl_runtime_resolve_xsavec): Likewise.
26199 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26201 (_dl_runtime_resolve_avx512_opt): Likewise.
26202 (_dl_runtime_resolve_avx): Likewise.
26203 (_dl_runtime_resolve_avx_opt): Likewise.
26204 (_dl_runtime_resolve_sse): Likewise.
26205 (_dl_runtime_resolve_sse_vex): Likewise.
26206 (_dl_runtime_resolve_fxsave): New.
26207 (_dl_runtime_resolve_xsave): Likewise.
26208 (_dl_runtime_resolve_xsavec): Likewise.
26210 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26214 * posix/glob.c (__glob): Fix one-byte overflow.
26216 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26218 * malloc/malloc.c (sysdep-cancel.h): Add include.
26220 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26222 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26224 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26226 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26227 (tests): Remove $(objpfx)ga_test depdendency.
26228 * resolv/ga_test.c: Remove file.
26230 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26233 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26234 * localedata/locales/kab_DZ: New file.
26236 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26238 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26239 _dl_relocate_static_pie instead of _dl_start to compute load
26240 address in static PIE.
26242 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26244 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26246 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26249 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26250 * localedata/locales/shn_MM: New file.
26252 2017-10-20 Florian Weimer <fweimer@redhat.com>
26255 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26256 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26257 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26258 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26259 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26260 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26262 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26264 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26266 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26268 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26271 * sysdeps/mips/bits/long-double.h: Move to ....
26272 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26274 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26276 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26278 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26279 H.J. Lu <hongjiu.lu@intel.com>
26282 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26283 GLRO(dl_platform) to NULL.
26284 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26285 (modules-names): Add tst-platformmod-1 and
26286 x86_64/tst-platformmod-2.
26287 (CFLAGS-tst-platform-1.c): New.
26288 (CFLAGS-tst-platformmod-1.c): Likewise.
26289 (CFLAGS-tst-platformmod-2.c): Likewise.
26290 (LDFLAGS-tst-platformmod-2.so): Likewise.
26291 ($(objpfx)tst-platform-1): Likewise.
26292 ($(objpfx)tst-platform-1.out): Likewise.
26293 (tst-platform-1-ENV): Likewise.
26294 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26295 * sysdeps/x86_64/tst-platform-1.c: New file.
26296 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26297 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26299 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26302 * locale/iso-639.def: Add Karbi.
26303 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26304 * localedata/locales/mjw_IN: New file.
26306 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26308 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26309 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26310 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26311 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26312 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26313 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26314 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26316 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26317 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26318 * manual/math.texi (Mathematics): Document additional architecture
26319 support for _Float128.
26320 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26321 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26322 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26323 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26324 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26325 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26326 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26327 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26328 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26329 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26330 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26331 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26332 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26333 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26334 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26336 2017-10-18 Renlin Li <renlin.li@arm.com>
26338 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26339 _DYNAMIC symbol to calculate load address.
26341 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26343 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26344 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26346 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26347 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26349 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26352 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26353 and improve readability by using more ASCII.
26354 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26355 and improve readability by using more ASCII.
26357 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26359 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26360 not all targets support atomics on bool.
26362 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26364 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26365 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26367 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26368 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26369 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26370 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26371 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26372 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26374 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26376 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26379 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26382 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26383 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26384 (do_check_remalloced_chunk): Fix build bug.
26385 (do_check_malloc_state): Add assert that checks arena->top.
26386 (malloc_consolidate): Remove initialization.
26387 (int_mallinfo): Remove call to malloc_consolidate.
26388 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26390 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26392 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26393 (have_fastchunks): Remove.
26394 (clear_fastchunks): Remove.
26395 (set_fastchunks): Remove.
26396 (malloc_state): Add have_fastchunks.
26397 (malloc_init_state): Use have_fastchunks.
26398 (do_check_malloc_state): Remove incorrect invariant checks.
26399 (_int_malloc): Use have_fastchunks.
26400 (_int_free): Likewise.
26401 (malloc_consolidate): Likewise.
26403 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26405 * malloc/malloc.c (tcache_put): Inline.
26406 (tcache_get): Inline.
26408 2017-10-17 Jordi Mallach <jordi@gnu.org>
26410 Aurelien Jarno <aurelien@aurel32.net>
26412 * localedata/locales/ca_ES@valencia: New file.
26413 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26415 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26418 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26421 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26423 * scripts/build-many-glibcs.py (Context.add_all_configs):
26424 Add arm-linux-gnueabihf multiarch extra_glibcs.
26426 * sysdeps/generic/ifunc-init.h: New file.
26427 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26429 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26432 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26433 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26434 * stdlib/tst-strfmon_l.c: adapt test case.
26436 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26438 * sysdeps/generic/float128-abi.h: New file.
26439 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26440 non-__prefixed symbols to ....
26441 * math/Versions: ... here. Include <float128-abi.h>.
26442 * stdlib/Versions ... and here. Include <float128-abi.h>
26444 2017-10-16 Florian Weimer <fweimer@redhat.com>
26446 * version.h (VERSION): Switch to ".9000" as the development
26449 2017-10-16 Florian Weimer <fweimer@redhat.com>
26452 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26453 compat_symbol_reference to access non-default version.
26455 2017-10-16 Florian Weimer <fweimer@redhat.com>
26457 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26459 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26461 * include/shlib-compat.h (compat_symbol_reference): Update
26464 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26466 * math/Makefile (test-types): Add
26467 $(type-float128-$(float128-alias-fcts)).
26468 * math/test-float128.h (TYPE_STR): Define conditional on
26469 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26470 (ULP_IDX): Likewise.
26471 (ULP_I_IDX): Likewise.
26473 * stdlib/strtold.c: Include <bits/floatn.h>
26474 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26475 and later undefine as macro. Define as weak alias if
26477 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26478 and later undefine as macro. Define as weak alias if
26480 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26481 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26482 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26483 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26484 Define and later undefine as macro. Define as weak alias if
26486 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26488 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26489 Define and later undefine as macro. Define as weak alias if
26491 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26492 Define and later undefine as macro. Define as weak alias if
26495 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26497 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26498 record_verbose messages.
26500 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26503 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26504 to silence -O3 -Wall warning with GCC 7.
26506 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26508 * Makeconfig (+link-static-before-libc): Use the first of
26509 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26510 * gmon/Makefile (tests): Add tst-gmon-static.
26511 (tests-static): Likewise.
26512 (CFLAGS-tst-gmon-static.c): New.
26513 (CRT-tst-gmon-static): Likewise.
26514 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26515 (tst-gmon-static-ENV): Likewise.
26516 (tests-special): Likewise.
26517 ($(objpfx)tst-gmon-static.out): Likewise.
26518 (clean-tst-gmon-static-data): Likewise.
26519 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26520 * gmon/tst-gmon-static-gprof.sh: New file.
26521 * gmon/tst-gmon-static.c: Likewise.
26523 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26526 * locale/programs/linereader.c (get_string): Don't warn on
26527 non-symbolic character.
26530 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26534 * locale/programs/record-status.h: New file
26535 * locale/programs/locale.c: Add comment.
26536 * locale/programs/charmap-dir.c: Don't include error.h.
26537 (charmap_opendir): Use record_error.
26538 * locale/programs/charmap.c: Don't include error.h.
26539 (charmap_read): Use record_error, and record_warning.
26540 (parse_charmap): Likewise.
26541 * locale/programs/ld-address.c: Don't include error.h.
26542 (address_finish): Use record_error, and record_warning.
26543 * locale/programs/ld-collate.c: Don't include error.h.
26544 (collate_finish): Use record_error, and record_error_at_line.
26545 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26546 (ctype_class_new): Likewise.
26547 (ctype_map_new): Likewise.
26548 (set_one_default): Likewise.
26549 (set_class_defaults): Likewise.
26550 (translit_flatten): Likewise.
26551 (allocate_arrays): Use record_error, and record_verbose.
26552 * locale/programs/ld-identification.c: Don't include error.h.
26553 (indentation_finish): Use record_error and record_warning.
26554 * locale/programs/ld-measurement.c: Don't include error.h.
26555 (measurement_finish): Use record_error.
26556 * locale/programs/ld-messages.c
26557 (message_finish): Likewise.
26558 * locale/programs/ld-monetary.c
26559 (monetary_finish): Likewise.
26560 * locale/programs/ld-name.c (name_finish): Use record_error
26561 and record_warning.
26562 * locale/programs/ld-numeric.c
26563 (numeric_finish): Use record_error.
26564 * locale/programs/ld-paper.c: Don't include error.h.
26565 (paper_finish): Use record_error.
26566 * locale/programs/ld-telephone.c: Don't include error.h.
26567 (telephone_finish): Use record_error.
26568 * locale/programs/ld-time.c (time_finish): Likewise.
26569 * locale/programs/linereader.h (lr_error): Make inline func.
26570 * locale/programs/localedef.c: Define recorded_warning_count,
26571 and recorded_error_count.
26572 (main): Use record_error. Use recorded_error_count and
26573 recorded_warning_count to issue correct error returns.
26574 (add_to_readlist): Use record_error.
26575 (find_locale): Likewise.
26576 (load_locale): Likewise.
26577 * locale/programs/localedef.h: Remove be_quiet
26578 and WITH_CUR_LOCALE.
26579 * locale/programs/locarchive.c (compare_from_file): Use
26581 * locale/programs/locfile.c (write_locale_data): Use
26583 * locale/programs/repertoire.c: Dont include error.h.
26584 (repertoire_complain): Use record_error.
26585 * localedata/tst-fmon.sh: Expect failures from localedef.
26586 * localedata/tst-locale.sh: Likewise.
26587 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26589 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26590 (REPORTS): Likewise.
26592 (i18n): Rename to...
26593 (i18n_ctype): ...this.
26594 (i18n-report): Rename to...
26595 (i18n_ctype-report): ...this.
26596 * localedata/locales/i18n_ctype: Regenerate.
26597 * localedata/locales/i18n: copy i18n_ctype.
26599 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26601 * stdlib/strfroml.c: Include <bits/floatn.h>.
26602 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26603 Define before include of <stdlib.h> and undefine afterwards, then
26604 define as weak alias.
26606 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26607 Undefine and restore default definition. Use
26608 libm_alias_ldouble_other.
26610 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26613 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26616 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26618 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26619 Assign sym_map to be map for local symbols, as TLS relocations
26620 use sym_map to determine whether the symbol is defined and to
26621 extract the TLS information.
26622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26623 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26625 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26628 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26629 (math_force_eval): Add powerpc version.
26632 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26634 (do_test): Likewise.
26635 * stdio-common/tst-printf.sh: Likewise.
26636 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26637 ifdef clause in order to set the carry bit right. Replace r0 by
26638 0 without changing the behavior.
26640 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26642 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26643 <libm-alias-ldouble.h>.
26644 (fabsl): Define using libm_alias_ldouble.
26645 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26646 <libm-alias-ldouble.h>.
26647 (fabsl): Define using libm_alias_ldouble.
26649 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26650 Remove conditional code.
26652 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26653 Rename to __clog10_internal_l.
26654 (__clog10_internal_l): Define aliases using
26655 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26658 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26660 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26661 * benchtests/sincosf-inputs: New file.
26662 * benchtests/cosf-inputs: New file.
26663 * benchtests/sinf-inputs: New file.
26665 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26667 * posix/tst-spawn.c (do_test): Wait for both children.
26669 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26672 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26673 tests-pie): Add tst-gmon-pie.
26674 (CFLAGS-tst-gmon-pie.c): New.
26675 (CRT-tst-gmon-pie): Likewise.
26676 (tst-gmon-pie-ENV): Likewise.
26677 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26678 ($(objpfx)tst-gmon-pie.out): Likewise.
26679 (clean-tst-gmon-pie-data): Likewise.
26680 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26681 * gmon/gmon.c [PIC]: Include <link.h>.
26682 [PIC] (callback): New function.
26683 (write_hist): Add an argument for load address. Subtract load
26685 (write_call_graph): Likewise.
26686 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26687 it to write_hist and write_call_graph.
26688 * gmon/tst-gmon-pie.c: New file.
26690 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26692 * math/Makefile (test-types-basic): New variable.
26693 (test-types): Likewise.
26694 (libm-test-support): Use $(test-types) instead of $(types).
26695 (libm-tests-base-normal): Likewise.
26696 (libm-tests-base-finite): Likewise.
26697 (libm-tests-base-inline): Likewise.
26698 (generated): Likewise.
26699 ($(objpfx)libm-test-support-$(t).c): Likewise.
26700 (libm-tests-for-type iterator): Likewise.
26701 (libm-test-support iterator): Likewise.
26702 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26703 (ulp_idx): Use ULP_IDX.
26704 * math/test-ldouble.h: Include <float.h>.
26705 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26706 (ULP_IDX): New macro.
26707 (ULP_I_IDX): Likewise.
26708 * math/test-double.h (ULP_IDX): Likewise.
26709 (ULP_I_IDX): Likewise.
26710 * math/test-float.h (ULP_IDX): Likewise.
26711 (ULP_I_IDX): Likewise.
26712 * math/test-float128.h (ULP_IDX): Likewise.
26713 (ULP_I_IDX): Likewise.
26715 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26717 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26718 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26719 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26720 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26721 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26722 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26723 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26726 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26727 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26728 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26729 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26731 (SINGLE_THREAD_BY_GLOBAL): Define.
26732 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26734 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26736 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26738 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26740 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26741 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26745 2017-10-11 Andreas Schwab <schwab@suse.de>
26747 * nis/Makefile (aux): Remove.
26748 * nscd/Makefile (aux): Add nscd_hash.
26749 (nscd-modules): Likewise.
26750 ($(objpfx)nscd): Don't depend on libnsl.
26751 * nscd/nscd_hash.c: New file.
26752 * nscd/nscd_hash.h: Likewise.
26753 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26754 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26755 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26756 instead of <nis/rpcsvc/nis.h>.
26757 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26759 2017-10-11 Florian Weimer <fweimer@redhat.com>
26762 Avoid large NSS buffers with many addresses, aliases.
26763 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26764 using dynarrays and struct alloc_buffer.
26765 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26766 (tst-nss-files-hosts-multi): Link with -ldl.
26767 * nss/tst-nss-files-hosts-multi.c: New file.
26769 2017-10-11 Florian Weimer <fweimer@redhat.com>
26772 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26773 scratch_buffer. Eliminate gotos.
26775 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26777 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26778 libm_alias_ldouble_other.
26779 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26780 undefine and redefine.
26781 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26782 (exp10l): Do not define here.
26783 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26784 (weak_alias): Undefine and redefine.
26785 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26786 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26787 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26788 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26790 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26791 [!__fma] (fma): Define using libm_alias_double.
26792 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26793 [!__fmaf] (fmaf): Define using libm_alias_float.
26794 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26795 (fmal): Define using libm_alias_ldouble.
26797 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26799 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26801 (libm_alias_double_other): Likewise.
26802 (libm_alias_double_r): Use libm_alias_double_other_r.
26803 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26805 (libm_alias_float_other): Likewise.
26806 (libm_alias_float_r): Use libm_alias_float_other_r.
26807 * sysdeps/generic/libm-alias-float128.h
26808 (libm_alias_float128_other_r): New macro.
26809 (libm_alias_float128_other): Likewise.
26810 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26811 * sysdeps/generic/libm-alias-ldouble.h
26812 (libm_alias_ldouble_other_r): New macro.
26813 (libm_alias_ldouble_other): Likewise.
26814 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26815 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26816 (libm_alias_double_other_r): New macro.
26817 (libm_alias_double_other): Likewise.
26818 (libm_alias_double_r): Use libm_alias_double_other_r.
26819 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26820 (libm_alias_ldouble_other_r): New macro.
26821 (libm_alias_ldouble_other): Likewise.
26822 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26823 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26824 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26825 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26826 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26827 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26828 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26829 * math/w_exp2f.c: Use libm_alias_float_other.
26830 * math/w_expf.c: Likewise.
26831 * math/w_log2f.c: Likewise.
26832 * math/w_logf.c: Likewise.
26833 * math/w_powf.c: Likewise.
26834 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26835 [!__exp2f]: Use libm_alias_float_other.
26836 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26837 [!__expf]: Use libm_alias_float_other.
26838 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26839 [!__log2f]: Use libm_alias_float_other.
26840 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26841 [!__logf]: Use libm_alias_float_other.
26842 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26843 [!__powf]: Use libm_alias_float_other.
26845 2017-10-10 Florian Weimer <fweimer@redhat.com>
26847 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26849 (_nss_files_gethostbyname3_r): Call it.
26851 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26853 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26854 error. Remove default definition of declare_mgen_alias.
26855 [!declare_mgen_alias_r]: Likewise.
26856 * sysdeps/generic/math-type-macros-double.h
26857 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26858 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26859 (declare_mgen_alias_r): Likewise.
26860 * sysdeps/generic/math-type-macros-float128.h
26861 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26862 * sysdeps/generic/math-type-macros-ldouble.h
26863 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26864 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26866 (declare_mgen_alias_r_s): Likewise.
26867 (declare_mgen_alias_r): Likewise.
26868 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26869 (lgamma_r): Define using libm_alias_double_r.
26870 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26871 (lgammaf_r): Define using libm_alias_float_r.
26872 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26873 (lgammal_r): Define using libm_alias_ldouble_r.
26874 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26875 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26877 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26879 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26880 extern declaration.
26882 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26884 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26886 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26889 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26890 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26891 * math/Makefile (test-math-cxx11): New test.
26892 * math/test-math-cxx11.cc: New file.
26894 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26896 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26898 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26899 call to allocate the slave pty file descriptor.
26901 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26903 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26904 [!__fma] (fma): Define using libm_alias_double.
26905 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26906 [!__fma] (fma): Define using libm_alias_double.
26908 * sysdeps/ieee754/float128/float128_private.h: Include
26909 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26910 (libm_alias_ldouble_r): Undefine and redefine.
26911 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26912 <libm-alias-ldouble.h>.
26913 (asinhl): Define using libm_alias_ldouble.
26914 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26915 <libm-alias-ldouble.h>.
26916 (atanl): Define using libm_alias_ldouble.
26917 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26918 <libm-alias-ldouble.h>.
26919 (cbrtl): Define using libm_alias_ldouble.
26920 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26921 <libm-alias-ldouble.h>.
26922 (ceill): Define using libm_alias_ldouble.
26923 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26924 <libm-alias-ldouble.h>.
26925 (copysignl): Define using libm_alias_ldouble.
26926 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26927 <libm-alias-ldouble.h>.
26928 (cosl): Define using libm_alias_ldouble.
26929 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26930 <libm-alias-ldouble.h>.
26931 (erfl): Define using libm_alias_ldouble.
26933 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26934 <libm-alias-ldouble.h>.
26935 (expm1l): Define using libm_alias_ldouble.
26936 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26937 <libm-alias-ldouble.h>.
26938 (fabsl): Define using libm_alias_ldouble.
26939 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26940 <libm-alias-ldouble.h>.
26941 (floorl): Define using libm_alias_ldouble.
26942 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26943 <libm-alias-ldouble.h>.
26944 (fmal): Define using libm_alias_ldouble.
26945 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26946 <libm-alias-ldouble.h>.
26947 (frexpl): Define using libm_alias_ldouble.
26948 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26949 libm_alias_ldouble.
26950 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26951 <libm-alias-ldouble.h>.
26952 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26953 libm_alias_ldouble.
26954 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26955 <libm-alias-ldouble.h>.
26956 (getpayloadl): Define using libm_alias_ldouble.
26957 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26958 <libm-alias-ldouble.h>.
26959 (llrintl): Define using libm_alias_ldouble.
26960 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26961 <libm-alias-ldouble.h>.
26962 (llroundl): Define using libm_alias_ldouble.
26963 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26964 <libm-alias-ldouble.h>.
26965 (logbl): Define using libm_alias_ldouble.
26966 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26967 <libm-alias-ldouble.h>.
26968 (lrintl): Define using libm_alias_ldouble.
26969 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26970 <libm-alias-ldouble.h>.
26971 (lroundl): Define using libm_alias_ldouble.
26972 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26973 <libm-alias-ldouble.h>.
26974 (modfl): Define using libm_alias_ldouble.
26975 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26976 <libm-alias-ldouble.h>.
26977 (nearbyintl): Define using libm_alias_ldouble.
26978 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26979 <libm-alias-ldouble.h>.
26980 (nextafterl): Define using libm_alias_ldouble.
26981 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26982 <libm-alias-ldouble.h>.
26983 (nextupl): Define using libm_alias_ldouble.
26984 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26985 <libm-alias-ldouble.h>.
26986 (remquol): Define using libm_alias_ldouble.
26987 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26988 <libm-alias-ldouble.h>.
26989 (rintl): Define using libm_alias_ldouble.
26990 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26991 <libm-alias-ldouble.h>.
26992 (roundevenl): Define using libm_alias_ldouble.
26993 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26994 <libm-alias-ldouble.h>.
26995 (roundl): Define using libm_alias_ldouble.
26996 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26997 using libm_alias_ldouble.
26998 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26999 <libm-alias-ldouble.h>.
27000 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27001 Define using libm_alias_ldouble.
27002 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27003 <libm-alias-ldouble.h>.
27004 (sincosl): Define using libm_alias_ldouble.
27005 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27006 <libm-alias-ldouble.h>.
27007 (sinl): Define using libm_alias_ldouble.
27008 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27009 <libm-alias-ldouble.h>.
27010 (tanhl): Define using libm_alias_ldouble.
27011 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27012 <libm-alias-ldouble.h>.
27013 (tanl): Define using libm_alias_ldouble.
27014 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27015 <libm-alias-ldouble.h>.
27016 (totalorderl): Define using libm_alias_ldouble.
27017 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27018 <libm-alias-ldouble.h>.
27019 (totalordermagl): Define using libm_alias_ldouble.
27020 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27021 <libm-alias-ldouble.h>.
27022 (truncl): Define using libm_alias_ldouble.
27023 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27024 libm_alias_ldouble.
27025 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27026 libm_alias_ldouble.
27027 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27028 <libm-alias-ldouble.h>.
27029 (weak_alias): Do not undefine and redefine.
27030 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27031 (copysignl): Define with long_double_symbol only if [IS_IN
27033 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27034 <libm-alias-ldouble.h>.
27035 (weak_alias): Do not undefine and redefine.
27036 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27037 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27038 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27039 <libm-alias-ldouble.h>.
27040 (weak_alias): Do not undefine and redefine.
27041 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27042 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27043 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27044 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27045 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27047 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27050 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27051 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27052 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27053 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27054 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27055 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27056 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27057 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27058 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27059 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27060 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27061 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27064 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27068 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27071 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27072 (tcache_thread_freeres): Set tcache_shutting_down before
27073 freeing the tcache.
27074 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27075 * malloc/tst-malloc-tcache-leak.c: New file.
27077 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27079 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27080 back to powerpc32 file.
27081 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27082 (memrchr): Add __memrchr_power8 to ifunc list.
27083 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27084 extra bytes for unaligned inputs.
27086 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27088 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27089 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27090 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27091 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27092 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27094 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27096 * sysdeps/arm/libm-test-ulps: Update.
27098 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27099 <libm-alias-ldouble.h>.
27100 (asinhl): Define using libm_alias_ldouble.
27101 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27102 <libm-alias-ldouble.h>.
27103 (cbrtl): Define using libm_alias_ldouble.
27104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27105 <libm-alias-ldouble.h>.
27106 (copysignl): Define using libm_alias_ldouble.
27107 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27108 <libm-alias-ldouble.h>.
27109 (cosl): Define using libm_alias_ldouble.
27110 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27111 <libm-alias-ldouble.h>.
27112 (erfl): Define using libm_alias_ldouble.
27114 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27115 <libm-alias-ldouble.h>.
27116 (fmal): Define using libm_alias_ldouble.
27117 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27118 <libm-alias-ldouble.h>.
27119 (frexpl): Define using libm_alias_ldouble.
27120 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27121 libm_alias_ldouble.
27122 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27123 <libm-alias-ldouble.h>.
27124 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27125 libm_alias_ldouble.
27126 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27127 <libm-alias-ldouble.h>.
27128 (getpayloadl): Define using libm_alias_ldouble.
27129 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27130 <libm-alias-ldouble.h>.
27131 (llrintl): Define using libm_alias_ldouble.
27132 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27133 <libm-alias-ldouble.h>.
27134 (llroundl): Define using libm_alias_ldouble.
27135 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27136 <libm-alias-ldouble.h>.
27137 (lrintl): Define using libm_alias_ldouble.
27138 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27139 <libm-alias-ldouble.h>.
27140 (lroundl): Define using libm_alias_ldouble.
27141 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27142 <libm-alias-ldouble.h>.
27143 (modfl): Define using libm_alias_ldouble.
27144 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27145 <libm-alias-ldouble.h>.
27146 (nextupl): Define using libm_alias_ldouble.
27147 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27148 <libm-alias-ldouble.h>.
27149 (remquol): Define using libm_alias_ldouble.
27150 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27151 <libm-alias-ldouble.h>.
27152 (roundevenl): Define using libm_alias_ldouble.
27153 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27154 <libm-alias-ldouble.h>.
27155 (roundl): Define using libm_alias_ldouble.
27156 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27157 using libm_alias_ldouble.
27158 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27159 <libm-alias-ldouble.h>.
27160 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27161 <libm-alias-ldouble.h>.
27162 (setpayloadsigl): Define using libm_alias_ldouble.
27163 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27164 <libm-alias-ldouble.h>.
27165 (sincosl): Define using libm_alias_ldouble.
27166 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27167 <libm-alias-ldouble.h>.
27168 (sinl): Define using libm_alias_ldouble.
27169 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27170 <libm-alias-ldouble.h>.
27171 (tanhl): Define using libm_alias_ldouble.
27172 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27173 <libm-alias-ldouble.h>.
27174 (tanl): Define using libm_alias_ldouble.
27175 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27176 <libm-alias-ldouble.h>.
27177 (totalorderl): Define using libm_alias_ldouble.
27178 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27179 <libm-alias-ldouble.h>.
27180 (totalordermagl): Define using libm_alias_ldouble.
27181 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27182 libm_alias_ldouble.
27183 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27184 libm_alias_ldouble.
27186 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27188 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27190 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27191 (__libc_ifunc_impl_list): Likewise.
27192 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27193 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27195 * benchtests/bench-memmove-walk.c: New file.
27196 * benchtests/Makefile (string-benchset): Add it.
27198 * benchtests/bench-memset-walk.c: New file.
27199 * benchtests/Makefile (string-benchset): Add it.
27201 * benchtests/bench-memcpy-walk.c: New file.
27202 * benchtests/Makefile (string-benchset): Add it.
27204 2017-10-05 Florian Weimer <fweimer@redhat.com>
27206 nscd: Eliminate compilation time dependency in the build output.
27207 * nscd/nscd_stat.c (STATDATA_VERSION)
27208 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27209 (STATDATA_VERSION_FULL): New macro definitions.
27210 (compilation): Remove.
27211 (struct statdata): Adjust version member.
27212 (send_stats): Set version from STATDATA_VERSION_FULL.
27213 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27215 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27217 * configure.ac (--enable-add-ons): Remove option.
27218 (machine): Do not mention add-ons in comment.
27219 (LIBC_PRECONFIGURE): Likewise.
27220 (add_ons): Remove variable and sanity checks and logic to locate
27222 (add_ons_automatic): Remove variable.
27223 (configured_add_ons): Likewise.
27224 (add_ons_sfx): Likewise.
27225 (add_ons_pfx): Likewise.
27226 (add_on_subdirs): Likewise.
27227 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27228 consideration of add-ons in Implies handling.
27229 (sysdeps_add_ons): Likewise.
27230 * configure: Regenerated.
27231 * libidn/configure.ac: Remove.
27232 * libidn/configure: Likewise.
27233 * sysdeps/unix/inet/configure.ac: New file.
27234 * sysdeps/unix/inet/configure: New generated file.
27235 * sysdeps/unix/inet/Subdirs: Add libidn.
27236 * Makeconfig (sysdeps-srcdirs): Remove variable.
27237 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27238 ($(common-objpfx)config.status): Do not depend on add-on files.
27239 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27241 (all-subdirs): Do not include $(add-on-subdirs).
27242 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27243 * config.make.in (add-ons): Remove variable.
27244 (add-on-subdirs): Likewise.
27245 (sysdeps-add-ons): Likewise.
27246 * manual/Makefile (add-chapters): Remove.
27247 ($(objpfx)texis): Do not depend on $(add-chapters).
27248 (nonexamples): Do not handle $(add-chapters).
27249 (examples): Do not handle $(add-ons).
27250 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27252 * manual/install.texi (Installation): Do not mention add-ons.
27253 (--enable-add-ons): Do not document configure option.
27254 * INSTALL: Regenerated.
27255 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27256 * manual/maint.texi (Hierarchy Conventions): Do not mention
27258 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27260 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27262 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27263 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27265 2017-10-05 Andreas Schwab <schwab@suse.de>
27268 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27269 (_IO_flush_all_lockp): Always lock list_all_lock.
27270 (_IO_flush_all_linebuffered): Likewise.
27271 (_IO_unbuffer_all): Likewise.
27273 2017-10-05 Florian Weimer <fweimer@redhat.com>
27276 Do not flush stdio streams on abort.
27277 * stdlib/abort.c (fflush): Remove macro definition.
27278 (abort): Remove stages related to stdio flushing.
27280 2017-10-05 Florian Weimer <fweimer@redhat.com>
27282 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27284 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27286 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27288 2017-10-05 Florian Weimer <fweimer@redhat.com>
27290 * support/support_format_hostent.c (support_format_hostent): Add
27291 more error information for NETDB_INTERNAL.
27293 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27295 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27296 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27297 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27298 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27299 AC_DEFINE if multi-arch is enabled.
27300 * sysdeps/i386/configure: Regenerated.
27302 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27304 * Makeconfig (+link-static-before-libc): Use
27305 $(DEFAULT-LDFLAGS-$(@F)).
27306 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27307 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27308 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27310 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27312 * elf/Makefile (tests): Add tst-main1.
27313 (modules-names): Add tst-main1mod.
27314 ($(objpfx)tst-main1): New.
27315 (CRT-tst-main1): Likewise.
27316 (LDFLAGS-tst-main1): Likewise.
27317 (LDLIBS-tst-main1): Likewise.
27318 (tst-main1mod.so-no-z-defs): Likewise.
27319 * elf/tst-main1.c: New file.
27320 * elf/tst-main1mod.c: Likewise.
27322 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27324 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27326 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27328 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27329 (fma): Define using libm_alias_double.
27330 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27331 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27333 (fmal): Do not define as compat symbol here.
27334 * sysdeps/alpha/fpu/s_fma.c: New file.
27336 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27338 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27340 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27343 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27345 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27347 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27348 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27349 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27350 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27352 Include <math_ldbl_opt.h>
27353 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27355 (compat_symbol): Undefine and redefine.
27356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27358 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27359 (compat_symbol): Undefine and redefine.
27360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27361 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27362 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27363 GLIBC_2_1 for libm.
27364 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27365 GLIBC_2.0 copysignl symbol.
27366 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27367 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27369 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27371 2017-10-04 Florian Weimer <fweimer@redhat.com>
27373 * scripts/check-local-headers.sh: Ignore nspr4 header file
27374 directory in addition to nspr.
27376 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27379 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27380 * configure: Regenerate.
27381 * crypt/Makefile (nss-cpp-flags): New variable.
27382 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27383 (CPPFLAGS-md5-crypt.c): Use it.
27384 * scripts/check-local-headers.sh: Ignore nspr header file
27387 2017-10-04 Andreas Schwab <schwab@suse.de>
27389 * nis/Makefile (services): Remove compat.
27390 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27391 ($(objpfx)libnss_compat.so): Remove rule.
27392 * nis/Versions (libnss_compat): Remove.
27393 * nss/Makefile (services): Add compat.
27394 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27395 * nss/Versions (libnss_compat): Define.
27396 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27397 Don't include <rpc/types.h>. Replace bool_t by bool.
27398 * nss/nss_compat/compat-initgroups.c: Likewise.
27399 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27400 instead of <rpcsrv/ypclnt.h>.
27401 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27402 yp_get_default_domain.
27403 * nss/nss_compat/compat-pwd.c: Likewise.
27404 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27405 yp_get_default_domain.
27406 * nss/nss_compat/nisdomain.c: New file.
27407 * nss/nss_compat/nisdomain.h: Likewise.
27409 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27412 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27413 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27415 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27419 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27421 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27423 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27424 "movl main@GOTOFF(%ebx), %eax".
27426 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27428 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27429 allow undefined _DYNAMIC in PIE libc.a.
27430 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27433 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27435 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27438 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27440 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27443 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27445 * math/test-math-iscanonical.cc (error): Replace bool with int.
27447 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27449 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27450 (modf): Define using libm_alias_double, only if [!__modf].
27451 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27452 <libm-alias-double.h>.
27453 (modf): Define using libm_alias_double, only if [!__modf].
27454 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27455 compat symbol here.
27456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27457 (weak_alias): Do not undefine and redefine.
27458 (strong_alias): Likewise.
27459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27460 (weak_alias): Likewise.
27461 (strong_alias): Likewise.
27463 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27464 (logb): Define using libm_alias_double, only if [!__logb].
27465 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27466 <libm-alias-double.h>.
27467 (logb): Define using libm_alias_double, only if [!__logb].
27468 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27470 (weak_alias): Do not undefine and redefine.
27471 (strong_alias): Likewise.
27472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27473 (weak_alias): Likewise.
27474 (strong_alias): Likewise.
27476 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27478 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27479 Check SHARED instead PIC.
27481 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27483 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27484 [!__fmaf] (fmaf): Define using libm_alias_float.
27486 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27487 (frexp): Define using libm_alias_double.
27488 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27489 <libm-alias-double.h>.
27490 (frexp): Define using libm_alias_double.
27491 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27492 compat symbol here.
27494 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27497 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27498 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27499 (CFLAGS-test-math-iscanonical.cc): New variable.
27500 * math/test-math-iscanonical.cc: New file.
27501 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27502 Provide a C++ implementation based on function overloading,
27503 rather than using __MATH_TG, which uses C-only builtins.
27504 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27506 * sysdeps/powerpc/powerpc64le/Makefile
27507 (CFLAGS-test-math-iscanonical.cc): New variable.
27509 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27511 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27512 (ceil): Define using libm_alias_double.
27513 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27514 (floor): Define using libm_alias_double.
27515 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27516 <libm-alias-double.h>.
27517 (llround): Define using libm_alias_double.
27518 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27519 <libm-alias-double.h>.
27520 (lround): Define using libm_alias_double.
27521 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27522 <libm-alias-double.h>.
27523 (nearbyint): Define using libm_alias_double.
27524 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27525 <libm-alias-double.h>.
27526 (remquo): Define using libm_alias_double.
27527 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27528 (rint): Define using libm_alias_double.
27529 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27530 (round): Define using libm_alias_double.
27531 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27532 (trunc): Define using libm_alias_double.
27533 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27534 <libm-alias-double.h>.
27535 (ceil): Define using libm_alias_double.
27536 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27537 <libm-alias-double.h>.
27538 (floor): Define using libm_alias_double.
27539 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27540 <libm-alias-double.h>.
27541 (llround): Define using libm_alias_double.
27542 [_LP64] (lround): Likewise.
27543 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27544 <libm-alias-double.h>.
27545 [!_LP64] (lround): Define using libm_alias_double.
27546 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27547 <libm-alias-double.h>.
27548 (nearbyint): Define using libm_alias_double.
27549 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27550 <libm-alias-double.h>.
27551 (remquo): Define using libm_alias_double.
27552 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27553 <libm-alias-double.h>.
27554 (rint): Define using libm_alias_double.
27555 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27556 <libm-alias-double.h>.
27557 (round): Define using libm_alias_double.
27558 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27559 <libm-alias-double.h>.
27560 (trunc): Define using libm_alias_double.
27561 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27562 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27563 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27564 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27565 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27566 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27567 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27568 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27569 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27571 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27573 * math/w_remainder.c: New file.
27574 * math/w_remainderf.c: New file.
27575 * math/w_remainderl.c: New file.
27577 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27579 * elf/rtld.c (BOOTSTRAP_MAP): New.
27580 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27581 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27583 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27585 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27588 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27590 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27591 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27592 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27593 rtld_hidden_data_ver): Define to empty.
27594 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27595 __assert_perror_fail): Likewise.
27596 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27597 (__rewinddir): Likewise.
27598 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27599 (__profile_frequency): Likewise.
27600 * include/setjmp.h (__sigsetjmp): Likewise.
27601 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27602 __libc_sigaction): Likewise.
27603 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27604 not set hidden attribute.
27605 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27606 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27607 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27608 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27609 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27610 __fxstatat64): Likewise.
27611 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27612 (__uname): Likewise.
27613 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27614 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27615 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27616 (NO_RTLD_HIDDEN): Set.
27617 * sysdeps/mach/hurd/configure: Refresh.
27618 * config.h.in: Refresh.
27620 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27622 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27623 (atan): Define using libm_alias_double.
27624 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27625 (tan): Define using libm_alias_double.
27626 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27627 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27629 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27630 define as weak alias of __atan. Do not define any aliases if
27632 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27633 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27634 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27635 as weak alias of __tan. Do not define any aliases if [__tan].
27636 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27637 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27638 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27640 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27641 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27642 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27643 and define as weak alias of __atan.
27644 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27646 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27647 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27648 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27649 define as weak alias of __tan.
27651 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27653 * math/w_lgamma.c: New file.
27654 * math/w_lgammaf.c: New file.
27655 * math/w_lgammal.c: New file.
27657 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27659 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27660 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27661 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27662 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27663 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27664 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27665 * sysdeps/i386/fpu/w_log2f.c: New file.
27666 * sysdeps/i386/fpu/w_logf.c: New file.
27667 * sysdeps/i386/fpu/w_powf.c: New file.
27668 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27669 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27670 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27672 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27673 H.J. Lu <hongjiu.lu@intel.com>
27675 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27676 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27677 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27678 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27679 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27681 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27682 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27683 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27684 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27685 * sysdeps/i386/fpu/w_exp2f.c: New file.
27686 * sysdeps/i386/fpu/w_expf.c: New file.
27687 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27688 * sysdeps/x86_64/fpu/w_expf.c: New file.
27690 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27692 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27695 * math/w_log2f.c: New file.
27696 * math/w_logf.c: New file.
27697 * math/w_powf.c: New file.
27698 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27699 * math/w_logf_compat.c (__logf_compat): Likewise.
27700 * math/w_powf_compat.c (__powf_compat): Likewise.
27701 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27702 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27703 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27704 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27705 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27706 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27707 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27708 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27709 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27710 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27711 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27712 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27713 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27714 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27715 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27724 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27725 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27726 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27727 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27728 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27733 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27734 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27735 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27737 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27739 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27740 (sysdep_routines): Add memrchr_power8.
27741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27742 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27743 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27745 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27746 (memrchr): Add __memrchr_power8 to ifunc list.
27747 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27749 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27752 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27753 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27755 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27756 (__posix_fallocate64_l64): Likewise.
27758 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27761 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27762 (__sched_setaffinity_new): Add libc_hidden_proto and
27765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27768 * include/glob.h (__glob64): Add libc_hidden_proto.
27769 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27775 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27778 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27781 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27783 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27786 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27789 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27792 * csu/version.c (__libc_print_version): Add attribute_hidden.
27794 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27797 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27799 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27802 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27804 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27807 * nscd/nscd_helper.c (__nis_hash): New prototype.
27809 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27812 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27813 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27815 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27816 * termios/tcgetattr.c (__tcgetattr): Likewise.
27818 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27821 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27822 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27823 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27824 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27825 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27827 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27830 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27832 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27835 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27836 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27838 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27841 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27846 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27847 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27849 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27852 * include/ifreq.h: New file.
27853 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27854 (__ifreq): Likewise.
27855 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27856 (__ifreq): Likewise.
27858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27861 * include/idna.h: New file.
27862 * inet/getnameinfo.c: Include <idna.h> instead of
27864 (__idna_to_unicode_lzlz): Removed.
27865 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27867 (__idna_to_ascii_lz): Removed.
27868 (__idna_to_unicode_lzlz): Likewise.
27870 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27873 * include/plural-exp.h: New file.
27874 * intl/plural-exp.c: Include <plural-exp.h> instead of
27877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27880 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27881 "getsourcefilter.h".
27882 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27883 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27884 "getsourcefilter.h".
27885 (__get_sol): Removed.
27887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27890 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27892 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27894 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27897 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27903 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27905 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27908 * include/search.h (__tdestroy): Add libc_hidden_proto.
27909 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27911 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27914 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27916 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27919 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27922 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27925 * include/signal.h (__kill): Add libc_hidden_proto.
27926 (__sigblock): Likewise.
27927 (__sigprocmask): Likewise.
27928 (__sigaltstack): Likewise.
27929 * signal/kill.c (__kill): Add libc_hidden_def.
27930 * signal/sigblock.c (__sigblock): Likewise.
27931 * signal/sigprocmask.c (__sigprocmask): Likewise.
27932 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27933 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27934 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27935 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27936 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27938 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27940 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27941 (__sigprocmask): Likewise.
27942 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27944 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27945 (__sigprocmask): Likewise.
27946 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27952 * include/string.h (__strsep): Add libc_hidden_proto.
27953 * string/strsep.c (__strsep): Add libc_hidden_def.
27955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27958 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27960 (__spawni): Likewise.
27962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27965 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27966 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27972 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27977 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27978 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27979 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27980 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27981 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27983 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27984 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27986 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27989 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27990 (__dcigettext): Likewise.
27992 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27995 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27997 (__get_nprocs): Likewise.
27998 (__get_phys_pages): Likewise.
27999 (__get_avphys_pages): Likewise.
28000 (__get_child_max): Add attribute_hidden.
28001 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28002 (__get_nprocs): Likewise.
28003 (__get_phys_pages): Likewise.
28004 (__get_avphys_pages): Likewise.
28005 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28007 (__get_nprocs): Likewise.
28008 (__get_phys_pages): Likewise.
28009 (__get_avphys_pages): Likewise.
28010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28012 (__get_nprocs_conf): Likewise.
28013 (__get_phys_pages): Likewise.
28014 (__get_avphys_pages): Likewise.
28016 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28019 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28021 (__netlink_close): Likewise.
28022 (__netlink_free_handle): Likewise.
28023 (__netlink_request): Likewise.
28025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28028 * include/rpc/rpc.h (__rpc_thread_variables): Add
28030 (__rpc_thread_svc_cleanup): Likewise.
28031 (__rpc_thread_clnt_cleanup): Likewise.
28032 (__rpc_thread_key_cleanup): Likewise.
28034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28037 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28038 (__writev): Likewise.
28039 * misc/readv.c (__readv): Add libc_hidden_def.
28040 * misc/writev.c (__writev): Likewise.
28041 * sysdeps/posix/readv.c (__readv): Likewise.
28042 * sysdeps/posix/writev.c (__writev): Likewise.
28043 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28044 (__readv): Likewise.
28045 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28046 (__writev): Likewise.
28048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28051 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28052 (__regcomp): Add libc_hidden_proto.
28053 (__regexec): Likewise.
28054 (__regfree): Likewise.
28055 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28056 (__regfree): Likewise.
28057 * posix/regexec.c (__regexec): Likewise.
28059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28062 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28063 (__getutent): Likewise.
28064 (__getutid): Likewise.
28065 (__getutline): Likewise.
28066 (__pututline): Likewise.
28067 (__getutent_r): Likewise.
28068 (__getutid_r): Likewise.
28069 (__getutline_r): Likewise.
28070 (__utmpname): Add attribute_hidden.
28071 (__setutent): Likewise.
28072 (__endutent): Likewise.
28073 * login/getutent.c (__getutent): Add libc_hidden_def.
28074 * login/getutent_r.c (__getutent_r): Likewise.
28075 (__pututline): Likewise.
28076 * login/getutid.c (__getutid): Likewise.
28077 * login/getutid_r.c (__getutid_r): Likewise.
28078 * login/getutline.c (__getutline): Likewise.
28079 * login/getutline_r.c (__getutline_r): Likewise.
28080 * login/updwtmp.c (__updwtmp): Likewise.
28082 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28085 * include/dirent.h (__opendir): Always add attribute_hidden.
28086 (__fdopendir): Likewise.
28087 (__closedir): Likewise.
28088 (__readdir): Likewise.
28089 (__readdir64): Add libc_hidden_proto.
28090 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28091 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28092 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28093 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28099 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28100 * include/netdb.h (__gethostbyaddr_r): Likewise.
28101 (__gethostbyname_r): Likewise.
28102 (__gethostbyname2_r): Likewise.
28103 (__getnetbyaddr_r): Likewise.
28104 (__getnetbyname_r): Likewise.
28105 (__getservbyname_r): Likewise.
28106 (__getservbyport_r): Likewise.
28107 (__getprotobyname_r): Likewise.
28108 (__getprotobynumber_r): Likewise.
28109 (__getnetgrent_r): Likewise.
28110 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28111 (__getrpcbynumber_r): Likewise.
28112 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28117 * include/stdio.h (__fcloseall): Add attribute_hidden.
28118 (__getline): Likewise.
28119 (__path_search): Likewise.
28120 (__gen_tempname): Likewise.
28121 (__libc_message): Likewise.
28122 (__flockfile): Likewise.
28123 (__funlockfile): Likewise.
28124 (__fxprintf): Likewise.
28125 (__fxprintf_nocancel): Likewise.
28127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28130 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28131 (__sgetsgent_r): Likewise.
28133 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28136 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28137 (__statfs64): Likewise.
28138 (__fstatfs64): Likewise.
28139 * include/sys/statvfs.h (__statvfs64): Likewise.
28140 (__fstatvfs64): Likewise.
28141 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28142 (__statfs_filesize_max): Likewise.
28143 (__statfs_symlinks): Likewise.
28144 (__statfs_chown_restricted): Likewise.
28146 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28149 * include/time.h (__tzstring): Add attribute_hidden.
28150 (__tzfile_read): Likewise.
28151 (__tzfile_compute): Likewise.
28152 (__tzfile_default): Likewise.
28153 (__tzset_parse_tz): Likewise.
28154 (__offtime): Likewise.
28155 (__asctime_r): Likewise.
28156 (__tzset): Likewise.
28157 (__tz_convert): Likewise.
28158 (__getdate_r): Likewise.
28159 (__getclktck): Likewise.
28161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28164 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28165 (__nscd_unmap): Likewise.
28166 (__nscd_cache_search): Likewise.
28167 (__nscd_get_nl_timestamp): Likewise.
28168 (__nscd_getpwnam_r): Likewise.
28169 (__nscd_getpwuid_r): Likewise.
28170 (__nscd_getgrnam_r): Likewise.
28171 (__nscd_getgrgid_r): Likewise.
28172 (__nscd_gethostbyname_r): Likewise.
28173 (__nscd_gethostbyname2_r): Likewise.
28174 (__nscd_gethostbyaddr_r): Likewise.
28175 (__nscd_getai): Likewise.
28176 (__nscd_getgrouplist): Likewise.
28177 (__nscd_getservbyname_r): Likewise.
28178 (__nscd_getservbyport_r): Likewise.
28179 (__nscd_innetgr): Likewise.
28180 (__nscd_setnetgrent): Likewise.
28182 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28185 * include/gmp.h: Declare internal functions only if _ISOMAC is
28187 (__mpn_extract_double): Add attribute_hidden.
28188 (__mpn_extract_long_double): Likewise.
28189 (__mpn_extract_float128): Likewise.
28190 (__mpn_construct_float): Likewise.
28191 (__mpn_construct_double): Likewise.
28192 (__mpn_construct_long_double): Likewise.
28193 (__mpn_construct_float128): Likewise.
28194 (mpn_add_1): Likewise.
28195 (mpn_addmul_1): Likewise.
28196 (mpn_add_n): Likewise.
28197 (mpn_cmp): Likewise.
28198 (mpn_divrem): Likewise.
28199 (mpn_lshift): Likewise.
28200 (mpn_mul): Likewise.
28201 (mpn_mul_1): Likewise.
28202 (mpn_rshift): Likewise.
28203 (mpn_sub_1): Likewise.
28204 (mpn_submul_1): Likewise.
28205 (mpn_sub_n): Likewise.
28207 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28210 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28211 (__wcscat): Likewise.
28212 (__btowc): Likewise.
28213 (__wcrtomb): Likewise.
28214 (__mbsrtowcs): Likewise.
28215 (__wcsrtombs): Likewise.
28216 (__mbsnrtowcs): Likewise.
28217 (__wcsnrtombs): Likewise.
28218 (__wcsncpy): Likewise.
28219 (__wcpncpy): Likewise.
28220 (__wmemcpy): Likewise.
28221 (__wmempcpy): Likewise.
28222 (__wmemmove): Likewise.
28223 (__wcschrnul): Likewise.
28224 (__vfwscanf): Likewise.
28225 (__vswprintf): Likewise.
28226 (__fwprintf): Likewise.
28227 (__vfwprintf): Likewise.
28229 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28232 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28233 (__getgrgid_r): Likewise.
28234 (__getgrnam_r): Likewise.
28235 * include/pwd.h (__getpwuid_r): Likewise.
28236 (__getpwnam_r): Likewise.
28237 (__fgetpwent_r): Likewise.
28238 * include/shadow.h (__getspnam_r): Likewise.
28239 (__sgetspent_r): Likewise.
28240 (__fgetspent_r): Likewise.
28242 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28245 * include/unistd.h (__access): Add attribute_hidden.
28246 (__lseek64): Likewise.
28247 (__libc_pread64): Likewise.
28248 (__pipe2): Likewise.
28249 (__sleep): Likewise.
28250 (__chdir): Likewise.
28251 (__fchdir): Likewise.
28252 (__getcwd): Likewise.
28253 (__rmdir): Likewise.
28254 (__execvpe): Likewise.
28255 (__execve): Likewise.
28256 (__setsid): Likewise.
28257 (__getuid): Likewise.
28258 (__geteuid): Likewise.
28259 (__getgid): Likewise.
28260 (__getegid): Likewise.
28261 (__getgroups): Likewise.
28262 (__group_member): Likewise.
28263 (__ttyname_r): Likewise.
28264 (__isatty): Likewise.
28265 (__readlink): Likewise.
28266 (__unlink): Likewise.
28267 (__gethostname): Likewise.
28268 (__profil): Likewise.
28269 (__getdtablesize): Likewise.
28271 (__ftruncate): Likewise.
28272 (__ftruncate64): Likewise.
28274 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28277 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28278 * argp/argp-fs-xinl.c: Likewise.
28279 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28280 * argp/argp-parse.c: Include <argp.h>.
28281 * argp/argp-xinl.c: Likewise.
28282 * include/argp-fmtstream.h: New file.
28283 * include/argp.h (__argp_error): Add attribute_hidden.
28284 (__argp_failure): Likewise.
28285 (__argp_input): Likewise.
28286 (__argp_state_help): Likewise.
28288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28291 * include/wchar.h (____wcstof_l_internal): New prototype.
28292 (____wcstod_l_internal): Likewise.
28293 (____wcstold_l_internal): Likewise.
28294 (____wcstol_l_internal): Likewise.
28295 (____wcstoul_l_internal): Likewise.
28296 (____wcstoll_l_internal): Likewise.
28297 (____wcstoull_l_internal): Likewise.
28298 (____wcstof128_l_internal): Likewise.
28299 * sysdeps/ieee754/float128/wcstof128.c
28300 (____wcstof128_l_internal): Removed.
28301 * sysdeps/ieee754/float128/wcstof128_l.c
28302 (____wcstof128_l_internal): Likewise.
28303 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28304 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28305 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28306 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28307 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28308 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28309 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28310 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28311 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28312 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28317 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28318 instead of <sys/statvfs.h>.
28319 (__internal_statvfs): Removed.
28320 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28321 instead of <sys/statvfs.h>.
28322 (__internal_statvfs64): Removed.
28323 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28324 "internal_statvfs.h" instead of <sys/statvfs.h>.
28325 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28326 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28327 instead of <sys/statvfs.h>.
28328 (__internal_statvfs): Removed.
28329 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28330 instead of <sys/statvfs.h>.
28331 (__internal_statvfs64): Removed.
28333 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28336 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28337 (__gconv_close): Likewise.
28338 (__gconv): Likewise.
28339 (__gconv_find_transform): Likewise.
28340 (__gconv_lookup_cache): Likewise.
28341 (__gconv_compare_alias_cache): Likewise.
28342 (__gconv_load_cache): Likewise.
28343 (__gconv_get_path): Likewise.
28344 (__gconv_close_transform): Likewise.
28345 (__gconv_release_cache): Likewise.
28346 (__gconv_find_shlib): Likewise.
28347 (__gconv_release_shlib): Likewise.
28348 (__gconv_get_builtin_trans): Likewise.
28349 (__gconv_compare_alias): Likewise.
28350 * include/dlfcn.h (_dlerror_run): Likewise.
28351 * include/stdio.h (__fortify_fail_abort): Likewise.
28352 * include/time.h (__tz_compute): Likewise.
28353 (__strptime_internal): Likewise.
28354 * intl/gettextP.h (_nl_find_domain): Likewise.
28355 (_nl_load_domain): Likewise.
28356 (_nl_find_msg): Likewise.
28357 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28358 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28359 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28360 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28361 (__gai_find_request): Likewise.
28362 (__gai_remove_request): Likewise.
28363 (__gai_notify): Likewise.
28364 (__gai_notify_only): Likewise.
28365 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28366 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28367 (_dl_non_dynamic_init): Likewise.
28368 (_dl_aux_init): Likewise.
28369 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28370 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28372 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28373 (__wcsmbs_clone_conv): Likewise.
28374 (__wcsmbs_named_conv): Likewise.
28376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28379 * include/stdlib.h (__random): Add attribute_hidden.
28380 (__random_r): Likewise.
28381 (__srandom_r): Likewise.
28382 (__initstate_r): Likewise.
28383 (__setstate_r): Likewise.
28384 (__erand48_r): Likewise.
28385 (__nrand48_r): Likewise.
28386 (__jrand48_r): Likewise.
28387 (__srand48_r): Likewise.
28388 (__seed48_r): Likewise.
28389 (__lcong48_r): Likewise.
28390 (__drand48_iterate): Likewise.
28391 (__setenv): Likewise.
28392 (__unsetenv): Likewise.
28393 (__clearenv): Likewise.
28394 (__ptsname_r): Likewise.
28395 (__posix_openpt): Likewise.
28396 (__add_to_environ): Likewise.
28397 (__realpath): Add libc_hidden_proto.
28398 (__ecvt_r): Likewise.
28399 (__fcvt_r): Likewise.
28400 (__qecvt_r): Likewise.
28401 (__qfcvt_r): Likewise.
28402 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28403 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28405 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28408 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28409 * include/time.h (__mktime_internal): Likewise.
28410 * libio/iolibio.h (__fopen_internal): Likewise.
28412 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28414 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28416 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28417 Correct offset used to restore PIC register.
28419 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28422 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28423 code to load address of __getcontext_ret when generating PIC code.
28425 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28427 * elf/Makefile (tests-static-internal): Add
28428 tst-tls1-static-non-pie.
28429 (LDFLAGS-tst-tls1-static-non-pie): New.
28430 * elf/tst-tls1-static-non-pie.c: New file.
28432 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28434 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28435 (asinh): Define using libm_alias_double.
28436 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28437 (cbrt): Define using libm_alias_double.
28438 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28439 <libm-alias-double.h>.
28440 (copysign): Define using libm_alias_double.
28441 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28442 (erf): Define using libm_alias_double.
28444 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28445 (expm1): Define using libm_alias_double.
28446 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28447 (fabs): Define using libm_alias_double.
28448 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28450 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28451 <libm-alias-double.h>.
28452 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28454 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28455 <libm-alias-double.h>.
28456 (getpayload): Define using libm_alias_double.
28457 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28458 <libm-alias-double.h>.
28459 (llrint): Define using libm_alias_double.
28460 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28461 (lrint): Define using libm_alias_double.
28462 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28463 <libm-alias-double.h>.
28464 (nextup): Define using libm_alias_double.
28465 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28466 <libm-alias-double.h>.
28467 (roundeven): Define using libm_alias_double.
28468 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28470 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28471 <libm-alias-double.h>.
28472 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28473 using libm_alias_double.
28474 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28475 (cos): Define using libm_alias_double.
28477 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28478 <libm-alias-double.h>.
28479 (sincos): Define using libm_alias_double.
28480 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28481 (tanh): Define using libm_alias_double.
28482 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28483 <libm-alias-double.h>.
28484 (totalorder): Define using libm_alias_double.
28485 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28486 <libm-alias-double.h>.
28487 (totalordermag): Define using libm_alias_double.
28488 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28490 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28492 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28493 <libm-alias-double.h>.
28494 (getpayload): Define using libm_alias_double.
28495 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28496 <libm-alias-double.h>.
28497 (roundeven): Define using libm_alias_double.
28498 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28499 <libm-alias-double.h>.
28500 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28501 <libm-alias-double.h>.
28502 (totalorder): Define using libm_alias_double.
28503 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28504 <libm-alias-double.h>.
28505 (totalordermag): Define using libm_alias_double.
28506 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28507 libc compat symbol here.
28508 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28509 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28510 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28511 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28512 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28513 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28514 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28515 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28516 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28517 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28519 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28521 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28522 _dl_relocate_static_pie instead of _dl_start to compute load
28523 address in static PIE. Return 0 if _DYNAMIC is undefined for
28526 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28528 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28529 _DYNAMIC is undefined for static executable.
28531 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28533 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28535 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28539 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28541 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28542 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28543 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28544 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28545 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28546 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28547 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28548 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28549 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28550 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28551 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28552 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28553 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28554 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28555 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28556 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28557 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28559 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28561 * math/bits/cmathcalls.h (cimag): Remove inline.
28562 (creal): Remove inline.
28563 (conj): Remove inline.
28565 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28567 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28568 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28569 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28570 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28571 (issignalingf_inline): Likewise.
28572 (POWF_LOG2_TABLE_BITS): Likewise.
28573 (POWF_LOG2_POLY_ORDER): Likewise.
28574 (POWF_SCALE_BITS): Likewise.
28575 (POWF_SCALE): Likewise.
28576 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28577 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28578 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28580 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28582 * math/Makefile (type-float-routines): Add e_log2f_data.
28583 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28584 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28585 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28586 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28587 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28588 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28589 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28591 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28593 * math/Makefile (type-float-routines): Add e_logf_data.
28594 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28595 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28596 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28597 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28598 * sysdeps/i386/fpu/e_logf_data.c: New file.
28599 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28600 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28602 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28604 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28605 undefined _DYNAMIC in PIE libc.a.
28606 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28609 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28611 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28612 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28613 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28614 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28615 (__signbit): Remove.
28616 (__signbitl): Remove.
28617 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28618 (__signbit): Remove.
28619 (__signbitl): Remove.
28620 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28621 (__signbit): Remove.
28622 (__signbitl): Remove.
28623 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28624 (__signbit): Remove.
28625 (__signbitl): Remove.
28626 * sysdeps/tile/bits/mathinline.h: Delete file.
28627 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28628 (__signbit): Remove.
28629 (__signbitl): Remove.
28631 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28633 * math/math.h: Improve handling of C99 isgreater macros.
28634 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28635 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28636 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28637 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28638 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28640 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28642 * sysdeps/aarch64/libm-test-ulps: Update.
28644 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28647 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28648 math_opt_barrier on argument when doing arithmetic on it.
28649 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28650 Likewise. Use math_force_eval not math_opt_barrier after
28652 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28653 math_opt_barrier on argument when doing arithmetic on it.
28654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28657 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28659 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28661 (__freeifaddrs): Likewise.
28663 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28665 * include/dirent.h (__dirfd): New declaration.
28666 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28668 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28669 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28670 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28671 * include/unistd.h (__revoke): New declaration.
28672 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28674 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28675 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28677 * include/dirent.h (__seekdir): New declaration.
28678 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28679 redefine as weak alias.
28680 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28682 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28683 and use libc_hidden_def on them.
28684 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28686 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28687 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28688 instead of getifaddrs and freeifaddrs.
28690 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28693 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28694 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28695 (__dso_handle): Remove declaration.
28696 * dlfcn/tstatexit.c (__dso_handle): Removed.
28697 (main): Don't check __dso_handle.
28698 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28699 (main): Don't check __dso_handle.
28700 * include/dso_handle.h: New file.
28701 * malloc/mtrace.c: Include <dso_handle.h>.
28702 (mtrace): Pass __dso_handle directly.
28703 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28704 (__dso_handle): Remove declaration.
28705 (__pthread_atfork): Pass __dso_handle directly.
28706 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28707 (__dso_handle): Removed.
28708 * posix/wordexp-test.c: Include <dso_handle.h>.
28709 (__dso_handle): Remove declaration.
28710 (__app_register_atfork): Pass __dso_handle directly.
28711 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28712 (__dso_handle): Remove declaration.
28713 (at_quick_exit): Pass __dso_handle directly.
28714 * stdlib/atexit.c: Include <dso_handle.h>.
28715 (__dso_handle): Remove declaration.
28716 (atexit): Pass __dso_handle directly.
28717 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28718 (__dso_handle): Removed.
28720 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28722 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28725 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28727 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28728 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28729 values to correct default value for given type.
28731 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28734 * elf/Makefile (tests): Add tst-debug1.
28735 ($(objpfx)tst-debug1): New.
28736 ($(objpfx)tst-debug1.out): Likewise.
28737 ($(objpfx)tst-debug1mod1.so): Likewise.
28738 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28739 with p_filesz == 0.
28740 * elf/tst-debug1.c: New file.
28742 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28744 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28745 Define using __ifunc.
28747 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28749 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28752 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28755 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28757 2017-09-26 Florian Weimer <fweimer@redhat.com>
28759 * resolv/Makefile (tests-internal): Fix typo in comment.
28761 2017-09-26 Florian Weimer <fweimer@redhat.com>
28763 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28765 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28767 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28768 Use an union instead of a max_align_t array for __space,
28769 so that __space is the same size on all platforms.
28770 * malloc/scratch_buffer_grow_preserve.c
28771 (__libc_scratch_buffer_grow_preserve): Likewise.
28774 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28776 * posix/Makefile (routines): Add glob-lstat-compat and
28777 glob64-lstat-compat.
28778 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28779 * posix/glob-lstat-compat.c: New file.
28780 * posix/glob64-lstat-compat.c: Likewise.
28781 * posix/tst-glob_lstat_compat.c: Likewise.
28782 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28783 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28784 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28785 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28787 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28788 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28789 * posix/glob.c (glob_lstat): New function.
28790 (glob): Rename to __glob and add versioned symbol to 2.27.
28791 (glob_in_dir): Use glob_lstat.
28792 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28793 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28794 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28796 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28797 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28798 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28799 gl_lstat on glob call.
28800 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28801 and glob64 symbols.
28802 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28803 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28804 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28805 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28806 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28807 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28808 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28809 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28810 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28811 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28812 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28813 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28816 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28818 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28819 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28820 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28821 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28822 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28825 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28826 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28827 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28829 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28831 * configure.ac (AS): Require binutils 2.25 or later.
28832 * configure: Regenerated.
28834 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28837 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28840 2017-09-25 DJ Delorie <dj@redhat.com>
28843 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28846 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28848 * sysdeps/ieee754/dbl-64/sincos32.h
28849 [SINCCOS32_H]: Remove define.
28850 [SINCOS32_H]: Define.
28852 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28854 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28856 * math/w_exp2f.c: New file.
28857 * math/w_expf.c: New file.
28858 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28859 * math/w_expf_compat.c (__expf_compat): Likewise.
28860 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28861 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28862 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28863 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28864 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28865 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28866 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28867 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28868 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28869 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28870 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28871 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28872 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28873 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28882 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28883 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28884 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28885 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28886 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28891 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28892 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28893 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28895 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28897 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28898 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28899 (roundtoint, converttoint): Likewise.
28900 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28901 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28902 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28903 * sysdeps/ieee754/flt-32/math_config.h: New file.
28904 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28905 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28906 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28907 * sysdeps/i386/fpu/math_errf.c: New file.
28908 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28909 * sysdeps/ia64/fpu/math_errf.c: New file.
28910 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28911 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28913 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28915 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28916 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28917 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28918 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28919 to make sure that these symbols are defined.
28920 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28922 (__need_NULL): Do not define.
28923 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28925 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28926 CMGROUP_MAX, cmsgcred): Do not define.
28927 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28929 * bits/socket.h: Likewise.
28930 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28931 __gettimeofday instead of gettimeofday.
28932 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28933 instead of settimeofday.
28935 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28937 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28938 (asinhf): Define using libm_alias_float.
28939 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28940 (atanf): Define using libm_alias_float.
28941 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28942 (cbrtf): Define using libm_alias_float.
28943 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28944 (ceilf): Define using libm_alias_float.
28945 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28946 <libm-alias-float.h>.
28947 (copysignf): Define using libm_alias_float.
28948 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28949 (cosf): Define using libm_alias_float.
28950 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28951 (erff): Define using libm_alias_float.
28953 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28954 (expm1f): Define using libm_alias_float.
28955 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28956 (fabsf): Define using libm_alias_float.
28957 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28958 (floorf): Define using libm_alias_float.
28959 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28960 (frexpf): Define using libm_alias_float.
28961 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28963 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28964 <libm-alias-float.h>.
28965 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28967 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28968 <libm-alias-float.h>.
28969 (getpayloadf): Define using libm_alias_float.
28970 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28971 <libm-alias-float.h>.
28972 (llrintf): Define using libm_alias_float.
28973 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28974 <libm-alias-float.h>.
28975 (llroundf): Define using libm_alias_float.
28976 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28977 (logbf): Define using libm_alias_float.
28978 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28979 (lrintf): Define using libm_alias_float.
28980 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28981 (lroundf): Define using libm_alias_float.
28982 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28983 (modff): Define using libm_alias_float.
28984 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28985 <libm-alias-float.h>.
28986 (nearbyintf): Define using libm_alias_float.
28987 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28988 <libm-alias-float.h>.
28989 (nextafterf): Define using libm_alias_float.
28990 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28991 <libm-alias-float.h>.
28992 (nextupf): Define using libm_alias_float.
28993 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28994 <libm-alias-float.h>.
28995 (remquof): Define using libm_alias_float.
28996 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28997 (rintf): Define using libm_alias_float.
28998 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28999 <libm-alias-float.h>.
29000 (roundevenf): Define using libm_alias_float.
29001 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29002 (roundf): Define using libm_alias_float.
29003 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29004 using libm_alias_float.
29005 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29006 <libm-alias-float.h>.
29007 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29008 Define using libm_alias_float.
29009 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29010 <libm-alias-float.h>.
29011 (sincosf): Define using libm_alias_float.
29012 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29013 (sinf): Define using libm_alias_float.
29014 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29015 (tanf): Define using libm_alias_float.
29016 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29017 (tanhf): Define using libm_alias_float.
29018 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29019 <libm-alias-float.h>.
29020 (totalorderf): Define using libm_alias_float.
29021 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29022 <libm-alias-float.h>.
29023 (totalordermagf): Define using libm_alias_float.
29024 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29025 (truncf): Define using libm_alias_float.
29026 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29028 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29031 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29034 math/math.h: Let fpclassify use the builtin in C++ mode, even
29035 when optimazing for size.
29037 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29039 * csu/Makefile (generated): Do not add version-info.h.
29040 (before-compile): Likewise.
29041 (all-Banner-files): Remove variable.
29042 ($(objpfx)version-info.h): Remove rule.
29043 * csu/version.c (banner): Do not include "version-info.h".
29044 * libidn/Banner: Remove.
29045 * manual/contrib.texi (Simon Josefsson): New entry.
29047 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29049 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29050 Remove conditionals on LDBL_MANT_DIG.
29051 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29052 (__ieee754_lgammal_r): Likewise.
29054 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29056 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29058 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29059 _Float128 and L(). Replace _Float128 with long double and L(x)
29060 with xL, throughout the file.
29061 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29062 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29063 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29066 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29069 sysdeps/ieee754/ldbl-128ibm.
29070 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29071 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29072 of including it. Keep _Float128 and L() intact. These will be
29073 reviewed by a separate patch.
29074 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29075 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29076 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29079 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29082 (__finitef128): Define to __redirect___finitef128.
29083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29084 (__isinff128): Define to __redirect___isinff128.
29085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29086 (__isnanf128): Define to __redirect___isnanf128.
29088 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29090 * sysdeps/powerpc/powerpc64le/Makefile
29091 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29092 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29094 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29095 Carlos O'Donell <carlos@redhat.com>
29098 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29099 * stdlib/test-dlclose-exit-race.c: New file.
29100 * stdlib/test-dlclose-exit-race-helper.c: New file.
29101 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29103 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29105 * crypt/Banner: Remove file.
29106 * nptl/Banner: Likewise.
29107 * resolv/Banner: Likewise.
29108 * soft-fp/Banner: Likewise.
29109 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29110 ($(objpfx)version.d): Remove dependency on banner.h.
29111 ($(objpfx)version.os): Likewise.
29112 * nptl/version.c (banner): Do not include banner.h.
29113 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29114 Jelinek and BIND code.
29116 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29117 Carlos O'Donell <carlos@redhat.com>
29119 * support/xdlfcn.h: New file.
29120 * support/xdlfcn.c: New file.
29121 * support/Makefile (libsupport-routines): Add xdlfcn.
29122 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29124 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29127 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29128 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29129 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29130 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29131 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29132 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29133 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29134 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29136 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29137 Ricky Zhou <rickyz@google.com>
29138 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29141 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29143 (__new_exitfn): Fail registration when we finished at_exit processing.
29144 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29145 * stdlib/on_exit.c (__on_exit): Likewise.
29146 * stdlib/exit.c (__exit_funcs_done): New variable.
29147 (__run_exit_handlers): Use __exit_funcs_lock.
29148 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29150 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29151 (test-cxa_atexit-race, test-on_exit-race): New tests.
29152 * stdlib/test-atexit-race-common.c: New file.
29153 * stdlib/test-atexit-race.c: New file.
29154 * stdlib/test-at_quick_exit-race.c: New file.
29155 * stdlib/test-cxa_atexit-race.c: New file.
29156 * stdlib/test-on_exit-race.c: New file.
29158 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29160 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29161 * benchtests/exp2f-inputs: Copy of expf-inputs.
29162 * benchtests/log2f-inputs: Copy of logf-inputs.
29164 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29166 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29167 Explicitly take address of first element of array arguments in
29168 call to INLINE_SYSCALL.
29170 2017-09-19 Andreas Schwab <schwab@suse.de>
29173 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29175 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29177 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29178 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29179 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29180 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29181 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29182 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29183 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29184 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29185 * posix/Makefile (tests): Add tst-fexecve.
29186 * posix/tst-fexecve.c: New file.
29188 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29190 * benchtests/Makefile: Add logf benchmark.
29191 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29193 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29195 * benchtests/Makefile: Add expf benchmark.
29196 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29198 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29200 * csu/Makefile: Add -funwind-tables to libc-start.c.
29201 * debug/Makefile: Add -funwind-tables to backtrace.c.
29202 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29203 * sysdeps/arm/Makefile: Likewise.
29204 * sysdeps/i386/Makefile: Likewise.
29205 * sysdeps/m68k/Makefile: Likewise.
29206 * sysdeps/mips/Makefile: Likewise.
29207 * sysdeps/nios2/Makefile: Likewise.
29208 * sysdeps/sh/Makefile: Likewise.
29209 * sysdeps/sparc/Makefile: Likewise.
29211 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29213 * benchtests/Makefile (bench-math): Add trunc and truncf.
29214 (CFLAGS-bench-trunc.c): New variable.
29215 (CFLAGS-bench-truncf.c): Likewise.
29216 * benchtests/trunc-inputs: New file.
29217 * benchtests/truncf-inputs: Likewise.
29219 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29221 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29223 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29225 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29226 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29228 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29229 (exp10l): Define as weak alias.
29230 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29231 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29233 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29234 (remainderl): Define as weak alias.
29236 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29237 (fmal): Define using libm_alias_ldouble.
29238 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29239 (acoshl): Define using libm_alias_ldouble.
29240 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29241 (acosl): Define using libm_alias_ldouble.
29242 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29243 (asinl): Define using libm_alias_ldouble.
29244 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29245 (atan2l): Define using libm_alias_ldouble.
29246 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29247 (atanhl): Define using libm_alias_ldouble.
29248 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29249 (coshl): Define using libm_alias_ldouble.
29250 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29251 (exp10l): Define using libm_alias_ldouble.
29252 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29253 (exp2l): Define using libm_alias_ldouble.
29254 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29255 (expl): Define using libm_alias_ldouble.
29256 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29257 (fmodl): Define using libm_alias_ldouble.
29258 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29259 (hypotl): Define using libm_alias_ldouble.
29260 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29261 (j0l): Define using libm_alias_ldouble.
29263 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29264 (j1l): Define using libm_alias_ldouble.
29266 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29267 (jnl): Define using libm_alias_ldouble.
29269 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29270 (log10l): Define using libm_alias_ldouble.
29271 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29272 (log2l): Define using libm_alias_ldouble.
29273 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29274 (logl): Define using libm_alias_ldouble.
29275 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29276 (powl): Define using libm_alias_ldouble.
29277 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29278 (remainderl): Define using libm_alias_ldouble.
29279 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29280 (sinhl): Define using libm_alias_ldouble.
29281 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29282 (sqrtl): Define using libm_alias_ldouble.
29283 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29284 (tgammal): Define using libm_alias_ldouble.
29285 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29286 (exp10l): Do not use long_double_symbol here.
29287 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29288 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29289 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29290 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29291 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29292 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29293 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29294 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29295 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29296 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29297 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29298 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29299 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29300 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29301 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29302 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29303 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29304 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29305 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29306 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29307 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29308 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29310 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29312 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29313 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29315 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29317 * io/read.c (read): Add libc_hidden_weak.
29318 * sysdeps/mach/hurd/read.c (read): Likewise.
29319 * io/write.c (write): Likewise.
29320 * sysdeps/mach/hurd/write.c (write): Likewise.
29321 * io/pread64.c (__pread64): Likewise.
29322 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29323 * posix/pread64.c (__pread64): Add libc_hidden_def.
29325 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29327 * benchtests/scripts/compare_strings.py: New option -g.
29328 (draw_graph): Print a message that a graph is being generated.
29329 (process_results): Generate graph only if -g is passed.
29330 (main): Process option -g.
29332 * benchtests/scripts/compare_strings.py (process_results):
29333 Better spacing for output.
29335 * benchtests/scripts/compare_strings.py: Use argparse.
29336 * benchtests/README: Document existence of compare_strings.py.
29338 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29340 * math/s_fma.c: Include <libm-alias-double.h>.
29341 (fma): Define using libm_alias_double.
29342 * math/s_nextafter.c: Include <libm-alias-double.h>.
29343 (nextafter): Define using libm_alias_double.
29344 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29345 (acos): Define using libm_alias_double.
29346 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29347 (aocsh): Define using libm_alias_double.
29348 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29349 (asin): Define using libm_alias_double.
29350 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29351 (atan2): Define using libm_alias_double.
29352 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29353 (atanh): Define using libm_alias_double.
29354 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29355 (cosh): Define using libm_alias_double.
29356 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29357 (exp10): Define using libm_alias_double.
29358 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29359 (exp2): Define using libm_alias_double.
29360 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29361 (exp): Define using libm_alias_double.
29362 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29363 (fmod): Define using libm_alias_double.
29364 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29365 (hypot): Define using libm_alias_double.
29366 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29367 (j0): Define using libm_alias_double.
29369 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29370 (j1): Define using libm_alias_double.
29372 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29373 (jn): Define using libm_alias_double.
29375 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29376 (log10): Define using libm_alias_double.
29377 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29378 (log2): Define using libm_alias_double.
29379 * math/w_log_compat.c: Include <libm-alias-double.h>.
29380 (log): Define using libm_alias_double.
29381 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29382 (pow): Define using libm_alias_double.
29383 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29384 (remainder): Define using libm_alias_double.
29385 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29386 (sinh): Define using libm_alias_double.
29387 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29388 (sqrt): Define using libm_alias_double.
29389 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29390 (tgamma): Define using libm_alias_double.
29391 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29392 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29393 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29394 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29395 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29396 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29397 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29398 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29399 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29400 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29401 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29402 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29403 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29404 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29405 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29406 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29407 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29408 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29409 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29410 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29411 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29412 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29413 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29414 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29415 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29417 * math/e_acoshl.c: Remove.
29418 * math/e_acosl.c: Likewise.
29419 * math/e_asinl.c: Likewise.
29420 * math/e_atan2l.c: Likewise.
29421 * math/e_atanhl.c: Likewise.
29422 * math/e_coshl.c: Likewise.
29423 * math/e_expl.c: Likewise.
29424 * math/e_fmodl.c: Likewise.
29425 * math/e_gammal_r.c: Likewise.
29426 * math/e_hypotl.c: Likewise.
29427 * math/e_j0l.c: Likewise.
29428 * math/e_j1l.c: Likewise.
29429 * math/e_jnl.c: Likewise.
29430 * math/e_lgammal_r.c: Likewise.
29431 * math/e_log10l.c: Likewise.
29432 * math/e_log2l.c: Likewise.
29433 * math/e_logl.c: Likewise.
29434 * math/e_powl.c: Likewise.
29435 * math/e_rem_pio2l.c: Likewise.
29436 * math/e_sinhl.c: Likewise.
29437 * math/e_sqrtf128.c: Likewise.
29438 * math/e_sqrtl.c: Likewise.
29439 * math/k_cosl.c: Likewise.
29440 * math/k_sinl.c: Likewise.
29441 * math/k_tanl.c: Likewise.
29442 * math/s_asinhl.c: Likewise.
29443 * math/s_atanl.c: Likewise.
29444 * math/s_cbrtl.c: Likewise.
29445 * math/s_erfl.c: Likewise.
29446 * math/s_expm1l.c: Likewise.
29447 * math/s_log1pl.c: Likewise.
29448 * math/s_tanhl.c: Likewise.
29450 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29454 [$(subdir) = math] (sysdep_calls): New variable. Has the
29455 previous contents of sysdep_routines, but re-sorted..
29456 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29458 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29459 defined in sysdep_calls and replace by the respective m_* names.
29460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29461 (compat_symbol): Undefine to avoid duplicated compat symbols in
29464 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29466 * math/s_fmaf.c: Include <libm-alias-float.h>.
29467 (fmaf): Define using libm_alias_float.
29468 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29469 (acosf): Define using libm_alias_float.
29470 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29471 (acoshf): Define using libm_alias_float.
29472 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29473 (asinf): Define using libm_alias_float.
29474 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29475 (atan2f): Define using libm_alias_float.
29476 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29477 (atanhf): Define using libm_alias_float.
29478 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29479 (coshf): Define using libm_alias_float.
29480 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29481 (exp10f): Define using libm_alias_float.
29482 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29483 (fmodf): Define using libm_alias_float.
29484 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29485 (hypotf): Define using libm_alias_float.
29486 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29487 (j0f): Define using libm_alias_float.
29489 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29490 (j1f): Define using libm_alias_float.
29492 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29493 (jnf): Define using libm_alias_float.
29495 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29496 (log10f): Define using libm_alias_float.
29497 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29498 (log2f): Define using libm_alias_float.
29499 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29500 (logf): Define using libm_alias_float.
29501 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29502 (powf): Define using libm_alias_float.
29503 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29504 (remainderf): Define using libm_alias_float.
29505 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29506 (sinhf): Define using libm_alias_float.
29507 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29508 (sqrtf): Define using libm_alias_float.
29509 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29510 (tgammaf): Define using libm_alias_float.
29512 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29514 * include/math.h (roundeven): Change hidden_proto call to
29516 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29518 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29519 (y0): Rename to __y0 and define as weak alias.
29520 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29521 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29523 (y0f): Rename to __y0f and define as weak alias.
29524 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29526 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29527 (y1): Rename to __y1 and define as weak alias.
29528 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29529 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29531 (y1f): Rename to __y1f and define as weak alias.
29532 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29534 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29535 (yn): Rename to __yn and define as weak alias.
29536 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29537 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29539 (ynf): Rename to __ynf and define as weak alias.
29540 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29541 (fromfp): Define as weak alias.
29542 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29543 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29544 (fromfpx): Define as weak alias.
29545 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29546 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29547 __getpayload and define as weak alias.
29548 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29549 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29550 __roundeven and define as weak alias.
29551 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29552 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29554 (setpayload): Define as weak alias.
29555 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29556 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29558 (setpayloadsig): Define as weak alias.
29559 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29560 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29561 __totalorder and define as weak alias.
29562 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29563 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29564 to __totalordermag and define as weak alias.
29565 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29566 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29567 (ufromfp): Define as weak alias.
29568 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29569 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29571 (ufromfpx): Define as weak alias.
29572 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29573 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29574 Rename to __getpayload and define as weak alias.
29575 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29576 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29577 Rename to __roundeven and define as weak alias.
29578 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29579 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29580 Rename to __totalorder and define as weak alias.
29581 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29582 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29583 (totalordermag): Rename to __totalordermag and define as weak
29585 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29586 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29588 (__roundevenl): Likewise.
29589 (__totalorderl): Likewise.
29590 (__totalordermagl): Likewise
29591 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29593 (fromfpf128): Define as weak alias.
29594 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29596 (fromfpxf128): Define as weak alias.
29597 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29599 (setpayloadf128): Define as weak alias.
29600 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29601 __setpayloadsigf128.
29602 (setpayloadsigf128): Define as weak alias.
29603 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29605 (ufromfpf128): Define as weak alias.
29606 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29608 (ufromfpxf128): Define as weak alias.
29609 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29610 (fromfpf): Define as weak alias.
29611 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29613 (fromfpxf): Define as weak alias.
29614 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29615 __getpayloadf and define as weak alias.
29616 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29617 __roundevenf and define as weak alias.
29618 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29620 (setpayloadf): Define as weak alias.
29621 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29623 (setpayloadsigf): Define as weak alias.
29624 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29625 __totalorderf and define as weak alias.
29626 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29627 Rename to __totalordermagf and define as weak alias.
29628 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29630 (ufromfpf): Define as weak alias.
29631 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29633 (ufromfpxf): Define as weak alias.
29634 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29636 (fromfpl): Define as weak alias.
29637 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29639 (fromfpxl): Define as weak alias.
29640 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29641 to __getpayloadl and define as weak alias.
29642 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29643 __roundevenl and define as weak alias.
29644 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29646 (setpayloadl): Define as weak alias.
29647 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29649 (setpayloadsigl): Define as weak alias.
29650 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29651 to __totalorderl and define as weak alias.
29652 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29653 Rename to __totalordermagl and define as weak alias.
29654 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29656 (ufromfpl): Define as weak alias.
29657 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29659 (ufromfpxl): Define as weak alias.
29660 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29662 (fromfpl): Define as weak alias.
29663 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29665 (fromfpxl): Define as weak alias.
29666 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29667 Rename to __getpayloadl and define as weak alias.
29668 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29669 to __roundevenl and define as weak alias. Call __roundeven
29670 instead of roundeven.
29671 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29673 (setpayloadl): Define as weak alias.
29674 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29676 (setpayloadsigl): Define as weak alias.
29677 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29678 Rename to __totalorderl and define as weak alias.
29679 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29680 Rename to __totalordermagl and define as weak alias.
29681 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29683 (ufromfpl): Define as weak alias.
29684 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29686 (ufromfpxl): Define as weak alias.
29687 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29689 (fromfpl): Define as weak alias.
29690 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29692 (fromfpxl): Define as weak alias.
29693 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29694 __getpayloadl and define as weak alias.
29695 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29696 __roundevenl and define as weak alias.
29697 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29699 (setpayloadl): Define as weak alias.
29700 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29702 (setpayloadsigl): Define as weak alias.
29703 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29704 __totalorderl and define as weak alias.
29705 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29706 Rename to __totalordermagl and define as weak alias.
29707 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29709 (ufromfpl): Define as weak alias.
29710 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29712 (ufromfpxl): Define as weak alias.
29714 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29716 * benchtests/bench-string.h (realloc_bufs): New function.
29717 (test_init): Call it.
29718 * benchtests/bench-memset-large.c (do_test): Likewise.
29719 * benchtests/bench-memset.c (do_test): Likewise.
29721 * benchtests/bench-memset-large.c: Print output in JSON
29723 * benchtests/bench-memset.c: Likewise.
29725 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29728 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29729 * iconvdata/Makefile: Add IBM858.
29730 * iconvdata/gconv-modules: Likewise.
29731 * iconvdata/tst-tables.sh: Likewise.
29732 * iconvdata/ibm858.c: New file.
29733 * localedata/charmaps/IBM858: Likewise.
29735 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29738 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29739 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29741 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29744 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29745 and add tel_int_fmt.
29747 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29749 * sysdeps/generic/libm-alias-float128.h: New file.
29750 * sysdeps/generic/math-type-macros-float128.h: Include
29751 <libm-alias-float128.h>.
29752 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29754 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29756 * sysdeps/generic/libm-alias-ldouble.h: New file.
29757 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29758 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29759 * sysdeps/generic/math-type-macros-ldouble.h: Include
29760 <libm-alias-ldouble.h>.
29761 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29762 libm_alias_ldouble.
29764 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29766 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29767 * math/w_exp_compat.c: ... here.
29768 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29769 * math/w_expf_compat.c: ... here.
29770 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29771 * math/w_expl_compat.c: ... here.
29772 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29773 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29774 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29775 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29777 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29779 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29781 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29783 (ldexpl): Only define as compat symbol for libc, not libm.
29784 (scalbnl): Define as compat symbol for libc here.
29785 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29786 define for [IS_IN (libc)].
29787 (__ldexpl_2): Remove alias.
29788 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29789 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29790 name in long_double_symbol call.
29791 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29792 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29793 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29794 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29795 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29797 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29798 Define as compat symbol.
29800 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29802 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29803 * sysdeps/unix/sysv/linux/alpha/Makefile
29804 [$(subdir) = csu] (sysdep_routines): Remove rule.
29806 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29808 * sysdeps/generic/libm-alias-double.h: New file.
29809 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29810 * sysdeps/generic/math-type-macros-double.h: Include
29811 <libm-alias-double.h>.
29812 [declare_mgen_alias] (declare_mgen_alias): Define to use
29814 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29815 (M_LIBM_NEED_COMPAT): Remove macro.
29816 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29817 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29818 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29820 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29821 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29822 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29823 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29824 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29825 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29826 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29827 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29828 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29829 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29830 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29831 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29832 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29833 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29834 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29835 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29836 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29837 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29838 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29839 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29840 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29841 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29842 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29843 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29844 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29845 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29846 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29847 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29848 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29850 (declare_mgen_alias): New macro.
29851 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29852 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29854 (M_LIBM_NEED_COMPAT): Remove macro.
29855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29856 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29857 <first-versions.h>.
29858 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29859 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29861 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29863 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29864 (declare_mgen_alias_2): Remove.
29865 * sysdeps/generic/math-type-macros-double.h
29866 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29868 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29870 (ldexp): Define with declare_mgen_alias.
29871 (scalbn): Likewise.
29873 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29875 * grp/initgroups.c: Include config.h.
29876 (DEFAULT_CONFIG): New macro.
29877 (internal_getgrouplist): Use DEFAULT_CONFIG.
29878 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29879 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29880 (DEFAULT_DEFCONFIG): New macro.
29881 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29882 * nss/grp-lookup.c: Include config.h
29883 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29884 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29885 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29886 * manual/nss.texi: Update default values section.
29888 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29891 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29893 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29894 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29895 Handle MathVec_Prefer_No_AVX512.
29896 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29897 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29900 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29902 * posix/sched_primax.c (__sched_get_priority_max): Add
29904 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29905 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29906 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29907 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29908 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29909 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29910 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29911 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29914 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29916 * sysdeps/generic/libm-alias-float.h: New file.
29917 * sysdeps/generic/math-type-macros-float.h: Include
29918 <libm-alias-float.h>.
29919 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29921 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29924 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29925 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29926 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29927 (HWCAP_IMPORTANT): Likewise.
29928 (HWCAP_X86_64): New enum.
29929 (HWCAP_X86_AVX512_1): Updated.
29930 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29931 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29932 (modules-names): Add x86_64/tst-x86_64mod-1.
29933 (LDFLAGS-tst-x86_64mod-1.so): New.
29934 ($(objpfx)tst-x86_64-1): Likewise.
29935 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29936 (tst-x86_64-1-clean): Likewise.
29937 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29938 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29940 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29942 * po/sv.po: Update translations.
29943 * po/fr.po: Likewise.
29945 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29947 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29949 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29951 * elf/rtld-Rules: Fix $(error) use.
29953 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29956 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29957 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29958 * localedata/locales/bn_BD: “Bengali” was still used in some
29959 comments. Change it to “Bangla”.
29961 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29963 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29965 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29967 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29968 thunderx2t99p1 to list of cpu names.
29969 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29970 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29972 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29974 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29975 Use strcmp instead of tunable_is_name.
29977 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29980 (F_GET_RW_HINT): New macro.
29981 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29982 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29983 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29984 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29985 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29986 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29987 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29988 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29989 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29991 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29992 (F_ADD_SEALS): New macro.
29993 [__USE_GNU] (F_GET_SEALS): Likewise.
29994 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29995 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29996 [__USE_GNU] (F_SEAL_GROW): Likewise.
29997 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29999 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30001 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30002 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30003 * posix/glob_internal.h (__glob_pattern_type):
30004 * posix/glob.c (glob):
30005 * posix/glob_pattern_p.c (__glob_pattern_p):
30008 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30009 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30010 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30011 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30012 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30014 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30015 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30016 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30017 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30018 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30019 * sysdeps/wordsize-64/glob.c: Likewise.
30020 * sysdeps/wordsize-64/glob64.c: Likewise.
30021 * sysdeps/wordsize-64/globfree.c: Likewise.
30022 * sysdeps/wordsize-64/globfree64.c: Likewise.
30023 * sysdeps/unix/sysv/linux/glob.c: New file.
30024 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30025 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30026 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30027 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30028 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30029 adds !GLOB_NO_OLD_VERSION as an extra condition.
30030 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30031 using relative path instead of absolute one.
30032 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30033 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30034 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30035 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30036 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30037 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30040 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30041 (glob): Use the same scratch buffer for both getlogin_r and
30042 getpwnam_r. Don’t require preallocation of the login name. This
30043 simplifies storage allocation, and corrects the handling of
30047 * posix/glob.c (glob): Port recent patches to platforms
30048 lacking getpwnam_r.
30049 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30050 returns an error number rather than setting errno.
30052 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30053 instead of GCC extension.
30054 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30055 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30056 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30060 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30061 * posix/bug-glob1.c: Remove file.
30062 * posix/tst-glob_symlinks.c: New file.
30063 * posix/glob.c (__lstat64): New macro.
30064 (is_dir): New function.
30065 (glob, glob_in_dir): Match symlinks even if they are dangling.
30066 (link_stat, link_exists_p): Remove. All uses removed.
30070 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30071 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30076 * posix/Makefile (routines): Add globfree, globfree64, and
30078 * posix/flexmember.h: New file.
30079 * posix/glob_internal.h: Likewise.
30080 * posix/glob_pattern_p.c: Likewise.
30081 * posix/globfree.c: Likewise.
30082 * posix/globfree64.c: Likewise.
30083 * sysdeps/gnu/globfree64.c: Likewise.
30084 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30085 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30086 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30087 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30088 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30089 * sysdeps/wordsize-64/globfree.c: Likewise.
30090 * sysdeps/wordsize-64/globfree64.c: Likewise.
30091 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30092 [NDEBUG): Remove comments.
30093 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30094 (dirent_type): New type. Use uint_fast8_t not
30095 uint8_t, as C99 does not require uint8_t.
30096 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30097 (struct readdir_result): Use dirent_type. Do not define skip_entry
30098 unless it is needed; this saves a byte on platforms lacking d_ino.
30099 (readdir_result_type, readdir_result_skip_entry):
30100 New functions, replacing ...
30101 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30102 these functions, which were removed. This makes the callers
30103 easier to read. All callers changed.
30104 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30105 (size_add_wrapv, glob_use_alloca): New static functions.
30106 (glob, glob_in_dir): Check for size_t overflow in several places,
30107 and fix some size_t checks that were not quite right.
30108 Remove old code using SHELL since Bash no longer
30110 (glob, prefix_array): Separate MS code better.
30111 (glob_in_dir): Remove old Amiga and VMS code.
30112 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30114 (glob_in_dir): Do not rely on undefined behavior in accessing
30115 struct members beyond their bounds. Use a flexible array member
30117 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30118 0/1. Caller changed.
30119 (glob): Fix memory leaks.
30120 * posix/glob64 (globfree64): Move to separate file.
30121 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30122 (globfree64): Remove hidden alias.
30123 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30125 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30127 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30129 Move compat code to separate file.
30130 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30133 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30135 * resolv/tst-resolv-qtypes.c (domain): Changed to
30136 "const char domain[] =".
30138 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30140 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30143 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30144 (TCP_MD5SIG_EXT): Likewise.
30145 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30146 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30147 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30149 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30151 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30153 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30155 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30158 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30160 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30162 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30163 before assuming that the file is empty. Avoid testing buffer content
30166 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30169 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30171 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30173 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30175 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30177 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30179 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30181 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30184 2017-09-06 Florian Weimer <fweimer@redhat.com>
30186 * malloc/dynarray_emplace_enlarge.c
30187 (__libc_dynarray_emplace_enlarge): Add missing else.
30189 2017-09-06 Florian Weimer <fweimer@redhat.com>
30192 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30193 case of failure to obtain the global conf object.
30195 2017-09-06 Florian Weimer <fweimer@redhat.com>
30198 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30199 dynarray allocation failure.
30201 2017-09-06 Florian Weimer <fweimer@redhat.com>
30203 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30204 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30205 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30207 (response): Call them. Add 'p', '6' flag processing.
30208 (test_reverse): New function.
30209 (test_get2_any): Call it.
30210 (test_no_inet6): Add 'p' test.
30211 (test_inet6): Likewise.
30213 2017-09-06 Florian Weimer <fweimer@redhat.com>
30215 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30216 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30218 (test_gai): Adjust query names. Add additional tests.
30219 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30220 test_get2. Adjust query names. Add additional tests.
30221 (test_no_inet6): New function, extracted from threadfunc.
30222 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30223 Add additional tests.
30225 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30228 * localedata/unicode-gen/utf8_gen.py: Set the width for
30229 characters with Prepended_Concatenation_Mark property to 1
30230 * localedata/charmaps/UTF-8: Updated using the improved script.
30232 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30235 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30236 use the range notation for all ranges of neighbouring characters
30237 with the same width.
30239 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30241 * sysdeps/generic/math-type-macros-double.h: Include
30242 <math-svid-compat.h>.
30243 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30244 * sysdeps/generic/math-type-macros-float.h: Include
30245 <math-svid-compat.h>.
30246 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30247 * sysdeps/generic/math-type-macros-ldouble.h: Include
30248 <math-svid-compat.h>.
30249 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30250 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30252 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30253 * math/w_acosf_compat.c: Likewise.
30254 * math/w_acosh_compat.c: Likewise.
30255 * math/w_acoshf_compat.c: Likewise.
30256 * math/w_acoshl_compat.c: Likewise.
30257 * math/w_acosl_compat.c: Likewise.
30258 * math/w_asin_compat.c: Likewise.
30259 * math/w_asinf_compat.c: Likewise.
30260 * math/w_asinl_compat.c: Likewise.
30261 * math/w_atan2_compat.c: Likewise.
30262 * math/w_atan2f_compat.c: Likewise.
30263 * math/w_atan2l_compat.c: Likewise.
30264 * math/w_atanh_compat.c: Likewise.
30265 * math/w_atanhf_compat.c: Likewise.
30266 * math/w_atanhl_compat.c: Likewise.
30267 * math/w_cosh_compat.c: Likewise.
30268 * math/w_coshf_compat.c: Likewise.
30269 * math/w_coshl_compat.c: Likewise.
30270 * math/w_exp10_compat.c: Likewise.
30271 * math/w_exp10f_compat.c: Likewise.
30272 * math/w_exp10l_compat.c: Likewise.
30273 * math/w_exp2_compat.c: Likewise.
30274 * math/w_exp2f_compat.c: Likewise.
30275 * math/w_exp2l_compat.c: Likewise.
30276 * math/w_fmod_compat.c: Likewise.
30277 * math/w_fmodf_compat.c: Likewise.
30278 * math/w_fmodl_compat.c: Likewise.
30279 * math/w_hypot_compat.c: Likewise.
30280 * math/w_hypotf_compat.c: Likewise.
30281 * math/w_hypotl_compat.c: Likewise.
30282 * math/w_j0_compat.c: Likewise.
30283 * math/w_j0f_compat.c: Likewise.
30284 * math/w_j0l_compat.c: Likewise.
30285 * math/w_j1_compat.c: Likewise.
30286 * math/w_j1f_compat.c: Likewise.
30287 * math/w_j1l_compat.c: Likewise.
30288 * math/w_jn_compat.c: Likewise.
30289 * math/w_jnf_compat.c: Likewise.
30290 * math/w_jnl_compat.c: Likewise.
30291 * math/w_lgamma_r_compat.c: Likewise.
30292 * math/w_lgammaf_r_compat.c: Likewise.
30293 * math/w_lgammal_r_compat.c: Likewise.
30294 * math/w_log10_compat.c: Likewise.
30295 * math/w_log10f_compat.c: Likewise.
30296 * math/w_log10l_compat.c: Likewise.
30297 * math/w_log2_compat.c: Likewise.
30298 * math/w_log2f_compat.c: Likewise.
30299 * math/w_log2l_compat.c: Likewise.
30300 * math/w_log_compat.c: Likewise.
30301 * math/w_logf_compat.c: Likewise.
30302 * math/w_logl_compat.c: Likewise.
30303 * math/w_pow_compat.c: Likewise.
30304 * math/w_powf_compat.c: Likewise.
30305 * math/w_powl_compat.c: Likewise.
30306 * math/w_remainder_compat.c: Likewise.
30307 * math/w_remainderf_compat.c: Likewise.
30308 * math/w_remainderl_compat.c: Likewise.
30309 * math/w_sinh_compat.c: Likewise.
30310 * math/w_sinhf_compat.c: Likewise.
30311 * math/w_sinhl_compat.c: Likewise.
30312 * math/w_sqrt_compat.c: Likewise.
30313 * math/w_sqrtf_compat.c: Likewise.
30314 * math/w_sqrtl_compat.c: Likewise.
30315 * math/w_tgamma_compat.c: Likewise.
30316 * math/w_tgammaf_compat.c: Likewise.
30317 * math/w_tgammal_compat.c: Likewise.
30318 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30319 [LIBM_SVID_COMPAT].
30320 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30321 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30322 [LIBM_SVID_COMPAT].
30323 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30324 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30325 [LIBM_SVID_COMPAT].
30326 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30327 * sysdeps/i386/fpu/w_sqrt.c: New file.
30328 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30329 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30330 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30331 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30332 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30333 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30334 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30335 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30336 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30337 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30338 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30339 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30340 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30341 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30342 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30343 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30344 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30345 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30346 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30347 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30348 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30349 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30350 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30351 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30352 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30353 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30354 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30355 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30356 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30357 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30358 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30359 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30360 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30361 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30362 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30363 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30364 * sysdeps/ia64/fpu/w_log.c: Likewise.
30365 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30366 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30367 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30368 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30369 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30370 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30371 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30372 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30373 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30374 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30375 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30376 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30377 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30378 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30379 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30380 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30381 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30382 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30383 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30384 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30385 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30386 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30387 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30388 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30389 [LIBM_SVID_COMPAT].
30390 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30391 * sysdeps/ieee754/k_standard.c: Likewise.
30392 * sysdeps/ieee754/k_standardf.c: Likewise.
30393 * sysdeps/ieee754/k_standardl.c: Likewise.
30394 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30395 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30396 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30397 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30398 long_double_symbol call on [LIBM_SVID_COMPAT].
30399 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30400 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30401 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30402 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30403 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30404 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30405 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30406 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30407 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30408 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30409 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30410 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30411 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30412 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30413 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30414 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30415 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30416 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30417 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30418 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30419 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30420 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30422 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30424 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30425 * malloc/tst-mallocstate.c: Convert from test-skeleton
30426 to test-driver. Ifdef code using TEST_COMPAT macro.
30427 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30428 * math/test-matherr.c: Likewise.
30430 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30433 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30434 comparing word with byte-swapped constant.
30436 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30439 * locale/iso-639.def: add Miskito.
30440 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30441 * localedata/locales/miq_NI: New file.
30443 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30446 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30447 (__mkdir): Likewise.
30448 * io/chmod.c (__chmod): Add libc_hidden_def.
30449 * io/mkdir.c (__mkdir): Likewise.
30450 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30451 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30452 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30453 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30455 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30457 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30461 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30462 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30464 2017-09-04 Florian Weimer <fweimer@redhat.com>
30466 * math/math.h: Issue warning if log is defined.
30468 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30470 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30471 kernel version to 4.13.
30473 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30475 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30476 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30478 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30479 just <bits/types.h>.
30480 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30481 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30482 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30483 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30484 * misc/preadv2.c: Include <errno.h>.
30485 * misc/preadv64v2.c: Include <errno.h>.
30486 * misc/pwritev2.c: Include <errno.h>.
30487 * misc/pwritev64v2.c: Include <errno.h>.
30488 * sysdeps/posix/preadv2.c: Include <errno.h>.
30489 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30490 Fix <unistd.h> inclusion.
30491 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30492 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30493 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30494 __strtoul_internal): New functions.
30495 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30496 * sysdeps/posix/system.c: Include <sigsetops.h>.
30497 * sysdeps/mach/hurd/i386/Makefile
30498 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30499 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30500 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30501 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30502 __feraiseexcept_renamed to feraiseexcept instead of
30503 __GI_feraiseexcept.
30504 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30505 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30506 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30507 RWF_NOWAIT): Define to 0 if undefined already.
30508 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30510 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30511 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30513 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30515 * manual/math.texi (pow10): Do not document.
30516 (pow10f): Likewise.
30517 (pow10l): Likewise.
30518 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30519 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30520 * math/libm-test-exp10.inc (pow10_test): Remove.
30521 (do_test): Do not call pow10.
30522 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30523 [NO_LONG_DOUBLE] (pow10l): Likewise.
30524 * math/w_exp10f_compat.c (pow10f): Likewise.
30525 * math/w_exp10l_compat.c (pow10l): Likewise.
30526 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30527 (pow10): Make into compat symbol.
30528 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30529 (pow10f): Make into compat symbol.
30530 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30531 (pow10l): Make into compat symbol.
30532 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30534 (CFLAGS-nldbl-pow10.c): Remove variable..
30535 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30536 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30537 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30538 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30539 Undefine and redefine.
30540 (pow10l): Make into compat symbol.
30541 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30542 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30543 * sysdeps/arm/libm-test-ulps: Likewise.
30544 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30545 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30546 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30547 * sysdeps/microblaze/libm-test-ulps: Likewise.
30548 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30549 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30550 * sysdeps/nios2/libm-test-ulps: Likewise.
30551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30552 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30553 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30554 * sysdeps/sh/libm-test-ulps: Likewise.
30555 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30556 * sysdeps/tile/libm-test-ulps: Likewise.
30557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30559 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30561 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30563 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30565 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30566 "../ChangeLog.old/ChangeLog.8".
30567 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30568 "../ChangeLog.old/ChangeLog.14".
30570 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30572 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30575 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30577 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30579 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30581 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30582 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30584 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30586 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30587 32 atexit handlers.
30589 2017-09-01 Zack Weinberg <zackw@panix.com>
30591 * math/math.h (HUGE_VAL): Improve commentary.
30593 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30594 Andreas Schwab <schwab@suse.de>
30597 * include/stdio.h (__gen_tempfd): New function.
30598 * stdio-common/Makefile (routines): Add gentempfd.
30599 * stdio-common/gentempfd.c: New file.
30600 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30601 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30602 unnamed file first.
30604 2017-09-01 Florian Weimer <fweimer@redhat.com>
30608 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30609 result to determine success or failure, not the errno value.
30610 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30611 (tst-nss-files-hosts-erange): Link with -ldl.
30612 * nss/tst-nss-files-hosts-erange.c: New file.
30613 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30614 (do_test): Add NO_DATA tests.
30615 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30616 (do_test): Call it.
30618 2017-09-01 Florian Weimer <fweimer@redhat.com>
30621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30622 coming from gethostbyname2_r.
30624 2017-09-01 Florian Weimer <fweimer@redhat.com>
30626 * support/namespace.h (struct support_chroot_configuration): Add
30628 (struct support_chroot): Add path_hosts, path_host_conf.
30629 * support/support_chroot.c (write_file): New function.
30630 (support_chroot_create): Call it to process /etc/resolv.conf,
30631 /etc/hosts, /etc/host.conf.
30632 (support_chroot_free): Update.
30634 2017-09-01 Florian Weimer <fweimer@redhat.com>
30636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30637 status indicates it is set.
30639 2017-09-01 Florian Weimer <fweimer@redhat.com>
30642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30643 function lookup failures more reliable.
30645 2017-09-01 Florian Weimer <fweimer@redhat.com>
30647 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30648 (getcanonname): Likewise.
30649 (gaih_inet): Likewise.
30651 2017-09-01 Florian Weimer <fweimer@redhat.com>
30653 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30654 (getcanonname): Likewise.
30655 (gaih_inet): Likewise.
30657 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30658 Richard Henderson <rth@twiddle.net>
30660 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30661 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30662 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30663 (IREG_SIZE, OREG_SIZE): New macros.
30664 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30665 (IREG_SIZE, OREG_SIZE): New macros.
30666 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30667 (IREG_SIZE): New macro.
30668 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30669 (IREG_SIZE): New macro.
30670 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30672 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30673 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30674 (__CONCATX): Handle exceptions correctly on large values that may
30676 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30677 Initialize if not already set.
30678 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30680 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30682 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30683 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30685 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30687 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30689 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30691 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30693 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30695 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30697 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30698 (NO_CANCELLATION): Likewise.
30699 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30701 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30703 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30706 (NO_CANCELLATION): Likewise.
30707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30708 (NO_CANCELLATION): Likewise.
30709 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30711 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30713 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30715 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30717 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30719 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30720 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30722 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30724 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30727 2017-08-31 Florian Weimer <fweimer@redhat.com>
30729 * include/libc-symbols.h (internal_function): Remove.
30731 2017-08-31 Florian Weimer <fweimer@redhat.com>
30733 * stdlib/fmtmsg.c (internal_addseverity): Remove
30736 2017-08-31 Florian Weimer <fweimer@redhat.com>
30738 * stdio-common/printf_fp.c (group_number): Remove
30740 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30742 2017-08-31 Florian Weimer <fweimer@redhat.com>
30744 * posix/fnmatch.c (internal_function): Remove definition.
30745 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30746 * posix/regcomp.c (peek_token, init_word_char)
30747 (duplicate_node_closure, fetch_token, peek_token)
30748 (peek_token_bracket, build_range_exp, build_collating_symbol):
30750 * posix/regex_internal.c (re_string_construct_common)
30751 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30752 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30753 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30754 (re_string_translate_buffer, re_string_reconstruct)
30755 (re_string_peek_byte_case, re_string_fetch_byte_case)
30756 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30757 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30758 (re_node_set_add_intersect, re_node_set_init_union)
30759 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30760 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30761 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30762 (re_acquire_state_context): Likewise.
30763 * posix/regex_internal.h (internal_function): Remove definition.
30764 (re_string_realloc_buffers, build_wcs_buffer)
30765 (build_wcs_upper_buffer, build_upper_buffer)
30766 (re_string_translate_buffer, re_string_context_at)
30767 (re_string_char_size_at, re_string_wchar_at)
30768 (re_string_elem_size_at): Likewise.
30769 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30770 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30771 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30772 (re_search_internal, re_search_2_stub, re_search_stub)
30773 (re_copy_regs, prune_impossible_nodes, check_matching)
30774 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30775 (free_fail_stack_return, sift_states_iter_mb)
30776 (sift_states_backward, build_sifted_states)
30777 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30778 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30779 (check_subexp_limits, sift_states_bkref, merge_state_array)
30780 (find_recover_state, transit_state, merge_state_with_log)
30781 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30782 (transit_state_mb, transit_state_bkref, get_subexp)
30783 (get_subexp_sub, find_subexp_node, check_arrival)
30784 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30785 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30786 (check_node_accept_bytes, find_collation_sequence_value)
30787 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30788 (acquire_init_state_context, check_halt_node_context)
30789 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30790 (sub_epsilon_src_nodes): Likewise.
30791 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30792 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30793 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30794 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30795 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30796 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30797 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30798 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30799 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30800 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30801 (PREADV): Likewise.
30802 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30803 (PREADV): Likewise.
30804 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30805 (PWRITEV): Likewise.
30806 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30807 (PWRITEV): Likewise.
30808 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30809 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30811 2017-08-31 Florian Weimer <fweimer@redhat.com>
30813 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30814 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30815 Remove internal_function.
30816 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30817 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30818 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30819 (__deallocate_stack, __libc_pthread_init)
30820 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30821 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30822 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30824 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30825 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30826 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30828 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30829 (__pthread_mutex_unlock_usercnt): Likewise.
30831 2017-08-31 Florian Weimer <fweimer@redhat.com>
30833 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30834 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30835 (fts_safe_changedir): Remove internal_function.
30836 * io/ftw.c (internal_function): Remove definition.
30837 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30839 2017-08-31 Florian Weimer <fweimer@redhat.com>
30841 * inet/deadline.c (__deadline_current_time)
30842 (__deadline_from_timeval, __deadline_to_ms): Remove
30844 * inet/getnameinfo.c (nrl_domainname): Likewise.
30845 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30846 * inet/inet6_option.c (add_pad): Likewise.
30847 * inet/net-internal.h (__deadline_current_time)
30848 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30849 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30850 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30851 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30853 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30855 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30856 include <bits/nan.h>.
30857 * math/Makefile (headers): Remove bits/nan.h.
30858 * bits/nan.h: Remove.
30859 * sysdeps/ieee754/bits/nan.h: Likewise.
30860 * sysdeps/mips/bits/nan.h: Likewise.
30862 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30863 not include <bits/inf.h>.
30864 * math/Makefile (headers): Remove bits/inf.h.
30865 * bits/inf.h: Remove.
30866 * sysdeps/ieee754/bits/inf.h: Likewise.
30868 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30869 bits/huge_vall.h or bits/huge_val_flt128.h.
30870 (HUGE_VAL): Define directly here.
30871 [__USE_ISOC99] (HUGE_VALF): Likewise.
30872 [__USE_ISOC99] (HUGE_VALL): Likewise.
30873 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30874 (HUGE_VAL_F128): Likewise.
30875 * math/Makefile (headers): Remove bits/huge_val.h,
30876 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30877 * bits/huge_val.h: Remove.
30878 * bits/huge_val_flt128.h: Likewise.
30879 * bits/huge_valf.h: Likewise.
30880 * bits/huge_vall.h: Likewise.
30881 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30882 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30883 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30884 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30885 * sysdeps/sh/bits/huge_val.h: Likewise.
30886 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30887 * sysdeps/x86/bits/huge_vall.h: Likewise.
30889 2017-08-31 Florian Weimer <fweimer@redhat.com>
30891 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30893 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30895 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30896 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30897 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30898 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30899 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30900 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30901 * elf/dl-libc.c (dlerror_run): Likewise.
30902 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30903 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30904 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30905 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30907 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30908 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30909 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30910 * elf/dl-profile.c (_dl_start_profile): Likewise.
30911 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30912 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30914 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30915 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30916 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30917 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30918 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30919 (_dl_allocate_tls_storage): Likewise.
30920 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30921 (_dl_check_all_versions): Likewise.
30922 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30923 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30924 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30925 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30926 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30927 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30928 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30929 internal_function from __dl_start.
30930 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30931 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30932 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30933 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30934 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30935 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30936 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30937 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30938 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30939 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30940 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30941 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30942 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30943 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30944 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30946 (struct rtld_global_ro): Remove internal_function from the
30947 _dl_lookup_symbol_x member.
30948 (_dl_symbol_value): Remove. No longer defined anywhere.
30949 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30951 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30952 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30953 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30954 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30955 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30956 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30957 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30958 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30959 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30960 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30961 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30962 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30964 2017-08-31 Florian Weimer <fweimer@redhat.com>
30966 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30967 Remove internal_function.
30968 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30970 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30973 2017-08-31 Florian Weimer <fweimer@redhat.com>
30975 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30976 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30977 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30979 2017-08-31 Florian Weimer <fweimer@redhat.com>
30981 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30982 (__gai_enqueue_request): Remove internal_function.
30983 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30984 (__gai_remove_request, __gai_notify, __gai_notify_only)
30985 (__gai_sigqueue): Likewise.
30986 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30987 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30988 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30989 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30992 2017-08-31 Florian Weimer <fweimer@redhat.com>
30994 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30995 * include/dirent.h (__opendirat, __getdents, __getdents64)
30996 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30997 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30998 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30999 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31001 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31003 2017-08-31 Florian Weimer <fweimer@redhat.com>
31005 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31007 (GETCWD_RETURN_TYPE): Likewise.
31009 2017-08-31 Florian Weimer <fweimer@redhat.com>
31011 * include/time.h (__tz_compute, __strptime_internal): Remove
31013 * time/strptime_l.c (__strptime_internal): Likewise.
31014 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31016 2017-08-31 Florian Weimer <fweimer@redhat.com>
31018 * iconv/gconv.c (__gconv): Remove internal_function.
31019 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31020 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31021 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31022 (__gconv_release_cache): Likewise.
31023 * iconv/gconv_close.c (__gconv_close): Likewise.
31024 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31025 (read_conf_file, __gconv_get_path): Likewise.
31026 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31027 (__gconv_release_step, gen_steps, increment_counter)
31028 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31029 (__gconv_close_transform, free_modules_db): Likewise.
31030 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31032 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31033 (__gconv_find_transform, __gconv_lookup_cache)
31034 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31035 (__gconv_close_transform, __gconv_release_cache)
31036 (__gconv_loaded_object, __gconv_release_shlib)
31037 (__gconv_compare_alias): Likewise.
31038 * iconv/gconv_open.c (__gconv_open): Likewise.
31039 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31040 * iconv/iconvconfig.c (add_module): Likewise.
31041 * intl/dcigettext.c (plural_lookup, guess_category_value)
31042 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31043 * intl/eval-plural.h (plural_eval): Likewise.
31044 * intl/finddomain.c (_nl_find_domain): Likewise.
31045 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31046 (_nl_load_domain, _nl_find_msg): Likewise.
31047 (internal_function): Remove definition.
31048 * intl/loadinfo.h (internal_function): Likewise.
31049 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31051 * intl/localealias.c (internal_function): Remove definition.
31052 (read_alias_file): Remove internal_function.
31053 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31054 * intl/plural-exp.h (internal_function): Remove definition.
31055 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31057 * intl/plural.c: Regenerate.
31058 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31059 * locale/coll-lookup.c (__collidx_table_lookup)
31060 (__collseq_table_lookup): Likewise.
31061 * locale/coll-lookup.h (__collidx_table_lookup)
31062 (__collseq_table_lookup): Likewise.
31063 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31064 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31065 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31066 (_nl_unload_locale): Likewise.
31067 * locale/localeinfo.h (struct __locale_data): Remove
31068 internal_function from cleanup member.
31069 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31070 (_nl_remove_locale, _nl_load_locale_from_archive)
31071 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31072 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31073 (_nl_cleanup_time): Remove internal_function.
31074 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31075 (_nl_parse_alt_digit): Likewise.
31076 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31077 (_nl_select_era_entry): Likewise.
31078 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31079 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31080 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31081 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31082 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31084 2017-08-31 Florian Weimer <fweimer@redhat.com>
31086 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31087 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31088 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31089 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31091 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31092 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31093 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31094 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31096 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31098 2017-08-31 Florian Weimer <fweimer@redhat.com>
31100 * misc/getttyent.c (skip, value): Remove internal_function.
31101 * misc/syslog.c (openlog_internal): Likewise.
31102 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31104 2017-08-31 Florian Weimer <fweimer@redhat.com>
31106 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31107 (__nss_rewrite_field): Remove internal_function.
31108 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31109 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31110 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31111 * nss/nsswitch.c (nss_parse_file, nss_getline)
31112 (nss_parse_service_list, nss_new_service): Likewise.
31113 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31114 * nss/valid_field.c (__nss_valid_field): Likewise.
31115 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31117 2017-08-31 Florian Weimer <fweimer@redhat.com>
31119 * malloc/arena.c (__malloc_fork_lock_parent)
31120 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31121 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31122 internal_function from defintions.
31123 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31124 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31125 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31126 internal_function from declarations.
31127 * malloc/malloc.c (internal_function): Do not define.
31128 (mem2mem_check): Remove internal_function from declaration.
31129 (munmap_chunk, mremap_chunk): Remove internal_function.
31130 * malloc/mtrace.c (tr_where): Likewise.
31132 2017-08-31 Florian Weimer <fweimer@redhat.com>
31134 * include/rpc/pmap_clnt.h (__get_socket): Remove
31136 * sunrpc/auth_des.c (synchronize): Likewise.
31137 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31138 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31139 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31140 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31141 (key_call): Likewise.
31142 * sunrpc/pm_getport.c (__get_socket): Likewise.
31143 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31144 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31145 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31146 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31147 (invalidate): Likewise.
31148 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31149 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31150 (set_input_fragment, get_input_bytes): Likewise.
31152 2017-08-31 Florian Weimer <fweimer@redhat.com>
31154 * malloc/malloc.c (_int_free): Remove locked variable and related
31157 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31160 * Makerules (build-module-helper-objlist): Filter out
31161 $(elf-objpfx)sofini.os.
31162 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31165 2017-08-31 Florian Weimer <fweimer@redhat.com>
31167 * libio/fcloseall.c: Assume weak_alias is defined.
31168 * libio/feof.c: Likewise.
31169 * libio/fileno.c: Likewise.
31170 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31171 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31173 (_IO_file_open): Call __open directly.
31174 (_IO_new_file_sync): Assume ESPIPE is defined.
31175 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31176 (_IO_new_file_write): Call __write directly.
31177 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31178 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31179 * libio/genops.c: Assume _LIBC is defined.
31180 (save_for_backup): Remove internal_function.
31181 * libio/getc.c: Assume weak_alias is defined.
31182 * libio/getwc.c: Likewise.
31183 * libio/iofclose.c: Assume _LIBC is defined.
31184 * libio/iofdopen.c: Likewise.
31185 (_IO_fcntl): Remove macro definition.
31186 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31187 Call __fcntl directly.
31188 * libio/iofflush.c: Assume weak_alias is defined.
31189 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31191 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31192 * libio/iofgets.c: Likewise.
31193 * libio/iofopen.c: Assume _LIBC is defined.
31194 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31195 * libio/iofputs.c: Assume weak_alias is defined.
31196 * libio/iofread.c: Likewise.
31197 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31198 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31199 * libio/ioftell.c: Assume weak_alias is defined.
31200 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31201 * libio/iofwide.c: Assume _LIBC is defined.
31202 (_IO_fwide): Drop SHARED conditional because it is implied by
31204 * libio/iofwrite.c: Assume weak_alias is defined.
31205 * libio/iogetdelim.c: Likewise.
31206 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31207 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31208 (_IO_getwline): Call __wmemcpy directly.
31209 * libio/iopopen.c: Assume _LIBC is defined.
31210 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31211 (_IO_close): Remove macro definitions.
31212 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31214 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31216 * libio/ioputs.c: Assume weak_alias is defined.
31217 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31218 * libio/iosetbuffer.c: Assume weak_alias is defined.
31219 * libio/iosetvbuf.c: Likewise.
31220 * libio/ioungetc.c: Likewise.
31221 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31222 libc_hidden_def, libc_hidden_weak, NULL are defined.
31223 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31224 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31226 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31228 (_IO_old_file_init_internal): Drop SHARED conditional because it
31229 is implied by SHLIB_COMPAT.
31230 (_IO_old_file_fopen): Call __open directly.
31231 (_IO_old_file_sync): Assume ESPIPE is defined.
31232 (_IO_old_file_write): Call __write directly.
31233 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31234 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31235 Call __fcntl directly.
31236 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31237 (_IO_old_fgetpos): Assume EIO is defined.
31238 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31239 (_IO_old_fgetpos64): Assume EIO is defined.
31240 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31241 (_IO_old_fsetpos): Assume EIO is defined.
31242 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31243 (_IO_old_fsetpos64): Assume EIO is defined.
31244 * libio/oldiopopen.c: Assume _LIBC is defined.
31245 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31246 (_IO_close): Remove macro definitions.
31247 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31249 (_IO_old_proc_close): Call __close, __waitpid directly.
31250 * libio/put.c: Assume weak_alias is defined.
31251 * libio/stdfiles.c: Assume _LIBC is defined.
31252 * libio/stdio.c: Likewise.
31253 * libio/wfileops.c: Likewise.
31254 (_IO_wfile_sync): Assume ESPIPE is defined.
31255 * libio/wgenops.c: Assume _LIBC is defined.
31256 (save_for_wbackup): Remove internal_function.
31258 2017-08-31 Florian Weimer <fweimer@redhat.com>
31260 * malloc/malloc.c (top_check): Change return type to void. Remove
31262 * malloc/hooks.c (top_check): Likewise.
31263 (malloc_check, realloc_check, memalign_check): Adjust.
31265 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31268 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31269 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31270 sigcontext and namespace requirements.
31271 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31272 * sysdeps/m68k/sys/ucontext.h: Likewise.
31273 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31274 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31275 <bits/sigcontext.h>.
31276 (__ctx): Define earlier.
31277 (mcontext_t): Define structure contents rather than using struct
31279 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31280 __glibc_reserved1 instead of __reserved.
31281 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31282 <bits/sigcontext.h>.
31283 (__ctx): Define earlier.
31284 (mcontext_t): Define structure contents rather than using struct
31286 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31287 mcontext_t instead of struct sigcontext.
31288 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31289 <bits/sigcontext.h>.
31290 (__ctx): Define earlier.
31291 (mcontext_t): Define structure contents rather than using struct
31293 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31294 <bits/sigcontext.h>.
31295 (__ctx): Define earlier.
31296 (mcontext_t): Define structure contents rather than using struct
31298 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31299 mcontext_t instead of struct sigcontext.
31300 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31301 mcontext_t instead of struct sigcontext.
31302 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31303 <bits/sigcontext.h>.
31304 (__ctx): New macro.
31305 (struct __ia64_fpreg_mcontext): New type.
31306 (mcontext_t): Define structure contents rather than using struct
31308 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31309 (uc_sigmask): Define using __ctx.
31310 (uc_stack): Likewise.
31311 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31312 <bits/sigcontext.h>.
31313 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31314 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31315 <bits/sigcontext.h>.
31316 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31317 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31318 <bits/sigcontext.h>.
31319 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31320 <bits/sigcontext.h>.
31321 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31322 <bits/sigcontext.h>.
31323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31324 <bits/sigcontext.h>.
31325 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31326 <bits/sigcontext.h>.
31327 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31328 <bits/sigcontext.h>.
31329 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31330 <bits/sigcontext.h>.
31331 (__ctx): Define earlier.
31332 (mcontext_t): Define structure contents rather than using struct
31334 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31335 <bits/sigcontext.h>. Include <bits/types.h>.
31336 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31337 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31338 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31339 (test-xfail-UNIX98/signal.h/conform): Likewise.
31340 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31341 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31342 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31343 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31344 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31345 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31346 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31347 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31348 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31350 2017-08-30 Florian Weimer <fweimer@redhat.com>
31352 * malloc/dynarray_emplace_enlarge.c
31353 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31354 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31355 * malloc/tst-dynarray.c (test_long_overflow): New function.
31356 (do_test): Call it.
31358 2017-08-30 Florian Weimer <fweimer@redhat.com>
31360 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31361 (set_arena_corrupt): Remove definitions.
31362 (mtrim): Do not check for corrupt arena.
31363 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31366 2017-08-30 Florian Weimer <fweimer@redhat.com>
31369 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31371 (ptmalloc_init): Do not set or use check_action.
31372 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31373 call to malloc_printerr. Remove return statement.
31374 (free_check): Likewise. Remove arena unlock.
31375 (top_check): Update comment. Adjust call to malloc_printerr.
31376 Remove heap repair code.
31377 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31378 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31379 (sysmalloc): Adjust call to malloc_printerr.
31380 (munmap_chunk, __libc_realloc): Likewise. Remove return
31382 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31383 Remove errout label and corresponding gotos.
31384 (_int_free): Likewise. Remove arena unlock.
31385 (do_set_mallopt_check): Do not set check_action.
31386 (malloc_printerr): Adjust parameter list. Do not mark arena as
31388 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31390 * manual/probes.texi (Memory Allocation Probes): Remove
31391 memory_mallopt_check_action.
31393 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31395 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31396 Use pointer to uint64_t instead of long int for sp.
31398 2017-08-30 Florian Weimer <fweimer@redhat.com>
31401 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31402 without printing a backtrace. Do not leak any information in the
31404 * manual/memory.texi (Heap Consistency Checking): Update.
31405 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31407 2017-08-30 Florian Weimer <fweimer@redhat.com>
31409 Do not scale NPTL tests with available number of CPUs.
31410 * nptl/tst-cond16.c (count): Set to constant value of 8.
31411 * nptl/tst-cond18.c (count): Likewise.
31413 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31416 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31417 Define to take a second argument that is a macro that
31418 concatentates a suffix, not the suffix itself.
31419 (__CONCAT_d): New macro.
31420 (__CONCAT_f): Likewise.
31421 (__CONCAT_l): Likewise.
31423 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31425 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31428 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31429 Aurelien Jarno <aurelien@aurel32.net>
31430 Maciej W. Rozycki <macro@imgtec.com>
31433 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31434 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31435 `mips16-syscall6' and `mips16-syscall7'.
31436 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31437 (CFLAGS-mips16-syscall7.c): Remove.
31438 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31439 Remove `__mips16_syscall5', `__mips16_syscall6' and
31440 `__mips16_syscall7'.
31441 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31442 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31443 `__mips_syscall_return'.
31444 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31445 (__mips16_syscall1): Likewise.
31446 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31447 (__mips16_syscall2): Likewise.
31448 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31449 (__mips16_syscall3): Likewise.
31450 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31451 (__mips16_syscall4): Likewise.
31452 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31454 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31456 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31458 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31459 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31460 `__mips16_syscall5'. Remove prototype.
31461 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31462 `__mips16_syscall6'. Remove prototype.
31463 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31464 `__mips16_syscall7'. Remove prototype.
31465 (__nomips16, __mips16_syscall_return): Move to...
31466 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31467 (__nomips16, __mips_syscall_return): ... here.
31468 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31469 `__mips16_syscall_return' to `__mips_syscall_return'.
31470 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31471 `internal_syscall##nr'.
31472 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31473 `internal_syscall##nr'.
31474 (FORCE_FRAME_POINTER): Remove.
31475 (__mips_syscall5): New prototype.
31476 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31477 (__mips_syscall6): New prototype.
31478 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31479 (__mips_syscall7): New prototype.
31480 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31481 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31482 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31483 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31484 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31485 (sysdep_routines): Add libc-do-syscall.
31486 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31487 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31489 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31492 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31493 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31494 (advise_stack_range): New function.
31495 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31496 stack non required to advise_stack_range at allocatestack.c
31498 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31500 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31502 2017-08-29 Florian Weimer <fweimer@redhat.com>
31505 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31506 __end_fct. Mangle __end_fct after setting it to NULL.
31507 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31508 (modules-names, modules-names-tests): Add
31509 tst-gconv-init-failure-mod.
31510 (gconv-modules): New target.
31511 (tst-gconv-init-failure-mod.so): Link against libsupport.
31512 (tst-gconv-init-failure): Depend on gconv-modules,
31513 tst-gconv-init-failure-mod.so.
31514 * iconv/tst-gconv-init-failure-mod.c: New file.
31515 * iconv/tst-gconv-init-failure.c: Likewise.
31516 * iconv/test-gconv-modules: Likewise.
31518 2017-08-29 Florian Weimer <fweimer@redhat.com>
31521 * iconv/gconv_db.c (free_derivation): Remove redundant
31523 (gen_steps): Unconditionally mangle __btowc_fct after
31525 (increment_counter): Likewise. Do not call init_fct for internal
31528 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31531 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31532 (_MSUF_): Remove macro.
31533 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31535 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31536 (__REDIRFROM_X): New macro.
31537 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31539 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31540 (__REDIRTO_X): Likewise.
31541 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31543 (__MATH_REDIRCALL_2): Likewise.
31544 (__MATH_REDIRCALL_INTERNAL): Likewise.
31545 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31546 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31547 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31548 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31549 * math/test-finite-macros.c: New file.
31550 * math/Makefile (tests): Add test-finite-macros.
31551 (CFLAGS-test-finite-macros.c): New variable.
31553 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31554 Jeff Law <law@redhat.com>
31557 Mangle NULL pointers in iconv/gconv.
31558 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31559 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31560 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31561 is non-NULL before demangling the end_fct. Check for NULL
31562 end_fct after demangling.
31563 (__gconv_release_step): Demangle the end_fct before checking
31564 it for NULL. Remove assert on __shlibc_handle != NULL.
31565 (gen_steps): Don't check btowc_fct for NULL before mangling.
31566 Demangle init_fct before checking for NULL.
31567 (increment_counter): Likewise.
31568 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31569 end_fct for NULL before mangling.
31570 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31573 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31576 * locale/iso-639.def: add Morisyen.
31578 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31581 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31582 (iszero): New C++ implementation that does not use
31583 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31584 signaling nans are enabled, since __builtin_types_compatible_p
31585 is a C-only feature.
31586 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31587 defined, include ieee754_float128.h for access to the union and
31588 member ieee854_float128.ieee.
31589 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31590 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31591 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31592 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31593 options of test-math-zero on powerpc64le.
31595 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31597 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31598 Change double to float.
31600 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31602 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31604 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31605 conditional code; define contents only for [LIBM_SVID_COMPAT].
31607 2017-08-28 Florian Weimer <fweimer@redhat.com>
31609 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31610 (abi-lp64_be-options): Remove.
31611 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31612 (abi-hard-options): Likewise.
31613 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31614 (abi-o32_hard-options, abi-o32_soft_2008-options)
31615 (abi-o32_hard_2008-options, abi-n32_soft-options)
31616 (abi-n32_hard-options, abi-n32_soft_2008-options)
31617 (abi-n32_hard_2008-options, abi-n64_soft-options)
31618 (abi-n64_hard-options, abi-n64_soft_2008-options)
31619 (abi-n64_hard_2008-options): Likewise.
31620 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31621 (abi-64-v1-options, abi-64-v2-options): Likewise.
31622 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31623 (abi-64-options): Likewise.
31624 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31625 (abi-64-options): Likewise.
31626 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31627 (abi-64-options): Likewise.
31628 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31629 (abi-64-options, abi-x32-options): Likewise.
31631 2017-08-28 Florian Weimer <fweimer@redhat.com>
31633 Store supported list of SYS_* system calls in the source tree.
31634 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31635 (bits/syscall.h): Generate from list file.
31636 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31637 [$(subdir) = misc] (tests): Add tst-syscall-list.
31638 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31639 [$(subdir) = misc] (tst-syscall-list-macros.list)
31640 [$(subdir) = misc] (tst-syscall-list-nr.list)
31641 (tst-syscall-list-sys.list): Helper targets for new
31642 tst-syscall-list test.
31643 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31644 tst-syscall-list.sh.
31645 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31646 target. Do not include bits/syscall.d.
31647 [$(subdir) = misc] (generated): Do not update.
31648 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31649 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31650 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31651 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31653 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31655 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31656 (tst-cxa_atexit, tst-on_exit): Likewise.
31657 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31658 tst-cxa_atexit, and tst-on_exit.
31659 * stdlib/tst-atexit-common.c: New file.
31660 * stdlib/tst-atexit.c: New file.
31661 * stdlib/tst-at_quick_exit.c: New file.
31662 * stdlib/tst-cxa_atexit.c: New file.
31663 * stdlib/tst-on_exit.c: New file.
31665 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31667 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31668 * mach/stack_chk_fail_local.c: New file.
31669 * hurd/stack_chk_fail_local.c: New file.
31670 * mach/Machrules ($(interface-library)-routines): Add
31671 stack_chk_fail_local.
31672 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31673 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31674 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31675 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31676 * hurd/Makefile (CFLAGS-hurdstartup.o,
31677 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31679 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31681 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31682 (index_cpu_*, index_arch_*): Removed.
31684 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31686 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31687 Use uint64_t instead of unsigned long.
31689 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31691 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31692 [__HAVE_DISTINCT_FLOAT128].
31694 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31695 of <bits/math-finite.h>.
31696 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31697 inclusion of <bits/math-finite.h>.
31698 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31699 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31700 __NO_LONG_DOUBLE_MATH].
31701 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31702 (__MATH_REDIRCALL_2): Likewise.
31703 (__MATH_REDIRCALL_INTERNAL): Likewise.
31704 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31705 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31706 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31720 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31721 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31722 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31723 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31725 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31726 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31727 w_sqrtf_compat-ppc32.
31729 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31731 * math/math.h [defined __cplusplus] (issignaling): In the long
31732 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31733 is not defined. Call __issignaling, otherwise.
31735 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31737 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31738 syscall definitions and replace __builtin_expect with __glibc_likely.
31739 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31741 (SYSCALL_CANCELLABLE): Removedefinition
31742 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31744 (PSEUDO_END): Likewise.
31745 [IS_IN (libpthread)] (CENABLE): Likewise.
31746 [IS_IN (libpthread)] (CDISABLE): Likewise.
31747 [IS_IN (libc)] (CENABLE): Likewise.
31748 [IS_IN (libc)] (CENABLE): Likewise.
31749 [IS_IN (librt)] (CDISABLE): Likewise.
31750 [IS_IN (librt)] (CDISABLE): Likewise.
31751 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31752 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31754 (PSEUDO_END): Likewise.
31755 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31756 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31757 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31758 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31759 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31760 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31761 (CENABLE): Likewise.
31762 (CDISABLE): Likewise.
31763 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31764 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31766 (PSEUDO_END): Likewise.
31767 [IS_IN (libpthread)] (CENABLE): Likewise.
31768 [IS_IN (libpthread)] (CDISABLE): Likewise.
31769 [IS_IN (libc)] (CENABLE): Likewise.
31770 [IS_IN (libc)] (CENABLE): Likewise.
31771 [IS_IN (librt)] (CDISABLE): Likewise.
31772 [IS_IN (librt)] (CDISABLE): Likewise.
31773 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31774 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31776 (PSEUDO_END): Likewise.
31777 [IS_IN (libpthread)] (CENABLE): Likewise.
31778 [IS_IN (libpthread)] (CDISABLE): Likewise.
31779 [IS_IN (libc)] (CENABLE): Likewise.
31780 [IS_IN (libc)] (CENABLE): Likewise.
31781 [IS_IN (librt)] (CDISABLE): Likewise.
31782 [IS_IN (librt)] (CDISABLE): Likewise.
31783 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31784 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31786 (PSEUDO_END): Likewise.
31787 [IS_IN (libpthread)] (CENABLE): Likewise.
31788 [IS_IN (libpthread)] (CDISABLE): Likewise.
31789 [IS_IN (libc)] (CENABLE): Likewise.
31790 [IS_IN (libc)] (CENABLE): Likewise.
31791 [IS_IN (librt)] (CDISABLE): Likewise.
31792 [IS_IN (librt)] (CDISABLE): Likewise.
31793 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31794 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31796 (PSEUDO_END): Likewise.
31797 [IS_IN (libpthread)] (CENABLE): Likewise.
31798 [IS_IN (libpthread)] (CDISABLE): Likewise.
31799 [IS_IN (libc)] (CENABLE): Likewise.
31800 [IS_IN (libc)] (CENABLE): Likewise.
31801 [IS_IN (librt)] (CDISABLE): Likewise.
31802 [IS_IN (librt)] (CDISABLE): Likewise.
31803 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31804 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31806 (PSEUDO_END): Likewise.
31807 [IS_IN (libpthread)] (CENABLE): Likewise.
31808 [IS_IN (libpthread)] (CDISABLE): Likewise.
31809 [IS_IN (libc)] (CENABLE): Likewise.
31810 [IS_IN (libc)] (CENABLE): Likewise.
31811 [IS_IN (librt)] (CDISABLE): Likewise.
31812 [IS_IN (librt)] (CDISABLE): Likewise.
31813 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31814 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31816 (PSEUDO_END): Likewise.
31817 [IS_IN (libpthread)] (CENABLE): Likewise.
31818 [IS_IN (libpthread)] (CDISABLE): Likewise.
31819 [IS_IN (libc)] (CENABLE): Likewise.
31820 [IS_IN (libc)] (CENABLE): Likewise.
31821 [IS_IN (librt)] (CDISABLE): Likewise.
31822 [IS_IN (librt)] (CDISABLE): Likewise.
31823 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31824 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31826 (PSEUDO_END): Likewise.
31827 [IS_IN (libpthread)] (CENABLE): Likewise.
31828 [IS_IN (libpthread)] (CDISABLE): Likewise.
31829 [IS_IN (libc)] (CENABLE): Likewise.
31830 [IS_IN (libc)] (CENABLE): Likewise.
31831 [IS_IN (librt)] (CDISABLE): Likewise.
31832 [IS_IN (librt)] (CDISABLE): Likewise.
31833 (SINGLE_THREAD_P): Likewise.
31834 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31836 (PSEUDO_END): Likewise.
31837 [IS_IN (libpthread)] (CENABLE): Likewise.
31838 [IS_IN (libpthread)] (CDISABLE): Likewise.
31839 [IS_IN (libc)] (CENABLE): Likewise.
31840 [IS_IN (libc)] (CENABLE): Likewise.
31841 [IS_IN (librt)] (CDISABLE): Likewise.
31842 [IS_IN (librt)] (CDISABLE): Likewise.
31843 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31844 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31846 (PSEUDO_END): Likewise.
31847 [IS_IN (libpthread)] (CENABLE): Likewise.
31848 [IS_IN (libpthread)] (CDISABLE): Likewise.
31849 [IS_IN (libc)] (CENABLE): Likewise.
31850 [IS_IN (libc)] (CENABLE): Likewise.
31851 [IS_IN (librt)] (CDISABLE): Likewise.
31852 [IS_IN (librt)] (CDISABLE): Likewise.
31853 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31854 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31855 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31856 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31859 (PSEUDO_END): Likewise.
31860 [IS_IN (libpthread)] (CENABLE): Likewise.
31861 [IS_IN (libpthread)] (CDISABLE): Likewise.
31862 [IS_IN (libc)] (CENABLE): Likewise.
31863 [IS_IN (libc)] (CENABLE): Likewise.
31864 [IS_IN (librt)] (CDISABLE): Likewise.
31865 [IS_IN (librt)] (CDISABLE): Likewise.
31866 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31869 (PSEUDO_END): Likewise.
31870 [IS_IN (libpthread)] (CENABLE): Likewise.
31871 [IS_IN (libpthread)] (CDISABLE): Likewise.
31872 [IS_IN (libc)] (CENABLE): Likewise.
31873 [IS_IN (libc)] (CENABLE): Likewise.
31874 [IS_IN (librt)] (CDISABLE): Likewise.
31875 [IS_IN (librt)] (CDISABLE): Likewise.
31876 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31877 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31879 (PSEUDO_END): Likewise.
31880 [IS_IN (libpthread)] (CENABLE): Likewise.
31881 [IS_IN (libpthread)] (CDISABLE): Likewise.
31882 [IS_IN (libc)] (CENABLE): Likewise.
31883 [IS_IN (libc)] (CENABLE): Likewise.
31884 [IS_IN (librt)] (CDISABLE): Likewise.
31885 [IS_IN (librt)] (CDISABLE): Likewise.
31886 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31889 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31890 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31892 (PSEUDO_END): Likewise.
31893 [IS_IN (libpthread)] (CENABLE): Likewise.
31894 [IS_IN (libpthread)] (CDISABLE): Likewise.
31895 [IS_IN (libc)] (CENABLE): Likewise.
31896 [IS_IN (libc)] (CENABLE): Likewise.
31897 [IS_IN (librt)] (CDISABLE): Likewise.
31898 [IS_IN (librt)] (CDISABLE): Likewise.
31899 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31900 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31902 (PSEUDO_END): Likewise.
31903 [IS_IN (libpthread)] (CENABLE): Likewise.
31904 [IS_IN (libpthread)] (CDISABLE): Likewise.
31905 [IS_IN (libc)] (CENABLE): Likewise.
31906 [IS_IN (libc)] (CENABLE): Likewise.
31907 [IS_IN (librt)] (CDISABLE): Likewise.
31908 [IS_IN (librt)] (CDISABLE): Likewise.
31909 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31911 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31913 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31915 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31917 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31919 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31922 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31923 middle and outer with size_t instead of int. Repleace %d and
31924 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31925 "MAX (outer, nchars - 64)" to support unsigned outer and
31926 nchars. Also exit loop when outer == 0.
31928 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31930 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31931 * include/signal.h (__sigsuspend_nocancel): Likewise.
31932 * include/time.h (__nanosleep_nocancel): Likewise.
31933 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31934 * login/utmp_file.c: Include non cancellable syscall header.
31935 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31938 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31940 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31941 .byte sequences with AVX512F instructions.
31942 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31943 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31944 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31945 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31947 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31950 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31951 Steve Ellcey <sellcey@cavium.com>
31953 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31954 Use PTR_REG macro in cmp instruction.
31956 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31958 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31959 Change the return type of the ifunc resolver to match the return
31960 type of the target function.
31962 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31964 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31965 (preadv64): Likewise.
31966 (pwrite64(: Likewise.
31967 (pwritev64): Likewise.
31969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31970 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31971 (LOAD_ARGS_0): Likewise.
31972 (LOAD_ARGS_1): Likewise.
31973 (LOAD_ARGS_2): Likewise.
31974 (LOAD_ARGS_3): Likewise.
31975 (LOAD_ARGS_4): Likewise.
31976 (LOAD_ARGS_5): Likewise.
31977 (LOAD_ARGS_6): Likewise.
31978 (LOAD_REGS_0): Likewise.
31979 (LOAD_REGS_1): Likewise.
31980 (LOAD_REGS_2): Likewise.
31981 (LOAD_REGS_3): Likewise.
31982 (LOAD_REGS_4): Likewise.
31983 (LOAD_REGS_5): Likewise.
31984 (LOAD_REGS_6): Likewise.
31985 (ASM_ARGS_0): Likewise.
31986 (ASM_ARGS_1): Likewise.
31987 (ASM_ARGS_2): Likewise.
31988 (ASM_ARGS_3): Likewise.
31989 (ASM_ARGS_4): Likewise.
31990 (ASM_ARGS_5): Likewise.
31991 (ASM_ARGS_6): Likewise.
31992 (LOAD_ARGS_TYPES_1): Likewise.
31993 (LOAD_ARGS_TYPES_2): Likewise.
31994 (LOAD_ARGS_TYPES_3): Likewise.
31995 (LOAD_ARGS_TYPES_4): Likewise.
31996 (LOAD_ARGS_TYPES_5): Likewise.
31997 (LOAD_ARGS_TYPES_6): Likewise.
31998 (LOAD_REGS_TYPES_1): Likewise.
31999 (LOAD_REGS_TYPES_2): Likewise.
32000 (LOAD_REGS_TYPES_3): Likewise.
32001 (LOAD_REGS_TYPES_4): Likewise.
32002 (LOAD_REGS_TYPES_5): Likewise.
32003 (LOAD_REGS_TYPES_6): Likewise.
32004 (TYPEFY): New define.
32005 (ARGIFY): Likewise.
32006 (internal_syscall0): Likewise.
32007 (internal_syscall1): Likewise.
32008 (internal_syscall2): Likewise.
32009 (internal_syscall3): Likewise.
32010 (internal_syscall4): Likewise.
32011 (internal_syscall5): Likewise.
32012 (internal_syscall6): Likewise.
32013 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32014 (INTERNAL_SYSCALL_NCS): Remove define.
32015 (internal_syscall1): Add define.
32017 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32019 * math/w_remainder_compat.c: Remove duplicate inclusion of
32020 math-svid-compat.h.
32021 * math/w_remainderf_compat.c: Likewise.
32022 * math/w_remainderl_compat.c: Likewise.
32024 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32028 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32031 * math/tgmath.h (__floating_type): Simplify definitions.
32032 (__real_integer_type): New macro.
32033 (__complex_integer_type): Likewise.
32034 (__expr_is_real): Likewise.
32035 (__tgmath_real_type_sub): Update comment to describe handling of
32037 (__tgmath_complex_type_sub): New macro.
32038 (__tgmath_complex_type): Likewise.
32039 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32040 (__TGMATH_CF128): Use __expr_is_real.
32041 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32043 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32044 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32045 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32048 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32050 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32052 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32054 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32057 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32058 nanosleep_not_cancel with __nanosleep_nocancel.
32059 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32060 (__nanosleep_nocancel): New macro.
32061 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32063 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32065 (__nanosleep_nocancel): New prototype.
32067 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32068 pause_not_cancel with __pause_nocancel.
32069 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32070 (__pause_nocancel): New macro.
32071 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32073 (__pause_nocancel): New prototype.
32074 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32076 2017-08-22 Martin Sebor <msebor@redhat.com>
32078 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32079 to return a pointer to the same type as the target function.
32081 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32085 * include/printf.h (__printf_fphex): Add attribute_hidden.
32086 (__guess_grouping): New prototype.
32087 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32088 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32089 libc_hidden_proto and libc_hidden_def.
32090 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32091 (__vstrfmon_l): Remove the third argument passed to
32094 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32096 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32097 definition for issignaling that does not rely on __MATH_TG,
32098 since __MATH_TG uses __builtin_types_compatible_p, which is only
32099 available in C mode.
32100 (CFLAGS-test-math-issignaling.cc): New variable.
32101 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32102 * math/test-math-issignaling.cc: New test for C++ implementation
32103 of type-generic issignaling.
32104 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32105 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32106 options of test-math-issignaling on powerpc64le.
32108 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32110 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32112 (hidden_proto): Likewise.
32113 (hidden_tls_proto): Likewise.
32114 (__hidden_proto): Likewise.
32116 2017-08-22 Florian Weimer <fweimer@redhat.com>
32118 math: Statically link tests of internal functionality.
32119 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32121 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32122 (gmp-objs): Remove assignment.
32123 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32125 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32128 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32130 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32132 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32135 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32136 variable definitions above inclusion of ../Rules.
32138 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32141 case calling __builtin_unreachable.
32143 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32145 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32146 __waitpid_nocancel.
32147 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32148 (__waitpid_nocancel): New macro.
32149 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32151 (__waitpid_nocancel): Replace macro with a function.
32152 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32155 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32157 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32158 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32160 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32161 __writev_nocancel_nostatus.
32162 (write_call_graph): Likewise.
32163 (write_bb_counts): Likewise.
32164 * resolv/herror.c (herror): Likewise.
32165 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32167 (__writev_nocancel_nostatus): New macro.
32168 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32170 (__writev_nocancel_nostatus): New function.
32172 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32175 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32177 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32179 (hidden_proto): Likewise.
32180 (hidden_tls_proto): Likewise.
32181 (__hidden_proto): Likewise.
32184 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32185 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32194 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32195 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32196 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32197 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32198 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32199 GLIBC_2.0 sqrtl symbol.
32201 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32202 [__USE_MISC] (_LIB_VERSION): Likewise.
32203 [__USE_MISC] (struct exception): Likewise.
32204 [__USE_MISC] (matherr): Likewise.
32205 [__USE_MISC] (DOMAIN): Likewise.
32206 [__USE_MISC] (SING): Likewise.
32207 [__USE_MISC] (OVERFLOW): Likewise.
32208 [__USE_MISC] (UNDERFLOW): Likewise.
32209 [__USE_MISC] (TLOSS): Likewise.
32210 [__USE_MISC] (PLOSS): Likewise.
32211 [__USE_MISC] (HUGE): Likewise.
32212 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32213 * math/math-svid-compat.h: New file.
32214 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32216 * include/math.h [!_ISOMAC] (__matherr): Remove.
32217 * manual/arith.texi (FP Exceptions): Do not document matherr.
32218 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32219 (tests-internal): New variable.
32220 (install-lib): Do not add libieee.a.
32221 (non-lib.a): Likewise.
32222 (extra-objs): Do not add libieee.a and ieee-math.o.
32223 (CPPFLAGS-s_lib_version.c): Remove variable.
32224 ($(objpfx)libieee.a): Remove rule.
32225 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32226 * math/ieee-math.c: Remove.
32227 * math/libm-test-support.c (matherr): Remove.
32228 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32229 and license notices. Include <math-svid-compat.h> and
32231 (matherr): Undefine as macro. Use compat_symbol_reference.
32232 (_LIB_VERSION): Likewise.
32233 * math/test-matherr-2.c: New file.
32234 * math/test-matherr-3.c: Likewise.
32235 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32237 (__kernel_standard_f): Likewise.
32238 (__kernel_standard_l): Likewise.
32239 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32240 <math_private.h>. Include <math-svid-compat.h>.
32241 (_LIB_VERSION): Undefine as macro.
32242 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32243 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32244 [LIBM_SVID_COMPAT], use compat_symbol.
32245 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32246 <math_private.h>. Include <math-svid-compat.h>.
32247 (matherr): Undefine as macro.
32248 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32250 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32251 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32252 compat_symbol_reference.
32253 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32254 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32255 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32256 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32257 (MATHERR_D): Remove declaration.
32258 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32259 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32260 [LIBM_BUILD] (pmatherrf): Likewise.
32261 [LIBM_BUILD] (pmatherr): Likewise.
32262 [LIBM_BUILD] (pmatherrl): Likewise.
32263 (DOMAIN): Likewise.
32265 (OVERFLOW): Likewise.
32266 (UNDERFLOW): Likewise.
32269 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32270 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32272 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32273 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32275 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32276 * math/w_acos_compat.c: Likewise.
32277 * math/w_acosf_compat.c: Likewise.
32278 * math/w_acosh_compat.c: Likewise.
32279 * math/w_acoshf_compat.c: Likewise.
32280 * math/w_acoshl_compat.c: Likewise.
32281 * math/w_acosl_compat.c: Likewise.
32282 * math/w_asin_compat.c: Likewise.
32283 * math/w_asinf_compat.c: Likewise.
32284 * math/w_asinl_compat.c: Likewise.
32285 * math/w_atan2_compat.c: Likewise.
32286 * math/w_atan2f_compat.c: Likewise.
32287 * math/w_atan2l_compat.c: Likewise.
32288 * math/w_atanh_compat.c: Likewise.
32289 * math/w_atanhf_compat.c: Likewise.
32290 * math/w_atanhl_compat.c: Likewise.
32291 * math/w_cosh_compat.c: Likewise.
32292 * math/w_coshf_compat.c: Likewise.
32293 * math/w_coshl_compat.c: Likewise.
32294 * math/w_exp10_compat.c: Likewise.
32295 * math/w_exp10f_compat.c: Likewise.
32296 * math/w_exp10l_compat.c: Likewise.
32297 * math/w_exp2_compat.c: Likewise.
32298 * math/w_exp2f_compat.c: Likewise.
32299 * math/w_exp2l_compat.c: Likewise.
32300 * math/w_fmod_compat.c: Likewise.
32301 * math/w_fmodf_compat.c: Likewise.
32302 * math/w_fmodl_compat.c: Likewise.
32303 * math/w_hypot_compat.c: Likewise.
32304 * math/w_hypotf_compat.c: Likewise.
32305 * math/w_hypotl_compat.c: Likewise.
32306 * math/w_j0_compat.c: Likewise.
32307 * math/w_j0f_compat.c: Likewise.
32308 * math/w_j0l_compat.c: Likewise.
32309 * math/w_j1_compat.c: Likewise.
32310 * math/w_j1f_compat.c: Likewise.
32311 * math/w_j1l_compat.c: Likewise.
32312 * math/w_jn_compat.c: Likewise.
32313 * math/w_jnf_compat.c: Likewise.
32314 * math/w_jnl_compat.c: Likewise.
32315 * math/w_lgamma_main.c: Likewise.
32316 * math/w_lgamma_r_compat.c: Likewise.
32317 * math/w_lgammaf_main.c: Likewise.
32318 * math/w_lgammaf_r_compat.c: Likewise.
32319 * math/w_lgammal_main.c: Likewise.
32320 * math/w_lgammal_r_compat.c: Likewise.
32321 * math/w_log10_compat.c: Likewise.
32322 * math/w_log10f_compat.c: Likewise.
32323 * math/w_log10l_compat.c: Likewise.
32324 * math/w_log2_compat.c: Likewise.
32325 * math/w_log2f_compat.c: Likewise.
32326 * math/w_log2l_compat.c: Likewise.
32327 * math/w_log_compat.c: Likewise.
32328 * math/w_logf_compat.c: Likewise.
32329 * math/w_logl_compat.c: Likewise.
32330 * math/w_pow_compat.c: Likewise.
32331 * math/w_powf_compat.c: Likewise.
32332 * math/w_powl_compat.c: Likewise.
32333 * math/w_remainder_compat.c: Likewise.
32334 * math/w_remainderf_compat.c: Likewise.
32335 * math/w_remainderl_compat.c: Likewise.
32336 * math/w_scalb_compat.c: Likewise.
32337 * math/w_scalbf_compat.c: Likewise.
32338 * math/w_scalbl_compat.c: Likewise.
32339 * math/w_sinh_compat.c: Likewise.
32340 * math/w_sinhf_compat.c: Likewise.
32341 * math/w_sinhl_compat.c: Likewise.
32342 * math/w_sqrt_compat.c: Likewise.
32343 * math/w_sqrtf_compat.c: Likewise.
32344 * math/w_sqrtl_compat.c: Likewise.
32345 * math/w_tgamma_compat.c: Likewise.
32346 * math/w_tgammaf_compat.c: Likewise.
32347 * math/w_tgammal_compat.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32349 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32350 * sysdeps/ieee754/k_standard.c: Likewise.
32351 * sysdeps/ieee754/k_standardf.c: Likewise.
32352 * sysdeps/ieee754/k_standardl.c: Likewise.
32353 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32354 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32355 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32356 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32357 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32358 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32359 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32360 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32361 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32367 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32368 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32369 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32371 2017-08-21 Florian Weimer <fweimer@redhat.com>
32374 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32375 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32376 Move before inclusion of ../Rules.
32378 2017-08-21 Florian Weimer <fweimer@redhat.com>
32381 * assert/assert.h (assert): Use static_cast (bool) for C++.
32382 Use the ternary operator in the warning branch for GNU C.
32383 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32384 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32385 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32386 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32387 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32389 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32392 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32393 (__syscall_clock_gettime): Add attribute_hidden.
32394 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32395 (__start_context): Likewise.
32397 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32399 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32401 (hidden_proto): Likewise.
32402 (hidden_tls_proto): Likewise.
32403 (__hidden_proto): Likewise.
32405 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32407 * include/libc-symbols.h (attribute_hidden): Enable hidden
32408 visibility in libc.a compiled with PIE.
32410 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32413 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32414 Add attribute_hidden.
32416 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32419 * Makerules (all-nonlib): Add $(others-extras).
32420 * catgets/Makefile (others-extras): New.
32421 * elf/Makefile (others-extras): Likewise.
32422 * nss/Makefile (others-extras): Likewise.
32424 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32427 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32428 * elf/dl-open.c: Include <libc-internal.h>.
32429 (__libc_multiple_libcs): Removed.
32430 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32432 * include/libc-internal.h (__libc_multiple_libcs): New.
32433 * misc/sbrk.c: Include <libc-internal.h>.
32434 (__libc_multiple_libcs): Removed.
32436 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32439 * grp/initgroups.c (__nss_group_database): Removed.
32440 (__nss_initgroups_database): Likewise.
32441 * nscd/gai.c (__nss_hosts_database): Likewise.
32442 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32443 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32444 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32445 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32446 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32447 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32449 * nss/nsswitch.c (__nss_database_custom): Define only if
32450 USE_NSCD is defined.
32451 (__nss_configure_lookup): Use __nss_database_custom only if
32452 USE_NSCD is defined.
32453 * nss/nsswitch.h (__nss_database_custom): Declare only if
32454 USE_NSCD is defined. Add attribute_hidden.
32455 (__nss_setent): Add attribute_hidden.
32456 (__nss_endent): Likewise.
32457 (__nss_getent_r): Likewise.
32458 (__nss_getent): Likewise.
32459 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32461 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32464 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32465 libc_hidden_proto and libc_hidden_def.
32467 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32470 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32471 Add libc_hidden_proto.
32472 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32473 Add libc_hidden_def.
32475 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32478 * gmon/Makefile (routines): Remove bb_init_func and
32480 (elide-routines.os): Removed.
32481 * gmon/bb_exit_func.c: Likewise.
32482 * gmon/bb_init_func.c: Likewise.
32483 * include/sys/gmon.h (__bb): Likewise.
32484 (__bb_init_func): Likewise.
32485 (__bb_exit_func): Likewise.
32486 * sysdeps/alpha/bb_init_func.S: Likewise.
32488 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32490 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32491 * include/setjmp.h (____longjmp_chk): Here. Add
32494 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32497 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32499 (__strspn_sse2): Likewise.
32501 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32503 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32504 (close_not_cancel_no_status): Likewise.
32505 (__close_nocancel): New macro.
32506 (__close_nocancel_nostatus): Likewise.
32507 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32509 (close_not_cancel): Likewise.
32510 (close_not_cancel_no_status): Likewise.
32511 (__close_nocancel): New prototype.
32512 (__close_nocancel_nostatus): New function.
32513 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32514 * catgets/open_catalog.c (__open_catalog): Replace
32515 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32516 * gmon/gmon.c (write_gmon): Likewise.
32517 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32518 * intl/loadmsgcat.c (close): Likewise.
32519 * io/ftw.c (open_dir_stream): Likewise.
32520 (ftw_startup): Likewise.
32521 * libio/fileops.c (_IO_file_open): Likewise.
32522 (_IO_file_close_mmap): Likewise.
32523 (_IO_file_close): Likewise.
32524 * libio/iopopen.c (_IO_dup2): Likewise.
32525 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32526 * locale/loadlocale.c (_nl_load_locale): Likewise.
32527 * login/utmp_file.c (pututline_file): Likewise.
32528 (endutent_file): Likewise.
32529 * misc/daemon.c (daemon): Likewise.
32530 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32531 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32532 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32533 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32534 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32535 * nscd/nscd_helper.c (open_socket): Likewise.
32536 (__nscd_open_socket): Likewise.
32537 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32538 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32539 (__nscd_innetgr): Likewise.
32540 * nss/nss_db/db-open.c (internal_setent): Likewise.
32541 * resolv/res-close.c (__res_iclose): Likewise.
32542 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32543 * sysdeps/posix/closedir.c (__closedir): Likewise.
32544 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32545 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32546 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32547 (opendir_tail): Likewise.
32548 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32549 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32550 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32551 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32552 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32553 (gethostid): Likewise.
32554 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32555 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32557 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32558 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32559 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32560 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32562 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32563 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32564 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32566 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32567 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32569 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32571 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32572 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32573 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32576 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32577 (openat_not_cancel_3): Likewise.
32578 (openat64_not_cancel_3): Likewise).
32579 (openat_not_cancel_3): Likewise).
32580 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32582 (openat_not_cancel_3): Likewise.
32583 (openat64_not_cancel): Likewise.
32584 (openat64_not_cancel_3): Likewise.
32585 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32586 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32587 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32588 __open{64}_nocancel.
32589 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32590 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32591 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32593 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32596 * include/argz.h (__argz_create_sep): New function prototype.
32597 (__argz_append): Likewise.
32598 (__argz_add): Likewise.
32599 (__argz_add_sep): Likewise.
32600 (__argz_delete): Likewise.
32601 (__argz_insert): Likewise.
32602 (__argz_replace): Likewise.
32603 * string/argz.h (__argz_create_sep): Removed.
32604 (__argz_append): Likewise.
32605 (__argz_add): Likewise.
32606 (__argz_add_sep): Likewise.
32607 (__argz_delete): Likewise.
32608 (__argz_insert): Likewise.
32609 (__argz_replace): Likewise.
32611 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32613 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32614 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32615 (GNU_PROPERTY_STACK_SIZE): Likewie.
32616 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32617 (GNU_PROPERTY_LOPROC): Likewise.
32618 (GNU_PROPERTY_HIPROC): Likewise.
32619 (GNU_PROPERTY_LOUSER): Likewise.
32620 (GNU_PROPERTY_HIUSER): Likewise.
32621 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32622 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32623 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32624 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32625 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32626 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32627 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32628 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32629 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32630 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32631 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32632 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32633 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32634 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32635 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32636 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32637 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32638 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32639 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32640 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32641 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32642 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32643 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32645 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32647 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32650 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32653 * math/math.h (isinf): Check if in C or C++ mode before using
32654 __builtin_types_compatible_p, since this is a C mode feature.
32656 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32658 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32659 (__write_nocancel): New macro.
32660 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32661 Rewrite as a function prototype.
32662 (write_not_cancel): Remove macro.
32663 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32664 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32665 (write_gmon): Likewise.
32666 * libio/fileops.c (_IO_new_file_write): Likewise.
32667 * login/utmp_file.c (pututline_file): Likewise.
32668 (updwtmp_file): Likewise.
32669 * stdio-common/psiginfo.c (psiginfo): Likewise.
32670 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32671 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32672 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32674 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32677 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32678 (__read_nocancel): New macro.
32679 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32681 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32683 (__read_nocancel): New prototype.
32684 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32685 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32686 with __read_nocancel.
32687 * intl/loadmsgcat.c (read): Likewise.
32688 * libio/fileops.c (_IO_file_read): Likewise.
32689 * locale/loadlocale.c (_nl_load_locale): Likewise.
32690 * login/utmp_file.c (getutent_r_file): Likewise.
32691 (internal_getut_r): Likewise.
32692 (getutline_r_file): Likewise.
32693 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32694 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32695 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32696 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32698 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32699 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32700 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32702 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32704 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32706 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32708 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32710 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32713 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32714 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32717 2017-08-17 DJ Delorie <dj@redhat.com>
32719 * bug17079.c: Update to new test harness.
32720 * test-digits-dots.c: Likewise.
32721 * test-netdb.c: Likewise.
32722 * tst-field.c: Likewise.
32723 * tst-nss-getpwent.c: Likewise.
32724 * tst-nss-static.c: Likewise.
32725 * tst-nss-test1.c: Likewise.
32726 * tst-nss-test2.c: Likewise.
32727 * tst-nss-test3.c: Likewise.
32728 * tst-nss-test4.c: Likewise.
32729 * tst-nss-test5.c: Likewise.
32731 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32733 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32734 (open_not_cancel_2): Likewise.
32735 (open_nocancel): New macro.
32736 (open64_nocancel): Likewise.
32737 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32738 (open_not_cancel_2): Likewise.
32739 (__open_nocancel): New prototype.
32740 (__open64_nocancel): Likewise.
32741 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32743 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32744 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32745 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32746 with __open_nocancel.
32747 * csu/check_fds.c (check_one_fd): Likewise.
32748 * gmon/gmon.c (write_gmon): Likewise.
32749 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32750 * intl/loadmsgcat.c (open): Likewise.
32751 * libio/fileops.c (_IO_file_open): Likewise.
32752 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32753 * locale/loadlocale.c (_nl_load_locale): Likewise.
32754 * login/utmp_file.c (setutent_file): Likewise.
32755 * misc/daemon.c (daemon): Likewise.
32756 * nss/nss_db/db-open.c (internal_setent): Likewise.
32757 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32758 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32759 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32760 (__opendir): Likewise.
32761 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32762 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32763 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32764 (gethostid): Likewise.
32765 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32766 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32769 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32770 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32771 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32773 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32775 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32777 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32779 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32781 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32783 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32784 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32786 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32788 * benchtests/bench-skeleton.c (main): Add support for
32789 latency benchmarking.
32790 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32792 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32794 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32795 the startup object.
32797 2017-08-17 Florian Weimer <fweimer@redhat.com>
32799 * include/sys/socket.h (__opensock): Remove internal_function.
32800 * socket/opensock.c (__opensock): Likewise.
32801 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32803 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32806 * signal/bits/types/__sigval_t.h: New file.
32807 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32808 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32809 and define sigval_t using __sigval_t.
32810 * include/bits/types/__sigval_t.h: New file.
32811 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32812 instead of <bits/types/__sigval_t.h>.
32813 (struct sigevent): Use __sigval_t instead of sigval_t.
32814 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32815 instead of <bits/types/__sigval_t.h>.
32816 (siginfo_t): Use __sigval_t instead of sigval_t.
32817 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32818 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32819 (struct sigevent): Use __sigval_t instead of sigval_t.
32820 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32821 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32822 (siginfo_t): Use __sigval_t instead of sigval_t.
32823 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32825 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32827 * NEWS: Remove "[Add new features here]" for 2.27.
32829 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32831 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32834 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32836 * NEWS: Mention x86-64 FMA optimization.
32838 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32841 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32843 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32844 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32845 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32847 2017-08-16 Andreas Schwab <schwab@suse.de>
32851 * elf/ldd.bash.in: Never run file directly.
32853 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32856 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32857 (L(SP_INF_0)): Likewise.
32859 2017-08-15 Florian Weimer <fweimer@redhat.com>
32861 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32864 2017-08-15 Florian Weimer <fweimer@redhat.com>
32866 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32867 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32868 BROKEN_THREAD_SIGNALS code.
32869 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32870 request_list): Remove caller_pid member used for
32871 BROKEN_THREAD_SIGNALS.
32872 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32873 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32874 Remove BROKEN_THREAD_SIGNALS support.
32875 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32876 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32878 2017-08-15 Florian Weimer <fweimer@redhat.com>
32880 * gmon/Makefile (tests): Add tst-gmon.
32881 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32883 (tests-special): Add tst-gmon-prof.out.
32884 (tst-gmon.out): Depend on clean-tst-gmon-data.
32885 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32886 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32887 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32889 * aclocal.m4 (GPROF): Set and substitute.
32890 * config.amke.in (GPROF): Set.
32891 * configure: Regenerate.
32893 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32895 * elf/elf.h A (NT_PPC_TAR): New macro.
32896 (NT_PPC_PPR): Likewise.
32897 (NT_PPC_DSCR): Likewise.
32898 (NT_PPC_EBB): Likewise.
32899 (NT_PPC_PMU): Likewise.
32900 (NT_PPC_TM_CGPR): Likewise.
32901 (NT_PPC_TM_CFPR): Likewise.
32902 (NT_PPC_TM_CVMX): Likewise.
32903 (NT_PPC_TM_CVSX): Likewise.
32904 (NT_PPC_TM_SPR): Likewise.
32905 (NT_PPC_TM_CTAR): Likewise.
32906 (NT_PPC_TM_CPPR): Likewise.
32907 (NT_PPC_TM_CDSCR): Likewise.
32909 2017-08-15 Florian Weimer <fweimer@redhat.com>
32911 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32912 regparm (2) instead of internal_function.
32913 (_MCOUNT_DECL): Adjust.
32915 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32917 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32918 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32920 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32922 * conform/data/sys/wait.h-data (si_value): Do not expect for
32925 2017-08-14 Florian Weimer <fweimer@redhat.com>
32928 NSS: Create stubs for accidentally exported lookup functions.
32929 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32930 Remove declaration.
32931 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32932 (ether_hostton): Call __nss_ethers_lookup2 instead.
32933 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32934 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32935 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32936 (setup): Call __nss_netgroup_lookup2 instead.
32937 * nss/Makefile (routines): Add compat-lookup.
32938 * nss/Versions (GLIBC_2.27): Add symbol version.
32939 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32940 (DB_COMPAT_FCT): Remove.
32941 * nss/compat-lookup.c: New file.
32942 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32943 from databases.def.
32944 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32945 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32946 (netname2user): Call __nss_publickey_lookup2 instead.
32947 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32948 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32951 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32952 Sergei Trofimovich <slyfox@inbox.ru>
32955 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32956 Rename to MMAP2_PAGE_UNIT.
32957 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32958 __OFF_T_MATCHES_OFF64_T is not defined.
32959 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32961 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32962 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32964 2017-08-14 Florian Weimer <fweimer@redhat.com>
32966 i386: Do not set internal_function.
32967 * config.h.in (USE_REGPARMS, internal_function): Remove.
32968 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32969 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32971 2017-08-14 Florian Weimer <fweimer@redhat.com>
32973 * elf/dl-init.c (_dl_init): Remove internal_function.
32974 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32975 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32977 2017-08-14 Florian Weimer <fweimer@redhat.com>
32979 * elf/rtld.c (_dl_start): Remove internal_function.
32980 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32983 2017-08-14 Florian Weimer <fweimer@redhat.com>
32985 * elf/dl-fini.c (_dl_fini): Remove internal_function
32986 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32988 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32990 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32991 (bit_cpu_SHSTK): Likewise.
32992 (index_cpu_IBT): Likewise.
32993 (index_cpu_SHSTK): Likewise.
32994 (reg_IBT): Likewise.
32995 (reg_SHSTK): Likewise.
32996 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32997 Handle index_cpu_IBT and index_cpu_SHSTK.
32999 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33002 * po/fr.po: Fix spelling mistake.
33004 2017-08-13 Florian Weimer <fweimer@redhat.com>
33006 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33007 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33008 (_dl_catch_error, _dl_receive_error): Likewise.
33009 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33010 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33011 (_dl_deallocate_tls): Likewise.
33012 * include/dlfcn.h (_dl_addr): Likewise.
33013 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33014 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33015 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33018 2017-08-13 Florian Weimer <fweimer@redhat.com>
33020 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33021 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33023 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33025 2017-08-13 Florian Weimer <fweimer@redhat.com>
33027 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33029 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33030 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33031 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33032 internal_function from _dl_make_stack_executable_hook member.
33033 (_dl_make_stack_executable): Remove internal_function.
33034 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33036 * sysdeps/unix/sysv/linux/dl-execstack.c
33037 (_dl_make_stack_executable): Likewise.
33039 2017-08-13 Florian Weimer <fweimer@redhat.com>
33041 * sysdeps/unix/sysv/linux/netlinkaccess.h
33042 (__netlink_assert_response): Remove internal_function.
33043 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33044 (__netlink_assert_response): Likewise.
33046 2017-08-13 Florian Weimer <fweimer@redhat.com>
33048 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33050 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33052 2017-08-13 Florian Weimer <fweimer@redhat.com>
33054 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33056 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33057 * inet/netgroup.h (__internal_setnetgrent)
33058 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33059 * inet/getnetgrent_r.c (__internal_setnetgrent)
33060 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33061 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33062 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33063 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33064 * nss/nsswitch.h (db_lookup_function): Likewise.
33066 2017-08-13 Florian Weimer <fweimer@redhat.com>
33068 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33069 Remove internal_function.
33070 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33071 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33072 message argument on the stack.
33073 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33076 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33078 Adapt test case data to the changes in the thousands
33082 * localedata/tst-langinfo.sh: Adapt test case data.
33083 * stdlib/tst-strfmon_l.c: Likewise.
33084 * stdlib/tst-strtod4.c: Likewise.
33085 * stdlib/tst-strtod5i.c: Likewise.
33087 2017-08-11 Florian Weimer <fweimer@redhat.com>
33090 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33091 Suppress pedantic warning resulting from statement expression.
33092 (__ASSERT_FUNCTION): Add missing __extension__.
33094 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33096 * benchtests/bench-memmove-large.c: Print output in JSON
33098 * benchtests/bench-memmove.c: Likewise.
33100 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33101 * benchtests/bench-memchr.c (do_one_test): Likewise.
33102 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33103 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33104 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33105 * benchtests/bench-memmove.c (do_one_test): Likewise.
33106 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33107 * benchtests/bench-memset.c (do_one_test): Likewise.
33108 * benchtests/bench-string.h (test_init): Remove memsets.
33110 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33113 (Computing the Width of an Integer Data Type): Rename section to
33114 "Width of an Integer Type". Remove inaccurate statement regarding
33115 lack of C language facilities for determining width of integer
33116 types, and reorder content to improve flow and context of
33119 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33121 * lang.texi (va_copy): Change standard from ISO to C99.
33122 (__va_copy): Add standard and header annotation.
33123 Update description for clarity of origins and current use.
33125 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33128 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33129 xssqrtqp requires operands to be in Vector Registers
33130 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33131 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33132 (__ieee754_sqrtf128): Likewise.
33134 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33136 * sysdeps/aarch64/memcmp.S (memcmp):
33137 Rewrite of optimized memcmp.
33139 2017-08-10 Florian Weimer <fweimer@redhat.com>
33141 Introduce ld.so exceptions.
33142 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33143 (_dl_exception_create, _dl_exception_create_format)
33144 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33145 (_dl_catch_exception): Declare.
33146 (_dl_catch_error): Update comment.
33147 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33148 errstring, malloced members with exception member.
33149 (_dl_out_of_memory): Remove.
33150 (fatal_error): New function, extracted from _dl_signal_error.
33151 (_dl_signal_exception, _dl_signal_cexception): New functions.
33152 (_dl_signal_error): Call _dl_exception_create to allocate an
33154 (_dl_catch_exception): New function, based on _dl_catch_error.
33155 (_dl_catch_error): Implement using _dl_catch_exception.
33156 * elf/dl-exception.c: New file.
33157 * elf/Makefile (dl-routines): Add dl-exception.
33158 (elide-routines.os): Likewise.
33159 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33160 _dl_exception_create_format, _dl_exception_free.
33161 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33162 _dl_signal_exception.
33163 * elf/dl-lookup.c (make_string): Remove.
33164 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33165 _dl_signal_cexception, _dl_exception_free.
33166 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33167 _dl_signal_exception.
33168 * elf/dl-sym.c (do_sym): Likewise.
33169 * elf/dl-version.c (make_string): Remove.
33170 (match_symbol): Use _dl_exception_create_format,
33171 _dl_signal_cexception, _dl_exception_free.
33172 (_dl_check_map_versions): Likewise.
33173 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33174 _dl_catch_exception.
33175 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33176 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33177 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33178 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33179 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33180 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33181 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33182 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33184 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33191 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33192 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33193 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33195 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33197 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33199 2017-08-10 Florian Weimer <fweimer@redhat.com>
33201 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33202 attribute_hidden, internal_function.
33203 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33206 2017-08-10 Florian Weimer <fweimer@redhat.com>
33208 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33209 function which calls __builtin_unreachable.
33211 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33213 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33214 Indian monetary formatting
33215 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33218 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33220 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33221 Fix typo in comment.
33224 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33225 PTRACE_SEIZE_DEVEL): Remove.
33226 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33227 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33230 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33232 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33234 * posix/bits/types.h (__qaddr_t): Remove.
33237 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33238 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33240 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33241 (ucontext_t): Use __ctx with uc_flags.
33242 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33243 (__ctxt): Likewise.
33244 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33246 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33247 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33249 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33250 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33252 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33254 (ucontext_t): Use __ctx with uc_flags.
33255 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33256 (ucontext_t): Use __ctx with uc_flags.
33257 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33258 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33259 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33260 (ucontext_t): Use __ctx with uc_flags.
33261 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33262 undefine further down.
33263 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33265 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33266 undefine further down.
33267 (ucontext_t): Use __ctx with uc_flags.
33268 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33269 undefine further down.
33270 (ucontext_t): Use __ctx with uc_flags.
33271 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33272 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33273 Rename uc_pad to __glibc_reserved1.
33274 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33275 undefine further down.
33276 (ucontext_t): Use __ctx with uc_flags.
33277 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33279 (ucontext_t): Use __ctx with uc_flags.
33280 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33281 __ctx with uc_flags.
33282 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33283 (ucontext_t): Use __ctx with uc_flags.
33284 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33285 __ctx with uc_flags.
33287 2017-08-09 Florian Weimer <fweimer@redhat.com>
33290 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33291 before early return.
33293 2017-08-09 Andreas Schwab <schwab@suse.de>
33296 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33300 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33301 tst-compat-forwarder.
33302 (modules-names): Add tst-compat-forwarder-mod.
33303 ($(objpfx)tst-compat-forwarder): Depend on
33304 $(objpfx)tst-compat-forwarder-mod.so.
33305 * nptl/tst-compat-forwarder.c: New file.
33306 * nptl/tst-compat-forwarder-mod.c: New file.
33308 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33310 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33313 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33314 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33316 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33318 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33319 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33320 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33321 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33323 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33326 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33329 * manual/setjmp.texi (getcontex): Document uc_stack value
33330 compatibility differences.
33332 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33334 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33335 (old_malloc_hook): Likewise.
33336 (old_memalign_hook): Likewise.
33337 (old_realloc_hook): Likewise.
33338 (struct hdr): Likewise.
33340 (freehook): Likewise.
33341 (mallochook): Likewise.
33342 (memalignhook): Likewise.
33343 (reallochook): Likewise.
33344 (mprobe): Likewise.
33345 * malloc/mtrace.c (mallwatch): Likewise.
33346 (tr_old_free_hook): Likewise.
33347 (tr_old_malloc_hook): Likewise.
33348 (tr_old_realloc_hook): Likewise.
33349 (tr_old_memalign_hook): Likewise.
33350 (tr_where): Likewise.
33351 (lock_and_info): Likewise.
33352 (tr_freehook): Likewise.
33353 (tr_mallochook): Likewise.
33354 (tr_reallochook): Likewise.
33355 (tr_memalignhook): Likewise.
33356 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33357 * misc/mmap.c (__mmap): Likewise.
33358 * misc/mmap64.c (__mmap64): Likewise.
33359 * misc/mprotect.c (__mprotect): Likewise.
33360 * misc/msync.c (msync): Likewise.
33361 * misc/munmap.c (__munmap): Likewise.
33362 * posix/posix_madvise.c (posix_madvise): Likewise.
33363 * socket/send.c (__send): Likewise.
33364 * socket/sendto.c (__sendto): Likewise.
33365 * socket/setsockopt.c (__setsockopt): Likewise.
33366 * string/memcmp.c (__ptr_t): Remove macro.
33367 (MEMCMP): Use void * instead of ptr_t.
33368 * string/memrchr.c (__ptr_t): Remove macro.
33369 (__memrchr): Use void * instead of ptr_t.
33370 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33371 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33372 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33373 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33374 * sysdeps/mach/msync.c (msync): Likewise.
33375 * sysdeps/mach/munmap.c (__munmap): Likewise.
33376 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33378 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33379 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33380 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33381 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33382 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33383 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33384 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33385 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33387 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33388 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33389 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33390 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33391 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33392 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33393 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33394 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33395 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33397 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33398 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33399 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33400 (MEMCMP): Use void * instead of ptr_t.
33401 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33402 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33404 2017-08-08 Florian Weimer <fweimer@redhat.com>
33406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33409 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33412 * csu/libc-tls.c: Include <startup.h> first.
33413 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33414 * elf/dl-tunables.c: Include <startup.h> first.
33415 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33416 * sysdeps/generic/startup.h: New file.
33417 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33418 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33419 (I386_USE_SYSENTER): New. Defined to 0.
33421 2017-08-08 Andreas Schwab <schwab@suse.de>
33424 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33425 * nptl/pt-system.c (system): Likewise.
33427 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33430 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33432 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33433 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33434 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33435 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33436 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33437 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33438 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33440 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33443 * bits/sigaction.h (struct sigaction): Define sa_handler and
33444 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33445 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33446 [__USE_XOPEN_EXTENDED].
33447 (SA_RESTART): Likewise.
33448 (SA_NODEFER): Likewise.
33449 (SA_RESETHAND): Likewise.
33450 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33451 (struct sigaction): Define sa_handler and sa_sigaction using union
33452 also for [__USE_XOPEN_EXTENDED].
33453 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33454 [__USE_XOPEN_EXTENDED].
33455 (SA_RESTART): Likewise.
33456 (SA_NODEFER): Likewise.
33457 (SA_RESETHAND): Likewise.
33458 * sysdeps/unix/sysv/linux/bits/sigaction.h
33459 (struct sigaction): Define sa_handler and sa_sigaction using union
33460 also for [__USE_XOPEN_EXTENDED].
33461 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33462 [__USE_XOPEN_EXTENDED].
33463 (SA_RESTART): Likewise.
33464 (SA_NODEFER): Likewise.
33465 (SA_RESETHAND): Likewise.
33466 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33467 (struct sigaction): Define sa_handler and sa_sigaction using union
33468 also for [__USE_XOPEN_EXTENDED].
33469 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33470 [__USE_XOPEN_EXTENDED].
33471 (SA_RESTART): Likewise.
33472 (SA_NODEFER): Likewise.
33473 (SA_RESETHAND): Likewise.
33474 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33475 (struct sigaction): Define sa_handler and sa_sigaction using union
33476 also for [__USE_XOPEN_EXTENDED].
33477 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33478 [__USE_XOPEN_EXTENDED].
33479 (SA_RESTART): Likewise.
33480 (SA_NODEFER): Likewise.
33481 (SA_RESETHAND): Likewise.
33482 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33483 (struct sigaction): Define sa_handler and sa_sigaction using union
33484 also for [__USE_XOPEN_EXTENDED].
33485 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33486 [__USE_XOPEN_EXTENDED].
33487 (SA_RESTART): Likewise.
33488 (SA_NODEFER): Likewise.
33489 (SA_RESETHAND): Likewise.
33490 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33491 (struct sigaction): Define sa_handler and sa_sigaction using union
33492 also for [__USE_XOPEN_EXTENDED].
33493 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33494 [__USE_XOPEN_EXTENDED].
33495 (SA_RESTART): Likewise.
33496 (SA_NODEFER): Likewise.
33497 (SA_RESETHAND): Likewise.
33498 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33499 (struct sigaction): Define sa_handler and sa_sigaction using union
33500 also for [__USE_XOPEN_EXTENDED].
33501 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33502 [__USE_XOPEN_EXTENDED].
33503 (SA_RESTART): Likewise.
33504 (SA_NODEFER): Likewise. Define directly rather than as alias.
33505 (SA_RESETHAND): Likewise.
33506 (SA_INTERRUPT): Define only for [__USE_MISC].
33507 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33508 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33510 (SA_STACK): Define only for [__USE_MISC].
33511 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33512 (struct sigaction): Define sa_handler and sa_sigaction using union
33513 also for [__USE_XOPEN_EXTENDED].
33514 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33515 [__USE_XOPEN_EXTENDED].
33516 (SA_RESTART): Likewise.
33517 (SA_NODEFER): Likewise.
33518 (SA_RESETHAND): Likewise.
33519 (SA_NOPTRACE): Define only for [__USE_MISC].
33521 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33522 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33523 (struct catalog_info): Likewise.
33524 * inet/htontest.c (lo): Likewise.
33526 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33527 * inet/inet_net.c (inet_network): Likewise.
33528 * inet/inet_netof.c (inet_netof): Likewise.
33529 * inet/rcmd.c (__ivaliduser): Likewise.
33530 (iruserok): Likewise.
33531 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33532 * locale/programs/locale-spec.c (locale_special): Likewise.
33533 * nis/nis_findserv.c (struct findserv_req): Likewise.
33534 (__nis_findfastest_with_timeout): Likewise.
33535 * nss/test-netdb.c (test_network): Likewise.
33536 * resolv/inet_neta.c (inet_neta): Likewise.
33537 * resolv/ns_date.c (ns_datetosecs): Likewise.
33538 (SECS_PER_DAY): Likewise.
33539 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33541 * resolv/res_comp.c (__putlong): Likewise.
33542 (__putshort): Likewise.
33543 (_getlong): Likewise.
33544 (_getshort): Likewise.
33545 * resolv/res_debug.c (p_time): Likewise.
33546 (precsize_ntoa): Likewise.
33547 (precsize_aton): Likewise.
33548 (latlon2ul): Likewise.
33549 (loc_aton): Likewise.
33550 (loc_ntoa): Likewise.
33551 * resolv/res_hconf.c (struct netaddr): Likewise.
33552 (_res_hconf_reorder_addrs): Likewise.
33553 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33554 (clnttcp_control): Likewise.
33555 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33556 (clntudp_control): Likewise.
33557 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33558 (clntunix_control): Likewise.
33559 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33560 * sunrpc/rpc/auth.h (union des_block): Likewise.
33561 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33562 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33563 (xdrrec_create): Likewise.
33564 (xdrrec_endofrecord): Likewise.
33565 (flush_out): Likewise.
33566 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33567 (xdrstdio_putlong): Likewise.
33568 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33571 * misc/sys/cdefs.h (__long_double_t): Remove.
33572 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33573 instead of __long_double_t,
33574 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33576 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33578 * benchtests/scripts/compare_strings.py: Avoid display error when
33579 running on a text terminal.
33581 * benchtests/scripts/compare_strings.py (main): Add an
33582 optional -base option.
33583 (process_results): New argument base_func.
33585 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33587 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33588 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33590 2017-08-07 Andreas Schwab <schwab@suse.de>
33592 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33593 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33594 * intl/Makefile ($(objpfx)tst-gettext.out)
33595 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33596 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33597 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33598 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33599 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33600 * posix/Makefile ($(objpfx)globtest.out)
33601 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33602 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33603 ($(objpfx)tst-printf.out): Likewise.
33604 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33605 ($(objpfx)tst-setcontext3.out): Likewise.
33607 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33609 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33610 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33611 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33612 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33613 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33615 (CFLAGS-doasin-fma.c): New.
33616 (CFLAGS-dosincos-fma.c): Likewise.
33617 (CFLAGS-e_asin-fma.c): Likewise.
33618 (CFLAGS-e_atan2-fma.c): Likewise.
33619 (CFLAGS-e_exp-fma.c): Likewise.
33620 (CFLAGS-e_log-fma.c): Likewise.
33621 (CFLAGS-e_pow-fma.c): Likewise.
33622 (CFLAGS-halfulp-fma.c): Likewise.
33623 (CFLAGS-mpa-fma.c): Likewise.
33624 (CFLAGS-mpatan-fma.c): Likewise.
33625 (CFLAGS-mpatan2-fma.c): Likewise.
33626 (CFLAGS-mpexp-fma.c): Likewise.
33627 (CFLAGS-mplog-fma.c): Likewise.
33628 (CFLAGS-mpsqrt-fma.c): Likewise.
33629 (CFLAGS-mptan-fma.c): Likewise.
33630 (CFLAGS-s_atan-fma.c): Likewise.
33631 (CFLAGS-sincos32-fma.c): Likewise.
33632 (CFLAGS-slowexp-fma.c): Likewise.
33633 (CFLAGS-slowpow-fma.c): Likewise.
33634 (CFLAGS-s_sin-fma.c): Likewise.
33635 (CFLAGS-s_tan-fma.c): Likewise.
33636 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33637 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33638 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33639 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33640 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33641 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33642 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33643 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33644 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33645 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33646 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33647 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33648 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33649 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33650 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33651 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33652 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33653 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33654 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33655 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33656 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33657 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33658 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33659 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33661 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33662 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33663 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33664 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33665 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33668 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33670 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33671 (min_of_type_f): New macro.
33672 (min_of_type_): Likewise.
33673 (min_of_type_l): Likewise.
33674 (min_of_type_f128): Likewise.
33675 (min_of_type): Define using __MATH_TG and taking an expression
33677 (math_check_force_underflow): Pass expression instead of type to
33679 (math_check_force_underflow_nonneg): Likewise.
33681 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33683 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33684 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33685 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33687 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33690 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33691 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33692 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33693 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33694 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33695 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33696 memmove_chk-nonshared and memset_chk-nonshared
33697 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33698 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33699 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33700 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33701 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33702 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33703 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33704 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33705 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33706 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33707 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33708 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33709 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33710 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33711 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33712 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33713 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33714 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33715 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33716 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33717 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33718 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33719 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33720 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33721 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33722 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33723 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33724 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33725 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33726 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33727 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33728 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33729 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33730 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33731 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33732 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33733 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33734 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33735 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33736 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33737 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33738 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33739 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33740 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33741 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33742 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33743 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33744 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33745 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33746 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33747 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33748 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33749 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33750 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33751 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33752 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33753 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33754 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33755 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33756 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33757 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33758 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33759 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33760 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33761 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33762 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33763 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33764 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33765 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33766 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33767 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33768 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33769 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33770 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33771 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33772 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33773 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33774 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33775 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33776 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33777 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33778 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33779 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33780 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33781 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33782 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33783 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33784 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33785 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33786 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33787 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33788 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33789 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33790 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33791 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33792 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33793 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33794 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33795 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33796 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33797 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33798 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33799 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33800 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33801 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33802 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33803 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33804 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33806 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33808 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33809 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33810 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33811 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33812 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33813 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33814 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33815 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33816 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33817 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33818 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33819 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33820 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33821 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33822 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33823 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33824 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33825 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33826 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33827 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33828 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33829 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33830 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33831 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33832 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33833 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33834 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33835 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33836 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33837 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33838 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33839 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33840 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33841 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33842 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33843 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33844 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33845 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33846 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33847 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33848 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33849 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33850 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33851 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33852 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33853 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33854 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33855 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33856 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33857 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33858 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33859 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33860 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33861 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33862 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33863 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33864 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33865 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33866 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33868 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33869 Don't include <sysdep.h> nor <init-arch.h>.
33870 (_ZGVbN2v_cos): Removed.
33871 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33873 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33874 Don't include <sysdep.h> nor <init-arch.h>.
33875 (_ZGVdN4v_cos): Removed.
33876 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33878 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33879 Don't include <sysdep.h> nor <init-arch.h>.
33880 (_ZGVeN8v_cos): Removed.
33881 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33883 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33884 Don't include <sysdep.h> nor <init-arch.h>.
33885 (_ZGVbN2v_exp): Removed.
33886 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33888 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33889 Don't include <sysdep.h> nor <init-arch.h>.
33890 (_ZGVdN4v_exp): Removed.
33891 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33893 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33894 Don't include <sysdep.h> nor <init-arch.h>.
33895 (_ZGVeN8v_exp): Removed.
33896 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33898 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33899 Don't include <sysdep.h> nor <init-arch.h>.
33900 (_ZGVbN2v_log): Removed.
33901 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33903 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33904 Don't include <sysdep.h> nor <init-arch.h>.
33905 (_ZGVdN4v_log): Removed.
33906 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33908 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33909 Don't include <sysdep.h> nor <init-arch.h>.
33910 (_ZGVeN8v_log): Removed.
33911 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33913 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33914 Don't include <sysdep.h> nor <init-arch.h>.
33915 (_ZGVbN2vv_pow): Removed.
33916 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33918 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33919 Don't include <sysdep.h> nor <init-arch.h>.
33920 (_ZGVdN4vv_pow): Removed.
33921 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33923 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33924 Don't include <sysdep.h> nor <init-arch.h>.
33925 (_ZGVeN8vv_pow): Removed.
33926 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33928 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33929 Don't include <sysdep.h> nor <init-arch.h>.
33930 (_ZGVbN2v_sin): Removed.
33931 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33933 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33934 Don't include <sysdep.h> nor <init-arch.h>.
33935 (_ZGVbN4v_sin): Removed.
33936 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33938 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33939 Don't include <sysdep.h> nor <init-arch.h>.
33940 (_ZGVbN8v_sin): Removed.
33941 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33943 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33944 Don't include <sysdep.h> nor <init-arch.h>.
33945 (_ZGVbN2vvv_sincos): Removed.
33946 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33948 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33949 Don't include <sysdep.h> nor <init-arch.h>.
33950 (_ZGVdN4vvv_sincos): Removed.
33951 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33953 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33954 Don't include <sysdep.h> nor <init-arch.h>.
33955 (_ZGVeN8vvv_sincos): Removed.
33956 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33958 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33959 Don't include <sysdep.h> nor <init-arch.h>.
33960 (_ZGVeN16v_cosf): Removed.
33961 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33963 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33964 Don't include <sysdep.h> nor <init-arch.h>.
33965 (_ZGVbN4v_cosf): Removed.
33966 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33968 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33969 Don't include <sysdep.h> nor <init-arch.h>.
33970 (_ZGVdN8v_cosf): Removed.
33971 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33973 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33974 Don't include <sysdep.h> nor <init-arch.h>.
33975 (_ZGVeN16v_expf): Removed.
33976 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33978 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33979 Don't include <sysdep.h> nor <init-arch.h>.
33980 (_ZGVbN4v_expf): Removed.
33981 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33983 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33984 Don't include <sysdep.h> nor <init-arch.h>.
33985 (_ZGVdN8v_expf): Removed.
33986 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33988 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33989 Don't include <sysdep.h> nor <init-arch.h>.
33990 (_ZGVeN16v_logf): Removed.
33991 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33993 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33994 Don't include <sysdep.h> nor <init-arch.h>.
33995 (_ZGVbN4v_logf): Removed.
33996 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33998 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33999 Don't include <sysdep.h> nor <init-arch.h>.
34000 (_ZGVdN8v_logf): Removed.
34001 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34003 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34004 Don't include <sysdep.h> nor <init-arch.h>.
34005 (_ZGVeN16vv_powf): Removed.
34006 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34008 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34009 Don't include <sysdep.h> nor <init-arch.h>.
34010 (_ZGVbN4vv_powf): Removed.
34011 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34013 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34014 Don't include <sysdep.h> nor <init-arch.h>.
34015 (_ZGVdN8vv_powf): Removed.
34016 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34018 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34019 Don't include <sysdep.h> nor <init-arch.h>.
34020 (_ZGVeN16vvv_sincosf): Removed.
34021 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34023 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34024 Don't include <sysdep.h> nor <init-arch.h>.
34025 (_ZGVbN4vvv_sincosf): Removed.
34026 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34028 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34029 Don't include <sysdep.h> nor <init-arch.h>.
34030 (_ZGVdN8vvv_sincosf): Removed.
34031 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34033 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34034 Don't include <sysdep.h> nor <init-arch.h>.
34035 (_ZGVeN16v_sinf): Removed.
34036 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34038 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34039 Don't include <sysdep.h> nor <init-arch.h>.
34040 (_ZGVbN4v_sinf): Removed.
34041 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34043 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34044 Don't include <sysdep.h> nor <init-arch.h>.
34045 (_ZGVdN8v_sinf): Removed.
34047 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34049 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34050 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34051 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34052 s_rint-sse4_1 and s_rintf-sse4_1.
34053 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34054 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34055 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34056 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34057 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34058 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34059 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34060 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34061 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34062 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34063 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34064 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34066 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34067 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34068 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34069 (__ceilf): Removed.
34070 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34071 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34072 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34073 (__floor): Removed.
34074 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34075 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34076 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34077 (__floorf): Removed.
34078 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34079 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34080 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34081 (__nearbyint): Removed.
34082 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34083 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34084 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34085 (__nearbyintf): Removed.
34086 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34087 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34088 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34090 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34091 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34092 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34093 (__rintf): Removed.
34095 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34097 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34098 SHARED. Avoid dynamic relocation against main in static PIE.
34100 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34103 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34104 (LDFLAGS-tst-prelink): Likewise.
34106 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34108 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34109 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34110 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34111 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34112 (INTERNAL_SYSCALL_NCS): Likewise.
34113 (LOADARGS_1): Likewise.
34114 (LOADARGS_5): Likewise.
34115 (RESTOREARGS_1): Likewise.
34116 (RESTOREARGS_5): Likewise.
34118 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34120 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34121 (MEMPCPY_SYMBOL): Likewise.
34122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34123 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34126 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34127 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34129 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34130 (__hidden_ver1): Don't use in libc.a.
34131 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34132 (__mempcpy): Don't create a weak alias in libc.a.
34133 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34135 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34136 (__hidden_ver1): Don't use in libc.a.
34138 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34140 * config.make.in (have-insert): New.
34141 * configure.ac (libc_cv_insert): New. Set to yes if linker
34142 supports INSERT in linker script.
34143 (AC_SUBST(libc_cv_insert): New.
34144 * configure: Regenerated.
34145 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34146 if $(have-insert) == yes.
34148 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34150 * elf/Makefile (tests): Add vismain only if
34151 $(have-protected-data) == yes.
34152 (tests-pie): Likewise.
34154 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34157 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34158 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34160 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34163 * sysdeps/i386/i586/memset.S
34164 (__memset_zero_constant_len_parameter): Removed.
34165 * sysdeps/i386/i686/memset.S
34166 (__memset_zero_constant_len_parameter): Likewise.
34167 * sysdeps/i386/i686/multiarch/memset_chk.S
34168 (__memset_zero_constant_len_parameter): Likewise.
34169 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34172 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34174 * stdlib/getentropy.c (getentropy): Change return type to int.
34176 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34178 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34180 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34182 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34184 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34185 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34187 (ieee_float_shape_type): Likewise.
34188 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34189 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34190 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34191 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34192 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34193 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34194 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34195 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34196 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34198 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34199 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34200 (__ieee754_yn): Likewise.
34201 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34202 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34203 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34205 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34206 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34207 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34208 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34209 (__erfc): Likewise.
34210 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34211 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34212 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34213 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34214 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34215 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34217 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34218 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34219 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34220 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34221 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34222 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34223 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34224 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34225 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34226 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34227 (__issignaling): Likewise.
34228 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34229 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34230 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34232 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34233 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34234 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34235 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34237 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34239 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34240 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34241 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34242 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34243 (__erfcf): Likewise.
34244 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34245 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34246 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34247 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34249 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34250 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34252 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34253 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34254 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34255 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34256 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34257 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34258 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34259 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34261 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34263 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34265 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34266 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34268 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34270 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34271 (__ieee754_ynl): Likewise.
34272 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34273 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34275 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34277 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34278 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34279 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34281 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34282 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34283 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34284 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34285 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34286 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34287 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34288 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34290 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34291 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34292 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34294 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34295 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34296 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34297 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34298 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34301 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34307 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34308 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34309 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34310 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34311 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34312 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34315 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34317 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34318 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34320 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34321 (__ieee754_remainderl): Likewise.
34322 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34323 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34324 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34325 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34327 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34328 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34330 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34331 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34332 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34333 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34334 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34335 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34337 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34338 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34339 (__ieee754_y0l): Likewise.
34342 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34343 (__ieee754_y1l): Likewise.
34346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34347 (__ieee754_ynl): Likewise.
34348 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34349 (__ieee754_lgammal_r): Likewise.
34350 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34352 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34353 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34354 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34355 (__erfcl): Likewise.
34356 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34357 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34359 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34360 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34361 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34362 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34363 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34364 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34365 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34367 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34368 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34369 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34370 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34371 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34373 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34374 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34376 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34377 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34378 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34379 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34380 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34382 2017-08-03 Florian Weimer <fweimer@redhat.com>
34385 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34386 on memory allocation failure.
34388 2017-08-03 Alan Modra <amodra@gmail.com>
34390 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34391 tst-tlsopt-powerpc.c with function name change and no test harness.
34392 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34393 Call tls_get_addr_opt_test.
34394 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34395 (modules-names): Add mod-tlsopt-powerpc.
34396 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34397 (tst-tlsopt-powerpc): Depend on .so.
34398 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34399 define. Expand use in TLS_GD and TLS_LD.
34401 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34403 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34405 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34407 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34410 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34411 comparing size with that of double.
34412 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34413 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34414 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34415 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34416 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34417 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34418 unsigned __int128 types.
34420 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34422 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34423 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34424 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34425 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34426 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34428 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34430 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34432 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34434 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34436 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34437 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34439 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34440 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34441 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34442 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34444 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34447 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34448 bit-field expressions passed to sizeof or typeof.
34449 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34450 (__TGMATH_F128): Likewise.
34451 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34452 (__TGMATH_CF128): Likewise.
34453 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34454 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34455 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34456 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34457 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34458 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34459 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34460 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34461 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34462 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34463 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34464 (__TGMATH_UNARY_IMAG): Likewise.
34465 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34466 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34467 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34469 (define_vars_for_type): Handle bit_field type specially.
34470 (Tests.__init__): Declare structure with bit-field element.
34472 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34475 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34476 (MEMCPY_CHK): Define only if SHARED is defined.
34477 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34479 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34482 See ChangeLog.18 for earlier changes.