1 2019-05-10 Florian Weimer <fweimer@redhat.com>
3 * nptl/sem_close.c (struct walk_closure): Define.
4 (walker): Adjust for __twalk_r.
5 (sem_close): Call __twalk_r.
7 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9 * support/timespec.c (test_timespec_before_impl,
10 test_timespec_equal_or_after_impl): print timespec member as intmax_t
13 2019-05-09 Mike Crowe <mac@mcrowe.com>
15 * nptl/tst-abstime.c: Use libsupport.
17 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
18 small bug where only tv.tv_usec was checked which could cause an
19 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
22 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
25 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
26 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
28 * nptl/tst-cond11.c: Use libsupport.
30 * support/timespec.h: New file. Provide timespec helper functions
31 along with macros in the style of those in check.h.
32 * support/timespec.c: New file. Implement check functions declared
33 in support/timespec.h.
34 * support/timespec-add.c: New file from gnulib containing
35 timespec_add implementation that handles overflow.
36 * support/timespec-sub.c: New file from gnulib containing
37 timespec_sub implementation that handles overflow.
38 * support/README: Mention timespec.h.
40 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
43 * nptl/Makefile: Move tst-eintr1 to xtests.
45 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
47 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
49 (round_mode): Add definition for TRUNC.
50 * sysdeps/powerpc/fpu/s_trunc.c: New file.
51 * sysdeps/powerpc/fpu/s_truncf.c: New file.
52 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
53 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
56 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
58 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
60 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
62 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
64 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
66 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
68 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
70 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
71 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
72 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
73 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
74 s_truncf-power5+, and s_truncf-ppc64.
75 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
76 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
78 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
80 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
81 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
83 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
85 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
86 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
87 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
88 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
89 s_truncf-power5+, and s_truncf-ppc64.
90 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
92 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
93 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
95 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
96 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
97 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
98 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
99 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
101 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
103 (round_mode): Add definition for ROUND.
104 (round_to_integer_float): Likewise.
105 * sysdeps/powerpc/fpu/s_round.c: New file.
106 * sysdeps/powerpc/fpu/s_roundf.c: New file.
107 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
108 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
109 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
111 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
113 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
115 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
117 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
119 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
121 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
123 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
125 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
126 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
127 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
128 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
129 s_roundf-power5+, and s_roundf-ppc64.
130 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
131 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
133 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
135 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
136 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
138 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
141 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
143 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
144 s_roundf-power5+, and s_roundf-ppc64.
145 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
147 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
148 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
150 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
151 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
152 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
153 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
154 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
156 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
158 (round_mode): Add definition for FLOOR.
159 * sysdeps/powerpc/fpu/s_floor.c: New file.
160 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
161 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
162 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
179 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
180 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
181 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
182 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
183 s_floorf-power5+, and s_floorf-ppc64.
184 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
185 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
187 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
189 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
190 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
192 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
195 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
197 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
198 s_floorf-power5+, and s_floorf-ppc64.
199 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
207 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
208 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
209 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
210 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
212 2019-05-08 Mike Crowe <mac@mcrowe.com>
214 * support/xclock_gettime.c (xclock_gettime): New file. Provide
215 clock_gettime wrapper for use in tests that fails the test rather
216 than returning failure.
218 * support/xtime.h: New file to declare xclock_gettime.
220 * support/Makefile: Add xclock_gettime.c.
222 * support/README: Mention xtime.h.
224 2019-05-08 Florian Weimer <fweimer@redhat.com>
226 malloc/tst-mallocfork2: Use process-shared barriers.
227 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
228 (signal_count, sigusr1_sender_pid): Remove.
229 (iterations): Define constant.
230 (shared): New variable.
231 (sigusr1_received): Update comment.
232 (sigusr1_handler): Do not send SIGSTOP to the sender process.
233 (signal_sender): Optional use barriers to avoid sending signals
234 during irrelevant times.
235 (do_it): Initialize variable shared. Use xfork for error
236 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
237 the iteration count, independent of signal delivery. Check for
238 deadlocks in fork. Introduce barriers for reducing signal
239 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
240 replaced by the barriers. Count signals during fork/free/malloc
242 * malloc/Makefile (tst-mallocfork): Link with libpthread.
244 2019-05-07 Joseph Myers <joseph@codesourcery.com>
246 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
248 (clock_adjtime64) New syscall.
249 (clock_getres_time64) Likewise.
250 (clock_gettime64) Likewise.
251 (clock_nanosleep_time64) Likewise.
252 (clock_settime64) Likewise.
253 (futex_time64) Likewise.
254 (io_pgetevents_time64) Likewise.
255 (io_uring_enter) Likewise.
256 (io_uring_register) Likewise.
257 (io_uring_setup) Likewise.
258 (mq_timedreceive_time64) Likewise.
259 (mq_timedsend_time64) Likewise.
260 (pidfd_send_signal) Likewise.
261 (ppoll_time64) Likewise.
262 (pselect6_time64) Likewise.
263 (recvmmsg_time64) Likewise.
264 (rt_sigtimedwait_time64) Likewise.
265 (sched_rr_get_interval_time64) Likewise.
266 (semtimedop_time64) Likewise.
267 (timer_gettime64) Likewise.
268 (timer_settime64) Likewise.
269 (timerfd_gettime64) Likewise.
270 (timerfd_settime64) Likewise.
271 (utimensat_time64) Likewise.
273 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
276 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
278 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
279 __memmove_thunderx2 to the list of implementations
280 * sysdeps/aarch64/multiarch/memmove.c: Likewise
281 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
282 (__memmove_thunderx2): Rewritten using SIMD ld/st
283 (__memcpy_thunderx2): Fixed handling overlapping cases.
284 Used ldp/stp instead of ldr/str if possible. Made loops
287 2019-05-03 Florian Weimer <fweimer@redhat.com>
289 * misc/tst-tsearch.c (walk_tree): Add more error checking.
291 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
294 * elf/tst-pldd.c (in_str_list): New function.
295 (do_test): Add default names for ld and libc as one option.
297 2019-05-02 Florian Weimer <fweimer@redhat.com>
299 misc: Add twalk_r function.
300 * include/search.h (__twalk_r): Declare.
301 * manual/examples/twalk.c: New file.
302 * manual/search.texi (Tree Search Function): Document twalk_r.
303 * misc/Versions (2.30): Export twalk_r.
304 (GLIBC_PRIVATE): Export __twalk_r.
305 * misc/search.h [__USE_GNU] (twalk_r): Declare.
306 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
307 (twalk_r): Add weak alias.
308 * misc/tst-tsearch.c (struct walk_trace_element): Define.
309 (walk_trace): New variable.
310 (struct twalk_with_twalk_r_closure): Define.
311 (twalk_with_twalk_r_action): New function.
312 (twalk_with_twalk_r): Likewise.
313 (walk_action): Call walk_trace_add.
314 (walk_tree_with): Rename from walk_tree. Add walk argument.
315 (walk_tree): New function.
316 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
317 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
319 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
321 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
322 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
323 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
324 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
325 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
326 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
328 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
330 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
332 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
333 (GLIBC_2.30): Likewise.
334 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
335 (GLIBC_2.30): Likewise.
336 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
337 (GLIBC_2.30): Likewise.
338 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
339 (GLIBC_2.30): Likewise.
340 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
343 (GLIBC_2.30): Likewise.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
345 (GLIBC_2.30): Likewise.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
347 (GLIBC_2.30): Likewise.
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
349 (GLIBC_2.30): Likewise.
350 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
352 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
354 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
356 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
357 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
359 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
361 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
363 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
366 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
368 Make mktime etc. compatible with __time64_t
369 Keep these functions compatible with Gnulib while adding
370 __time64_t support. The basic idea is to move private API
371 declarations from include/time.h to time/mktime-internal.h, since
372 the former file cannot easily be shared with Gnulib whereas the
374 Also, do some other minor cleanup while in the neighborhood.
375 * include/time.h: Include stdbool.h, time/mktime-internal.h.
376 (__mktime_internal): Move this prototype to time/mktime-internal.h,
377 since Gnulib needs it.
378 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
379 Move these macros to time/mktime-internal.h, since Gnulib needs them.
380 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
381 (in_time_t_range): New static function.
382 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
383 so that glibc users are not tempted to use __time64_t.
384 * time/mktime-internal.h: Rewrite so that it does both glibc
385 and Gnulib work. Include time.h if not _LIBC.
386 (mktime_offset_t) [!_LIBC]: Define for gnulib.
387 (__time64_t): New type or macro, moved here from
389 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
390 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
392 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
393 New macros, taken from GNulib.
394 (__mktime_internal): New prototype, moved here from include/time.h.
395 * time/mktime.c (mktime_min, mktime_max, convert_time)
396 (ranged_convert, __mktime_internal, __mktime64):
397 * time/timegm.c (__timegm64):
398 Use __time64_t, not time_t.
399 * time/mktime.c: Stop worrying about whether time_t is floating-point.
400 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
402 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
403 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
406 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
408 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
410 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
413 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
414 from `-Wmaybe-uninitialized'.
415 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
417 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
419 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
421 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
422 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
423 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
424 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
425 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
427 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
445 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
446 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
447 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
449 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
452 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
453 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
455 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
458 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
460 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
461 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
462 s_ceilf-power5+, and s_ceilf-ppc64.
463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
468 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
469 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
470 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
471 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
473 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
474 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
475 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
477 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
479 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
480 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
481 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
482 (sem_getvalue): Likewise.
484 2019-04-26 Florian Weimer <fweimer@redhat.com>
486 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
487 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
489 2019-04-26 Florian Weimer <fweimer@redhat.com>
491 Makeconfig: Move -Wl,-rpath-link options before library references.
492 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
493 (link-libc): Remove $(link-libc-rpath-link).
495 2019-04-25 Florian Weimer <fweimer@redhat.com>
497 * Makeconfig (+link-pie-before-libc): Remove $(CC).
498 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
499 (+link-static-before-libc): Remove $(CC).
500 (+link-static, +link-static-tests): Add $(CC).
501 (+link-before-libc): Remove $(CC).
502 (+link, +link-pie, +link-pie-printers): Add $(CC).
504 2019-04-26 Florian Weimer <fweimer@redhat.com>
506 * Makeconfig (+link-pie-before-libc): Remove $(CC).
507 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
508 (+link-static-before-libc): Remove $(CC).
509 (+link-static, +link-static-tests): Add $(CC).
510 (+link-before-libc): Remove $(CC).
511 (+link, +link-pie, +link-pie-printers): Add $(CC).
513 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
516 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
518 2019-04-25 Florian Weimer <fweimer@redhat.com>
520 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
521 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
522 (bench-link-targets): New variable.
523 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
525 2019-04-25 Florian Weimer <fweimer@redhat.com>
527 Also enable BIND_NOW for programs if --enable-bind-now.
528 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
529 (+link-pie): Use $(link-extra-flags).
530 (+link-static): Likewise.
531 [! $(build-pie-default)] (+link): Likewise.
532 * manual/install.texi (Configuring and compiling): Update
533 --enable-bind-now description.
534 * INSTALL: Regenerated.
536 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
538 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
539 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
541 2019-04-24 Mike Frysinger <vapier@gentoo.org>
544 * malloc/Makefile (others): Add memusagestat.
545 ($(objpfx)memusagestat): Delete rule.
546 (LDLIBS-memusagestat): New variable.
548 2019-04-24 Florian Weimer <fweimer@redhat.com>
550 * locale/Makefile (tests-special): Guard setting by
551 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
552 to run while cross-compiling.
554 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
557 * elf/Makefile (tests-container): Add tst-pldd.
558 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
559 (E(find_maps)): Avoid use alloca, use default read file operations
560 instead of explicit LFS names, and fix infinite loop.
561 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
562 (get_process_info): Use _Static_assert instead of assert, use default
563 directory operations instead of explicit LFS names, and free some
565 * elf/tst-pldd.c: New file.
567 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
569 * malloc/arena.c (do_set_mallopt_check): Removed.
571 2019-04-23 Florian Weimer <fweimer@redhat.com>
573 locale: Add LOCPATH diagnostics to the locale program.
574 * locale/programs/locale.c (setlocale_failed): New variable.
575 (try_setlocale): New function.
576 (quote_string): Likewise.
577 (setlocale_diagnostics): Likewise.
578 (main): Call try_setlocale instead of setlocale. Call
579 setlocale_diagnostics.
580 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
581 (tst-locale-locpath.out): New target.
582 * locale/tst-locale-locpath.sh: New file.
584 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
586 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
589 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
592 * malloc/hooks.c (malloc_check, realloc_check): Use
593 __builtin_add_overflow on overflow check and adapt to
594 checked_request2size change.
595 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
596 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
597 allocation size to PTRDIFF_MAX.
598 (REQUEST_OUT_OF_RANGE): Remove macro.
599 (checked_request2size): Change to inline function and limit maximum
600 requested size to PTRDIFF_MAX.
601 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
602 maximum allocation size to PTRDIFF_MAX.
603 (_mid_memalign): Use _int_memalign call for overflow check.
604 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
605 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
606 limit maximum requested size to PTRDIFF_MAX.
607 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
608 valloc, pvalloc): Add __attribute_alloc_size__.
609 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
610 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
611 larger than PTRDIFF_MAX.
612 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
613 around tests of malloc with negative sizes.
614 * malloc/tst-posix_memalign.c (do_test): Likewise.
615 * malloc/tst-pvalloc.c (do_test): Likewise.
616 * malloc/tst-valloc.c (do_test): Likewise.
617 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
618 with resulting size allocation larger than PTRDIFF_MAX with
620 (reallocarray_nowarn): New function.
621 * NEWS: Mention the malloc function semantic change.
623 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
625 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
626 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
628 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
629 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
630 * sysdeps/powerpc/fpu/s_fma.c: New file.
631 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
633 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
634 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
636 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
637 the magic flag store.
638 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
640 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
642 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
643 Remove rt_sigreturn call.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
646 Remove rt_sigreturn call.
647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
652 * support/Makefile (libsupport-routines): Add support_subprocess,
653 xposix_spawn, xposix_spawn_file_actions_addclose, and
654 xposix_spawn_file_actions_adddup2.
655 (tst-support_capture_subprocess-ARGS): New rule.
656 * support/capture_subprocess.h (support_capture_subprogram): New
658 * support/support_capture_subprocess.c (support_capture_subprocess):
659 Refactor to use support_subprocess and support_capture_poll.
660 (support_capture_subprogram): New function.
661 * support/tst-support_capture_subprocess.c (write_mode_to_str,
662 str_to_write_mode, test_common, parse_int, handle_restart,
663 do_subprocess, do_subprogram, do_multiple_tests): New functions.
664 (do_test): Add support_capture_subprogram tests.
665 * support/subprocess.h: New file.
666 * support/support_subprocess.c: Likewise.
667 * support/xposix_spawn.c: Likewise.
668 * support/xposix_spawn_file_actions_addclose.c: Likewise.
669 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
670 * support/xspawn.h: Likewise.
672 2019-04-17 Mike Gerow <gerow@google.com>
674 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
677 2019-04-11 Florian Weimer <fweimer@redhat.com>
679 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
680 domain with empty string.
681 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
683 2019-04-11 Florian Weimer <fweimer@redhat.com>
685 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
687 (alloc_buffer_next): Change return type to non-const. Update
690 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
692 * manual/time.texi (Formatting Calendar Time): Add missing percent
693 sign to conversion specifier.
695 2019-04-09 Carlos O'Donell <carlos@redhat.com>
696 Kwok Cheung Yeung <kcy@codesourcery.com>
699 * malloc/mtrace.c: Define prototypes for all hooks.
700 (set_default_hooks): New function.
701 (set_trace_hooks): Likewise.
702 (save_default_hooks): Likewise.
703 (tr_freehook): Use new s*_hooks functions.
704 (tr_mallochook): Likewise.
705 (tr_reallochook): Likewise.
706 (tr_memalignhook): Likewise.
708 (muntrace): Likewise.
710 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
712 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
713 (generic_stpcpy): New function.
714 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
715 (generic_stpncpy): New function.
716 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
717 (generic_strcat): New function.
718 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
719 (generic_strcpy): New function.
720 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
721 (STUPID_STRNCAT): Remove function.
722 (generic_strncat): New function.
723 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
724 (STUPID_STRNCPY): Remove function.
725 (generic_strncpy): New function.
726 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
727 (generic_strnlen): New function.
728 (memchr_strnlen): New function.
729 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
730 (memchr_strlen): Likewise.
732 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
734 * benchtests/bench-strstr.c (input): Add realistic input text.
735 (stupid_strstr): Remove function.
736 (basic_strstr): Add function.
737 (twoway_strstr): Add function.
738 (do_one_test): Add result checking.
739 (do_test): Use new input text. Remove accidental early matches.
740 (test_main): Improve range of tests, reduce unaligned cases.
742 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
744 * benchtests/bench-memmem.c (simple_memmem): Remove function.
745 (basic_memmem): Add function.
746 (twoway_memmem): Add function.
748 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
750 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
751 * benchtests/bench-malloc-thread.c: Likewise.
752 * benchtests/bench-skeleton.c: Likewise.
753 * benchtests/bench-strtod.c: Likewise.
754 * benchtests/bench-timing.h: Likewise.
756 2019-04-08 Florian Weimer <fweimer@redhat.com>
758 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
760 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
761 RES_INSECURE2 security checks.
762 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
763 RES_INSECURE2 handling.
765 2019-04-08 Florian Weimer <fweimer@redhat.com>
767 resolv: Remove support for RES_USE_INET6 and the inet6 option.
768 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
769 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
771 * resolv/Makefile (tests): Remove tst-res_use_inet6.
772 (tests-internal): Update justification for tst-resolv-res_init,
773 tst-resolv-res_init-thread.
774 (tst-res_use_inet6): Remove target.
775 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
776 * resolv/res_debug.c (p_option): Remove "inet6" support.
777 * resolv/res_init.c (res_setoptions): Likewise.
778 * resolv/res_use_inet6.h: Remove file.
779 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
781 (res_use_inet6): Always return false.
782 * resolv/resolv.h (RES_USE_INET6): Remove definition.
783 * resolv/resolv_context.h: Adjust file comment.
784 (struct resolv_context): Update comment on __next field.
785 (__resolv_context_put): Update comment.
786 * resolv/tst-res_use_inet6.c: Remove file.
787 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
789 (test_cases): Adjust test case.
790 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
791 (thread_byname2_af_inet6): Use old byname_inet6 code.
792 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
793 (gai): Remove do_inet6 argument.
794 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
795 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
796 (thread_gai_unspec_inet6): Remove functions.
797 (do_test): Adjust thread_funcs.
798 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
800 (gaih_inet): Do not disable RES_USE_INET6 flag.
802 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
804 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
805 and remove redundant code.
807 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
809 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
811 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
819 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
820 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
821 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
822 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
823 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
825 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
827 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
830 Remove wcsrchr optimizations.
831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
833 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
836 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
838 * sysdeps/powerpc/power6/wcschr.c: Remove file.
839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
845 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
846 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
847 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
848 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
849 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
850 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
852 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
854 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
857 Remove wcschr optimizations.
858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
860 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
863 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
865 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
866 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
870 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
872 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
873 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
874 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
875 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
876 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
877 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
879 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
881 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
884 Remove wcscpy optimizations.
885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
887 * include/loop_unroll.h: New file.
888 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
889 besides generic implementation.
891 2019-04-03 DJ Delorie <dj@redhat.com>
893 * time/tst-strftime3.c (tm_to_printed): Disable warning about
894 snprintf truncating output.
896 2019-04-02 DJ Delorie <dj@redhat.com>
898 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
901 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
904 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
906 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
907 (mkreftable): Add rules for the new Japanese era and the new dates.
909 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
910 Rafal Luzynski <digitalfreak@lingonborough.com>
912 * time/tst-strftime2.c (date_t): Explicitly define the type.
913 (dates): Use natural month and year numbers to express a date.
914 (is_before): New function to compare dates.
915 (mkreftable): Minor improvements to simplify maintenance.
916 (do_test): Reflect the changes in dates array.
919 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
920 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
921 * time/tst-strftime2.c (locales): Likewise.
922 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
923 2010-04-01, and 2011-04-01.
924 (mkreftable): Add rules for the new locales and the new dates.
926 2019-04-01 Carlos O'Donell <carlos@redhat.com>
928 * localedata/locales/ja_JP: Add comments to era entries.
930 2019-04-01 DJ Delorie <dj@redhat.com>
933 * time/strptime_l.c (%Ey): Fix fencepost error.
934 * time/tst-strftime3.c: New.
935 * time/Makefile (tests): Add tst-strftime3.
937 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
939 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
940 conditional branch to DIVBYZERO. Fix unwind info.
941 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
942 excb after conditional branch to $powerof2. Add missing unop
943 instructions and .align directives and reorder instructions to
946 2019-04-01 Richard Henderson <rth@twiddle.net>
948 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
950 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
953 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
955 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
956 $libc_cv_riscv_float_abi in `test' invocation.
957 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
959 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
961 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
963 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
965 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
966 (_GET_SI_FPSCR): Likewise.
967 (_SET_SI_FPSCR): Likewise.
969 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
971 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
973 (signbit): Use builtin for clang 3.3.
974 (isinf): Use builtin for clang 3.7.
976 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
978 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
980 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
982 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
985 2019-03-25 Mike Crowe <mac@mcrowe.com>
987 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
988 pthread_rwlock_timedrdlock with calls to
989 pthread_rwlock_timedwrlock to ensure that the latter is tested
990 too. Use new function name in diagnostic messages too.
992 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
993 (do_test) Use libsupport test macros rather than hand-coded
994 conditionals and error messages. Ensure that sem_init returns zero
995 rather than not -1. Use <support/test-driver.c> rather than
998 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
999 test macros rather than hand-coded conditionals and error messages.
1000 Use <support/test-driver.c> rather than test-skeleton.c.
1002 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1004 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1006 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1007 (NT_MIPS_MSA): Likewise.
1009 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1011 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1012 * benchtests/README: Update description.
1013 * benchtests/bench-timing.h: Default to hp-timing.
1014 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1015 HP_TIMING_PRINT): Remove.
1016 (HP_TIMING_NOW): Add generic implementation.
1017 (hp_timing_t): Change to uint64_t.
1019 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1021 * nptl/descr.h: Likewise.
1022 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1023 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1024 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1025 Abstract hp-timing usage with RTLD_* macros.
1026 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1027 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1028 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1029 HP_TIMING_NONAVAIL): Likewise.
1030 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1033 HP_SMALL_TIMING_AVAIL): Likewise.
1034 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1035 HP_SMALL_TIMING_AVAIL): Likewise.
1036 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1037 HP_SMALL_TIMING_AVAIL): Likewise.
1038 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1039 HP_SMALL_TIMING_AVAIL): Likewise.
1040 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1042 * sysdeps/generic/hp-timing-common.h: Update comment with
1043 HP_TIMING_AVAIL removal.
1045 * include/random-bits.h: New file.
1046 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1047 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1049 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1050 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1053 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1054 * rt/Makefile (clock-routines): Remove get_clockfreq.
1055 * rt/get_clockfreq.c: Remove file.
1056 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1057 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1059 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1060 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1062 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1063 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1064 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1065 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1066 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1068 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1069 pthread_clock_settime.
1070 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1071 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1072 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1073 * elf/rtld.c (_dl_start_final): Likewise.
1074 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1075 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1077 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1078 (_dl_cpuclock_offset): Remove.
1079 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1080 cpuclock_offset_ununsed.
1081 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1082 cpuclock_offset set.
1083 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1084 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1085 * nptl/pthread_clock_gettime.c: Remove file.
1086 * nptl/pthread_clock_settime.c: Likewise.
1087 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1088 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1089 and CLOCK_PROCESS_CPUTIME_ID support.
1090 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1091 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1092 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1093 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1094 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1096 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1098 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1100 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1101 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1102 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1104 * sysdeps/s390/memmem-arch13.S: New file.
1105 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1106 if it is only used as fallback.
1107 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1108 * sysdeps/s390/multiarch/ifunc-impl-list.c
1109 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1111 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1113 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1114 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1115 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1117 * sysdeps/s390/multiarch/ifunc-impl-list.c
1118 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1119 * sysdeps/s390/strstr-arch13.S: New file.
1120 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1121 if it is only used as fallback.
1122 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1124 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1126 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1127 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1128 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1129 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1131 * sysdeps/s390/multiarch/ifunc-impl-list.c
1132 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1133 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1134 S390_IS_ARCH13_MIE3): New defines.
1136 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1138 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1139 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1140 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1141 * sysdeps/s390/configure: Regenerated.
1143 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1145 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1146 Add vxe2, vxp, dflt, sort flags.
1147 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1148 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1150 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1151 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1152 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1153 HWCAP_S390_DFLT): Define.
1155 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1158 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1159 of compiler warning.
1160 * locale/programs/ld-collate.c (collate_output): Likewise.
1162 2019-03-21 DJ Delorie <dj@redhat.com>
1165 * iconv/iconvconfig.c (write_output): Replace floating point math
1166 with integer math to avoid imprecise results.
1167 * locale/programs/ld-collate.c (collate_output): Likewise.
1169 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1171 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1172 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1174 2019-03-20 mansayk <6688000@gmail.com>
1177 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1178 (abday): Likewise, but remove the trailing dots.
1180 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1182 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1184 (HWCAP_PACA): Likewise.
1185 (HWCAP_PACG): Likewise.
1186 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1188 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1190 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1192 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1195 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1197 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1199 (old_getpagesize): New syscall.
1201 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1204 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1205 * localedata/locales/cmn_TW (era): Likewise.
1206 * localedata/locales/hak_TW (era): Likewise.
1207 * localedata/locales/lzh_TW (era): Likewise.
1208 * localedata/locales/nan_TW (era): Likewise.
1210 2019-03-14 Florian Weimer <fweimer@redhat.com>
1212 Remove obsolete, never-implemented XSI STREAMS declarations.
1213 * manual/terminal.texi (Allocation): Remove portability note and
1215 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1217 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1218 * sysdeps/unix/inet/Subdirs (streams): Remove.
1219 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1220 (conformtest-headers-UNIX98): Likewise.
1221 (conformtest-headers-XOPEN2K): Likewise.
1222 (conformtest-headers-POSIX2008): Likewise.
1223 * posix/compat-streams.c: New file.
1224 * posix/Makefile (routines): Add it.
1225 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1226 getpmsg, isastream, putmsg, putpmsg.
1227 (GLIBC_2.30): New section.
1228 * bits/stropts.h: Remove file.
1229 * bits/xtitypes.h: Likewise.
1230 * conform/data/stropts.h-data: Likewise.
1231 * include/stropts.h: Likewise.
1232 * include/sys/stropts.h: Likewise.
1233 * include/xtitypes.h: Likewise.
1234 * streams/Makefile: Likewise.
1235 * streams/fattach.c: Likewise.
1236 * streams/fdetach.c: Likewise.
1237 * streams/getmsg.c: Likewise.
1238 * streams/getpmsg.c: Likewise.
1239 * streams/isastream.c: Likewise.
1240 * streams/putmsg.c: Likewise.
1241 * streams/putpmsg.c: Likewise.
1242 * streams/stropts.h: Likewise.
1243 * streams/sys/stropts.h: Likewise.
1244 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1245 * sysdeps/s390/bits/xtitypes.h: Likewise.
1246 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1247 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1248 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1249 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1250 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1251 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1252 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1253 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1254 * sysdeps/x86/bits/xtitypes.h: Likewise.
1256 2019-03-14 Florian Weimer <fweimer@redhat.com>
1258 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1260 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1261 but not with libnss_files.
1262 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1264 2019-03-14 Zack Weinberg <zackw@panix.com>
1266 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1267 Specify encoding="utf-8" when opening headers to check.
1269 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1271 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1273 (Context.checkout_tar): Handle variable major version for Linux
1276 2019-03-13 Florian Weimer <fweimer@redhat.com>
1279 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1281 2019-03-13 Zack Weinberg <zackw@panix.com>
1283 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1285 * include/inttypes.h: Adjust to match.
1286 * include/stdint.h: New wrapper.
1288 2019-03-13 Zack Weinberg <zackw@panix.com>
1290 * scripts/check-obsolete-constructs.py: New test script.
1291 * scripts/check-installed-headers.sh: Remove tests for
1292 obsolete typedefs, superseded by check-obsolete-constructs.py.
1293 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1294 as a special test. Update commentary.
1295 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1296 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1298 * posix/sys/types.h (__u_intN_t): Remove.
1299 (u_int8_t): Typedef using __uint8_t.
1300 (u_int16_t): Typedef using __uint16_t.
1301 (u_int32_t): Typedef using __uint32_t.
1302 (u_int64_t): Typedef using __uint64_t.
1304 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1306 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1308 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1309 Ignore types other than AT_HWCAP.
1310 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1311 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1313 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1314 in the case of falling back to generic output mechanism.
1315 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1318 2019-03-12 Florian Weimer <fweimer@redhat.com>
1320 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1322 2019-03-12 Florian Weimer <fweimer@redhat.com>
1325 resolv: Enable full ICMP errors for UDP DNS sockets
1326 * resolv/res_enable_icmp.c: New file.
1327 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1328 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1329 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1332 2019-03-11 Mao Han <han_mao@c-sky.com>
1334 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1335 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1337 2019-03-11 Mao Han <han_mao@c-sky.com>
1339 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1340 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1341 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1343 2019-03-11 Mao Han <han_mao@c-sky.com>
1345 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1347 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1350 2019-03-11 Mao Han <han_mao@c-sky.com>
1352 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1353 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1356 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1359 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1360 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1362 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1363 * localedata/unicode-gen/PropList.txt: Likewise.
1364 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1365 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1366 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1367 * localedata/charmaps/UTF-8: Regenerate.
1368 * localedata/locales/i18n_ctype: Likewise.
1369 * localedata/locales/tr_TR: Likewise.
1370 * localedata/locales/translit_circle: Likewise.
1371 * localedata/locales/translit_cjk_compat: Likewise.
1372 * localedata/locales/translit_combining: Likewise.
1373 * localedata/locales/translit_compat: Likewise.
1374 * localedata/locales/translit_font: Likewise.
1375 * localedata/locales/translit_fraction: Likewise.
1377 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1379 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1380 than after operators.
1381 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1382 (setitimer_locked): Likewise.
1383 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1384 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1385 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1386 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1387 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1388 (PPC_CPU_SUPPORTED): Likewise.
1389 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1390 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1391 (stat_overflow): Likewise.
1392 (statfs_overflow): Likewise.
1393 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1394 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1395 (eq_ttyname_r): Likewise.
1396 (run_chroot_tests): Likewise.
1398 2019-03-07 Florian Weimer <fweimer@redhat.com>
1400 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1403 2019-03-07 Martin Liska <mliska@suse.cz>
1405 * math/Makefile: Change location where math-vector-fortran.h is
1407 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1408 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1409 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1410 * scripts/check-installed-headers.sh: Skip Fortran header files.
1411 * scripts/check-wrapper-headers.py: Likewise.
1413 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1415 * nptl/nptl-init.c (__have_futex_clock_realtime,
1416 __have_futex_clock_realtime): Remove definition.
1417 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1418 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1419 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1420 __ASSUME_FUTEX_CLOCK_REALTIME support.
1421 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1422 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1423 * sysdeps/unix/sysv/linux/kernel-features.h
1424 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1425 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1428 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1430 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1431 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1432 __GI___wcscpy and wcscpy.
1434 2019-03-04 Florian Weimer <fweimer@redhat.com>
1436 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1438 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1441 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1443 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1444 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1446 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1449 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1450 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1452 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1454 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1456 (do_test): Likewise.
1457 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1458 (do_test_call_varg): Likewise.
1459 (do_test_call_rarg): Likewise.
1460 * sysdeps/ieee754/ldbl-opt/Makefile
1461 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1463 ($(objpfx)tst-nldbl-warn.c): New rule.
1464 ($(objpfx)tst-nldbl-error.c): Likewise.
1465 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1468 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1471 * include/bits/error-ldbl.h: New file.
1472 * include/error.h: Include stdarg.h. Declare internal functions
1473 __error_internal and __error_at_line_internal.
1474 * misc/Makefile (headers): Add bits/error-ldbl.h.
1475 * misc/bits/error-ldbl.h: New file.
1476 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1477 avoid the inclusion of bits/error.h.
1478 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1479 and __nldbl_error_at_line.
1480 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1481 (__nldbl_error, __ndlbl_error_at_line): New functions.
1482 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1483 Redirect error and error_at_line.
1484 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1493 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1494 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1495 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1497 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1500 * include/bits/err-ldbl.h: New file.
1501 * include/err.h: Add prototypes for the internal functions:
1502 __vwarnx_internal and __vwarn_internal.
1503 * misc/Makefile (headers): Add bits/err-ldbl.h.
1504 * misc/bits/err-ldbl.h: New file.
1505 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1506 defined, i.e.: when -mlong-double-64 is in use.
1507 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1508 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1509 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1510 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1511 (VA_CALL): New macro.
1512 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1513 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1515 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1516 declare prototypes for the new functions.
1517 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1526 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1527 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1528 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1530 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1532 * sysdeps/ieee754/ldbl-opt/Makefile
1533 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1534 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1535 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1537 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1540 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1541 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1542 * argp/bits/argp-ldbl.h: New file.
1543 * include/argp.h: Include stdarg.h. Add prototypes for internal
1544 functions: __argp_error_internal and __argp_failure_internal.
1545 * include/bits/argp-ldbl.h: New file.
1546 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1547 __nldbl_argp_error and __nldbl_argp_failure.
1548 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1549 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1550 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1551 Redirect argp_error and argp_failure calls.
1552 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1561 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1562 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1563 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1565 2019-03-01 Florian Weimer <fweimer@redhat.com>
1568 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1569 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1570 code, to avoid creating an ABI tag note.
1571 (modules-names-nobuild): Add tst-big-note-lib.
1573 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1575 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1576 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1578 2019-03-01 Florian Weimer <fweimer@redhat.com>
1581 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1582 (__netlink_assert_response): Add additional missing newlines.
1584 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1586 * sysdeps/powerpc/powerpc32/dl-machine.c
1587 (__elf_machine_fixup_plt): Use space before '('.
1588 (__process_machine_rela): Likewise.
1589 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1591 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1593 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1595 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1596 (pattern): Likewise.
1598 (check_result): Likewise.
1599 (check_excepts): Likewise.
1600 (check_op): Likewise.
1601 (fail_xr): Likewise.
1602 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1603 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1605 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1608 (__makecontext): Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1612 2019-02-28 Florian Weimer <fweimer@redhat.com>
1615 elf: Add test with a local IFUNC resolver.
1616 * elf/ifuncmain9.c: New file.
1617 * elf/ifuncmain9pic.c: Likewise.
1618 * elf/ifuncmain9picstatic.c: Likewise.
1619 * elf/ifuncmain9pie.c: Likewise.
1620 * elf/ifuncmain9static.c: Likewise.
1621 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1622 ifuncmain9static, ifuncmain9picstatic.
1623 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1624 Add ifuncmain9, ifuncmain9pic.
1625 * elf/Makefile [multi-arch && build-shared && have-fpie]
1626 (ifunc-pie-tests): Add ifuncmain9pie.
1627 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1628 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1629 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1631 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1633 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1634 * configure: Regenerated.
1635 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1637 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1639 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1640 symbol as __wcspcy instead of wcscpy.
1642 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1644 * include/stdio.h (__renameat2): New hidden prototype.
1645 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1646 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1647 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1648 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1650 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1652 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1655 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1656 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1657 * benchtests/bench-strlen.c (do_test): Likewise.
1658 (test_main): Likewise.
1659 * catgets/gencat.c (read_old): Likewise.
1660 * elf/cache.c (load_aux_cache): Likewise.
1661 * iconvdata/bug-iconv8.c (do_test): Likewise.
1662 * math/test-tgmath-ret.c (do_test): Likewise.
1663 * nis/nis_call.c (rec_dirsearch): Likewise.
1664 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1665 * nptl/tst-audit-threads.c (do_test): Likewise.
1666 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1667 * nss/nss_test1.c (init): Likewise.
1668 * nss/test-netdb.c (test_hosts): Likewise.
1669 * posix/execvpe.c (maybe_script_execute): Likewise.
1670 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1671 * stdio-common/tst-printf.c (do_test): Likewise.
1672 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1673 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1674 * stdlib/qsort.c (STACK_SIZE): Likewise.
1675 * stdlib/test-canon.c (do_test): Likewise.
1676 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1677 * string/memcmp.c (OPSIZ): Likewise.
1678 * string/test-strcpy.c (do_test): Likewise.
1679 (do_random_tests): Likewise.
1680 * string/test-strlen.c (do_test): Likewise.
1681 (test_main): Likewise.
1682 * string/test-strrchr.c (do_test): Likewise.
1683 (do_random_tests): Likewise.
1684 * string/tester.c (test_memrchr): Likewise.
1685 (test_memchr): Likewise.
1686 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1687 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1688 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1689 (read_encoded_value_with_base): Likewise.
1690 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1691 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1692 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1693 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1694 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1695 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1697 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1699 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1700 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1701 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1703 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1705 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1707 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1709 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1710 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1711 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1712 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1713 * time/test_time.c (main): Likewise.
1715 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1717 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1719 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1722 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1725 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1727 * include/wchar.h (__wcscpy): New prototype.
1728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1729 (__wcscpy): Route internal symbol to generic implementation.
1730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1731 Add internal __wcscpy alias.
1732 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1733 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1734 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1735 * wcsmbs/wcscpy.c (wcscpy): Add
1736 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1737 use generic implementation.
1738 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1740 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1743 * sysdeps/m68k/wcpcpy.c: Remove file.
1744 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1746 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1748 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1749 than after operators.
1750 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1751 * sysdeps/mach/hurd/getcwd.c
1752 (__hurd_canonicalize_directory_name_internal): Likewise.
1753 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1754 (pthread_mutex_consistent): Likewise.
1755 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1757 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1758 (__pthread_mutex_transfer_np): Likewise.
1759 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1760 (__pthread_mutex_unlock): Likewise.
1761 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1762 (mtx_owned_p): Likewise.
1763 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1764 (pthread_mutexattr_getrobust): Likewise.
1765 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1766 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1768 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1769 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1770 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1771 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1772 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1773 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1774 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1776 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1778 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1779 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1780 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1781 (____longjmp_chk): Likewise.
1782 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1785 (INTERNAL_SYSCALL): Likewise.
1786 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1787 (INTERNAL_SYSCALL): Likewise.
1788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1789 (__get_clockfreq_via_cpuinfo): Likewise.
1791 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1793 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1794 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1795 (WORD_COPY_BWD): Likewise.
1796 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1797 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1799 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1800 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1802 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1804 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1806 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1807 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1808 rather than after operators.
1809 * elf/cache.c (print_cache): Likewise.
1810 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1811 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1812 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1813 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1814 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1815 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1816 (reauth_proc): Likewise.
1817 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1818 (__file_name_split_at): Likewise.
1819 (__directory_name_split_at): Likewise.
1820 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1821 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1822 * iconv/gconv_dl.c (do_print): Likewise.
1823 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1824 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1825 * locale/setlocale.c (new_composite_name): Likewise.
1826 * malloc/memusagestat.c (main): Likewise.
1827 * misc/fstab.c (fstab_convert): Likewise.
1828 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1830 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1831 (getgrent_next_file): Likewise.
1832 (internal_getgrnam_r): Likewise.
1833 (internal_getgrgid_r): Likewise.
1834 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1836 (internal_getgrent_r): Likewise.
1837 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1838 (getpwent_next_nss): Likewise.
1839 (getpwent_next_file): Likewise.
1840 (internal_getpwnam_r): Likewise.
1841 (internal_getpwuid_r): Likewise.
1842 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1844 (getspent_next_nss): Likewise.
1845 (internal_getspnam_r): Likewise.
1846 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1847 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1848 * string/strchr.c (STRCHR): Likewise.
1849 * string/strchrnul.c (STRCHRNUL): Likewise.
1850 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1851 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1852 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1853 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1854 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1856 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1857 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1858 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1859 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1860 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1861 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1862 (open_file): Likewise.
1863 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1864 (pthread_mutexattr_setprotocol): Likewise.
1865 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1866 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1867 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1868 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1869 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1871 (elf_machine_rela): Likewise.
1872 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1873 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1874 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1875 * sysdeps/posix/rename.c (rename): Likewise.
1876 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1877 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1878 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1879 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1880 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1881 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1882 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1884 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1886 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1887 * time/tzfile.c (__tzfile_compute): Likewise.
1889 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1891 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1892 rather than after operators.
1893 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1894 * crypt/md5.c (md5_finish_ctx): Likewise.
1895 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1896 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1897 * elf/cache.c (load_aux_cache): Likewise.
1898 * elf/dl-load.c (open_verify): Likewise.
1899 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1900 * elf/readelflib.c (process_elf_file): Likewise.
1901 * elf/rtld.c (dl_main): Likewise.
1902 * elf/sprof.c (generate_call_graph): Likewise.
1903 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1904 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1905 * hurd/dtable.c (reauth_dtable): Likewise.
1906 * hurd/getdport.c (__getdport): Likewise.
1907 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1908 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1909 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1911 * hurd/hurdioctl.c (fioctl): Likewise.
1912 * hurd/hurdselect.c (_hurd_select): Likewise.
1913 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1914 (STOPSIGS): Likewise.
1915 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1916 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1917 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1918 * hurd/msgportdemux.c (msgport_server): Likewise.
1919 * hurd/setauth.c (_hurd_setauth): Likewise.
1920 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1921 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1922 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1923 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1924 * login/tst-utmp.c (do_check): Likewise.
1925 (simulate_login): Likewise.
1926 * mach/lowlevellock.h (lll_lock): Likewise.
1927 (lll_trylock): Likewise.
1928 * math/test-fenv.c (ALL_EXC): Likewise.
1929 * math/test-fenvinline.c (ALL_EXC): Likewise.
1930 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1931 * nis/nis_call.c (__do_niscall3): Likewise.
1932 * nis/nis_callback.c (cb_prog_1): Likewise.
1933 * nis/nis_defaults.c (searchaccess): Likewise.
1934 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1935 * nis/nis_ismember.c (internal_ismember): Likewise.
1936 * nis/nis_local_names.c (nis_local_principal): Likewise.
1937 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1938 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1940 * nis/ypclnt.c (yp_match): Likewise.
1941 (yp_first): Likewise.
1942 (yp_next): Likewise.
1943 (yp_master): Likewise.
1944 (yp_order): Likewise.
1945 * nscd/hstcache.c (cache_addhst): Likewise.
1946 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1947 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1948 (internal_getpwuid_r): Likewise.
1949 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1950 * posix/glob.h (__GLOB_FLAGS): Likewise.
1951 * posix/regcomp.c (peek_token): Likewise.
1952 (peek_token_bracket): Likewise.
1953 (parse_expression): Likewise.
1954 * posix/regexec.c (sift_states_iter_mb): Likewise.
1955 (check_node_accept_bytes): Likewise.
1956 * posix/tst-spawn3.c (do_test): Likewise.
1957 * posix/wordexp-test.c (testit): Likewise.
1958 * posix/wordexp.c (parse_tilde): Likewise.
1959 (exec_comm): Likewise.
1960 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1961 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1962 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1963 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1964 * stdio-common/tst-fileno.c (do_test): Likewise.
1965 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1966 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1967 * stdlib/strtod_l.c (round_and_return): Likewise.
1968 (____STRTOF_INTERNAL): Likewise.
1969 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1970 * string/strcspn.c (STRCSPN): Likewise.
1971 * string/test-memmem.c (simple_memmem): Likewise.
1972 * termios/tcsetattr.c (tcsetattr): Likewise.
1973 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1974 * time/asctime.c (asctime_internal): Likewise.
1975 * time/strptime_l.c (__strptime_internal): Likewise.
1976 * time/sys/time.h (timercmp): Likewise.
1977 * time/tzfile.c (__tzfile_compute): Likewise.
1979 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1982 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1984 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1986 * argp/argp-help.c (__argp_error_internal): New function,
1987 renamed from __argp_error, but that takes a 'mode_flags'
1988 parameter to control the format of long double parameters.
1989 (__argp_error): Converted into a call __argp_error_internal.
1990 (__argp_failure_internal): New function, renamed from
1991 __argp_failure, but that takes a 'mode_flags' parameter.
1992 (__argp_failure): Converted into a call __argp_failure_internal.
1993 * misc/err.c (__vwarnx_internal): New function, renamed from
1994 vwarnx, but that takes a 'mode_flags' parameter.
1995 (vwarnx): Converted into a call to __vwarnx_internal.
1996 (__vwarn_internal): New function, renamed from vwarn, but that
1997 takes a 'mode_flags' parameter.
1998 (vwarn): Converted into a call to __vwarn_internal.
1999 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2000 call to __vfxprintf with 'mode_flags'.
2001 (__error_internal): New function, renamed from error, but that
2002 takes a 'mode_flags' parameter.
2003 (error): Converted into a call to __error_internal.
2004 (__error_at_line_internal): New function, renamed from
2005 error_at_line, but that takes a 'mode_flags' parameter.
2006 (error_at_line): Converted into a call to
2007 __error_at_line_internal.
2008 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2009 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2012 2019-02-20 Martin Liska <mliska@suse.cz>
2014 * math/Makefile: Install math-vector-fortran.h.
2015 * bits/math-vector-fortran.h: New file.
2016 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2018 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2020 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2021 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2023 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2025 * nptl/pthread_mutex_trylock.c: Fix comment.
2027 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2029 * nptl/pthread_tryjoin.c: Fix comment.
2031 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2034 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2035 after R_SPARC_H34 case.
2037 2019-02-18 Florian Weimer <fweimer@redhat.com>
2039 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2040 (getanswer): Do not call Dprintf.
2041 (res_gethostbyname2_context): Likewise.
2042 (res_gethostbyaddr_context): Likewise.
2044 2019-02-18 Florian Weimer <fweimer@redhat.com>
2046 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2048 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2050 * libio/stdfiles.c: Update comment.
2051 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2052 set _IO_stdin, _IO_stdout, _IO_stderr.
2053 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2054 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2056 (_IO_deallocate_file): New inline function.
2057 * libio/iolibio.h (_IO_vprintf): Remove definition.
2058 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2059 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2060 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2062 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2063 __builtin_expect. Use _IO_legacy_file.
2065 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2067 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2068 Initialize ctid with a known value and remove update of ctid
2070 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2071 as assumed current value of ctid_ptr.
2073 2019-02-16 Florian Weimer <fweimer@redhat.com>
2075 Check that non-sysdeps headers have wrapper headers.
2076 * scripts/check-wrapper-headers.py: New file.
2077 * Makefile (tests-special): Add check-wrapper-headers.out.
2078 (check-wrapper-headers.out): New target.
2079 * Rules (tests-special): Add check-wrapper-headers.out.
2080 (check-wrapper-headers.out): New target.
2082 2019-02-16 Florian Weimer <fweimer@redhat.com>
2084 Add missing header wrappers under include/.
2085 * include/ar.h: New file.
2086 * include/bits/mqueue2.h: Likewise.
2087 * include/bits/stdio.h: Likewise.
2088 * include/bits/stdio2.h: Likewise.
2089 * include/fstab.h: Likewise.
2090 * include/fts.h: Likewise.
2091 * include/lastlog.h: Likewise.
2092 * include/netinet/icmp6.h: Likewise.
2093 * include/netinet/igmp.h: Likewise.
2094 * include/netinet/ip6.h: Likewise.
2095 * include/re_comp.h: Likewise.
2096 * include/regexp.h: Likewise.
2097 * include/rpcsvc/bootparam.h: Likewise.
2098 * include/rpcsvc/yp_prot.h: Likewise.
2099 * include/sys/random.h: Likewise.
2100 * include/sys/stropts.h: Likewise.
2101 * include/sys/ttychars.h: Likewise.
2102 * include/sys/vfs.h: Likewise.
2103 * include/wait.h: Likewise.
2105 2019-02-16 Florian Weimer <fweimer@redhat.com>
2107 * nptl_db/proc_service.h: Move to ...
2108 * sysdeps/nptl/proc_service.h: ... here.
2109 * nptl_db/thread_db.h: Move to ...
2110 * sysdeps/nptl/thread_db.h: ... here.
2111 * nptl/descr.h: Include <thread_db.h>.
2113 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2115 * io/Makefile (tests): Add tst-lockf.
2116 * io/lockf.c (lockf): Use __fcntl and only define for
2117 !__OFF_T_MATCHES_OFF64_T.
2118 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2119 __OFF_T_MATCHES_OFF64_T case.
2120 * io/tst-lockf.c: New file.
2121 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2122 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2123 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2124 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2125 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2127 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2128 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2129 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2131 2019-02-15 Florian Weimer <fweimer@redhat.com>
2134 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2135 pd->result after the thread descriptor has been freed.
2137 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2139 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2140 from function return type.
2142 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2144 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2146 * scripts/test_printers_common.py: Set TERM to a known harmless
2149 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2151 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2152 (xdr_u_int): Likewise.
2153 (xdr_enum): Likewise.
2154 (xdr_bytes): Reword fall-through comment.
2155 (xdr_string): Likewise.
2157 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2160 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2161 (tests): Add tst-join8 tst-join9.
2162 * nptl/lll_timedwait_tid.c: Remove file.
2163 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2164 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2165 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2166 * nptl/pthread_join_common.c (timedwait_tid): New function.
2167 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2169 * nptl/tst-join5.c (thread_join): New function.
2170 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2172 * nptl/tst-join8.c: New file.
2173 * nptl/tst-join9.c: Likewise.
2174 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2175 lll_futex_timed_wait_cancel): Add generic macros.
2176 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2178 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2179 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2180 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2181 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2183 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2185 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2186 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2187 (lll_futex_timed_wait_cancel): New macro.
2189 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2191 * benchtests/Makefile: Add malloc-simple benchmark.
2192 * benchtests/bench-malloc-simple.c: New benchmark.
2194 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2196 * benchtests/bench-memmove.c (do_one_test): Remove unused
2199 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2203 2019-01-13 Jim Wilson <jimw@sifive.com>
2206 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2207 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2209 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2211 * nptl/Makefile (tests): Add tst-unwind-thread.
2212 (CFLAGS-tst-unwind-thread.c): Define.
2213 * nptl/tst-unwind-thread.c: New file.
2214 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2217 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2219 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2221 * nis/nis_call.c (__do_niscall3): Likewise.
2223 * catgets/gencat.c (normalize_line): Use braces around empty
2225 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2226 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2227 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2228 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2229 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2230 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2231 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2234 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2237 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2239 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2240 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2241 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2242 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2243 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2244 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2245 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2246 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2247 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2248 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2249 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2250 * benchtests/bench-bcopy.c: Delete file.
2251 * benchtests/bench-bzero.c: Likewise.
2252 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2253 (simple_memccpy): Remove.
2254 (generic_memccpy): Add function.
2255 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2256 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2257 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2258 (generic_mempcpy): Add new function.
2259 * benchtests/bench-memset.c (simple_bzero): Remove.
2260 (builtin_bzero): Remove.
2261 (builtin_memset): Remove.
2262 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2263 (generic_rawmemchr): Add new function.
2265 2019-02-12 Florian Weimer <fweimer@redhat.com>
2267 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2269 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2272 * elf/Makefile (tests): Add tst-audit13.
2273 (modules-names): Add tst-audit13mod1.
2274 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2276 * elf/tst-audit13.c: New file.
2277 * elf/tst-audit13mod1.c: Likewise.
2279 2019-02-12 Florian Weimer <fweimer@redhat.com>
2282 * elf/rtld.c (unload_audit_module): New function.
2283 (report_audit_module_load_error): Likewise.
2284 (load_audit_module): Likewise. Extracted from dl_main. Call
2285 _dl_close if the laversion symbol cannot be found. Use early
2286 returns for error handling. Add malloc error check. Check for a
2287 zero return value from la_version. Remove spurious comment about
2288 static TLS initialization. Remove useless casts.
2289 (notify_audit_modules_of_loaded_object): New function. Extracted
2291 (load_audit_module): Likewise.
2292 (dl_main): Call load_audit_modules.
2294 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2296 * elf/dl-exception.c (_dl_exception_create_format): Add
2297 fall-through comments.
2298 * elf/ldconfig.c (parse_conf_include): Likewise.
2299 * elf/rtld.c (print_statistics): Likewise.
2300 * locale/programs/charmap.c (parse_charmap): Likewise.
2301 * misc/mntent_r.c (__getmntent_r): Likewise.
2302 * posix/wordexp.c (parse_arith): Likewise.
2303 (parse_backtick): Likewise.
2304 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2305 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2308 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2310 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2311 Use float instead of double.
2313 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2315 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2317 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2319 * sysdeps/powerpc/bits/mathinline.h: Remove.
2321 2019-02-08 Florian Weimer <fweimer@redhat.com>
2323 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2324 * math/bits/math-finite.h: Move to ...
2325 * bits/math-finite.h: ... here.
2327 2019-02-08 Florian Weimer <fweimer@redhat.com>
2329 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2330 * bits/unistd_ext.h: here.
2332 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2335 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2336 * nss/tst-nss-files-hosts-long.c: New file.
2337 * nss/tst-nss-files-hosts-long.root: New directory.
2338 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2339 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2341 2019-02-08 Florian Weimer <fweimer@redhat.com>
2343 * include/bits/unistd_ext.h: Remove file.
2344 * posix/bits/unistd_ext.h: Move to ...
2345 * sysdeps/generic/bits/unistd_ext.h: ... here.
2347 2019-02-08 Florian Weimer <fweimer@redhat.com>
2349 * include/bits/unistd_ext.h: New file.
2351 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2353 * time/tst-strftime2.c: Use array_length macros instead of magic
2356 2019-02-08 Florian Weimer <fweimer@redhat.com>
2359 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2361 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2362 locking if the new do_locking argument is true.
2363 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2364 __run_fork_handlers.
2366 2019-02-08 Florian Weimer <fweimer@redhat.com>
2369 Linux: Add gettid system call wrapper.
2370 * posix/Makefile (headers): Add bits/unistd_ext.h.
2371 * posix/bits/unistd_ext.h: New file.
2372 * posix/unistd.h: Include it.
2373 * manual/process.texi (Process Identification): Document gettid.
2374 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2375 tst-gettid, tst-gettid-kill.
2376 (tst-gettid): Link with $(shared-thread-library).
2377 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2378 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2379 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2380 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2381 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2382 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2384 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2386 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2387 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2389 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2391 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2393 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2395 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2397 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2399 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2401 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2402 (GLIBC_2.30): Likewise.
2403 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2404 (GLIBC_2.30): Likewise.
2405 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2406 (GLIBC_2.30): Likewise.
2407 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2408 (GLIBC_2.30): Likewise.
2409 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2412 (GLIBC_2.30): Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2414 (GLIBC_2.30): Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2416 (GLIBC_2.30): Likewise.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2418 (GLIBC_2.30): Likewise.
2419 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2421 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2423 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2425 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2426 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2428 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2430 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2432 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2434 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2436 2019-02-08 Florian Weimer <fweimer@redhat.com>
2438 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2439 compatibility symbols.
2441 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2444 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2445 Add compiler barriers and comments.
2447 2019-02-07 Florian Weimer <fweimer@redhat.com>
2449 * include/array_length.h (array_length): Do not use a statement
2450 expression and _Static_assert, so that array_length can be used at
2451 file scope and as a constant expression.
2453 2019-02-07 Florian Weimer <fweimer@redhat.com>
2455 * support/xdlfcn.h (xdlmopen): Declare.
2456 * support/xdlmopen.c: New file.
2457 * support/Makefile (libsupport-routines): Add xdlmopen.
2459 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2461 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2462 before return type, without separate inline.
2463 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2464 * elf/dl-tunables.h (tunable_is_name): Likewise.
2465 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2466 (do_set_top_pad): Likewise.
2467 (do_set_mmap_threshold): Likewise.
2468 (do_set_mmaps_max): Likewise.
2469 (do_set_mallopt_check): Likewise.
2470 (do_set_perturb_byte): Likewise.
2471 (do_set_arena_test): Likewise.
2472 (do_set_arena_max): Likewise.
2473 (do_set_tcache_max): Likewise.
2474 (do_set_tcache_count): Likewise.
2475 (do_set_tcache_unsorted_limit): Likewise.
2476 * nis/nis_subr.c (count_dots): Likewise.
2477 * nptl/allocatestack.c (advise_stack_range): Likewise.
2478 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2480 (reduce_sincos): Likewise.
2481 (do_sincos): Likewise.
2482 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2483 (do_set_elision_enable): Likewise.
2484 (TUNABLE_CALLBACK_FNDECL): Likewise.
2486 2019-02-06 Florian Weimer <fweimer@redhat.com>
2488 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2489 (xdlsym): Use dlerror to detect a NULL symbol.
2491 2019-02-06 Florian Weimer <fweimer@redhat.com>
2493 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2495 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2497 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2499 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2501 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2503 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2504 __wmemcmp and weak alias to wmemcmp.
2506 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2509 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2510 TLS_TCB_AT_TP tls variant.
2511 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2512 Add alignment checks.
2513 * support/Makefile (libsupport-routines): Add xposix_memalign and
2515 * support/support.h: Add xposix_memalign.
2516 * support/xthread.h: Add xpthread_attr_setstack.
2517 * support/xposix_memalign.c: New File.
2518 * support/xpthread_attr_setstack.c: Likewise.
2520 2019-02-05 Florian Weimer <fweimer@redhat.com>
2523 arm: Use "nr" constraint for Systemtap probes, to avoid the
2524 compiler using memory operands for constants, due to the "o"
2525 alternative in the default "nor" constraint.
2526 * include/stap-probe.h [USE_STAP_PROBE]: Include
2527 <stap-probe-machine.h>
2528 * sysdeps/generic/stap-probe-machine.h: New file.
2529 * sysdeps/arm/stap-probe-machine.h: Likewise.
2531 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2533 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2534 with 0, not tcache->entries[tc_idx].
2536 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2539 2019-02-04 Andreas Schwab <schwab@suse.de>
2543 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2544 looking up collating elements match against (wide) character
2545 sequence instead of name. Correct alignment adjustment.
2546 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2547 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2548 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2549 (LOCALES): Add cs_CZ.ISO-8859-2.
2550 * posix/tst-fnmatch4.c: New file.
2551 * posix/tst-fnmatch5.c: New file.
2552 * include/wchar.h (__wmemcmp): Declare.
2553 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2554 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2555 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2556 * sysdeps/s390/wmemcmp.c: Likewise.
2558 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2562 * NEWS: Updated for CVE-2019-7309.
2563 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2564 upper 32 bits of RDX register for x32. Use unsigned Jcc
2565 instructions, instead of signed.
2566 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2567 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2569 2019-02-04 Florian Weimer <fweimer@redhat.com>
2571 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2572 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2573 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2575 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2576 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2577 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2578 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2580 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2582 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2584 (posix_spawn_file_actions_addopen): Likewise.
2585 (posix_spawn_file_actions_addclose): Likewise.
2586 (posix_spawn_file_actions_adddup2): Likewise.
2587 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2589 (posix_spawn_file_actions_addfchdir_np): Likewise.
2591 2019-02-04 David Newall <glibc@davidnewall.com>
2593 elf: Implement --preload option for the dynamic linker.
2594 * elf/rtld.c (preloadarg): New variable.
2595 (handle_preload_list): Pass through “where” argument to
2597 (dl_main): Handle "--preload" and add second call to
2598 handle_preload_list.
2599 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2600 (tst-rtld-preload-OBJS): Set variable.
2601 (tst-rtld-preload.out): New target.
2602 * elf/tst-rtld-preload.sh: New file.
2604 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2606 * Makefile (testrun.sh): Exit in case of incorrect argument.
2608 2019-02-04 Florian Weimer <fweimer@redhat.com>
2610 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2613 2019-02-03 Florian Weimer <fweimer@redhat.com>
2615 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2616 implicit overflow checks.
2618 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2620 * stdlib/isomac.c: Include <unistd.h>.
2622 2019-02-03 Florian Weimer <fweimer@redhat.com>
2624 * include/time.h (__tzfile_default): Use int, not long int, for
2626 * time/tzfile.c (struct ttinfo): Change type of the offset member
2628 (__tzfile_read): Remove useless cast.
2629 (__tzfile_default): Adjust prototype.
2630 * time/tzset.c (tz_rule): Change type of the offset member to int.
2631 (parse_offset): Change the type of the sign variable to int.
2633 2019-02-03 Florian Weimer <fweimer@redhat.com>
2636 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2637 * libio/getchar.c (getchar): Likewise.
2638 * libio/getchar_u.c (getchar_unlocked): Likewise.
2639 * libio/getwchar.c (getwchar): Likewise.
2640 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2641 * libio/iogets.c (_IO_gets): Likewise.
2642 * libio/vscanf.c (_IO_vscanf): Likewise.
2643 * libio/vwscanf.c (__vwscanf): Likewise.
2644 * libio/tst-bz24153.c: New file.
2645 * libio/Makefile (tests): Add it.
2647 2019-02-02 Florian Weimer <fweimer@redhat.com>
2650 * manual/resource.texi (Basic Scheduling Functions): Add
2651 portability note. Change process to task throughout the section.
2652 Remove incorrect comment about sched_yield as it affects
2653 tasks/threads, not entire processes.
2654 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2655 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2657 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2659 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2660 * configure: Regenerated.
2661 * manual/install.texi (Tools for Compilation): Update minimum GCC
2663 * INSTALL: Regenerated.
2665 2019-02-01 Florian Weimer <fweimer@redhat.com>
2667 * support/support_test_compare_string.c
2668 (support_test_compare_string): Use "string" in error message.
2669 * support/tst-test_compare_string.c (do_test): Adjust.
2671 2019-02-01 Florian Weimer <fweimer@redhat.com>
2673 * support/support_format_address_family.c
2674 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2676 2019-02-01 Florian Weimer <fweimer@redhat.com>
2678 * manual/socket.texi (Internet Address Formats): Clarify the byte
2679 order of struct sockaddr_in, struct sockaddr_in6. Document
2680 sin6_flowinfo and sin6_scope_id.
2682 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2684 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2685 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2686 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2687 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2688 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2689 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2691 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2693 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2694 [!MEMCHR](MEMCHR): Set to __memchr.
2695 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2696 Add memchr_generic and memchr_nosimd.
2697 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2698 (__libc_ifunc_impl_list): Add memchr ifuncs.
2699 * sysdeps/aarch64/multiarch/memchr.c: New file.
2700 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2701 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2703 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2705 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2707 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2708 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2709 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2710 Add IS_EMAG check for ifunc dispatch.
2711 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2712 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2714 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2716 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2717 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2719 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2722 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2724 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2726 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2728 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2729 syscall-template file.
2731 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2732 Torvald Riegel <triegel@redhat.com>
2733 Rik Prohaska <prohaska7@gmail.com>
2736 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2737 tst-rwlock-trywrlock-stall.
2738 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2739 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2740 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2741 Set __wrphase_fute to 1 only if we started the write phase.
2742 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2743 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2744 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2745 * support/xpthread_rwlock_destroy.c: New file.
2746 * support/xthread.h: Declare xpthread_rwlock_destroy.
2748 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2750 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2753 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2756 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2757 * libio/fileops.c (_IO_new_file_underflow): Likewise
2758 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2759 * libio/putchar.c (putchar): Likewise.
2760 * libio/putchar_u.c (putchar_unlocked): Likewise.
2761 * libio/putwchar.c (putchar): Likewise.
2762 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2763 * libio/tst-bz24051.c: New test.
2764 * libio/Makefile (tests): Add tst-bz24051
2766 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2769 regex: fix read overrun [BZ #24114]
2770 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2771 https://debbugs.gnu.org/34140
2772 * posix/regexec.c (proceed_next_node):
2773 Do not read past end of input buffer.
2775 2019-01-31 Florian Weimer <fweimer@redhat.com>
2778 * nss/nss_files/files-alias.c (get_next_alias): Handle
2779 continuation line without newline at the end.
2780 * nss/tst-nss-files-alias-truncated.c: New file.
2781 * nss/Makefile [$(build-shared)] (tests): Add
2782 tst-nss-files-alias-truncated.
2783 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2784 * support/namespace.h (struct support_chroot_configuration): Add
2786 (struct support_chroot): Add path_aliases member.
2787 * support/support_chroot.c (support_chroot_create): Handle
2789 (support_chroot_free): Free path_aliases.
2791 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2793 * version.h (RELEASE): Set to "development".
2794 (VERSION): Set to "2.29.9000".
2795 * NEWS: Add section for 2.30.
2797 * version.h (RELEASE): Set to "stable".
2798 (VERSION): Set to "2.29".
2799 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2801 * NEWS: Add the list of bugs fixed in 2.29.
2802 * manual/contrib.texi: Update contributors list with some more
2804 * manual/install.texi: Update latest versions of packages
2806 * INSTALL: Regenerated.
2808 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2810 * po/be.po: Update translations.
2811 * po/bg.po: Likewise.
2812 * po/ca.po: Likewise.
2813 * po/cs.po: Likewise.
2814 * po/da.po: Likewise.
2815 * po/de.po: Likewise.
2816 * po/el.po: Likewise.
2817 * po/eo.po: Likewise.
2818 * po/es.po: Likewise.
2819 * po/fi.po: Likewise.
2820 * po/fr.po: Likewise.
2821 * po/gl.po: Likewise.
2822 * po/hr.po: Likewise.
2823 * po/hu.po: Likewise.
2824 * po/ia.po: Likewise.
2825 * po/id.po: Likewise.
2826 * po/it.po: Likewise.
2827 * po/ja.po: Likewise.
2828 * po/ko.po: Likewise.
2829 * po/lt.po: Likewise.
2830 * po/nb.po: Likewise.
2831 * po/nl.po: Likewise.
2832 * po/pl.po: Likewise.
2833 * po/pt_BR.po: Likewise.
2834 * po/ru.po: Likewise.
2835 * po/rw.po: Likewise.
2836 * po/sk.po: Likewise.
2837 * po/sl.po: Likewise.
2838 * po/sv.po: Likewise.
2839 * po/tr.po: Likewise.
2840 * po/uk.po: Likewise.
2841 * po/vi.po: Likewise.
2842 * po/zh_CN.po: Likewise.
2843 * po/zh_TW.po: Likewise.
2845 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2848 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2849 of $f3 register on $y_is_neg path.
2851 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2854 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2855 sigaltstack.ss_flags.
2857 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2860 * manual/time.texi (strftime): Document "%Ey".
2861 * time/strftime_l.c (__strftime_internal): Set the default width
2862 padding with zero of "%Ey" to 2.
2865 * manual/time.texi (strftime): Document "%EC" and "%EY".
2866 * time/Makefile (tests): Add tst-strftime2.
2867 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2868 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2869 override padding for "%Ey".
2870 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2871 "%Ey" in the subformat as if decorated with that flag.
2872 * time/tst-strftime2.c: New file.
2874 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2876 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2880 * elf/Makefile (tests): Add tst-audit13.
2881 (modules-names): Add tst-audit13mod1.
2882 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2884 * elf/rtld.c (dl_main): Handle invalid audit module version.
2885 * elf/tst-audit13.c: New file.
2886 * elf/tst-audit13mod1.c: Likewise.
2888 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2890 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2891 returned by __hurd_at_flags.
2892 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2893 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2894 directly instead of __hurd_file_name_lookup.
2896 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2898 * scripts/build-many-glibcs.py (Context.checkout): Default
2899 binutils version to 2.32 branch.
2901 2019-01-21 Florian Weimer <fweimer@redhat.com>
2905 resolv: Reject trailing characters in host names
2906 * include/arpa/inet.h (__inet_aton_exact): Declare.
2907 (inet_aton): Remove hidden prototype. No longer used internally.
2908 * nscd/gai.c (__inet_aton): Do not define.
2909 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2910 * nss/digits_dots.c (__inet_aton): Likewise.
2911 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2912 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2913 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2914 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2915 (tst-resolv-trailing): Likewise.
2916 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2918 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2919 Make static. Add endp parameter.
2920 (__inet_aton_exact): New function.
2921 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2922 (__inet_addr): Call inet_aton_end.
2923 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2924 not just IPv6. Call __inet_aton_exact.
2925 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2926 (tests): Make const. Add additional test cases with trailing
2928 (do_test): Use array_length.
2929 * resolv/tst-inet_aton_exact.c: New file.
2930 * resolv/tst-resolv-trailing.c: Likewise.
2931 * resolv/tst-resolv-nondecimal.c: Likewise.
2932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2934 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2938 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2939 Clear the upper 32 bits of RSI register.
2940 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2941 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2942 and tst-size_t-wcsnlen.
2943 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2944 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2946 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2950 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2952 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2953 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2954 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2956 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2960 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2962 * sysdeps/x86_64/strcmp.S: Likewise.
2963 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2964 tst-size_t-strncmp and tst-size_t-wcsncmp.
2965 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2966 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2967 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2969 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2973 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2974 RDX_LP for length. Clear the upper 32 bits of RDX register.
2975 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2976 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2977 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2978 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2980 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2984 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2985 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2986 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2987 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2989 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2993 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2994 length. Clear the upper 32 bits of RDX register.
2995 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2996 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2998 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3000 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3002 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3004 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3008 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3009 length. Clear the upper 32 bits of RDX register.
3010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3011 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3012 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3014 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3015 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3017 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3021 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3022 upper 32 bits of RDX register.
3023 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3024 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3026 * sysdeps/x86_64/x32/test-size_t.h: New file.
3027 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3028 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3030 2019-01-18 Florian Weimer <fweimer@redhat.com>
3033 resolv: Do not send queries for non-host-names in nss_dns.
3034 * resolv/nss_dns/dns-host.c (check_name): New function.
3035 (_nss_dns_gethostbyname2_r): Use it.
3036 (_nss_dns_gethostbyname_r): Likewise.
3037 (_nss_dns_gethostbyname4_r): Likewise.
3039 2019-01-21 Florian Weimer <fweimer@redhat.com>
3041 * resolv/inet_addr.c: Reformat to GNU style.
3042 (__inet_addr, __inet_aton): Update comment.
3044 2019-01-18 Florian Weimer <fweimer@redhat.com>
3046 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3047 ("malloc: Use current (C11-style) atomics for fastbin access").
3048 This commit introduces a substantial performance regression on
3050 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3051 (REMOVE_FB): Define.
3052 (_int_malloc): Use it and reindent.
3053 (_int_free): Use CAS loop with
3054 catomic_compare_and_exchange_val_rel.
3055 (malloc_consolidate): Use atomic_exchange_acq.
3058 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3060 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3062 (LDFLAGS-tst-minsigstksz-2): Likewise.
3063 (LDFLAGS-tst-minsigstksz-3): Likewise.
3064 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3065 (LDFLAGS-tst-minsigstksz-4): Likewise.
3067 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3069 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3072 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3074 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3076 2019-01-16 Zack Weinberg <zackw@panix.com>
3078 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3079 (xget_sigstack_location): New test support functions.
3080 * support/xsigstack.c: New file, implementing them.
3081 * support/tst-xsigstack.c: New test for them.
3082 * support/Makefile: Update.
3084 * signal/tst-minsigstksz-1.c
3085 * signal/tst-minsigstksz-2.c
3086 * signal/tst-minsigstksz-3.c
3087 * signal/tst-minsigstksz-3a.c
3088 * signal/tst-minsigstksz-4.c: New tests.
3089 * signal/Makefile: Run them.
3091 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3093 * po/libc.pot: Regenerate.
3095 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3097 * math/libm-test-fma.inc (fma_test_data): Set
3098 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3100 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3102 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3103 (do_test): Changed __vector __int128_t to __vector unsigned int.
3105 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3108 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3109 stpcpy-avx2 and stpncpy-avx2.
3110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3111 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3112 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3114 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3115 ifunc-strcpy.h}: rename header for a more generic name.
3116 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3117 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3118 AVX unaligned load is fast and vzeroupper is preferred.
3119 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3120 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3121 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3122 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3123 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3124 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3126 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3128 * argp/argp-help.c: Fix typo in comment.
3129 * misc/sys/cdefs.h: Likewise.
3130 * posix/regexec.c (sift_states_iter_mb): Likewise.
3131 * socket/sockatmark.c: Likewise.
3132 * socket/sys/socket.h: Likewise.
3133 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3134 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3135 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3137 * sysdeps/unix/sockatmark.c: Likewise.
3138 * time/strptime_l.c: Likewise.
3140 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3142 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3143 missing space after the cast of "_NL_CURRENT".
3145 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3147 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3148 ifdef to fix read of VSCR.
3149 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3150 tst-ucontext-ppc64-vscr.c to test list.
3151 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3153 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3155 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3158 2019-01-09 Jim Wilson <jimw@sifive.com>
3160 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3162 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3164 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3165 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3166 __memcpy_falkor for ares.
3167 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3169 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3172 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3175 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3176 4_FP_W_TYPEs are used for IEEE quad precision.
3177 * soft-fp/extendhftf2.c: Likewise.
3178 * soft-fp/extendsftf2.c: Likewise.
3179 * soft-fp/extendxftf2.c: Likewise.
3180 * soft-fp/trunctfdf2.c: Likewise.
3181 * soft-fp/trunctfhf2.c: Likewise.
3182 * soft-fp/trunctfsf2.c: Likewise.
3183 * soft-fp/trunctfxf2.c: Likewise.
3184 * sysdeps/alpha/ots_cvttx.c: Likewise.
3185 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3186 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3187 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3188 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3189 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3190 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3191 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3192 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3193 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3194 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3195 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3196 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3197 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3198 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3199 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3200 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3201 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3203 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3206 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3207 code with -fmath-errno.
3208 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3209 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3210 * string/test-strerror-errno.c: New file.
3212 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3215 * localedata/locales/en_US (date_fmt): Add, set to
3216 "%a %d %b %Y %r %Z".
3218 2019-01-07 Florian Weimer <fweimer@redhat.com>
3221 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3222 instead of @var{errno}.
3223 (Parsing of Integers): Likewise.
3224 (Parsing of Floats): Likewise.
3225 * manual/filesys.texi (Working with Directory Trees): Likewise.
3226 (Temporary Files): Likewise.
3227 * manual/job.texi (Terminal Access Functions): Likewise.
3228 * manual/llio.texi (Synchronizing I/O): Likewise.
3229 * manual/math.texi (SVID Random): Likewise.
3230 * manual/message.texi (The catgets Functions): Likewise.
3231 (Translation with gettext): Likewise.
3232 (Locating gettext catalog): Likewise.
3233 (Charset conversion in gettext): Likewise.
3234 * manual/nss.texi (NSS Module Function Internals): Likewise.
3235 * manual/search.texi (Hash Search Function): Likewise.
3236 * manual/setjmp.texi (System V contexts): Likewise.
3237 * manual/time.texi (Sleeping): Likewise.
3238 * manual/users.texi (Lookup User): Likewise.
3239 (Lookup Group): Likewise.
3241 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3243 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3246 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3249 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3250 __builtin_unreachable for default case in switch.
3251 (__ieee754_yn): Likewise.
3252 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3253 (__ieee754_ynl): Likewise.
3254 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3255 (__ieee754_ynl): Likewise.
3256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3257 (__ieee754_ynl): Likewise.
3259 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3261 * manual/maint.texi: Use @{ and @}.
3263 2019-01-04 Florian Weimer <fweimer@redhat.com>
3265 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3267 (do_in_chroot_1): Call it.
3269 Improve error reporting in case it is not possible to create a
3270 collision for the PTY name required by the test.
3272 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3274 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3275 lll_wait_tid with timeout.
3276 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3277 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3278 futex_reltimed_wait_cancelable for cancelabla mode.
3279 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3280 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3282 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3283 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3284 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3285 SYSCALL_CANCEL_NCS): New macro.
3286 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3287 (lll_timedwait_tid): Remove macro.
3288 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3290 (lll_timedwait_tid): Likewise.
3291 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3293 (lll_timedwait_tid): Likewise.
3294 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3296 (lll_timedwait_tid): Likewise.
3297 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3298 Use INTERNAL_SYSCALL_CANCEL.
3299 * sysdeps/unix/sysv/linux/futex-internal.h
3300 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3301 instead of __pthread_{enable,disable}_asynccancel.
3302 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3303 (lll_futex_wait_cancel): New macro.
3305 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3306 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3308 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3309 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3311 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3312 in backtrace analysis.
3313 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3315 (tf_send): Likewise.
3317 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3318 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3319 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3320 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3321 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3322 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3323 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3324 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3325 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3326 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3327 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3328 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3330 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3331 tst-cancel-wrappers.sh.
3332 (generated): Remove tst-cancel-wrappers.out.
3333 (tst-cancel-wrappers.out): Remove rule.
3334 * nptl/tst-cancel-wrappers.sh: Remove file.
3336 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3338 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3339 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3342 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3345 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3346 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3347 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3348 close-on-exec reset for adddup2 file action.
3349 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3351 2019-01-03 Zack Weinberg <zackw@panix.com>
3353 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3354 parameter. Only use deprecated scanf when __USE_GNU is defined
3355 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3356 than 201103L, whichever is relevant for the language being compiled.
3358 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3359 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3360 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3361 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3362 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3366 * libio/iovswscanf.c
3371 * stdio-common/fscanf.c
3372 * stdio-common/scanf.c
3373 * stdio-common/vfscanf.c
3374 * stdio-common/vfwscanf.c
3375 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3376 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3377 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3378 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3379 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3380 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3381 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3382 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3383 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3384 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3385 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3386 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3387 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3388 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3389 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3391 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3392 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3393 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3395 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3396 with a preprocessor macro.
3398 * stdio-common/bug21.c, stdio-common/scanf14.c:
3399 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3400 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3401 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3402 to xscanf, xfscanf, xsscanf.
3404 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3405 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3406 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3407 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3409 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3410 override feature selection macros or provide definitions of u_char etc.
3411 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3412 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3413 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3416 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3419 bits/termios-misc.h.
3420 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3421 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3422 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3423 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3424 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3425 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3427 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3428 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3429 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3430 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3431 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3432 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3434 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3435 (sysdep_headers): Add termios-misc.h.
3437 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3438 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3439 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3443 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3444 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3445 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3446 TCSAFLUSH): Move to termios-tcflow.h.
3447 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3448 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3449 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3450 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3454 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3455 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3456 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3457 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3458 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3459 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3460 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3461 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3463 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3464 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3466 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3470 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3471 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3472 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3473 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3474 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3476 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3477 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3479 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3484 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3485 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3486 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3487 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3488 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3489 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3490 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3491 __MAX_BAUD): Move to termios-baud.h.
3492 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3493 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3494 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3495 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3496 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3498 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3500 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3501 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3502 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3503 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3504 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3505 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3507 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3508 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3510 [USE_MISC] (XTABS): Likewise.
3511 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3512 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3513 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3514 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3516 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3518 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3519 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3520 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3521 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3522 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3523 IUTF8): Move to termios-c_iflag.h.
3524 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3525 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3526 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3527 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3529 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3531 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3532 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3533 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3534 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3535 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3536 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3537 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3538 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3539 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3540 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3541 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3542 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3544 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3545 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3546 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3547 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3550 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3552 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3554 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3556 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3558 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3560 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3561 _HAVE_C_OSPEED): Define.
3562 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3563 _HAVE_C_OSPEED): Likewise.
3564 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3565 _HAVE_C_OSPEED): Likewise.
3566 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3567 (cfsetospeed): Check for define value instead of existence.
3568 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3569 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3570 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3571 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3572 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3575 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3577 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3578 (TIOCSER_TEMT): Likewise.
3579 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3580 (TEOCSER_TEMT): Likewise.
3582 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3585 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3587 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3589 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3591 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3593 * sysdeps/htl/pt-barrierattr-setpshared.c
3594 (pthread_barrierattr_setpshared): Add stub warning.
3595 * sysdeps/htl/pt-condattr-setpshared.c
3596 (pthread_condattr_setpshared): Likewise.
3597 * sysdeps/htl/pt-mutexattr-setpshared.c
3598 (pthread_mutexattr_setpshared): Likewise.
3599 * sysdeps/htl/pt-rwlockattr-setpshared.c
3600 (pthread_rwlockattr_setpshared): Likewise.
3601 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3602 (pthread_mutexattr_setpshared): Likewise.
3604 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3606 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3607 constants to match with Linux 4.20.
3609 * sysdeps/mips/mips32/libm-test-ulps: Update.
3610 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3612 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3615 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3616 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3617 than __typeof (...) for the a_ptr variable.
3619 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3621 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3622 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3623 * libio/Makefile (tests): Add tst-sprintf-ub and
3625 (CFLAGS-tst-sprintf-ub.c): New variable.
3626 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3627 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3628 destination buffer and check for overflows in fortified mode.
3629 * libio/libioP.h (PRINTF_CHK): New macro.
3630 * libio/tst-sprintf-chk-ub.c: New file.
3631 * libio/tst-sprintf-ub.c: Likewise.
3633 2019-01-02 Florian Weimer <fweimer@redhat.com>
3636 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3639 2019-01-02 Florian Weimer <fweimer@redhat.com>
3641 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3643 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3645 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3648 * sysdeps/unix/sysv/linux/netpacket/packet.h
3649 (PACKET_IGNORE_OUTGOING): New macro.
3651 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3654 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3656 (riscv_flush_icache): New syscall.
3658 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3659 trailing whitespace removed.
3660 * scripts/config.guess: Update to version 2019-01-01.
3661 * scripts/config.sub: Update to version 2019-01-01.
3662 * scripts/move-if-change: Update from gnulib.
3664 * NEWS: Update copyright dates.
3665 * catgets/gencat.c (print_version): Likewise.
3666 * csu/version.c (banner): Likewise.
3667 * debug/catchsegv.sh: Likewise.
3668 * debug/pcprofiledump.c (print_version): Likewise.
3669 * debug/xtrace.sh (do_version): Likewise.
3670 * elf/ldconfig.c (print_version): Likewise.
3671 * elf/ldd.bash.in: Likewise.
3672 * elf/pldd.c (print_version): Likewise.
3673 * elf/sotruss.sh: Likewise.
3674 * elf/sprof.c (print_version): Likewise.
3675 * iconv/iconv_prog.c (print_version): Likewise.
3676 * iconv/iconvconfig.c (print_version): Likewise.
3677 * locale/programs/locale.c (print_version): Likewise.
3678 * locale/programs/localedef.c (print_version): Likewise.
3679 * login/programs/pt_chown.c (print_version): Likewise.
3680 * malloc/memusage.sh (do_version): Likewise.
3681 * malloc/memusagestat.c (print_version): Likewise.
3682 * malloc/mtrace.pl: Likewise.
3683 * manual/libc.texinfo: Likewise.
3684 * nptl/version.c (banner): Likewise.
3685 * nscd/nscd.c (print_version): Likewise.
3686 * nss/getent.c (print_version): Likewise.
3687 * nss/makedb.c (print_version): Likewise.
3688 * posix/getconf.c (main): Likewise.
3689 * scripts/test-installation.pl: Likewise.
3690 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3692 * All files with FSF copyright notices: Update copyright dates
3693 using scripts/update-copyrights.
3694 * locale/programs/charmap-kw.h: Regenerated.
3695 * locale/programs/locfile-kw.h: Likewise.
3697 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3699 * timezone/zdump.c: Update from tzcode 2018i.
3700 * timezone/zic.c: Likewise.
3702 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3704 regex: improve Gnulib port to AIX
3705 From the glibc point of view, this removes duplicate macro
3706 definitions and is obviously safe.
3707 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3708 * posix/regex_internal.h:
3709 (__attribute__, __attribute_warn_unused_result__):
3710 Remove; already defined elsewhere.
3712 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3715 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3716 copying operation. (ncopies had the wrong type, resulting in an
3717 integer wraparound and too few elements being copied.)
3719 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3722 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3723 <asm/syscalls.h> exists with __has_include__ before including it.
3725 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3727 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3730 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3732 * hurd/lookup-retry: Include <unistd.h>.
3733 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3734 Release it on return. Handle "pid" magical lookup retry.
3736 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3739 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3740 (t_fmt_ampm): Likewise.
3741 * localedata/locales/aa_ER (t_fmt): Likewise.
3742 (t_fmt_ampm): Likewise.
3743 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3744 (t_fmt_ampm): Likewise.
3745 * localedata/locales/aa_ET (t_fmt): Likewise.
3746 (t_fmt_ampm): Likewise.
3747 * localedata/locales/am_ET (t_fmt): Likewise.
3748 (t_fmt_ampm): Likewise.
3749 * localedata/locales/byn_ER (t_fmt): Likewise.
3750 (t_fmt_ampm): Likewise.
3751 * localedata/locales/om_ET (t_fmt): Likewise.
3752 (t_fmt_ampm): Likewise.
3753 * localedata/locales/sid_ET (t_fmt): Likewise.
3754 (t_fmt_ampm): Likewise.
3755 * localedata/locales/so_DJ (t_fmt): Likewise.
3756 (t_fmt_ampm): Likewise.
3757 * localedata/locales/so_ET (t_fmt): Likewise.
3758 (t_fmt_ampm): Likewise.
3759 * localedata/locales/so_SO (t_fmt): Likewise.
3760 (t_fmt_ampm): Likewise.
3761 * localedata/locales/ti_ER (t_fmt): Likewise.
3762 (t_fmt_ampm): Likewise.
3763 * localedata/locales/ti_ET (t_fmt): Likewise.
3764 (t_fmt_ampm): Likewise.
3765 * localedata/locales/tig_ER (t_fmt): Likewise.
3766 (t_fmt_ampm): Likewise.
3767 * localedata/locales/wal_ET (t_fmt): Likewise.
3768 (t_fmt_ampm): Likewise.
3770 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3771 * localedata/locales/ar_IN (t_fmt): Likewise.
3772 * localedata/locales/bhb_IN (t_fmt): Likewise.
3773 * localedata/locales/bho_IN (t_fmt): Likewise.
3774 * localedata/locales/bi_VU (t_fmt): Likewise.
3775 * localedata/locales/bn_BD (t_fmt): Likewise.
3776 * localedata/locales/bn_IN (t_fmt): Likewise.
3777 * localedata/locales/brx_IN (t_fmt): Likewise.
3778 * localedata/locales/doi_IN (t_fmt): Likewise.
3779 * localedata/locales/en_HK (t_fmt): Likewise.
3780 (t_fmt_ampm): Likewise.
3781 * localedata/locales/en_IN (t_fmt): Likewise.
3782 * localedata/locales/en_PH (t_fmt): Likewise.
3783 * localedata/locales/gu_IN (t_fmt): Likewise.
3784 * localedata/locales/hi_IN (t_fmt): Likewise.
3785 * localedata/locales/hif_FJ (t_fmt): Likewise.
3786 * localedata/locales/hne_IN (t_fmt): Likewise.
3787 * localedata/locales/kn_IN (t_fmt): Likewise.
3788 * localedata/locales/kok_IN (t_fmt): Likewise.
3789 * localedata/locales/ks_IN (t_fmt): Likewise.
3790 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3791 * localedata/locales/mag_IN (t_fmt): Likewise.
3792 * localedata/locales/mai_IN (t_fmt): Likewise.
3793 * localedata/locales/mjw_IN (t_fmt): Likewise.
3794 * localedata/locales/ml_IN (t_fmt): Likewise.
3795 * localedata/locales/mni_IN (t_fmt): Likewise.
3796 * localedata/locales/mr_IN (t_fmt): Likewise.
3797 * localedata/locales/ms_MY (t_fmt): Likewise.
3798 * localedata/locales/pa_IN (t_fmt): Likewise.
3799 * localedata/locales/raj_IN (t_fmt): Likewise.
3800 * localedata/locales/sa_IN (t_fmt): Likewise.
3801 * localedata/locales/sat_IN (t_fmt): Likewise.
3802 * localedata/locales/sd_IN (t_fmt): Likewise.
3803 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3804 * localedata/locales/tcy_IN (t_fmt): Likewise.
3805 * localedata/locales/the_NP (t_fmt): Likewise.
3806 * localedata/locales/to_TO (t_fmt): Likewise.
3807 * localedata/locales/ur_IN (t_fmt): Likewise.
3809 * localedata/locales/hif_FJ (d_t_fmt): Set to
3810 "%A %d %b %Y %I:%M:%S %p".
3811 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3813 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3814 * localedata/locales/ar_BH (t_fmt): Likewise.
3815 * localedata/locales/ar_DZ (t_fmt): Likewise.
3816 * localedata/locales/ar_EG (t_fmt): Likewise.
3817 * localedata/locales/ar_IQ (t_fmt): Likewise.
3818 * localedata/locales/ar_JO (t_fmt): Likewise.
3819 * localedata/locales/ar_KW (t_fmt): Likewise.
3820 * localedata/locales/ar_LB (t_fmt): Likewise.
3821 * localedata/locales/ar_LY (t_fmt): Likewise.
3822 * localedata/locales/ar_OM (t_fmt): Likewise.
3823 * localedata/locales/ar_QA (t_fmt): Likewise.
3824 * localedata/locales/ar_SD (t_fmt): Likewise.
3825 * localedata/locales/ar_SS (t_fmt): Likewise.
3826 * localedata/locales/ar_SY (t_fmt): Likewise.
3827 * localedata/locales/ar_TN (t_fmt): Likewise.
3828 * localedata/locales/ar_YE (t_fmt): Likewise.
3830 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3831 (t_fmt_ampm): Likewise.
3832 * localedata/locales/gez_ET (t_fmt): Likewise.
3833 (t_fmt_ampm): Likewise.
3835 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3836 (t_fmt_ampm): Likewise.
3837 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3839 * localedata/locales/zh_HK (t_fmt):
3840 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3842 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3843 because this locale does not use the 12-hour clock.
3844 (t_fmt): Set to "%Z %H:%M:%S".
3845 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3847 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3848 because this locale does not use the 12-hour clock.
3849 (t_fmt): Set to "%H:%M:%S %Z".
3850 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3852 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3853 because this locale does not use the 12-hour clock.
3854 (t_fmt): Set to "%T".
3855 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3856 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3858 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3859 because this locale does not use the 12-hour clock.
3860 (t_fmt): Set to "%H:%M:%S %Z".
3861 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3863 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3864 because this locale does not use the 12-hour clock.
3865 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3866 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3868 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3872 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3873 (t_fmt_ampm): Likewise.
3874 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3875 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3876 (d_fmt): Set to "%-d.%-m.%y".
3878 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3880 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3881 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3882 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3884 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3885 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3886 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3888 * support/blob_repeat.c (check_mul_overflow_size_t,
3889 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3891 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3893 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3895 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3897 regex: simplify Gnulib port
3898 This simplifies the code, by removing stuff intended for porting
3899 to Gnulib but no longer needed there.
3900 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3901 uses of libc_hidden_def, weak_alias.
3902 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3903 _Restrict_ except for public-facing headers.
3904 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3905 Remove; already defined elsewhere.
3906 * posix/regex.c, posix/regex_internal.h:
3907 Use __GNUC_PREREQ instead of rolling our own.
3908 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3910 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3912 * benchtests/bench-strlen.c (generic_strlen): New function.
3913 (memchr_strlen): New function.
3915 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3917 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3918 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3919 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3921 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3923 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3925 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3927 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3928 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3929 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3930 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3931 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3932 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3933 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3935 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3938 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3939 PLT reference in libc.so.
3940 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3941 _Q_lltoq and _Q_qtod PLT references in libc.so.
3943 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3945 * benchtests/bench-memchr.c: Cleanup defines.
3946 * benchtests/bench-memcmp.c: Likewise.
3947 * benchtests/bench-memset.c: Likewise.
3948 * benchtests/bench-memset-large.c: Likewise.
3949 * benchtests/bench-memset-walk.c: Likewise.
3950 * benchtests/bench-stpcpy.c: Likewise.
3951 * benchtests/bench-stpncpy.c: Likewise.
3952 * benchtests/bench-strcat.c: Likewise.
3953 * benchtests/bench-strchr.c: Likewise.
3954 * benchtests/bench-strcmp.c: Likewise.
3955 * benchtests/bench-strcpy.c: Likewise.
3956 * benchtests/bench-strcspn.c: Likewise.
3957 * benchtests/bench-string.h: Likewise.
3958 * benchtests/bench-strlen.c: Likewise.
3959 * benchtests/bench-strncat.c: Likewise.
3960 * benchtests/bench-strncmp.c: Likewise.
3961 * benchtests/bench-strncpy.c: Likewise.
3962 * benchtests/bench-strnlen.c: Likewise.
3963 * benchtests/bench-strpbrk.c: Likewise.
3964 * benchtests/bench-strrchr.c: Likewise.
3965 * benchtests/bench-strspn.c: Likewise.
3967 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3969 * stdlib/longlong.h: Update from GCC.
3972 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3973 * configure: Regenerated.
3974 * manual/install.texi (Tools for Compilation): Update minimum GCC
3976 * INSTALL: Regenerated.
3978 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3980 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3982 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3984 * malloc/malloc.c (mremap_chunk): Additional checks.
3986 2018-12-21 Mao Han <han_mao@c-sky.com>
3988 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3989 * scripts/build-many-glibcs.py: Add C-SKY targets.
3990 * sysdeps/csky/Implies: New file.
3991 * sysdeps/csky/Makefile: Likewise.
3992 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3993 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3994 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3995 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3996 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3997 * sysdeps/csky/abiv2/memmove.S: Likewise.
3998 * sysdeps/csky/abiv2/memset.S: Likewise.
3999 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4000 * sysdeps/csky/abiv2/start.S: Likewise.
4001 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4002 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4003 * sysdeps/csky/abiv2/strlen.S: Likewise.
4004 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4005 * sysdeps/csky/abort-instr.h: Likewise.
4006 * sysdeps/csky/atomic-machine.h: Likewise.
4007 * sysdeps/csky/bits/endian.h: Likewise.
4008 * sysdeps/csky/bits/fenv.h: Likewise.
4009 * sysdeps/csky/bits/link.h: Likewise.
4010 * sysdeps/csky/bits/setjmp.h: Likewise.
4011 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4012 * sysdeps/csky/bsd-setjmp.S: Likewise.
4013 * sysdeps/csky/configure: Likewise.
4014 * sysdeps/csky/configure.ac: Likewise.
4015 * sysdeps/csky/dl-machine.h: Likewise.
4016 * sysdeps/csky/dl-procinfo.c: Likewise.
4017 * sysdeps/csky/dl-procinfo.h: Likewise.
4018 * sysdeps/csky/dl-sysdep.h: Likewise.
4019 * sysdeps/csky/dl-tls.h: Likewise.
4020 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4021 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4022 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4023 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4024 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4025 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4026 * sysdeps/csky/fpu/fegetround.c: Likewise.
4027 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4028 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4029 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4030 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4031 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4032 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4033 * sysdeps/csky/fpu/fesetround.c: Likewise.
4034 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4035 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4036 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4037 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4038 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4039 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4040 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4041 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4042 * sysdeps/csky/fpu_control.h: Likewise.
4043 * sysdeps/csky/gccframe.h: Likewise.
4044 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4045 * sysdeps/csky/ldsodefs.h: Likewise.
4046 * sysdeps/csky/libc-tls.c: Likewise.
4047 * sysdeps/csky/linkmap.h: Likewise.
4048 * sysdeps/csky/machine-gmon.h: Likewise.
4049 * sysdeps/csky/memusage.h: Likewise.
4050 * sysdeps/csky/nofpu/Implies: Likewise.
4051 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4052 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4053 * sysdeps/csky/nptl/Makefile: Likewise.
4054 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4055 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4056 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4057 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4058 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4059 * sysdeps/csky/nptl/tls.h: Likewise.
4060 * sysdeps/csky/preconfigure: Likewise.
4061 * sysdeps/csky/sfp-machine.h: Likewise.
4062 * sysdeps/csky/sotruss-lib.c: Likewise.
4063 * sysdeps/csky/stackinfo.h: Likewise.
4064 * sysdeps/csky/sysdep.h: Likewise.
4065 * sysdeps/csky/tininess.h: Likewise.
4066 * sysdeps/csky/tst-audit.h: Likewise.
4067 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4068 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4069 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4070 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4071 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4072 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4073 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4074 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4075 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4076 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4077 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4078 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4079 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4080 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4081 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4082 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4083 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4084 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4085 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4086 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4087 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4088 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4089 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4090 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4091 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4092 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4093 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4094 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4095 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4096 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4097 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4098 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4099 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4100 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4101 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4102 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4103 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4104 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4105 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4106 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4107 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4108 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4109 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4110 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4112 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4114 * include/time.h (__difftime64): Add.
4115 * time/difftime.c (subtract): convert to 64-bit time.
4116 * time/difftime.c (__difftime64): Add.
4117 * time/difftime.c (__difftime): Wrap around __difftime64.
4119 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4121 * manual/examples/add.c: Remove redundant "if not".
4122 * manual/examples/argp-ex1.c: Likewise.
4123 * manual/examples/argp-ex2.c: Likewise.
4124 * manual/examples/argp-ex3.c: Likewise.
4125 * manual/examples/argp-ex4.c: Likewise.
4126 * manual/examples/atexit.c: Likewise.
4127 * manual/examples/db.c: Likewise.
4128 * manual/examples/dir.c: Likewise.
4129 * manual/examples/dir2.c: Likewise.
4130 * manual/examples/execinfo.c: Likewise.
4131 * manual/examples/filecli.c: Likewise.
4132 * manual/examples/filesrv.c: Likewise.
4133 * manual/examples/fmtmsgexpl.c: Likewise.
4134 * manual/examples/genpass.c: Likewise.
4135 * manual/examples/inetcli.c: Likewise.
4136 * manual/examples/inetsrv.c: Likewise.
4137 * manual/examples/isockad.c: Likewise.
4138 * manual/examples/longopt.c: Likewise.
4139 * manual/examples/memopen.c: Likewise.
4140 * manual/examples/memstrm.c: Likewise.
4141 * manual/examples/mkdirent.c: Likewise.
4142 * manual/examples/mkfsock.c: Likewise.
4143 * manual/examples/mkisock.c: Likewise.
4144 * manual/examples/mygetpass.c: Likewise.
4145 * manual/examples/pipe.c: Likewise.
4146 * manual/examples/popen.c: Likewise.
4147 * manual/examples/rprintf.c: Likewise.
4148 * manual/examples/search.c: Likewise.
4149 * manual/examples/select.c: Likewise.
4150 * manual/examples/setjmp.c: Likewise.
4151 * manual/examples/sigh1.c: Likewise.
4152 * manual/examples/sigusr.c: Likewise.
4153 * manual/examples/stpcpy.c: Likewise.
4154 * manual/examples/strdupa.c: Likewise.
4155 * manual/examples/strftim.c: Likewise.
4156 * manual/examples/subopt.c: Likewise.
4157 * manual/examples/swapcontext.c: Likewise.
4158 * manual/examples/termios.c: Likewise.
4159 * manual/examples/testopt.c: Likewise.
4160 * manual/examples/testpass.c: Likewise.
4161 * manual/examples/timeval_subtract.c: Likewise.
4163 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4165 * sysdeps/x86/fpu/math_private.h: New file.
4166 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4168 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4173 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4175 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4176 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4177 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4178 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4180 (_dl_show_auxv): Give a special treatment to
4181 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4182 and AT_L3_CACHEGEOMETRY.
4183 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4184 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4185 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4186 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4188 2018-12-19 Andreas Schwab <schwab@suse.de>
4190 * nscd/connections.c (check_use): Don't abort on invalid len.
4192 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4194 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4195 values in the 64bit value cases.
4197 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4203 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4209 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4212 (__gmtime64_r): Add.
4214 (__gmtime64_r): Add.
4215 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4221 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4224 (__localtime64_r): Add.
4226 (__localtime64_r): Add.
4227 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4229 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4231 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4232 kernel_sigction definition.
4234 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4236 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4238 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4239 __syscall_rt_sigaction.
4240 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4241 (kernel_sigaction): Use Linux generic defintion.
4243 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4244 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4245 (__syscall_rt_sigaction): Remove implementation.
4246 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4248 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4249 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4250 INTERNAL_SYSCALL): Remove definitions.
4251 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4252 action and signal set size.
4253 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4256 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4257 James Clarke <jrtc27@jrtc27.com>
4260 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4261 Define if SA_RESTORER is defined.
4262 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4263 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4265 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4266 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4268 (HAS_SA_RESTORER): Define.
4269 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4270 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4271 (HAS_SA_RESTORER): Define.
4272 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4273 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4274 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4275 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4276 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4278 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4280 * sysdeps/unix/sysv/linux/kernel-features.h
4281 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4282 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4283 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4284 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4285 (__ASSUME_ST_INO_64_BIT): Likewise.
4286 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4287 <kernel-features.h>.
4288 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4289 Remove conditional code.
4290 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4291 <kernel-features.h>.
4292 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4293 Remove conditional code.
4294 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4295 <kernel-features.h>.
4296 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4297 Remove conditional code.
4298 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4299 <kernel-features.h>.
4300 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4301 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4303 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4305 * sysdeps/s390/multiarch/ifunc-resolve.h
4306 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4307 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4308 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4309 Delete macro definition.
4310 (s390_libc_ifunc_init): Rename to
4311 s390_libc_ifunc_expr_stfle_init.
4312 * sysdeps/s390/bzero: Use
4313 s390_libc_ifunc_expr_stfle_init instead of
4314 s390_libc_ifunc_init.
4315 * sysdeps/s390/memcmp.c: Likewise.
4316 * sysdeps/s390/memcpy.c: Likewise.
4317 * sysdeps/s390/mempcpy.c: Likewise.
4318 * sysdeps/s390/memset.c: Likewise.
4320 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4322 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4323 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4327 * sysdeps/s390/multiarch/Makefile
4328 (sysdep_routines): Remove wmemcmp variants.
4329 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4330 * sysdeps/s390/multiarch/ifunc-impl-list.c
4331 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4332 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4333 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4334 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4335 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4336 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4337 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4338 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4342 * sysdeps/s390/multiarch/Makefile
4343 (sysdep_routines): Remove wmemset variants.
4344 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4345 * sysdeps/s390/multiarch/ifunc-impl-list.c
4346 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4347 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4348 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4349 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4350 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4351 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4352 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4353 * sysdeps/s390/ifunc-wmemset.h: New file.
4355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4357 * sysdeps/s390/multiarch/Makefile
4358 (sysdep_routines): Remove wmemchr variants.
4359 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4360 * sysdeps/s390/multiarch/ifunc-impl-list.c
4361 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4362 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4363 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4364 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4365 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4366 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4367 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4368 * sysdeps/s390/ifunc-wmemchr.h: New file.
4370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4372 * sysdeps/s390/multiarch/Makefile
4373 (sysdep_routines): Remove wcscspn variants.
4374 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4375 * sysdeps/s390/multiarch/ifunc-impl-list.c
4376 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4377 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4378 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4379 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4380 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4381 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4382 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4383 * sysdeps/s390/ifunc-wcscspn.h: New file.
4385 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4387 * sysdeps/s390/multiarch/Makefile
4388 (sysdep_routines): Remove wcspbrk variants.
4389 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4390 * sysdeps/s390/multiarch/ifunc-impl-list.c
4391 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4392 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4393 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4394 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4395 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4396 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4397 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4398 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4400 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4402 * sysdeps/s390/multiarch/Makefile
4403 (sysdep_routines): Remove wcsspn variants.
4404 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4405 * sysdeps/s390/multiarch/ifunc-impl-list.c
4406 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4407 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4408 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4409 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4410 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4411 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4412 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4413 * sysdeps/s390/ifunc-wcsspn.h: New file.
4415 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4417 * sysdeps/s390/multiarch/Makefile
4418 (sysdep_routines): Remove wcsrchr variants.
4419 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4420 * sysdeps/s390/multiarch/ifunc-impl-list.c
4421 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4422 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4423 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4424 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4425 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4426 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4427 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4428 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4432 * sysdeps/s390/multiarch/Makefile
4433 (sysdep_routines): Remove wcschrnul variants.
4434 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4435 * sysdeps/s390/multiarch/ifunc-impl-list.c
4436 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4437 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4438 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4439 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4440 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4441 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4442 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4443 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4447 * sysdeps/s390/multiarch/Makefile
4448 (sysdep_routines): Remove wcschr variants.
4449 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4450 * sysdeps/s390/multiarch/ifunc-impl-list.c
4451 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4452 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4453 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4454 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4455 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4456 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4457 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4458 * sysdeps/s390/ifunc-wcschr.h: New file.
4460 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4462 * sysdeps/s390/multiarch/Makefile
4463 (sysdep_routines): Remove wcsncmp variants.
4464 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4465 * sysdeps/s390/multiarch/ifunc-impl-list.c
4466 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4467 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4468 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4469 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4470 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4471 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4472 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4473 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4475 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4477 * sysdeps/s390/multiarch/Makefile
4478 (sysdep_routines): Remove wcscmp variants.
4479 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4480 * sysdeps/s390/multiarch/ifunc-impl-list.c
4481 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4482 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4483 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4484 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4485 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4486 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4487 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4488 * sysdeps/s390/ifunc-wcscmp.h: New file.
4490 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4492 * sysdeps/s390/multiarch/Makefile
4493 (sysdep_routines): Remove wcsncat variants.
4494 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4495 * sysdeps/s390/multiarch/ifunc-impl-list.c
4496 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4497 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4498 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4499 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4500 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4501 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4502 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4503 * sysdeps/s390/ifunc-wcsncat.h: New file.
4505 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4507 * sysdeps/s390/multiarch/Makefile
4508 (sysdep_routines): Remove wcscat variants.
4509 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4510 * sysdeps/s390/multiarch/ifunc-impl-list.c
4511 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4512 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4513 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4514 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4515 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4516 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4517 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4518 * sysdeps/s390/ifunc-wcscat.h: New file.
4520 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4522 * sysdeps/s390/multiarch/Makefile
4523 (sysdep_routines): Remove wcpncpy variants.
4524 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4525 * sysdeps/s390/multiarch/ifunc-impl-list.c
4526 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4527 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4528 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4529 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4530 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4531 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4532 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4533 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4535 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4537 * sysdeps/s390/multiarch/Makefile
4538 (sysdep_routines): Remove wcsncpy variants.
4539 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4540 * sysdeps/s390/multiarch/ifunc-impl-list.c
4541 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4542 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4543 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4544 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4545 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4546 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4547 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4548 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4550 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4552 * sysdeps/s390/multiarch/Makefile
4553 (sysdep_routines): Remove wcpcpy variants.
4554 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4555 * sysdeps/s390/multiarch/ifunc-impl-list.c
4556 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4557 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4558 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4559 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4560 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4561 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4562 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4563 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4565 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4567 * sysdeps/s390/multiarch/Makefile
4568 (sysdep_routines): Remove wcscpy variants.
4569 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4570 * sysdeps/s390/multiarch/ifunc-impl-list.c
4571 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4572 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4573 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4574 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4575 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4576 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4577 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4578 * sysdeps/s390/ifunc-wcscpy.h: New file.
4580 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4582 * sysdeps/s390/multiarch/Makefile
4583 (sysdep_routines): Remove wcsnlen variants.
4584 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4585 * sysdeps/s390/multiarch/ifunc-impl-list.c
4586 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4587 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4588 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4589 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4590 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4591 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4592 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4593 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4595 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4597 * sysdeps/s390/multiarch/Makefile
4598 (sysdep_routines): Remove wcslen variants.
4599 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4600 * sysdeps/s390/multiarch/ifunc-impl-list.c
4601 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4602 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4603 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4604 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4605 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4606 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4607 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4608 * sysdeps/s390/ifunc-wcslen.h: New file.
4610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4612 * sysdeps/s390/multiarch/Makefile
4613 (sysdep_routines): Remove memrchr variants.
4614 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4615 * sysdeps/s390/multiarch/ifunc-impl-list.c
4616 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4617 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4618 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4619 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4620 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4621 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4622 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4623 * sysdeps/s390/ifunc-memrchr.h: New file.
4625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4627 * sysdeps/s390/multiarch/Makefile
4628 (sysdep_routines): Remove memccpy variants.
4629 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4630 * sysdeps/s390/multiarch/ifunc-impl-list.c
4631 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4632 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4633 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4634 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4635 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4636 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4637 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4638 * sysdeps/s390/ifunc-memccpy.h: New file.
4640 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4642 * sysdeps/s390/multiarch/Makefile
4643 (sysdep_routines): Remove rawmemchr variants.
4644 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4645 * sysdeps/s390/multiarch/ifunc-impl-list.c
4646 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4647 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4648 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4649 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4650 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4651 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4652 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4653 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4657 * sysdeps/s390/multiarch/Makefile
4658 (sysdep_routines): Remove memchr variants.
4659 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4660 * sysdeps/s390/multiarch/ifunc-impl-list.c
4661 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4662 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4663 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4664 * sysdeps/s390/multiarch/memchr.c: Move to ...
4665 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4666 * sysdeps/s390/ifunc-memchr.h: New file.
4667 * sysdeps/s390/s390-64/memchr.S: Move to ...
4668 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4669 for 31/64bit and ifunc handling.
4670 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4671 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4672 * sysdeps/s390/s390-32/memchr.S: Likewise.
4674 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4676 * sysdeps/s390/multiarch/Makefile
4677 (sysdep_routines): Remove strcspn variants.
4678 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4679 * sysdeps/s390/multiarch/ifunc-impl-list.c
4680 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4681 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4682 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4683 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4684 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4685 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4686 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4687 * sysdeps/s390/ifunc-strcspn.h: New file.
4689 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4691 * sysdeps/s390/multiarch/Makefile
4692 (sysdep_routines): Remove strpbrk variants.
4693 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4694 * sysdeps/s390/multiarch/ifunc-impl-list.c
4695 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4696 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4697 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4698 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4699 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4700 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4701 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4702 * sysdeps/s390/ifunc-strpbrk.h: New file.
4704 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4706 * sysdeps/s390/multiarch/Makefile
4707 (sysdep_routines): Remove strspn variants.
4708 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4709 * sysdeps/s390/multiarch/ifunc-impl-list.c
4710 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4711 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4712 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4713 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4714 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4715 * sysdeps/s390/multiarch/strspn.c: Move to ...
4716 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4717 * sysdeps/s390/ifunc-strspn.h: New file.
4719 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4721 * sysdeps/s390/multiarch/Makefile
4722 (sysdep_routines): Remove strrchr variants.
4723 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4724 * sysdeps/s390/multiarch/ifunc-impl-list.c
4725 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4726 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4727 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4728 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4729 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4730 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4731 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4732 * sysdeps/s390/ifunc-strrchr.h: New file.
4734 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4736 * sysdeps/s390/multiarch/Makefile
4737 (sysdep_routines): Remove strchrnul variants.
4738 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4739 * sysdeps/s390/multiarch/ifunc-impl-list.c
4740 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4741 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4742 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4743 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4744 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4745 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4746 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4747 * sysdeps/s390/ifunc-strchrnul.h: New file.
4749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4751 * sysdeps/s390/multiarch/Makefile
4752 (sysdep_routines): Remove strchr variants.
4753 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4754 * sysdeps/s390/multiarch/ifunc-impl-list.c
4755 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4756 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4757 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4758 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4759 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4760 * sysdeps/s390/multiarch/strchr.c: Move to ...
4761 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4762 * sysdeps/s390/ifunc-strchr.h: New file.
4764 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4766 * sysdeps/s390/multiarch/Makefile
4767 (sysdep_routines): Remove strncmp variants.
4768 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4769 * sysdeps/s390/multiarch/ifunc-impl-list.c
4770 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4771 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4772 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4773 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4774 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4775 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4776 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4777 * sysdeps/s390/ifunc-strncmp.h: New file.
4779 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4781 * sysdeps/s390/multiarch/Makefile
4782 (sysdep_routines): Remove strcmp variants.
4783 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4784 * sysdeps/s390/multiarch/ifunc-impl-list.c
4785 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4786 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4787 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4788 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4789 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4790 * sysdeps/s390/ifunc-strcmp.h: New file.
4791 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4792 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4793 for 31/64bit and ifunc handling.
4794 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4795 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4796 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4798 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4800 * sysdeps/s390/multiarch/Makefile
4801 (sysdep_routines): Remove strncat variants.
4802 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4803 * sysdeps/s390/multiarch/ifunc-impl-list.c
4804 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4805 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4806 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4807 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4808 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4809 * sysdeps/s390/multiarch/strncat.c: Move to ...
4810 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4811 * sysdeps/s390/ifunc-strncat.h: New file.
4813 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4815 * sysdeps/s390/multiarch/Makefile
4816 (sysdep_routines): Remove strcat variants.
4817 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4818 * sysdeps/s390/multiarch/ifunc-impl-list.c
4819 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4820 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4821 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4822 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4823 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4824 * sysdeps/s390/multiarch/strcat.c: Move to ...
4825 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4826 * sysdeps/s390/ifunc-strcat.h: New file.
4828 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4830 * sysdeps/s390/multiarch/Makefile
4831 (sysdep_routines): Remove stpncpy variants.
4832 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4833 * sysdeps/s390/multiarch/ifunc-impl-list.c
4834 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4835 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4836 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4837 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4838 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4839 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4840 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4841 * sysdeps/s390/ifunc-stpncpy.h: New file.
4843 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4845 * sysdeps/s390/multiarch/Makefile
4846 (sysdep_routines): Remove strncpy variants.
4847 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4848 * sysdeps/s390/multiarch/ifunc-impl-list.c
4849 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4850 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4851 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4852 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4853 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4854 * sysdeps/s390/ifunc-strncpy.h: New file.
4855 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4856 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4857 and adjust ifunc handling.
4858 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4859 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4860 and adjust ifunc handling.
4861 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4862 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4864 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4866 * sysdeps/s390/multiarch/Makefile
4867 (sysdep_routines): Remove stpcpy variants.
4868 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4869 * sysdeps/s390/multiarch/ifunc-impl-list.c
4870 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4871 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4872 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4873 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4874 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4875 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4876 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4877 * sysdeps/s390/ifunc-stpcpy.h: New file.
4879 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4881 * sysdeps/s390/multiarch/Makefile
4882 (sysdep_routines): Remove strcpy variants.
4883 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4884 * sysdeps/s390/multiarch/ifunc-impl-list.c
4885 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4886 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4887 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4888 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4889 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4890 * sysdeps/s390/ifunc-strcpy.h: New file.
4891 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4892 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4893 for 31/64bit and ifunc handling.
4894 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4895 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4896 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4898 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4900 * sysdeps/s390/multiarch/Makefile
4901 (sysdep_routines): Remove strnlen variants.
4902 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4903 * sysdeps/s390/multiarch/ifunc-impl-list.c
4904 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4905 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4906 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4907 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4908 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4909 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4910 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4911 * sysdeps/s390/ifunc-strnlen.h: New file.
4913 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4915 * sysdeps/s390/multiarch/Makefile
4916 (sysdep_routines): Remove strlen variants.
4917 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4918 * sysdeps/s390/multiarch/ifunc-impl-list.c
4919 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4920 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4921 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4922 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4923 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4924 * sysdeps/s390/multiarch/strlen.c: Move to ...
4925 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4926 * sysdeps/s390/ifunc-strlen.h: New file.
4928 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4930 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4931 * sysdeps/s390/multiarch/ifunc-impl-list.c
4932 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4933 * sysdeps/s390/ifunc-memmem.h: New file.
4934 * sysdeps/s390/memmem.c: Likewise.
4935 * sysdeps/s390/memmem-c.c: Likewise.
4936 * sysdeps/s390/memmem-vx.c: Likewise.
4938 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4940 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4941 * sysdeps/s390/multiarch/ifunc-impl-list.c
4942 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4943 * sysdeps/s390/ifunc-strstr.h: New file.
4944 * sysdeps/s390/strstr.c: Likewise.
4945 * sysdeps/s390/strstr-c.c: Likewise.
4946 * sysdeps/s390/strstr-vx.c: Likewise.
4948 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4950 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4951 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4952 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4953 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4955 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4956 * sysdeps/s390/memmove-c.c: New file.
4957 * sysdeps/s390/memmove.c: Likewise.
4958 * sysdeps/s390/multiarch/ifunc-impl-list.c
4959 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4961 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4963 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4964 * sysdeps/s390/configure.ac: Add check for z13 support.
4965 * sysdeps/s390/configure: Regenerated.
4967 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4969 * sysdeps/s390/memcopy.h: New file.
4971 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4973 * sysdeps/s390/s390-32/bcopy.S: Remove.
4974 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4976 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4978 * sysdeps/s390/ifunc-memcpy.h: New File.
4979 * sysdeps/s390/memcpy.S: Move to ...
4980 * sysdeps/s390/memcpy-z900.S ... here.
4981 Move implementations from memcpy-s390x.s to here.
4982 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4983 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4984 Remove memcpy/mempcpy variants.
4985 * sysdeps/s390/Makefile (sysdep_routines):
4986 Add memcpy/mempcpy variants.
4987 * sysdeps/s390/multiarch/ifunc-impl-list.c
4988 (__libc_ifunc_impl_list): Adjust ifunc variants for
4990 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4992 * sysdeps/s390/memcpy.c: ... here.
4993 Adjust ifunc variants for memcpy.
4994 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4995 * sysdeps/s390/mempcpy.c: ... here.
4996 Adjust ifunc variants for mempcpy.
4997 * sysdeps/s390/mempcpy.S: Delete file.
4999 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5001 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5002 * sysdeps/s390/memcpy.S: ... here.
5003 Adjust to be usable for 31/64bit.
5004 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5005 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5006 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5007 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5008 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5009 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5010 Adjust to be usable for 31/64bit.
5011 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5012 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5013 * sysdeps/s390/multiarch/memcpy.c: ... here.
5014 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5016 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5018 * sysdeps/s390/ifunc-memcmp.h: New File.
5019 * sysdeps/s390/memcmp.S: Move to ...
5020 * sysdeps/s390/memcmp-z900.S ... here.
5021 Move implementations from memcmp-s390x.s to here.
5022 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5023 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5024 Remove memcmp variants.
5025 * sysdeps/s390/Makefile (sysdep_routines):
5026 Add memcmp variants.
5027 * sysdeps/s390/multiarch/ifunc-impl-list.c
5028 (__libc_ifunc_impl_list): Adjust ifunc variants for
5030 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5032 * sysdeps/s390/memcmp.c: ... here.
5033 Adjust ifunc variants for memcmp.
5035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5037 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5038 * sysdeps/s390/memcmp.S: ... here.
5039 Adjust to be usable for 31/64bit.
5040 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5041 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5042 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5044 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5045 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5046 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5047 Adjust to be usable for 31/64bit.
5048 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5049 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5050 * sysdeps/s390/multiarch/memcmp.c: ... here.
5051 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5053 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5055 * sysdeps/s390/s390-32/bzero.S: Delete file.
5056 * sysdeps/s390/s390-64/bzero.S: Likewise.
5057 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5058 * sysdeps/s390/bzero.c: New file.
5059 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5060 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5061 * sysdeps/s390/multiarch/ifunc-impl-list.c
5062 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5064 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5066 * sysdeps/s390/ifunc-memset.h: New File.
5067 * sysdeps/s390/memset.S: Move to ...
5068 * sysdeps/s390/memset-z900.S ... here.
5069 Move implementations from memset-s390x.s to here.
5070 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5071 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5072 Remove memset variants.
5073 * sysdeps/s390/Makefile (sysdep_routines):
5074 Add memset variants.
5075 * sysdeps/s390/multiarch/ifunc-impl-list.c
5076 (__libc_ifunc_impl_list): Adjust ifunc variants for
5078 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5080 * sysdeps/s390/memset.c: ... here.
5081 Adjust ifunc variants for memset.
5083 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5085 * sysdeps/s390/s390-64/memset.S: Move to ...
5086 * sysdeps/s390/memset.S: ... here.
5087 Adjust to be usable for 31/64bit.
5088 * sysdeps/s390/s390-32/memset.S: Delete File.
5089 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5090 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5092 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5093 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5094 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5095 Adjust to be usable for 31/64bit.
5096 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5097 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5098 * sysdeps/s390/multiarch/memset.c: ... here.
5099 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5101 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5103 * sysdeps/s390/multiarch/ifunc-resolve.h
5104 (s390_libc_ifunc_init, s390_libc_ifunc,
5105 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5107 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5109 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5110 * sysdeps/s390/configure.ac: Add check for z10 support.
5111 * sysdeps/s390/configure: Regenerated.
5113 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5115 * sysdeps/i386/atomic-machine.h: Merged with ...
5116 * sysdeps/x86_64/atomic-machine.h: To ...
5117 * sysdeps/x86/atomic-machine.h: This. New file.
5119 2018-12-18 Florian Weimer <fweimer@redhat.com>
5121 Rewrite locale/gen-translit.pl in Python.
5122 * locale/Makefile (generated): Add C-translit.h.
5123 (before-compile): Add $(objpfx)C-translit.h.
5124 (C-translit.h): Move to $(objpfx). Create target directory.
5125 Build using Python script.
5126 * locale/gen-translit.py: New file.
5127 * locale/gen-translit.pl: Remove file.
5128 * locale/C-translit.h.in: Change comment character to '#' for
5129 easier parsing without a C preprocessor.
5130 * locale/C-translit.h: Remove generated file.
5131 * manual/install.texi (Tools for Compilation): Do not mention
5133 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5134 Remove locale/C-translit.h.
5135 * scripts/update-copyrights: Likewise.
5136 * INSTALL: Regenerate.
5138 2018-12-18 Florian Weimer <fweimer@redhat.com>
5141 * localedata/locales/bi_VU: Remove executable bit from file.
5143 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5146 (__localtime64): Add.
5147 * manual/maint.texi: Document Y2038 symbol handling.
5149 (__localtime64): Add.
5150 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5152 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5154 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5157 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5158 to allow extra macros from first or second sources.
5159 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5160 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5161 (tests-special): Add $(objpfx)tst-mman-consts.out.
5162 ($(objpfx)tst-mman-consts.out): New makefile target.
5164 2018-12-17 Mao Han <han_mao@c-sky.com>
5166 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5167 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5168 without stat64 system call support.
5169 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5170 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5171 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5172 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5173 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5174 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5175 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5176 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5177 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5178 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5179 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5181 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5183 regex: fix storage-exhaustion error
5185 * posix/regexec.c (get_subexp):
5186 Do not continue if storage is exhausted.
5188 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5190 regex: fix heap-use-after-free error
5192 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5193 https://debbugs.gnu.org/32592
5194 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5195 call extend_buffers which reallocates the re_string_t internal buffer.
5196 Local variable 'buf' was not updated in such case, resulting in
5198 * posix/regexec.c (get_subexp): Update 'buf' after call to
5201 2018-12-15 Florian Weimer <fweimer@redhat.com>
5203 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5204 (minimum_stride_size): Use it.
5205 (support_blob_repeat_allocate): Likewise.
5207 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5209 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5214 2018-12-14 Florian Weimer <fweimer@redhat.com>
5216 * manual/process.texi (Process Creation Concepts): Remove
5217 documentation of process (ID) lifetime. List more process
5218 creation functions. Reference Process Identification section.
5219 (Process Identification): Add information about process ID
5220 lifetime. Describe Linux thread/task IDs.
5221 * manual/signal.texi (Signaling Another Process): Mention that the
5222 signal is always sent to the process.
5224 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5226 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5227 and tst-ldbl-efgcvt.
5228 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5229 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5230 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5231 (fcvt_tests, output_error, output_r_error, do_test): Use the
5232 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5233 select the type of floating-point variables and arguments; to
5234 produce extra tests for double and conversion specifiers for
5235 printf; and to set the names of called functions.
5236 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5237 in tst-efgcvt-template.c.
5238 * misc/tst-ldbl-efgcvt.c: Likewise.
5240 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5242 * nss/Makefile (tst-nss-test3.out): New rule.
5244 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5246 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5249 2018-12-13 fanjinke <fanjinke@hygon.cn>
5251 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5254 2018-12-13 Andreas Schwab <schwab@suse.de>
5257 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5258 (__pthread_rwlock_rdlock_full): Update expected value for
5259 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5260 * nptl/tst-rwlock-pwn.c: New file.
5261 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5263 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5265 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5268 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5270 * benchtests/scripts/compare_bench.py (do_compare): write to
5271 stderr in casestat is not present.
5272 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5273 stderr in case timings field is not present. Also string showing
5274 the output filename goes into the stderr.
5276 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5278 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5279 and ZeroDivisorError exceptions.
5280 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5281 argument to loop through user provided statistics.
5282 * benchtests/scripts/compare_bench.py (main): Include the --stats
5285 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5287 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5290 2018-12-12 Florian Weimer <fweimer@redhat.com>
5292 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5293 clause to copyright header.
5295 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5298 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5299 registers saved in the stack frame.
5300 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5301 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5303 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5305 * include/bits/monetary-ldbl.h: New file.
5306 * include/bits/printf-ldbl.h: Likewise.
5307 * include/bits/stdio-ldbl.h: Likewise.
5308 * include/bits/stdlib-ldbl.h: Likewise.
5309 * include/bits/syslog-ldbl.h: Likewise.
5310 * include/bits/wchar-ldbl.h: Likewise.
5312 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5314 * libio/libio.h: Remove redirection for _IO_vfprintf.
5316 2018-12-11 Andreas Schwab <schwab@suse.de>
5318 * Makerules: Remove all references to abilist-pattern.
5319 (update-all-abi): Simplify find expression.
5321 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5324 * math/auto-libm-test-in: Add new test case.
5325 * math/auto-libm-test-out-pow: Regenerated.
5326 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5328 2018-12-10 DJ Delorie <dj@redhat.com>
5331 * support/test-container.c: Move postclean step to before we
5334 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5336 * scripts/gen-as-const.py (main): Handle --python option.
5337 * scripts/gen-py-const.awk: Remove.
5338 * Makerules (py-const-script): Use gen-as-const.py.
5339 ($(py-const)): Likewise.
5340 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5341 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5342 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5343 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5344 ~PTHREAD_MUTEX_NO_ELISION_NP.
5345 * manual/README.pretty-printers: Update reference to
5348 * scripts/glibcextract.py: New file.
5349 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5350 or tempfile. Import glibcexctract.
5351 (compute_c_consts): Remove. Moved to glibcextract.py.
5352 (gen_test): Update reference to compute_c_consts.
5354 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5355 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5356 * sysdeps/unix/sysv/linux/Makefile
5357 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5358 Redirect stderr as well as stdout.
5360 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5363 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5364 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5365 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5366 ALWAYS_USE_VSYSCALL.
5367 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5368 ALWAYS_USE_VSYSCALL.
5369 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5370 ALWAYS_USE_VSYSCALL.
5372 2018-12-10 Florian Weimer <fweimer@redhat.com>
5375 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5376 offset instead of count for clarity. Fix typo in comment.
5377 (__old_getdents64): Keep track of previous offset. Use it to call
5379 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5380 that d_off is never zero.
5382 2018-12-10 Andreas Schwab <schwab@suse.de>
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5385 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5387 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5388 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5390 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5392 * timezone/private.h: Update from tzcode 2018g.
5393 * timezone/tzfile.h: Likewise.
5394 * timezone/tzselect.ksh: Likewise.
5395 * timezone/zdump.c: Likewise.
5396 * timezone/zic.c: Likewise.
5398 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5401 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5402 (do_test): Adjust buffer size and fix format.
5404 2018-12-07 DJ Delorie <dj@redhat.com>
5407 * malloc/tst-tcfree3.c: New.
5408 * malloc/Makefile: Add it.
5410 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5412 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5414 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5416 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5417 used as a mask for the mode argument of __vfscanf_internal and
5418 __vfwscanf_internal.
5419 * stdio-common/vfscanf-internal.c
5420 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5421 (__strtof128_internal): Define to __wcstof128_internal.
5422 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5423 __strtof128_internal or __wcstof128_internal when the format of
5424 long double is the same as _Float128.
5426 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5428 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5429 * posix/confstr.c (confstr): Rename to __confstr.
5430 (__confstr): Add hidden def.
5431 (confstr): Add weak alias for __confstr.
5432 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5435 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5437 * NEWS: Mention getcpu.
5438 * include/sched.h (__getcpu): New libc_hidden_proto.
5439 * manual/resource.texi: Document getcpu.
5440 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5441 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5442 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5443 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5444 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5445 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5446 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5447 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5448 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5449 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5450 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5451 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5452 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5454 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5455 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5456 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5465 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5466 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5467 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5468 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5469 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5470 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5471 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5472 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5473 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5474 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5475 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5478 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5480 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5482 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5484 2018-12-07 Florian Weimer <fweimer@redhat.com>
5487 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5488 * posix/Versions (GLIBC_2.29): Export
5489 posix_spawn_file_actions_addfchdir_np.
5490 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5491 * posix/spawn_faction_destroy.c
5492 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5493 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5494 and the field action.fchdir_action.
5495 * posix/tst-spawn-chdir.c (add_chdir): New function.
5496 (do_test): Add do_fchdir loop. Call add_chdir.
5497 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5498 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5499 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5500 posix_spawn_file_actions_addfchdir_np.
5501 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5503 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5505 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5506 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5508 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5510 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5512 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5514 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5516 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5518 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5519 (GLIBC_2.29): Likewise.
5520 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5521 (GLIBC_2.29): Likewise.
5522 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5523 (GLIBC_2.29): Likewise.
5524 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5525 (GLIBC_2.29): Likewise.
5526 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5529 (GLIBC_2.29): Likewise.
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5531 (GLIBC_2.29): Likewise.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5533 (GLIBC_2.29): Likewise.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5535 (GLIBC_2.29): Likewise.
5536 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5538 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5540 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5542 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5543 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5545 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5547 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5549 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5552 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5554 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5555 trailing whitespace removed.
5556 * scripts/config.guess: Update to version 2018-11-28.
5557 * scripts/config.sub: Update to version 2018-11-28.
5558 * scripts/install-sh: Update to version 2018-03-11.20.
5559 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5560 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5562 2018-12-07 Florian Weimer <fweimer@redhat.com>
5566 * inet/tst-if_index-long.c: New file.
5567 * inet/Makefile (tests): Add tst-if_index-long.
5569 2018-12-07 Florian Weimer <fweimer@redhat.com>
5571 * support/check.h (support_record_failure_is_failed): Declare.
5572 * support/descriptors.h: New file.
5573 * support/support_descriptors.c: Likewise.
5574 * support/tst-support_descriptors.c: Likewise.
5575 * support/support_record_failure.c
5576 (support_record_failure_is_failed): New function.
5577 * support/Makefile (libsupport-routines): Add support_descriptors.
5578 (tests): Add tst-support_descriptors.
5580 2018-12-05 Zack Weinberg <zackw@panix.com>
5581 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5583 * stdio-common/vfprintf-internal.c
5584 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5585 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5586 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5587 and __no_long_double.
5588 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5589 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5590 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5591 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5592 and __nldbl_*syslog* functions.
5593 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5594 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5595 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5596 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5597 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5598 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5599 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5600 (__nldbl_vwprintf, __nldbl_wprintf):
5601 Directly call the appropriate __v*printf_internal routine, passing
5602 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5604 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5605 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5606 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5607 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5608 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5609 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5610 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5611 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5612 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5613 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5614 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5615 (__nldbl_syslog, __nldbl_vsyslog):
5616 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5617 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5619 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5622 2018-12-05 Zack Weinberg <zackw@panix.com>
5623 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5626 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5627 Moved here from debug/vsprintf_chk.c.
5628 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5629 and completion logic for the strfile to match exactly what
5630 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5631 _IO_str_init_static_internal instead of maxlen-1.
5632 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5633 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5634 __vsprintf_internal.
5636 * debug/vsprintf_chk.c (__vsprintf_chk)
5637 * debug/sprintf_chk.c (__sprintf_chk):
5638 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5639 'flags' argument is positive, and slen as maxlen. No need to lock
5640 the FILE and/or construct a temporary FILE. Minimize and normalize
5641 header inclusions and variable names. Do not libc_hidden_def anything.
5643 * debug/asprintf_chk.c (__asprintf_chk)
5644 * debug/dprintf_chk.c (__dprintf_chk)
5645 * debug/fprintf_chk.c (__fprintf_chk)
5646 * debug/fwprintf_chk.c (__fwprintf_chk)
5647 * debug/printf_chk.c (__printf_chk)
5648 * debug/snprintf_chk.c (__snprintf_chk)
5649 * debug/swprintf_chk.c (__swprintf_chk)
5650 * debug/vasprintf_chk.c (__vasprintf_chk)
5651 * debug/vdprintf_chk.c (__vdprintf_chk)
5652 * debug/vfprintf_chk.c (__vfprintf_chk)
5653 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5654 * debug/vprintf_chk.c (__vprintf_chk)
5655 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5656 * debug/vswprintf_chk.c (__vswprintf_chk)
5657 * debug/vwprintf_chk.c (__vwprintf_chk)
5658 * debug/wprintf_chk.c (__wprintf_chk):
5659 Directly call the corresponding vxxprintf_internal function, passing
5660 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5661 the FILE and/or construct a temporary FILE. Minimize and normalize
5662 header inclusions and variable names. Do not libc_hidden_def anything.
5664 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5665 __obstack_vprintf_internal.
5666 (__obstack_vprintf_chk): Convert into a wrapper that calls
5667 __obstack_vprintf_internal (these two functions already had the
5668 same code) and move to new file...
5669 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5671 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5672 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5673 * debug/Makefile (routines): Add vobprintf_chk.
5675 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5676 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5677 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5678 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5679 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5680 (__nldbl___obstack_vfprintf_chk):
5681 Directly call the corresponding vxxprintf_internal function,
5682 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5683 duplicate comparison of slen with 0 or maxlen from the corresponding
5684 non-__nldbl function.
5686 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5687 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5688 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5689 Remove libc_hidden_proto.
5691 * stdio-common/vfprintf-internal.c
5692 (__vfprintf_internal, __vfwprintf_internal):
5693 Do not check _IO_FLAGS2_FORTIFY.
5694 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5695 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5696 a comment explaining why it has the maxlen argument.
5697 (_IO_acquire_lock_clear_flags2_fct): Remove.
5698 (_IO_acquire_lock_clear_flags2): Remove.
5699 (_IO_release_lock): Remove conditional statement which will
5701 (_IO_acquire_lock): Remove variable which is now unused.
5702 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5703 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5705 * stdio-common/Makefile (tests): Add tst-bz11319 and
5706 tst-bz11319-fortify2.
5707 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5708 * stdio-common/tst-bz11319-fortify2.c: New file.
5709 * stdio-common/tst-bz11319.c: Likewise.
5711 2018-12-05 Zack Weinberg <zackw@panix.com>
5712 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5714 * misc/syslog.c: Include libioP.h, not iolibio.h.
5715 (__vsyslog_internal): New function with the former body of
5716 __vsyslog_chk; takes mode_flags argument same as
5717 __v*printf_internal. Call __vfprintf_internal directly.
5719 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5720 Remove libc_hidden_def.
5721 (__syslog, __syslog_chk): Use __vsyslog_internal.
5722 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5724 * include/sys/syslog.h: Add multiple inclusion guard.
5725 Add prototype for __vsyslog_internal.
5726 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5728 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5729 Use __vsyslog_internal.
5731 2018-12-05 Zack Weinberg <zackw@panix.com>
5732 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5734 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5735 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5736 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5738 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5739 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5741 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5742 Include wctype.h here if COMPILE_WPRINTF is defined.
5743 Define __vfprintf_internal or __vfwprintf_internal, depending
5745 Temporarily, on entry to this function, update mode_flags
5746 according to the environmental settings corresponding to
5747 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5748 Throughout, check mode_flags instead of __ldbl_is_dbl and
5749 _IO_FLAGS2_FORTIFY on the destination FILE.
5750 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5751 Include vfprintf-internal.c. Don't include wctype.h.
5752 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5753 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5755 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5756 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5758 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5760 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5761 and add mode_flags argument; use __vfprintf_internal.
5762 (__vdprintf): New function. Alias vdprintf to this.
5763 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5764 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5765 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5766 (__obstack_printf): Use __obstack_printf_internal.
5767 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5768 public aliases __vsnprintf and vsnprintf.
5769 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5771 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5772 public aliases _IO_vsprintf and vsprintf.
5773 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5774 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5775 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5776 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5777 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5779 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5780 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5781 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5782 * stdio-common/printf.c: Use __vfprintf_internal.
5784 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5785 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5786 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5788 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5789 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5790 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5791 __vfwprintf_internal.
5793 * libio/libio.h: Remove libc_hidden_proto and declaration for
5795 Remove declaration of _IO_vfwprintf.
5796 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5798 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5800 * include/stdio.h: Add prototype for __vasprintf.
5801 (__vsnprintf): Remove declaration, because there are no more
5803 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5804 declaration, because there are no more internal calls.
5806 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5807 __vsnprintf_internal, instead of _IO_vsnprintf.
5808 * argp/argp-help.c (__argp_error, __argp_failure): Use
5809 __vasprintf_internal, instead of _IO_vasprintf.
5810 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5811 redefine, because there are no more internal calls.
5813 2018-12-05 Zack Weinberg <zackw@panix.com>
5814 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5816 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5817 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5818 Include libio/strfile.h instead of libioP.h.
5819 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5820 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5821 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5822 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5823 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5824 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5825 necessary. Do not set __no_long_double. Normalize variable names.
5826 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5827 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5828 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5829 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5830 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5831 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5832 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5833 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5834 Do not set __no_long_double. Normalize variable names.
5836 2018-12-05 Zack Weinberg <zackw@panix.com>
5837 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5839 * stdio-common/isoc99_scanf.c
5840 * stdio-common/isoc99_fscanf.c
5841 * stdio-common/isoc99_sscanf.c
5842 * stdio-common/isoc99_vscanf.c
5843 * stdio-common/isoc99_vfscanf.c
5844 * stdio-common/isoc99_vsscanf.c
5845 * wcsmbs/isoc99_wscanf.c
5846 * wcsmbs/isoc99_fwscanf.c
5847 * wcsmbs/isoc99_swscanf.c
5848 * wcsmbs/isoc99_vwscanf.c
5849 * wcsmbs/isoc99_vfwscanf.c
5850 * wcsmbs/isoc99_vswscanf.c:
5851 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5852 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5853 No need to lock and unlock the FILE passed to that function.
5855 * stdio-common/vfscanf-internal.c
5856 (__vfscanf_internal, __vfwscanf_internal):
5857 Don't look at _IO_FLAGS2_SCANF_STD.
5858 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5859 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5860 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5862 2018-12-05 Zack Weinberg <zackw@panix.com>
5863 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5865 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5866 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5867 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5868 * libio/strfile.h: Add multiple inclusion guard.
5869 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5871 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5872 consistency with the other version of this file.
5873 (ldbl_compat_symbol): New macro.
5874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5877 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5878 Define __vfscanf_internal or __vfwscanf_internal, depending on
5879 COMPILE_WSCANF; don't define any other public symbols.
5880 Remove errval and code to set errp.
5881 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5882 as the mode_flags argument.
5883 (encode_error, conv_error, input_error): Don't set errval.
5884 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5885 Include vfscanf-internal.c.
5886 * stdio-common/vfscanf.c: New file defining the public entry
5887 point vfscanf, which calls __vfscanf_internal.
5888 * stdio-common/vfwscanf.c: New file defining the public entry
5889 point vfwscanf, which calls __vfwscanf_internal.
5891 * stdio-common/iovfscanf.c: New file.
5892 * stdio-common/iovfwscanf.c: Likewise.
5894 * stdio-common/Makefile (routines): Add vfscanf-internal,
5895 vfwscanf-internal, iovfscanf, iovfwscanf.
5896 * stdio-common/Versions: Mention GLIBC_2.29, so that
5897 it can be used in SHLIB_COMPAT expressions.
5898 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5899 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5900 Call __vfscanf_internal, instead of _IO_vfscanf.
5901 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5903 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5906 * libio/iovsscanf.c: Clean up includes, when possible. Use
5907 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5908 __vfscanf_internal or __vfwscanf_internal directly.
5909 * libio/iovswscanf.c: Likewise.
5910 * libio/swscanf.c: Likewise.
5911 * libio/vscanf.c: Likewise.
5912 * libio/vwscanf.c: Likewise.
5913 * libio/wscanf.c: Likewise.
5914 * stdio-common/isoc99_fscanf.c: Likewise.
5915 * stdio-common/isoc99_scanf.c: Likewise.
5916 * stdio-common/isoc99_sscanf.c: Likewise.
5917 * stdio-common/isoc99_vfscanf.c: Likewise.
5918 * stdio-common/isoc99_vscanf.c: Likewise.
5919 * stdio-common/isoc99_vsscanf.c: Likewise.
5920 * stdio-common/scanf.c: Likewise.
5921 * stdio-common/sscanf.c: Likewise.
5922 * wcsmbs/isoc99_fwscanf.c: Likewise.
5923 * wcsmbs/isoc99_swscanf.c: Likewise.
5924 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5925 * wcsmbs/isoc99_vswscanf.c: Likewise.
5926 * wcsmbs/isoc99_vwscanf.c: Likewise.
5927 * wcsmbs/isoc99_wscanf.c: Likewise.
5929 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5932 (__tz_compute): Replace time_t with __time64_t.
5933 (__tz_convert): Replace time_t* with __time64_t.
5934 (__offtime): Replace time_t* with __time64_t.
5936 (__gmtime_r): Adjust call to __tz_convert.
5939 (__localtime_r): Likewise.
5940 (localtime): Likewise.
5941 * time/offtime.c: Replace time_t with __time64_t.
5942 * time/tzset.c: Likewise.
5944 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5946 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5947 dynamic linker unless [$(run-built-tests) = yes].
5949 2018-12-03 DJ Delorie <dj@delorie.com>
5951 * support/test-container.c (check_for_unshare_hints): New.
5952 (main): Call it if unshare fails. Add support for "su" scriptlet
5955 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5957 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5958 'START' to indicate that start text should be output.
5959 (gen_test): Likewise.
5960 (main): Generate 'START' for first symbol or '--' line, or at end
5961 of input if not previously generated.
5963 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5966 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5967 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5968 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5969 ALWAYS_USE_VSYSCALL.
5971 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5974 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5977 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5980 * locale/programs/localedef.c: Declare boolean hard_links default true.
5981 (options): Add --no-hard-links option.
5982 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5983 * locale/programs/localedef.h: Declare prototype for hard_links.
5984 * locale/programs/locfile.c (write_locale_data): Don't use hard
5985 links if hard_links is false.
5987 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5989 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5991 (__cache_sysconf): Likewise.
5992 (init_cacheinfo): Likewise.
5993 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5994 populate COMMON_CPUID_INDEX_80000007 and
5995 COMMON_CPUID_INDEX_80000008.
5996 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5997 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5998 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5999 (init_cpu_features): Use _Static_assert on
6000 index_arch_Fast_Unaligned_Load.
6001 __get_cpuid_registers and __get_arch_feature. Updated for
6002 cpu_features_basic. Set stepping in cpu_features.
6003 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6004 (FEATURE_INDEX_2): New.
6005 (FEATURE_INDEX_MAX): Changed to enum.
6006 (COMMON_CPUID_INDEX_D_ECX_1): New.
6007 (COMMON_CPUID_INDEX_80000007): Likewise.
6008 (COMMON_CPUID_INDEX_80000008): Likewise.
6009 (cpuid_registers): Likewise.
6010 (cpu_features_basic): Likewise.
6011 (CPU_FEATURE_USABLE): Likewise.
6012 (bit_arch_XXX_Usable): Likewise.
6013 (cpu_features): Use cpuid_registers and cpu_features_basic.
6014 (bit_arch_XXX): Reweritten.
6015 (bit_cpu_XXX): Likewise.
6016 (index_cpu_XXX): Likewise.
6017 (reg_XXX): Likewise.
6018 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6020 (CHECK_CPU_FEATURE): New.
6021 (CHECK_CPU_FEATURE_USABLE): Likewise.
6022 (cpu_kinds): Likewise.
6023 (do_test): Print vendor, family, model and stepping. Check
6024 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6025 (TEST_FUNCTION): Removed.
6026 Include <support/test-driver.c> instead of
6027 "../../test-skeleton.c".
6028 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6029 Check POPCNT instead of POPCOUNT.
6030 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6032 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6034 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6035 there is no element in `consts'.
6037 2018-12-01 Florian Weimer <fweimer@redhat.com>
6039 * support/support_capture_subprocess.c
6040 (support_capture_subprocess): Check that pipe descriptors have
6041 expected values. Close original pipe descriptors in subprocess.
6043 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6046 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6047 attr with __pthread_default_barrierattr.
6048 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6049 attr with __pthread_default_condattr.
6050 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6051 attr with __pthread_default_mutexattr.
6052 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6053 attr with __pthread_default_rwlockattr.
6055 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6057 * manual/tunables.texi (POSIX Thread Tunables): New node.
6058 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6059 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6060 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6061 __pthread_tunables_init.
6062 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6063 (max_adaptive_count): Define.
6064 * nptl/pthread_mutex_conf.c: New file.
6065 * nptl/pthread_mutex_conf.h: New file.
6066 * sysdeps/generic/adaptive_spin_count.h: New file.
6067 * sysdeps/nptl/dl-tunables.list: New file.
6068 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6069 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6070 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6073 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6076 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6077 * stdlib/on_exit.c (__on_exit): Likewise.
6078 * stdlib/Makefile (tests): Add tst-bz20544.
6079 * stdlib/tst-bz20544.c: New test.
6081 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6084 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6085 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6088 2018-11-30 Florian Weimer <fweimer@redhat.com>
6090 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6091 Extend error logging.
6092 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6095 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6097 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6098 __sigismember instead of sigismember.
6099 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6100 cancel_handler): New definitions.
6101 (do_system): Use posix_spawn instead of fork and execl and remove
6103 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6104 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6105 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6106 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6108 * sysdeps/unix/sysv/linux/system.c: Likewise.
6112 * NEWS: Add new semantic for atfork with popen and system.
6113 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6116 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6119 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6120 modification order when accessing reloc_result->addr.
6121 * include/link.h (reloc_result): Add field init.
6122 * nptl/Makefile (tests): Add tst-audit-threads.
6123 (modules-names): Add tst-audit-threads-mod1 and
6124 tst-audit-threads-mod2.
6125 Add rules to build tst-audit-threads.
6126 * nptl/tst-audit-threads-mod1.c: New file.
6127 * nptl/tst-audit-threads-mod2.c: Likewise.
6128 * nptl/tst-audit-threads.c: Likewise.
6129 * nptl/tst-audit-threads.h: Likewise.
6131 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6133 * scripts/gen-as-const.py: New file.
6134 * scripts/gen-as-const.awk: Remove.
6135 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6137 ($(objpfx)test-as-const-%.c): Likewise.
6139 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6141 * elf/dl-exception.c: Include <_itoa.h>.
6143 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6145 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6146 returned by __f_setlk.
6148 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6149 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6151 * elf/Makefile (tests-internal): Add tst-create_format1.
6152 * elf/dl-exception.c (_dl_exception_create_format): Support
6154 * elf/tst-create_format1.c: New file.
6156 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6158 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6159 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6161 * argp/argp-help.c (__argp_failure): Likewise.
6163 2018-11-29 Mao Han <han_mao@c-sky.com>
6165 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6166 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6167 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6168 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6169 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6170 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6171 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6172 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6173 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6174 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6175 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6176 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6177 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6178 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6179 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6180 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6181 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6182 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6183 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6184 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6185 (R_CKCORE_TLS_TPOFF32): New defines.
6187 2018-11-29 Florian Weimer <fweimer@redhat.com>
6189 * posix/Makefile (before-compile): Remove testcases.h and
6191 (generated): Add testcases.h and ptestcases.h.
6192 (testcases.h, ptestcases.h): Move to $(objpfx).
6193 (runtests.o): Add dependency on testcases.h.
6194 (runptests.o): Add dependency on ptestcases.h.
6195 * posix/testcases.h, posix/ptestcases.h: Remove files.
6196 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6197 not touch posix/testcases.h and posix/ptestcases.h.
6199 2018-11-28 Florian Weimer <fweimer@redhat.com>
6201 support: Add signal support to support_capture_subprocess_check.
6202 * support/capture_subprocess.h (support_capture_subprocess_check):
6203 Adjust comment and rename parameter.
6204 * support/support_capture_subprocess_check.c
6205 (print_actual_status): New function.
6206 (support_capture_subprocess_check): Support negative
6207 status_or_signal. Call print_actual_status.
6208 * support/tst-support_capture_subprocess.c (do_test): Call
6209 support_capture_subprocess_check.
6210 * libio/tst-vtables-common.c (termination_status)
6211 (init_termination_status): Remove.
6212 (check_for_termination): Adjust support_capture_subprocess_check
6214 (do_test): Remove call to init_termination_status.
6216 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6218 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6219 source directory instead of a copy.
6220 (CommandList.create_copy_dir): Remove.
6222 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6224 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6226 2018-11-28 Florian Weimer <fweimer@redhat.com>
6228 * support/support.h (support_quote_string): Do not use str
6231 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6233 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6234 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6236 2018-11-27 Florian Weimer <fweimer@redhat.com>
6238 * support/support.h (support_quote_string): Declare.
6239 * support/support_quote_string.c: New file.
6240 * support/tst-support_quote_string.c: Likewise.
6241 * support/Makefile (libsupport-routines): Add
6242 support_quote_string.
6243 (tests): Add tst-support_quote_string.
6245 2018-11-27 Florian Weimer <fweimer@redhat.com>
6249 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6250 descriptor leak in case of ENODEV error.
6252 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6255 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6256 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6257 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6259 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6261 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6262 Error for unknown lines.
6264 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6266 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6267 Touch additional files.
6269 2018-11-26 Florian Weimer <fweimer@redhat.com>
6272 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6275 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6278 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6279 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6280 SHARED. Include sysdep.h.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6282 ALWAYS_USE_VSYSCALL.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6284 ALWAYS_USE_VSYSCALL.
6286 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6289 * nptl/Makefile (tests-static): Add tst-cond11-static.
6291 * nptl/tst-cond11-static.c: New File.
6292 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6293 tst-affinity-static.
6295 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6297 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6298 (USE_VSYSCALL): Likewise.
6299 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6300 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6302 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6307 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6310 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6311 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6314 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6316 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6317 (tst-cet-legacy-1a-ARGS): New.
6318 ($(objpfx)tst-cet-legacy-1a): New target.
6319 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6321 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6323 * conform/conformtest.py (CompileSubTest.__init__): Set
6324 self.run_early to False.
6325 (ExecuteSubTest.__init__): Likewise.
6326 (HeaderTests.run): Try running all non-optional, non-XFAILed
6327 compilation tests in a single execution of the compiler.
6329 * conform/conformtest.py (CompileSubTest): New class.
6330 (ExecuteSubTest): Likewise.
6331 (ElementTest.run): Rename to gen_subtests. Append tests to
6332 self.subtests instead of running them.
6333 (ConstantTest.run): Likewise.
6334 (SymbolTest.run): Likewise.
6335 (TypeTest.run): Likewise.
6336 (TagTest.run): Likewise.
6337 (FunctionTest.run): Likewise.
6338 (VariableTest.run): Likewise.
6339 (MacroFunctionTest.run): Likewise.
6340 (MacroStrTest.run): Likewise.
6341 (HeaderTests.handle_test_line): Generate subtests for tests.
6342 (HeaderTests.run): Run subtests for tests.
6344 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6346 * math/Versions (GLIBC_2.29): Add pow.
6347 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6349 * math/w_pow.c: New file.
6350 * sysdeps/i386/fpu/w_pow.c: New file.
6351 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6353 and add necessary aliases.
6354 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6355 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6356 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6357 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6358 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6359 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6360 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6361 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6362 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6363 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6364 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6365 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6366 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6367 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6368 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6373 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6374 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6375 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6377 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6378 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6379 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6380 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6382 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6383 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6384 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6386 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6388 * math/Versions (GLIBC_2.29): Add log2.
6389 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6391 * math/w_log2.c: New file.
6392 * sysdeps/i386/fpu/w_log2.c: New file.
6393 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6394 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6395 and add necessary aliases.
6396 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6397 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6398 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6399 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6400 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6401 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6402 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6403 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6404 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6405 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6406 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6407 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6408 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6409 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6410 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6415 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6416 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6417 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6418 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6419 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6420 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6421 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6423 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6425 * math/Versions (GLIBC_2.29): Add log.
6426 * math/w_log_compat.c (__log_compat): Change to versioned compat
6428 * math/w_log.c: New file.
6429 * sysdeps/i386/fpu/w_log.c: New file.
6430 * sysdeps/ia64/fpu/e_log.S: Update.
6431 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6432 and add necessary aliases.
6433 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6434 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6435 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6436 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6437 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6438 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6439 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6440 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6441 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6442 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6443 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6444 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6445 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6446 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6447 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6452 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6453 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6454 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6455 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6456 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6457 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6458 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6459 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6461 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6462 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6463 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6464 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6466 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6468 * math/Versions (GLIBC_2.29): Add exp and exp2.
6469 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6470 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6471 * math/w_exp_compat.c (__exp_compat): Likewise.
6472 * math/w_exp.c: New file.
6473 * math/w_exp2.c: New file.
6474 * sysdeps/i386/fpu/w_exp.c: New file.
6475 * sysdeps/i386/fpu/w_exp2.c: New file.
6476 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6477 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6478 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6479 and add necessary aliases.
6480 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6481 and add necessary aliases.
6482 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6483 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6484 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6485 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6486 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6487 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6488 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6489 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6490 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6491 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6492 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6493 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6494 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6495 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6496 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6497 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6498 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6504 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6505 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6506 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6507 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6508 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6509 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6510 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6511 (__ieee754_exp): Rename to __exp.
6512 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6513 (__ieee754_exp): Rename to __exp.
6514 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6515 (__ieee754_exp): Rename to __exp.
6516 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6518 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6520 2018-11-20 DJ Delorie <dj@redhat.com>
6522 * malloc/malloc.c (tcache_entry): Add key field.
6523 (tcache_put): Set it.
6524 (tcache_get): Likewise.
6525 (_int_free): Check for double free in tcache.
6526 * malloc/tst-tcfree1.c: New.
6527 * malloc/tst-tcfree2.c: New.
6528 * malloc/Makefile: Run the new tests.
6529 * manual/probes.texi: Document memory_tcache_double_free probe.
6531 * dlfcn/dlerror.c (check_free): Prevent double frees.
6533 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6535 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6537 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6539 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6540 in tests. Use names for format arguments.
6541 (ConstantTest.run): Likewise.
6542 (SymbolTest.run): Likewise.
6543 (TypeTest.run): Likewise.
6544 (TagTest.run): Likewise.
6545 (FunctionTest.run): Likewise.
6546 (VariableTest.run): Likewise.
6547 (MacroFunctionTest.run): Likewise.
6548 (MacroStrTest.run): Likewise.
6549 (HeaderTests.__init__): Set self.num_tests.
6550 (HeaderTests.handle_test_line): Set test.num. Increment
6553 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6555 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6556 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6559 2018-11-19 Mao Han <han_mao@c-sky.com>
6561 * scripts/config.guess: Update to version 2018-08-29.
6562 * scripts/config.sub: Update to version 2018-08-29.
6564 2018-11-19 Florian Weimer <fweimer@redhat.com>
6566 support: Print timestamps in timeout handler.
6567 * support/support_test_main.c (print_timestamp): New function.
6568 (signal_handler): Use it to print the termination time and the
6569 time of the last write to standard output.
6571 2018-11-16 Zack Weinberg <zackw@panix.com>
6572 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6574 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6575 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6577 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6578 and add flags argument. Check flags instead of __ldbl_is_dbl when
6579 deciding whether to set is_long_double.
6580 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6581 passing zero for flags argument.
6582 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6584 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6585 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6586 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6587 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6588 variable names. Remove libc_hidden_def/libc_hidden_proto from
6589 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6590 longer called from within the library.
6591 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6592 for __nldbl___vstrfmon_l, declare it explicitly.
6594 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6596 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6598 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6600 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6601 F_SETLK64, F_SETLKW64, respectively.
6602 * sysdeps/mach/hurd/f_setlk.c: New file.
6603 * sysdeps/mach/hurd/f_setlk.h: New file.
6604 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6606 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6607 (__libc_fcntl): Move non-flock operations to...
6608 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6609 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6611 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6613 mktime: DEBUG_MKTIME cleanup
6614 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6615 And it’s no longer needed now that glibc and Gnulib both have
6616 their own testing mechanisms for mktime.
6617 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6619 mktime: fix non-EOVERFLOW errno handling
6621 mktime was not properly reporting failures when the underlying
6622 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6623 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6624 The problem could happen on non-glibc platforms, with Gnulib.
6625 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6626 (tm_diff): ... this simpler function, which does not change errno.
6627 All callers changed to deal with errno themselves.
6628 (ranged_convert, __mktime_internal): Return failure immediately if
6629 the underlying function reports any failure other than EOVERFLOW.
6630 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6633 mktime: fix bug with Y2038 DST transition
6635 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6636 mishandle a DST transition that jumps over the Y2038 boundary.
6637 No such DST transitions are known so this is only a theoretical
6638 bug, but we might as well do things right.
6640 mktime: make more room for overflow
6642 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6643 This is so that we can add tm_diff results to a previous guess,
6644 which will be useful in a later patch.
6646 mktime: simplify offset guess
6648 * time/mktime.c (__mktime_internal): Omit excess precision.
6650 mktime: new test for mktime failure
6652 Based on a test suggested by Albert Aribaud in:
6653 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6654 * time/Makefile (tests): Add bug-mktime4.
6655 * time/bug-mktime4.c: New file.
6657 mktime: fix EOVERFLOW bug
6659 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6660 Include libc-config.h, not config.h, for __set_errno.
6661 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6663 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6665 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6666 __attribute_copy__ to copy attributes from name. Drop static qualifier
6667 to avoid warnings about leaf attribute not having effect on static
6670 2018-11-13 Florian Weimer <fweimer@redhat.com>
6672 * malloc/malloc.c (fastbin_push_entry): New function.
6673 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6674 (REMOVE_FB): Remove macro.
6675 (_int_malloc): Use fastbin_pop_entry and reindent.
6676 (_int_free): Use fastbin_push_entry.
6677 (malloc_consolidate): Use atomic_exchange_acquire.
6679 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6681 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6682 alias attribute, not with strong_alias.
6684 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6685 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6686 with additional parameter thread.
6687 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6688 in terms of __hidden_ver2.
6689 (hidden_tls_def): New macro.
6690 (libc_hidden_tls_def): Likewise.
6691 (rtld_hidden_tls_def): Likewise.
6692 (libm_hidden_tls_def): Likewise.
6693 (libmvec_hidden_tls_def): Likewise.
6694 (libresolv_hidden_tls_def): Likewise.
6695 (librt_hidden_tls_def): Likewise.
6696 (libdl_hidden_tls_def): Likewise.
6697 (libnss_files_hidden_tls_def): Likewise.
6698 (libnsl_hidden_tls_def): Likewise.
6699 (libnss_nisplus_hidden_tls_def): Likewise.
6700 (libutil_hidden_tls_def): Likewise.
6701 (libutil_hidden_tls_def): Likweise.
6702 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6703 libc_hidden_tls_def.
6704 (__sim_disabled_exceptions_thread): Likewise.
6705 (__sim_round_mode_thread): Likewise.
6707 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6708 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6709 copy attributes from name.
6711 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6713 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6714 Use __attribute_copy__ to copy attributes from name.
6716 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6717 with __hidden_ver1 call.
6718 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6719 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6720 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6721 (__cosf): Do not declare here.
6722 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6723 (__sincosf): Do not declare here.
6724 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6725 (__sinf): Do not declare here.
6727 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6728 (__BIG_ENDIAN): Likewise.
6729 (__BYTE_ORDER): Likewise.
6730 (strong_alias): Likewise.
6731 (_strong_alias): Likewise.
6733 2018-11-12 Florian Weimer <fweimer@redhat.com>
6735 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6736 function. Move after the definition of in_smallbin_range. Do not
6737 use __builtin_expect for paths that lead to a noreturn function.
6738 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6739 because it is unclear whether this is in fact an unlikely
6741 (_int_malloc, _int_free): Adjust.
6742 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6744 * malloc/arena.c (heap_trim): Likewise.
6746 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6748 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6749 it, free it if needed.
6750 (reauthenticate): Test and use ccwdir.
6751 (child_init_port): In non-resetids case, test and use ccwdir.
6752 (child_chdir): New nested function to set ccwdir.
6753 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6754 * hurd/hurd/port.h (_hurd_port_move): New function.
6755 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6756 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6757 * hurd/Versions (_hurd_port_move): Export function.
6758 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6760 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6761 of dtablesize for allocating dtable_cloexec.
6763 2018-11-09 Martin Sebor <msebor@redhat.com>
6765 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6766 it's already defined.
6767 (_strong_alias): Use __attribute_copy__.
6768 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6769 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6770 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6771 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6772 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6773 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6774 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6775 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6776 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6777 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6778 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6779 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6780 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6781 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6782 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6783 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6784 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6785 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6786 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6788 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6790 * misc/tst-efgcvt.c: Include support/check.h and
6791 support/test-driver.c. Do not include test-skeleton.c.
6792 (error_count): Remove.
6793 (output_error): Replace increments to error_count with calls to
6794 support_record_failure.
6795 (output_r_error): Likewise.
6796 (special): Likewise.
6797 (do_test): Unconditionally return zero.
6798 (TEST_FUNCTION): Remove.
6800 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6802 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6804 ($(linknamespace-header-tests)): Likewise.
6806 * conform/conformtest.py: New file.
6807 * conform/conformtest.pl: Remove.
6808 * conform/GlibcConform.pm: Likewise.
6809 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6810 (KEYWORDS_C99): Likewise.
6811 (KEYWORDS): Likewise.
6812 * conform/Makefile ($(conformtest-header-tests)): Use
6813 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6814 option. Use --header instead of --headers.
6815 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6817 * conform/data/spawn.h-data: Likewise.
6818 * conform/data/fcntl.h-data (openat): Add space after function
6820 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6821 (wcscasecmp_l): Likewise.
6822 * conform/data/termios.h-data (c_cc): Add space after element
6825 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6827 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6828 instead of manually comparing and reporting mismatching strings.
6829 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6830 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6832 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6834 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6835 __ASSUME_SOCKETCALL.
6836 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6837 (__ASSUME_SOCKETCALL): Remove.
6838 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6839 (__ASSUME_SOCKETCALL): Likewise.
6840 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6841 (__ASSUME_SOCKETCALL): Likewise.
6842 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6843 (__ASSUME_SOCKETCALL): Likewise.
6844 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6845 (__ASSUME_SOCKETCALL): Likewise.
6846 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6847 (__ASSUME_SOCKETCALL): Likewise.
6848 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6849 (__ASSUME_SOCKETCALL): Likewise.
6851 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6854 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6855 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6856 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6857 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6858 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6861 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6864 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6866 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6869 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6870 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6871 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6872 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6874 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6876 * support/support_test_compare_string.c
6877 (support_test_compare_string): Fix printf format.
6879 2018-11-07 Florian Weimer <fweimer@redhat.com>
6881 Implement TEST_COMPARE_STRING.
6882 * support/check.h (TEST_COMPARE_STRING): Define.
6883 (support_test_compare_string): Declare.
6884 * support/Makefile (libsupport-routines): Add
6885 support_test_compare_string.
6886 (tests): Add tst-test_compare_string.
6887 * support/support_test_compare_string.c: New file.
6888 * support/tst-test_compare_string.c: Likewise.
6890 2018-11-07 Andreas Schwab <schwab@suse.de>
6893 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6894 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6897 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6900 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6901 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6902 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6903 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6906 2018-11-06 Florian Weimer <fweimer@redhat.com>
6909 * posix/Makefile (routines): Add spawn_faction_addchdir.
6910 (tests): Add tst-spawn-chdir.
6911 * posix/Versions (GLIBC_2.29): Add
6912 posix_spawn_file_actions_addchdir_np.
6913 * posix/spawn_faction_addchdir.c: New file.
6914 * posix/spawn_faction_destroy.c
6915 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6916 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6917 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6919 * posix/tst-spawn-chdir.c: New file.
6920 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6921 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6922 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6923 posix_spawn_file_actions_addchdir_np.
6924 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6926 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6928 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6929 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6931 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6933 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6935 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6937 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6939 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6941 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6942 (GLIBC_2.29): Likewise.
6943 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6944 (GLIBC_2.29): Likewise.
6945 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6946 (GLIBC_2.29): Likewise.
6947 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6948 (GLIBC_2.29): Likewise.
6949 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6952 (GLIBC_2.29): Likewise.
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6954 (GLIBC_2.29): Likewise.
6955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6956 (GLIBC_2.29): Likewise.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6958 (GLIBC_2.29): Likewise.
6959 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6961 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6963 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6965 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6966 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6968 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6970 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6972 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6975 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6977 * misc/Makefile (tests): Add tst-ldbl-error.
6978 * misc/tst-ldbl-error.c: New file.
6980 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6982 * misc/Makefile (tests): Add tst-ldbl-warn.
6983 * misc/tst-ldbl-warn.c: New file.
6985 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6987 * argp/Makefile (tests): Add tst-ldbl-argp.
6988 * argp/tst-ldbl-argp.c: New file.
6990 2018-11-05 Arjun Shankar <arjun@redhat.com>
6992 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6993 __gconv_path_elem and call __gconv_get_path unconditionally.
6995 2018-11-05 Andreas Schwab <schwab@suse.de>
6998 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6999 creating the first helper thread failed.
7001 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7003 * sysdeps/mach/hurd/msync.c: New file.
7005 2018-11-02 Florian Weimer <fweimer@redhat.com>
7007 * support/shell-container.c (copy_func): Call
7008 support_copy_file_range instead of copy_file_range to support
7009 cross-device copies.
7011 2018-11-02 Florian Weimer <fweimer@redhat.com>
7013 * support/test-container.c: Include <libc-pointer-arith.h> for
7016 2018-11-01 Zong Li <zong@andestech.com>
7018 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7019 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7020 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7021 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7023 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7024 variable to avoid overlap arguments.
7026 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7028 * posix/bug-regex22.c (main): Use puts with distinct error
7029 messages for unexpected success of re_compile_pattern, not printf
7030 with NULL argument to %s.
7032 * stdio-common/bug22.c: Include <libc-diag.h>.
7033 (do_test): Disable -Wformat-overflow= warnings around fprintf
7034 calls outputting more than INT_MAX characters.
7035 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7036 around printf call with NULL %s argument.
7039 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7040 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7042 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7043 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7044 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7045 (__ASSUME_SENDTO_SYSCALL): Likewise.
7046 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7047 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7049 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7050 (__ASSUME_CONNECT_SYSCALL): Likewise.
7051 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7052 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7053 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7055 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7057 [__LINUX_KERNEL_VERSION >= 0x040400]
7058 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7059 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7062 (setsockopt): Likewise.
7064 2018-11-01 Fredrik Noring <noring@nocrew.org>
7066 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7067 with the ISA override.
7069 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7071 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7074 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7076 * manual/errno.texi (EIEIO): Document how translators should
7077 translate the error message.
7078 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7079 printing trailing whitespaces refused by git.
7080 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7081 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7082 * hurd/Makefile (user-interfaces): Add pci.
7084 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7086 * conform/linknamespace.py: New file.
7087 * conform/linknamespace.pl: Remove file.
7088 * conform/Makefile ($(linknamespace-header-tests)): Use
7089 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7092 2018-10-30 Florian Weimer <fweimer@redhat.com>
7094 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7097 2018-10-30 Florian Weimer <fweimer@redhat.com>
7099 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7101 2018-10-30 Florian Weimer <fweimer@redhat.com>
7103 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7104 support_blob_repeat.
7106 2018-10-30 Florian Weimer <fweimer@redhat.com>
7108 Avoid spurious test failures in stdlib/test-bz22786.
7109 * support/Makefile (libsupport-routines): Add blob_repeat.
7110 (tests): Add tst-support_blob_repeat.
7111 * support/blob_repeat.h: New file.
7112 * support/blob_repeat.c: Likewise.
7113 * support/tst-support_blob_repeat.c: Likewise.
7114 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7115 support_blob_repeat_allocate.
7117 2018-10-30 Andreas Schwab <schwab@suse.de>
7120 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7121 Don't use tail call.
7122 * elf/tst-unwind-main.c: New file.
7123 * elf/Makefile (tests): Add tst-unwind-main.
7124 (CFLAGS-tst-unwind-main.c): Define.
7126 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7129 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7131 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7133 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7135 * conform/glibcconform.py: Do not import shutil.
7136 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7139 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7140 critic_missing for versions before 3.4.
7141 * configure: Regenerated.
7142 * manual/install.texi (Tools for Compilation): Document
7143 requirement for Python to build glibc.
7144 * INSTALL: Regenerated.
7145 * Rules [PYTHON]: Make code unconditional.
7146 * benchtests/Makefile [PYTHON]: Likewise.
7147 * conform/Makefile [PYTHON]: Likewise.
7148 * manual/Makefile [PYTHON]: Likewise.
7149 * math/Makefile [PYTHON]: Likewise.
7151 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7153 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7154 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7155 answer to interrupt_operation, return EIEIO instead of EINTR.
7156 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7157 _hurd_intr_rpc_msg_about_to global point to start of controlled
7158 assembly snippet. Make it check canceled flag.
7159 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7160 the _hurd_intr_rpc_msg_about_to point.
7161 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7162 issue, remove cancel flag check.
7164 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7166 * scripts/build-many-glibcs.py: Remove compatibility for missing
7167 os.cpu_count and re.fullmatch.
7169 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7172 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7173 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7174 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7176 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7178 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7181 2018-10-25 Florian Weimer <fweimer@redhat.com>
7185 XFAIL siginfo_t si_band conform test on sparc64.
7186 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7187 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7188 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7189 (conformtest-xfail-conds): Add sparc64-linux.
7190 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7192 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7194 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7196 * elf/elf.h (NT_MIPS_DSP): New macro.
7197 (NT_MIPS_FP_MODE): Likewise.
7199 2018-10-25 Zong Li <zong@andestech.com>
7201 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7202 name by adding the file extension (.so).
7204 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7206 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7207 (test-xfail-ISO11/threads.h/linknamespace,
7208 test-xfail-ISO11/threads.h/conform): Add.
7210 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7212 * math/gen-libm-test.py: Import os.
7213 (ALL_FLOATS_MANUAL): New constant.
7214 (ALL_FLOATS_SUFFIX): Likewise.
7215 (Ulps.all_functions): New function.
7216 (real_all_ulps): Likewise.
7217 (generate_err_table_sub): Likewise.
7218 (generate_err_table): Likewise.
7219 (main): Handle -s and -m options.
7220 * manual/libm-err-tab.pl: Remove.
7221 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7222 instead of libm-err-tab.pl.
7223 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7225 * manual/install.texi (Tools for Compilation): Document
7226 requirement for Python to build manual.
7227 * INSTALL: Regenerated.
7229 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7231 * bits/time64.h: New file.
7232 * include/time.h: Replace internal_time_t with __time64_t.
7233 * posix/bits/types (__time64_t): Add.
7234 * stdlib/Makefile: Add bits/time64.h to includes.
7235 * time/tzfile.c: Replace internal_time_t with __time64_t.
7237 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7239 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7240 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7241 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7242 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7243 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7245 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7246 * posix/spawn_faction_addclose.c
7247 (__posix_spawn_file_actions_addclose): Add hidden definition.
7248 * posix/spawn_faction_adddup2.c
7249 (__posix_spawn_file_actions_adddup2): Likewise.
7250 * posix/spawn_faction_destroy.c
7251 (__posix_spawn_file_actions_destroy): Likewise.
7252 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7254 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7255 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7256 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7258 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7259 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7262 2018-10-24 Andreas Schwab <schwab@suse.de>
7265 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7267 * elf/cache.c (print_cache): Likewise.
7269 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7271 * bits/timesize.h: New file.
7272 * stdlib/Makefile (headers): Add bits/timesize.h.
7273 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7274 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7275 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7276 (__SEM_PAD_AFTER_TIME): Likewise.
7277 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7278 (__SHM_PAD_AFTER_TIME): Likewise.
7279 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7280 (__MSQ_PAD_BEFORE_TIME): Likewise.
7281 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7282 (__SEM_PAD_BEFORE_TIME): Likewise.
7283 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7284 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7285 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7286 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7287 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7288 (__MSQ_PAD_BEFORE_TIME): Likewise.
7289 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7290 (__SEM_PAD_BEFORE_TIME): Likewise.
7291 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7292 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7293 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7294 (__MSQ_PAD_BEFORE_TIME): Likewise.
7295 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7296 (__SEM_PAD_BEFORE_TIME): Likewise.
7297 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7298 (__SHM_PAD_BEFORE_TIME): Likewise.
7299 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7300 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7301 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7303 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7305 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7306 USE_RDTSCP is defined.
7307 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7308 USE_RDTSCP is defined.
7310 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7312 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7316 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7317 independently of other flags.
7319 2018-10-23 Florian Weimer <fweimer@redhat.com>
7321 * time/tst-mktime2.c (N_STRINGS): Remove.
7322 (set_timezone): New function.
7323 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7324 (mktime_test1): Report localtime failure and check errno value.
7326 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7327 (do_test): Remove alarm call. Use set_timezone and array_length.
7329 2018-10-23 Andreas Schwab <schwab@suse.de>
7331 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7332 (__start_context): Use END instead of PSEUDO_END.
7334 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7336 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7339 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7343 * wcsmbs/c32rtomb.c: New file.
7344 * wcsmbs/mbrtoc32.c: Likewise.
7345 * wcsmbs/tst-c32-state.c: Likewise.
7346 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7347 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7348 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7349 (tests): Add tst-c32-state.
7350 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7353 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7355 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7356 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7358 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7361 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7362 pair and return 0 in that case, and use saved character to
7363 interpret following character.
7364 * wcsmbs/tst-c16-surrogate.c: New file.
7365 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7366 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7367 Depend on $(gen-locales)
7369 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7372 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7373 (struct siginfo_t): Use correct type for si_band.
7375 2018-10-19 Florian Weimer <fweimer@redhat.com>
7378 * resource/bits/types/struct_rusage.h (struct rusage): Update
7379 comment on struct. Remove extraneous field comment.
7381 2018-10-18 David S. Miller <davem@davemloft.net>
7383 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7384 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7385 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7386 sysdep_routines in subdir elf.
7387 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7388 version for __vdso_clock_gettime.
7389 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7391 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7392 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7394 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7396 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7398 * sysdeps/i386/init-arch.h: Removed.
7399 * sysdeps/i386/i586/init-arch.h: Likewise.
7400 * sysdeps/i386/i686/init-arch.h: Likewise.
7401 * sysdeps/i386/i686/hp-timing.h: Likewise.
7402 * sysdeps/x86_64/hp-timing.h: Likewise.
7403 * sysdeps/i386/isa.h: New file.
7404 * sysdeps/i386/i586/isa.h: Likewise.
7405 * sysdeps/i386/i686/isa.h: Likewise.
7406 * sysdeps/x86_64/isa.h: Likewise.
7407 * sysdeps/x86/hp-timing.h: New file.
7408 * sysdeps/x86/init-arch.h: Include <isa.h>.
7410 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7412 * math/libm-test-pow.inc (pow_test_data): Do not allow
7413 divide-by-zero exception for pow(+/- 0, -Inf).
7415 2018-10-17 Zack Weinberg <zackw@panix.com>
7417 * manual/job.texi (Job Control is Optional): Remove node, as
7418 job control has not been optional in quite some time.
7419 (Job Control): Mention briefly that systems older than
7420 POSIX.1-2001 might not support job control.
7421 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7422 defined on systems conforming to POSIX.1-2001.
7424 2018-10-17 Arjun Shankar <arjun@redhat.com>
7427 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7429 * (__gconv_read_conf): Mark function static.
7430 * (once): New static variable.
7431 * (__gconv_load_conf): New function.
7432 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7433 * iconv/gconv_db.c (once): Remove static variable.
7434 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7436 * (__gconv_find_transform): Likewise.
7437 * iconv/tst-iconv-mt.c: New test.
7438 * iconv/Makefile: Add tst-iconv_mt.
7440 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7444 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7445 (shmatt_t): Define as __syscall_ulong_t.
7446 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7447 and [__SHM_PAD_AFTER_TIME].
7448 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7449 Define shm_segsz and associated padding based on
7450 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7451 Use __syscall_ulong_t instead of unsigned long int.
7452 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7454 [__USE_MISC] (struct shm_info): Likewise.
7455 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7456 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7457 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7458 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7459 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7460 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7461 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7462 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7463 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7464 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7465 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7469 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7470 (SHMLBA): Remove macro.
7471 (__getpagesize): Remove function declaration.
7472 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7474 (SHMLBA): Remove macro.
7475 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7477 (SHMLBA): Remove macro.
7478 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7480 (SHMLBA): Remove macro.
7481 (__getpagesize): Remove function declaration.
7482 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7484 (SHMLBA): Remove macro.
7485 (__getshmlba): Remove function declaration.
7486 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7487 (SHMLBA): Remove macro.
7488 (__getpagesize): Remove function declaration.
7489 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7490 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7491 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7492 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7493 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7494 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7495 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7496 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7497 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7498 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7500 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7503 * nptl/tst-mutex10.c: New File.
7504 * nptl/Makefile (tests): Add tst-mutex10.
7505 (tst-mutex10-ENV): New variable.
7506 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7507 Ensure that elision path is used if elision is available.
7508 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7510 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7512 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7513 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7514 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7515 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7517 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7518 (__pthread_mutex_cond_lock_adjust): Likewise.
7519 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7521 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7522 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7523 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7524 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7526 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7527 Use atomic_load_relaxed and atomic_store_relaxed.
7528 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7529 Use atomic_store_relaxed.
7531 2018-10-17 Andreas Schwab <schwab@suse.de>
7533 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7534 * crypt/badsalttest.c (TIMEOUT): Likewise.
7535 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7536 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7537 * io/test-lfs.c (TIMEOUT): Likewise.
7538 * libio/tst-atime.c (TIMEOUT): Likewise.
7539 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7540 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7541 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7542 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7543 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7544 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7545 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7546 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7547 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7548 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7549 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7550 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7551 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7552 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7553 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7554 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7555 * nptl/tst-once2.c (TIMEOUT): Likewise.
7556 * nptl/tst-once3.c (TIMEOUT): Likewise.
7557 * nptl/tst-once4.c (TIMEOUT): Likewise.
7558 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7559 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7560 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7561 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7562 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7563 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7564 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7565 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7566 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7567 * posix/tst-chmod.c (TIMEOUT): Likewise.
7568 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7569 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7570 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7571 * posix/tst-regex2.c (TIMEOUT): Likewise.
7572 * posix/tst-waitid.c (TIMEOUT): Likewise.
7573 * rt/tst-aio.c (TIMEOUT): Likewise.
7574 * rt/tst-aio10.c (TIMEOUT): Likewise.
7575 * rt/tst-aio4.c (TIMEOUT): Likewise.
7576 * rt/tst-aio5.c (TIMEOUT): Likewise.
7577 * rt/tst-aio6.c (TIMEOUT): Likewise.
7578 * rt/tst-aio64.c (TIMEOUT): Likewise.
7579 * rt/tst-aio7.c (TIMEOUT): Likewise.
7580 * rt/tst-aio9.c (TIMEOUT): Likewise.
7581 * rt/tst-clock.c (TIMEOUT): Likewise.
7582 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7583 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7584 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7585 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7586 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7587 * rt/tst-timer4.c (TIMEOUT): Likewise.
7588 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7589 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7590 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7591 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7592 * time/tst-ftime.c (TIMEOUT): Likewise.
7593 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7595 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7597 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7598 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7601 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7605 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7606 instead of <bits/wordsize.h>.
7607 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7608 and [__SEM_PAD_AFTER_TIME].
7609 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7610 __syscall_ulong_t instead of unsigned long int.
7611 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7612 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7613 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7614 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7615 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7616 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7617 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7618 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7619 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7620 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7621 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7623 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7625 regex: simplify by using intprops.h
7627 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7628 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7629 intprops.h defines them.
7631 regex: __builtin_expect → __glibc_unlikely
7633 This refactoring was prompted by a problem when the regex code is
7634 used as part of Gnulib and when the builder’s compiler does not grok
7635 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7636 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7637 Although this refactoring does not fix the problem directly,
7638 we might as well have Gawk use the now-preferred glibc style for when
7639 __builtin_expect is unavailable.
7640 * posix/regex_internal.h (BE): Remove.
7641 All uses replaced by __glibc_unlikely or __glibc_likely.
7643 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7647 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7648 instead of <bits/wordsize.h>.
7649 (msgqnum_t): Define as __syscall_ulong_t.
7650 (msglen_t): Likewise.
7651 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7652 and [__MSQ_PAD_AFTER_TIME].
7653 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7654 __syscall_ulong_t instead of unsigned long int.
7655 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7656 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7657 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7658 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7660 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7661 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7662 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7663 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7664 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7665 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7667 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7669 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7670 (struct shmid_ds): Condition padding after time fields on
7672 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7673 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7674 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7676 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7677 (struct semid_ds): Condition padding after time fields on
7679 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7680 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7681 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7682 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7684 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7685 (struct msqid_ds): Condition padding after time fields on
7687 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7688 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7689 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7690 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7692 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7694 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7696 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7698 * libio/tst-readline.c (TIMEOUT): Define.
7700 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7702 mktime fix for Gnulib + coreutils
7704 This fix affects only Gnulib. Problem discovered when
7705 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7707 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7708 Do not define since it is not used. Defining an unused static
7709 function prompts a warning from GCC when Coreutils is configured
7710 with --enable-gcc-warnings.
7712 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7714 * benchtests/scripts/compare_bench.py (main): set float type on
7717 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7720 * localedata/locales/kl_GL (mon): Update, the relative case.
7721 (alt_mon): Add, fill with month names in the nominative case.
7722 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7723 (d_fmt): Set to "%b %d %Y".
7725 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7727 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7728 <bits/mman-linux.h>.
7729 (PROT_READ): Don't define here.
7730 (PROT_WRITE): Likewise.
7731 (PROT_EXEC): Likewise.
7732 (PROT_NONE): Likewise.
7733 (PROT_GROWSDOWN): Likewise.
7734 (PROT_GROWSUP): Likewise.
7735 (MAP_SHARED): Likewise.
7736 (MAP_PRIVATE): Likewise.
7737 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7738 [__USE_MISC] (MAP_FILE): Likewise.
7739 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7740 [__USE_MISC] (MAP_ANON): Likewise.
7741 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7742 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7743 (MCL_CURRENT): Likewise.
7744 (MCL_FUTURE): Likewise.
7745 (MCL_ONFAULT): Likewise.
7746 [__USE_MISC] (MADV_NORMAL): Likewise.
7747 [__USE_MISC] (MADV_RANDOM): Likewise.
7748 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7749 [__USE_MISC] (MADV_WILLNEED): Likewise.
7750 [__USE_MISC] (MADV_DONTNEED): Likewise.
7751 [__USE_MISC] (MADV_FREE): Likewise.
7752 [__USE_MISC] (MADV_REMOVE): Likewise.
7753 [__USE_MISC] (MADV_DONTFORK): Likewise.
7754 [__USE_MISC] (MADV_DOFORK): Likewise.
7755 [__USE_MISC] (MADV_HWPOISON): Likewise.
7756 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7757 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7758 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7759 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7760 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7761 (__MAP_ANONYMOUS): New macro.
7762 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7763 <bits/mman-linux.h> inclusion.
7764 (MAP_FIXED): Likewise.
7765 (MS_SYNC): Likewise.
7766 (MS_ASYNC): Likewise.
7767 (MS_INVALIDATE): Likewise.
7768 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7769 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7770 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7771 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7772 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7773 [__USE_MISC] (MADV_DODUMP): Likewise.
7774 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7775 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7778 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7780 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7781 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7782 Add test-nldbl-redirect.
7783 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7784 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7785 $(objpfx)libnldbl_nonshared.a.
7787 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7789 * support/support.h (support_objdir_elf_ldso): New variable.
7790 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7791 * support/Makefile (CFLAGS-support_paths.c): Add definition
7792 for OBJDIR_ELF_LDSO_PATH.
7793 * support/test-container.c (main): Search for the ld.so
7794 which is also used by the testsuite.
7796 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7799 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7800 should be "sap" rather than "sab".
7801 (day): Fix spelling of Sunday, should be "sapaat" rather than
7804 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7806 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7808 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7811 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7812 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7813 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7815 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7817 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7819 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7821 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7823 (CFLAGS-elision-unlock.c): Likewise.
7824 (CFLAGS-elision-timed.c): Likewise.
7825 (CFLAGS-elision-trylock.c): Likewise.
7826 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7828 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7831 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7832 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7833 new fd_to_filename interface.
7834 * libio/freopen64.c (freopen64): Likewise.
7835 * libio/tst-memstream.h: New file.
7836 * libio/tst-memstream4.c: Likewise.
7837 * libio/tst-wmemstream4.c: Likewise.
7838 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7839 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7840 and remove internal dynamic allocation.
7842 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7844 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7845 (MREMAP_MAYMOVE): Do not define here.
7846 [__USE_GNU] (MREMAP_FIXED): Likewise.
7847 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7848 (MREMAP_MAYMOVE): Define here instead.
7849 [__USE_GNU] (MREMAP_FIXED): Likewise.
7850 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7851 (MREMAP_MAYMOVE): Remove.
7852 [__USE_GNU] (MREMAP_FIXED): Likewise.
7854 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7856 * math/fromfp.h: Do not include <math_private.h>.
7857 * math/s_cacosh_template.c: Likewise.
7858 * math/s_casin_template.c: Likewise.
7859 * math/s_casinh_template.c: Likewise.
7860 * math/s_ccos_template.c: Likewise.
7861 * math/s_cproj_template.c: Likewise.
7862 * math/s_fdim_template.c: Likewise.
7863 * math/s_fmaxmag_template.c: Likewise.
7864 * math/s_fminmag_template.c: Likewise.
7865 * math/s_iseqsig_template.c: Likewise.
7866 * math/s_ldexp_template.c: Likewise.
7867 * math/s_nextdown_template.c: Likewise.
7868 * math/w_log1p_template.c: Likewise.
7869 * math/w_scalbln_template.c: Likewise.
7870 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7871 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7872 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7873 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7874 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7875 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7876 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7877 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7878 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7879 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7880 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7881 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7882 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7883 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7884 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7885 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7886 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7888 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7889 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7890 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7891 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7892 * sysdeps/ieee754/k_standardf.c: Likewise.
7893 * sysdeps/ieee754/k_standardl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7895 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7896 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7903 * sysdeps/ieee754/s_signgam.c: Likewise.
7904 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7905 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7906 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7907 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7908 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7909 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7910 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7911 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7912 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7913 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7914 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7915 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7916 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7917 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7918 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7919 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7920 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7921 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7922 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7923 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7924 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7925 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7926 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7927 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7928 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7929 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7930 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7931 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7932 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7933 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7934 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7935 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7936 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7937 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7938 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7939 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7940 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7942 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7944 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7947 * sysdeps/i386/dl-cet.c: Removed.
7948 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7950 (_dl_runtime_profile_shstk): Likewise.
7951 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7952 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7954 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7957 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7958 do_test_with_invalid_iov): New tests.
7959 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7960 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7961 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7963 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7964 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7965 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7967 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7969 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7970 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7971 (MATH_REDIRECT_BINARY_ARGS): New macro.
7972 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7973 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7974 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7976 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7978 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7979 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7980 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7981 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7982 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7989 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7990 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7995 * sysdeps/generic/math_private_calls.h
7996 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7997 Do not declare and define as an inline function.
7998 * math/divtc3.c (__divtc3): Use copysign functions instead of
7999 __copysign variants.
8000 * math/multc3.c (__multc3): Likewise.
8001 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8002 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8003 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8004 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8006 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8007 (__ieee754_yn): Likewise.
8008 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8009 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8010 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8011 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8012 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8014 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8015 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8021 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8022 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8024 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8025 (__ieee754_ynf): Likewise.
8026 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8027 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8028 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8029 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8031 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8032 (__ieee754_ynl): Likewise.
8033 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8034 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8035 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8037 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8038 (__ieee754_ynl): Likewise.
8039 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8040 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8041 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8042 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8046 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8047 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8048 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8049 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8050 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8052 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8053 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8054 using MATH_REDIRECT.
8055 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8057 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8060 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8061 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8062 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8063 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8068 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8069 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8070 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8071 (round): Redirect to __round.
8072 (__roundl): Call round instead of __round.
8073 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8075 [_ARCH_PWR5X] (__roundf): Likewise.
8076 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8077 functions instead of __round variants.
8078 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8081 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8083 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8085 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8086 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8088 (__ieee754_expl): Call roundl instead of __roundl.
8090 2018-09-27 Andreas Schwab <schwab@suse.de>
8093 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8094 (do_test): Make st1 static.
8096 2018-09-26 Andreas Schwab <schwab@suse.de>
8099 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8100 * elf/Makefile (tests): Add tst-unwind-ctor.
8101 (modules-names): Add tst-unwind-ctor-lib.
8102 ($(objpfx)tst-unwind-ctor): Depend on
8103 $(objpfx)tst-unwind-ctor-lib.so.
8105 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8107 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8108 file. Most contents moved from ....
8109 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8110 and include <bits/mman-map-flags-generic.h>.
8111 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8112 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8113 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8114 <bits/mman-map-flags-generic.h>.
8115 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8116 macros defined in <bits/mman-map-flags-generic.h>.
8117 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8118 <bits/mman-map-flags-generic.h>.
8119 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8120 defined in <bits/mman-map-flags-generic.h>.
8122 2018-09-26 Andreas Schwab <schwab@suse.de>
8124 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8127 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8128 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8129 Fangrui Song <maskray@google.com>
8132 * config.make.in (have-textrel_ifunc): New define.
8133 * configure.ac: Add check if linker supports textrel relocation with
8135 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8137 (CFLAGS-tst-ifunc-textrel.c): New rule.
8138 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8139 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8140 * elf/tst-ifunc-textrel.c: New file.
8142 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8144 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8145 <bits/procfs-prregset.h>.
8146 (prgregset_t): Define using __prgregset_t.
8147 (prfpregset_t): Define using __prfpregset_t.
8148 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8149 (sysdep_headers): Add bits/procfs-prregset.h.
8150 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8151 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8152 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8153 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8155 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8156 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8157 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8159 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8160 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8161 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8162 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8163 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8164 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8165 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8166 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8167 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8168 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8169 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8170 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8171 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8172 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8173 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8174 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8175 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8176 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8177 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8178 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8179 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8180 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8181 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8182 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8184 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8185 AArch64 version. Include <bits/procfs.h>.
8186 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8187 (sysdep_headers): Add bits/procfs.h.
8188 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8189 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8190 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8191 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8192 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8193 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8194 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8195 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8196 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8197 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8198 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8199 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8200 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8201 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8202 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8203 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8204 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8206 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8208 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8211 2018-09-25 Arjun Shankar <arjun@redhat.com>
8213 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8214 (__gconv_max_path_elem_len): Likewise.
8215 (__gconv_nmodules): Likewise.
8216 (__gconv_get_path): Likewise.
8217 (path_elem): Move to ...
8218 * iconv/gconv_conf.c: ... here.
8219 (__gconv_get_path): Mark function static.
8220 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8221 * iconv/gconv_open.c: ... here.
8223 2018-09-24 Andreas Schwab <schwab@suse.de>
8225 * scripts/haveversions.awk: New file.
8226 * Makerules ($(common-objpfx)Versions.def)
8227 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8228 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8230 * Makeconfig ($(common-objpfx)Versions.def)
8231 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8232 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8234 ($(common-objpfx)Versions.mk): New rule. Include it.
8235 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8236 Emit error if build-obsolete-nsl = yes.
8237 * manual/install.texi (Configuring and compiling): Describe
8238 --enable-obsolete-nsl as unavaiable after version 2.28.
8239 * INSTALL: Regenerate.
8241 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8243 * NEWS: Add note about new TLE support on powerpc64le.
8244 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8245 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8247 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8248 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8249 * sysdeps/powerpc/powerpc32/sysdep.h,
8250 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8251 ABORT_TRANSACTION): Remove macros.
8252 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8253 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8254 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8256 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8257 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8259 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8261 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8264 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8265 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8266 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8267 which is the same as in it_IT.
8268 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8269 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8271 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8273 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8274 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8275 using MATH_REDIRECT.
8276 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8278 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8280 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8282 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8288 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8289 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8290 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8291 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8292 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8293 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8294 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8296 (ceil): Redirect to __ceil.
8297 (floor): Redirect to __floor.
8298 (trunc): Redirect to __trunc.
8299 (__truncl): Call trunc instead of __trunc.
8300 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8302 [_ARCH_PWR5X] (__truncf): Likewise.
8303 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8304 trunc functions instead of __trunc variants.
8305 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8307 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8309 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8311 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8314 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8315 [__i586__ || __pentium__].
8316 [__i486__]: Handle explicitly.
8317 (HAS_CPUID): Define to 1 if above macros are undefined.
8318 (HAS_I586): Likewise.
8319 (HAS_I686): Likewise.
8321 2018-09-20 Florian Weimer <fweimer@redhat.com>
8323 * misc/tst-gethostid.c: New file.
8324 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8325 (tst-gethostid): Link with -ldl.
8327 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8329 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8330 value from gethostbyname_r.
8332 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8334 * stdlib/tst-setcontext9.c (f1): Rename to...
8336 (f1b): New function implementing lower half of f1 in alternate stack.
8338 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8340 Fix mktime localtime offset confusion
8342 * include/time.h (__mktime_internal): The localtime offset is now
8343 of type long int instead of time_t. This is the longstanding type
8344 in glibc, and it is more than enough to represent difference
8345 between localtime and gmtime even if it is 32 bits and time_t is
8346 64. Changing it now will let us avoid an unnecessary change when
8347 time_t is widened to 64 bits on 32-bit platforms.
8348 * time/mktime-internal.h (mktime_offset_t): Now long int.
8350 Merge mktime, timegm from upstream Gnulib
8351 [BZ #23603][BZ #16346]
8352 This fixes some obscure problems with integer overflow.
8353 Although it looks scary, it is almost all a byte-for-byte copy
8354 from Gnulib, and the Gnulib code has been tested reasonably well.
8355 * include/intprops.h: New file, copied from Gnulib.
8356 * include/verify.h, time/mktime-internal.h:
8357 New tiny files, simplified from Gnulib.
8358 * time/mktime.c: Copy from Gnulib. This has the following changes:
8359 Do not include config.h if DEBUG_MKTIME is nonzero.
8360 Include stdbool.h, intprops.h, verify.h.
8361 Include string.h only if needed.
8362 Include stdlib.h on MS-Windows.
8363 Include mktime-internal.h.
8364 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8365 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8366 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8367 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8368 simplify later conditionals; default the others to zero. Use
8369 these conditionals to express only the code needed on the current
8370 platform. In uses of these conditionals, explicitly spell out how
8371 _LIBC affects things, so it’s easier to review from a glibc
8373 (WRAPV): Remove; no longer needed now that we have
8374 systematic overflow checking.
8375 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8376 compartmentalize tzset issues. Move system-dependent tzsettish
8377 code here from mktime.
8378 (verify): Remove; now done by verify.h. All uses changed.
8379 (long_int): Use a more-conservative definition, to avoid
8381 (SHR): Remove, replacing with ...
8382 (shr): New function, which means we needn’t worry about side
8383 effects in args, and conversion analysis is simpler.
8384 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8385 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8386 (time_t_avg, time_t_add_ok): Remove.
8387 (mktime_min, mktime_max): New constants.
8388 (leapyear, isdst_differ): Use bool for booleans.
8389 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8390 Use long_int, not time_t, for mktime differences.
8391 (long_int_avg): New function, replacing time_t_avg.
8392 INT_ADD_WRAPV replaces time_t_add_ok.
8393 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8395 (convert_time): New function.
8396 (ranged_convert): Use it.
8397 (__mktime_internal): Last arg now points to mktime_offset_t, not
8398 time_t. All uses changed. This is a no-op on glibc, where
8399 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8400 offset guess. Directly check for integer overflow instead of
8401 using a heuristic that works only 99.9...% of the time.
8402 Access *OFFSET only once, to avoid an unlikely race if the
8403 compiler delays a load and if this cascades into a signed integer
8405 (mktime): Move tzsettish code to my_tzset, and move
8406 localtime_offset to within mktime so that it doesn’t
8407 need a separate ifdef.
8408 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8409 instead of localtime.
8410 * time/timegm.c: Copy from Gnulib. This has the following changes:
8411 Include mktime-internal.h.
8412 [!_LIBC]: Include config.h and time.h. Do not include
8413 timegm.h or time_r.h. Make __mktime_internal a macro,
8414 and include mktime-internal.h to get its declaration.
8415 (timegm): Temporary is now mktime_offset_t, not time_t.
8416 This affects only Gnulib.
8418 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8421 * string/test-strstr.c (pr23637): New function.
8422 (test_main): Add tests with longer needles.
8423 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8424 * string/strstr.c (AVAILABLE): Likewise.
8426 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8428 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8430 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8432 * NEWS: Mention pow improvements.
8433 * math/Makefile (type-double-routines): Add e_pow_log_data.
8434 * sysdeps/generic/math_private.h (__exp1): Remove.
8435 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8436 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8437 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8439 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8440 (exp_inline): Remove.
8441 (__ieee754_exp): Only single double input is handled.
8442 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8443 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8444 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8445 (__pow_log_data): Define.
8446 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8447 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8448 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8449 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8451 (CFLAGS-e_pow-fma4.c): Likewise.
8453 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8455 Simplify tzfile fstat failure code
8457 * time/tzfile.c (__tzfile_read): Simplify slightly.
8459 Fix tzfile low-memory assertion failure
8461 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8462 when registering time zone abbreviations.
8464 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8466 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8467 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8468 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8469 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8470 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8471 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8472 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8473 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8474 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8476 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8478 (__ceill): Call ceil instead of __ceil.
8479 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8481 (__floorl): Call floor instead of __floor.
8483 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8485 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8486 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8487 using MATH_REDIRECT.
8488 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8490 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8493 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8494 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8496 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8497 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8502 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8503 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8506 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8507 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8508 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8510 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8511 functions instead of __ceil variants.
8512 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8513 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8515 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8517 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8520 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8521 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8524 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8526 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8527 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8528 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8529 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8530 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8531 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8532 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8533 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8534 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8535 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8536 (ILL_BADIADDR): Remove constant.
8537 (TRAP_BRANCH): Likewise.
8538 (TRAP_HWBKPT): Likewise.
8540 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8543 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8544 Remove [_MIPS_SIM = _ABIN32] conditional case.
8545 (struct elf_prpsinfo): Likewise.
8548 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8549 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8550 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8552 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8553 elf_prpsinfo): Likewise.
8554 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8555 elf_prpsinfo): Likewise.
8556 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8559 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8560 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8561 using MATH_REDIRECT.
8562 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8564 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8565 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8566 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8567 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8570 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8571 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8574 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8575 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8576 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8577 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8578 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8579 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8580 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8581 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8582 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8587 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8588 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8589 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8590 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8592 * math/e_scalbf.c (invalid_fn): Likewise.
8593 * math/e_scalbl.c (invalid_fn): Likewise.
8594 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8596 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8598 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8599 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8600 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8602 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8604 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8606 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8607 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8609 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8610 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8612 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8613 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8614 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8615 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8616 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8617 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8618 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8619 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8620 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8621 && !NO_MATH_REDIRECT] (floor): Likewise.
8622 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8624 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8627 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8628 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8631 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8636 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8637 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8640 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8641 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8642 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8644 [_ARCH_PWR5X] (__floorf): Likewise.
8645 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8647 [__SSE4_1__] (__floorf): Likewise.
8648 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8649 instead of __floor variants.
8650 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8651 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8652 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8653 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8654 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8655 * math/w_tgamma_compat.c (__tgamma): Likewise.
8656 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8657 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8658 * math/w_tgammal_compat.c (__tgammal): Likewise.
8659 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8662 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8663 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8664 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8665 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8667 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8668 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8670 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8676 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8679 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8680 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8681 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8683 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8685 * elf/Makefile (modules-names-tests): New variable.
8687 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8689 * NEWS: Mention log2 improvements.
8690 * math/Makefile (type-double-routines): Add e_log2_data.
8691 * sysdeps/i386/fpu/e_log2_data.c: New file.
8692 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8693 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8694 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8695 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8696 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8697 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8699 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8701 * NEWS: Mention log improvement.
8702 * math/Makefile (type-double-routines): Add e_log_data.
8703 * sysdeps/i386/fpu/e_log_data.c: New file.
8704 * sysdeps/ia64/fpu/e_log_data.c: New file.
8705 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8706 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8707 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8708 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8709 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8710 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8712 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8713 Xuepeng Guo <xuepeng.guo@intel.com>
8716 * sysdeps/i386/start.S: Include <sysdep.h>
8717 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8718 enabled. Add cfi_undefined (eip).
8720 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8722 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8724 (EXTRACT_WORDS64): Likewise.
8725 (INSERT_WORDS64): Likewise.
8726 (GET_FLOAT_WORD): Likewise.
8727 (SET_FLOAT_WORD): Likewise.
8729 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8731 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8732 build, but not for second build if --full-gcc. Use
8733 --enable-languages=all for second build if --full-gcc.
8734 (get_parser): Add --full-gcc option.
8735 (main): Update call to Context.
8737 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8740 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8741 Single Quotation Mark).
8742 (thousands_sep): Likewise.
8743 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8744 * localedata/locales/it_IT (thousands_sep): Use ".".
8745 (grouping): Use "3;3".
8747 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8749 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8750 x86_64 and i686 configs using --enable-obsolete-rpc
8751 --enable-obsolete-nsl.
8753 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8755 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8757 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8759 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8760 Increment size of new_argv by one.
8762 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8765 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8766 * localedata/locales/ar_IN (d_fmt): Likewise.
8767 * localedata/locales/bhb_IN (d_fmt): Likewise.
8768 * localedata/locales/bho_IN (d_fmt): Likewise.
8769 * localedata/locales/bn_BD (d_fmt): Likewise.
8770 * localedata/locales/bn_IN (d_fmt): Likewise.
8771 * localedata/locales/doi_IN (d_fmt): Likewise.
8772 * localedata/locales/gu_IN (d_fmt): Likewise.
8773 * localedata/locales/hi_IN (d_fmt): Likewise.
8774 * localedata/locales/hne_IN (d_fmt): Likewise.
8775 * localedata/locales/kn_IN (d_fmt): Likewise.
8776 * localedata/locales/mag_IN (d_fmt): Likewise.
8777 * localedata/locales/mai_IN (d_fmt): Likewise.
8778 * localedata/locales/mjw_IN (d_fmt): Likewise.
8779 * localedata/locales/ml_IN (d_fmt): Likewise.
8780 * localedata/locales/mni_IN (d_fmt): Likewise.
8781 * localedata/locales/mr_IN (d_fmt): Likewise.
8782 * localedata/locales/pa_IN (d_fmt): Likewise.
8783 * localedata/locales/raj_IN (d_fmt): Likewise.
8784 * localedata/locales/sat_IN (d_fmt): Likewise.
8785 * localedata/locales/sd_IN (d_fmt): Likewise.
8786 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8787 * localedata/locales/ta_IN (d_fmt): Likewise.
8788 * localedata/locales/ta_LK (d_fmt): Likewise.
8789 * localedata/locales/tcy_IN (d_fmt): Likewise.
8790 * localedata/locales/ur_IN (d_fmt): Likewise.
8792 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8793 * localedata/locales/ks_IN (d_fmt): Likewise.
8794 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8796 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8797 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8798 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8799 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8801 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8803 * NEWS: Mention exp and exp2 improvements.
8804 * math/Makefile (libm-support): Remove t_exp.
8805 (type-double-routines): Add math_err and e_exp_data.
8806 * sysdeps/aarch64/libm-test-ulps: Update.
8807 * sysdeps/arm/libm-test-ulps: Update.
8808 * sysdeps/i386/fpu/e_exp_data.c: New file.
8809 * sysdeps/i386/fpu/math_err.c: New file.
8810 * sysdeps/i386/fpu/t_exp.c: Remove.
8811 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8812 * sysdeps/ia64/fpu/math_err.c: New file.
8813 * sysdeps/ia64/fpu/t_exp.c: Remove.
8814 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8815 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8816 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8817 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8818 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8819 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8820 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8821 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8822 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8823 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8824 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8825 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8826 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8827 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8831 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8833 * sysdeps/alpha/fpu/math_private.h: Remove.
8835 * sysdeps/generic/math_private.h
8836 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8837 Move this inline function ....
8838 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8839 * include/math.h [!_ISOMAC]: To here....
8841 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8843 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8845 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8846 * include/fenv.h [!_ISOMAC]: ... to here.
8847 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8848 (feraiseexcept): Likewise.
8849 * math/fromfp.h: Do not include <fenv_private.h>.
8850 * math/s_cexp_template.c: Likewise.
8851 * math/s_csin_template.c: Likewise.
8852 * math/s_csinh_template.c: Likewise.
8853 * math/s_ctan_template.c: Likewise.
8854 * math/s_ctanh_template.c: Likewise.
8855 * math/s_iseqsig_template.c: Likewise.
8856 * math/w_acos_compat.c: Likewise.
8857 * math/w_acosf_compat.c: Likewise.
8858 * math/w_acosl_compat.c: Likewise.
8859 * math/w_asin_compat.c: Likewise.
8860 * math/w_asinf_compat.c: Likewise.
8861 * math/w_asinl_compat.c: Likewise.
8862 * math/w_j0_compat.c: Likewise.
8863 * math/w_j0f_compat.c: Likewise.
8864 * math/w_j0l_compat.c: Likewise.
8865 * math/w_j1_compat.c: Likewise.
8866 * math/w_j1f_compat.c: Likewise.
8867 * math/w_j1l_compat.c: Likewise.
8868 * math/w_jn_compat.c: Likewise.
8869 * math/w_jnf_compat.c: Likewise.
8870 * math/w_log10_compat.c: Likewise.
8871 * math/w_log10f_compat.c: Likewise.
8872 * math/w_log10l_compat.c: Likewise.
8873 * math/w_log2_compat.c: Likewise.
8874 * math/w_log2f_compat.c: Likewise.
8875 * math/w_log2l_compat.c: Likewise.
8876 * math/w_log_compat.c: Likewise.
8877 * math/w_logf_compat.c: Likewise.
8878 * math/w_logl_compat.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8884 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8885 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8886 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8887 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8888 * sysdeps/ieee754/k_standardl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8901 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8902 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8906 * math/w_ilogb_template.c: Include <fenv.h> instead of
8908 * math/w_llogb_template.c: Likewise.
8909 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8910 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8912 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8914 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8915 * math/fromfp.h: Include <fenv_private.h>.
8916 * math/math-narrow.h: Likewise.
8917 * math/s_cexp_template.c: Likewise.
8918 * math/s_csin_template.c: Likewise.
8919 * math/s_csinh_template.c: Likewise.
8920 * math/s_ctan_template.c: Likewise.
8921 * math/s_ctanh_template.c: Likewise.
8922 * math/s_iseqsig_template.c: Likewise.
8923 * math/w_acos_compat.c: Likewise.
8924 * math/w_acosf_compat.c: Likewise.
8925 * math/w_acosl_compat.c: Likewise.
8926 * math/w_asin_compat.c: Likewise.
8927 * math/w_asinf_compat.c: Likewise.
8928 * math/w_asinl_compat.c: Likewise.
8929 * math/w_ilogb_template.c: Likewise.
8930 * math/w_j0_compat.c: Likewise.
8931 * math/w_j0f_compat.c: Likewise.
8932 * math/w_j0l_compat.c: Likewise.
8933 * math/w_j1_compat.c: Likewise.
8934 * math/w_j1f_compat.c: Likewise.
8935 * math/w_j1l_compat.c: Likewise.
8936 * math/w_jn_compat.c: Likewise.
8937 * math/w_jnf_compat.c: Likewise.
8938 * math/w_llogb_template.c: Likewise.
8939 * math/w_log10_compat.c: Likewise.
8940 * math/w_log10f_compat.c: Likewise.
8941 * math/w_log10l_compat.c: Likewise.
8942 * math/w_log2_compat.c: Likewise.
8943 * math/w_log2f_compat.c: Likewise.
8944 * math/w_log2l_compat.c: Likewise.
8945 * math/w_log_compat.c: Likewise.
8946 * math/w_logf_compat.c: Likewise.
8947 * math/w_logl_compat.c: Likewise.
8948 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8949 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8950 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8951 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8976 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8977 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8978 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8979 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8980 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8981 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8982 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8983 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8984 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8985 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8986 * sysdeps/ieee754/k_standardl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9012 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9013 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9017 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9018 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9023 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9024 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9025 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9026 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9027 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9028 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9029 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9030 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9031 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9032 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9033 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9034 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9035 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9036 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9037 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9038 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9039 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9040 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9041 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9042 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9043 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9044 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9045 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9046 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9047 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9048 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9049 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9050 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9051 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9052 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9053 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9054 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9055 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9056 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9057 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9059 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9062 * include/stdio.h (__libc_fatal): Mention newline in comment.
9063 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9064 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9065 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9066 * nss/nsswitch.c (__nss_next2): Likewise.
9067 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9068 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9069 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9070 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9071 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9072 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9073 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9074 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9075 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9076 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9077 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9078 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9079 (__netlink_assert_response): Likewise.
9081 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9083 * conform/glibcconform.py: New file.
9084 * conform/list-header-symbols.py: Likewise.
9085 * conform/list-header-symbols.pl: Remove.
9086 * conform/Makefile (tests-special): Only add linknamespace tests
9088 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9090 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9093 * support/Makefile (libsupport-routines): Add
9094 support_copy_file_range and xcopy_file_range.
9095 * support/support.h: Include <sys/types.h>.
9096 (support_copy_file_range): New prototype.
9097 * support/support_copy_file_range.c: New file. Copied and
9098 modified from io/copy_file_range-compat.c.
9099 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9100 instead of copy_file_range.
9101 * support/xcopy_file_range.c: New file.
9102 * support/xunistd.h (xcopy_file_range): New prototype.
9104 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9106 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9107 xpthread_create and xpthread_join.
9109 2018-08-30 Florian Weimer <fweimer@redhat.com>
9111 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9113 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9115 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9118 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9120 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9121 and minus_oflow as non-finite.
9123 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9125 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9126 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9127 moved to fenv_private.h except for ...
9128 (TOINT_INTRINSICS): Kept in math_private.h.
9129 (roundtoint): Likewise.
9130 (converttoint): Likewise.
9131 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9132 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9133 * sysdeps/arm/math_private.h: Remove.
9134 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9136 * sysdeps/generic/math_private.h: ... this file. Include
9137 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9138 Include <fenv_private.h>. Remove functions and macros moved to
9140 * sysdeps/i386/fpu/math_private.h: Remove.
9141 * sysdeps/mips/math_private.h: Move to ....
9142 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9143 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9144 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9145 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9146 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9147 * sysdeps/powerpc/fpu/math_private.h: Do not include
9149 * sysdeps/riscv/rvf/math_private.h: Move to ....
9150 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9151 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9153 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9154 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9155 * sysdeps/sparc/fpu/math_private.h: Remove.
9156 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9157 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9158 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9160 * sysdeps/x86_64/fpu/math_private.h: Do not include
9161 <sysdeps/i386/fpu/fenv_private.h>.
9163 2018-08-28 Florian Weimer <fweimer@redhat.com>
9166 * posix/tst-regcomp-truncated.c: New file.
9167 * posix/Makefile (tests): Add it.
9168 (tst-regcomp-truncated.out): Depend on generated locales.
9170 2018-08-28 Florian Weimer <fweimer@redhat.com>
9172 * support/test-container.c (main): Treat unshare failure with
9173 EPERM as an unsupported test.
9175 2018-08-28 Florian Weimer <fweimer@redhat.com>
9178 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9179 * nscd/netgroupcache.c
9180 (addgetnetgrentX): Add tofreep parameter. Do not free
9181 heap-allocated buffer.
9182 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9183 (addgetnetgrentX_ignore): New function.
9184 (addgetnetgrent): Call it.
9185 (readdgetnetgrent): Likewise.
9187 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9189 * string/memmem.c: Use memcmp for first match.
9191 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9194 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9196 2018-08-27 DJ Delorie <dj@redhat.com>
9198 * support/Makefile (others): Don't list programs explicitly as a
9199 dependency of "others".
9201 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9203 * sysdeps/generic/math-tests-trap-force.h: New file.
9204 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9205 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9206 * sysdeps/powerpc/math-tests.h: Remove file.
9207 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9209 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9210 Torvald Riegel <triegel@redhat.com>
9213 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9214 Update r to include the set wake-request flag if waiters are
9215 remaining after spinning.
9217 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9219 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9221 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9224 regex: fix uninitialized memory access
9225 I introduced this bug into gnulib in commit
9226 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9227 eventually it was merged into glibc. The bug was found by
9228 project-repo <bugs@feusi.co> and reported here:
9229 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9230 Diagnosis and draft fix reported by Assaf Gordon here:
9231 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9232 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9233 * posix/regex_internal.c (build_wcs_upper_buffer):
9234 Fix bug when mbrtowc returns 0.
9236 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9238 * po/be.po: Update translation.
9240 2018-08-24 DJ Delorie <dj@delorie.com>
9242 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9245 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9248 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9249 create temporary files in source tree.
9251 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9253 * sysdeps/generic/math-tests-trap.h: New file.
9254 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9255 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9256 * sysdeps/aarch64/math-tests.h: Remove file.
9257 * sysdeps/arm/math-tests.h: Likewise.
9258 * sysdeps/riscv/math-tests.h: Likewise.
9259 * sysdeps/aarch64/math-tests-trap.h: New file.
9260 * sysdeps/arm/math-tests-trap.h: Likewise.
9261 * sysdeps/riscv/math-tests-trap.h: Likewise.
9263 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9265 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9266 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9267 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9268 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9269 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9270 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9274 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9275 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9276 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9277 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9278 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9279 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9280 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9281 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9282 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9284 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9286 * sysdeps/generic/math-tests-exceptions.h: New file.
9287 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9288 (EXCEPTION_TESTS_float): Do not define here.
9289 (EXCEPTION_TESTS_double): Likewise.
9290 (EXCEPTION_TESTS_long_double): Likewise.
9291 (EXCEPTION_TESTS_float128): Likewise.
9292 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9294 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9295 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9296 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9297 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9298 * sysdeps/mips/math-tests.h: Likewise.
9299 * sysdeps/nios2/math-tests.h: Likewise.
9300 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9301 (EXCEPTION_TESTS_float): Do not define here.
9302 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9303 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9304 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9306 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9308 * NEWS: Move optimized sinf entry to 2.29.
9310 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9312 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9314 2018-08-22 DJ Delorie <dj@redhat.com>
9316 * Makefile (testroot.pristine): New rules to initialize the
9317 test-in-container "testroot".
9318 * Makerules (all-testsuite): Add tests-container.
9319 * Rules (tests-expected): Add tests-container.
9320 (binaries-all-tests): Likewise.
9321 (tests-container): New, run these tests in the testroot container.
9322 * support/Makefile (others): Add *-container, support_paths.c,
9323 xmkdirp, and links-dso-program.
9324 * support/links-dso-program-c.c: New.
9325 * support/links-dso-program.cc: New.
9326 * support/test-container.c: New.
9327 * support/shell-container.c: New.
9328 * support/echo-container.c: New.
9329 * support/true-container.c: New.
9330 * support/xmkdirp.c: New.
9331 * support/xsymlink.c: New.
9332 * support/support_paths.c: New.
9333 * support/support.h: Add support paths prototypes.
9334 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9336 * nss/tst-nss-test3.c: Convert to test-in-container.
9337 * nss/tst-nss-test3.root/: New.
9339 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9341 regex: port Gnulib code to z/OS POSIX environment
9342 Problem reported by Arnold Robbins in:
9343 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9344 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9347 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9349 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9350 (ROUNDING_TESTS_double): Remove.
9351 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9352 (ROUNDING_TESTS_double): Remove.
9353 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9354 (ROUNDING_TESTS_double): Remove.
9355 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9356 (ROUNDING_TESTS_float): Remove.
9357 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9358 (ROUNDING_TESTS_float): Remove.
9359 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9360 (ROUNDING_TESTS_float): Remove.
9361 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9363 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9364 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9366 * sysdeps/generic/math-tests-rounding.h: New file.
9367 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9368 (ROUNDING_TESTS_float): Do not define here.
9369 (ROUNDING_TESTS_double): Likewise.
9370 (ROUNDING_TESTS_long_double): Likewise.
9371 (ROUNDING_TESTS_float128): Likewise.
9372 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9373 (ROUNDING_TESTS_double): Undefine before defining.
9374 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9375 (ROUNDING_TESTS_double): Undefine before defining.
9376 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9377 (ROUNDING_TESTS_double): Undefine before defining.
9378 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9379 (ROUNDING_TESTS_float): Undefine before defining.
9380 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9381 (ROUNDING_TESTS_float): Undefine before defining.
9382 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9383 (ROUNDING_TESTS_float): Undefine before defining.
9384 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9385 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9387 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9388 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9389 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9390 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9391 (ROUNDING_TESTS_float): Do not define here.
9392 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9393 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9394 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9395 (ROUNDING_TESTS_float): Likewise.
9396 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9397 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9398 * sysdeps/mips/math-tests.h [__mips_soft_float]
9399 (ROUNDING_TESTS_float): Likewise.
9400 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9401 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9402 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9403 (ROUNDING_TESTS_double): Likewise.
9404 (ROUNDING_TESTS_long_double): Likewise.
9406 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9408 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9409 (PF_XDP): New macro.
9410 (AF_XDP): New macro.
9411 (SOL_XDP): New macro.
9413 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9415 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9416 (TCP_INQ): Likewise.
9417 (TCP_CM_INQ): Likewise.
9418 (TCP_REPAIR_ON): Likewise.
9419 (TCP_REPAIR_OFF): Likewise.
9420 (TCP_REPAIR_OFF_NO_WP): Likewise.
9421 (struct tcp_zerocopy_receive): New type.
9423 2018-08-21 Florian Weimer <fweimer@redhat.com>
9425 * support/support.h (support_descriptor_supports_holes): Declare.
9426 * support/Makefile (libsupport-routines): Add
9427 support_descriptor_supports_holes.
9428 * support/support_descriptor_supports_holes.c: New file.
9429 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9430 and stop testing if holes are not supported.
9431 * io/test-lfs.c (do_prepare): Likewise.
9432 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9434 * timezone/tst-tzset.c (create_tz_file): Likewise.
9435 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9437 (do_prepare): Set it.
9438 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9440 2018-08-21 Florian Weimer <fweimer@redhat.com>
9443 * Makeconfig (+cflags): Do not sort (and deduplicate).
9445 2018-08-21 Florian Weimer <fweimer@redhat.com>
9447 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9448 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9450 2018-08-20 Florian Weimer <fweimer@redhat.com>
9452 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9453 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9455 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9457 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9458 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9459 and ssi_arch members.
9461 * elf/elf.c (NT_VMCOREDD): New macro.
9462 (AT_MINSIGSTKSZ): Likewise.
9464 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9466 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9467 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9468 s_cosf-ppc64 and s_cosf-power8.
9469 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9470 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9471 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9472 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9479 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9480 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9482 2018-08-17 Florian Weimer <fweimer@redhat.com>
9484 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9486 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9488 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9490 2018-08-16 Florian Weimer <fweimer@redhat.com>
9492 * configure.ac: Add --with-nonshared-cflags option.
9493 * config.make.in (extra-nonshared-cflags): Set variable.
9494 * Makeconfig (CFLAGS-.oS): Use it.
9495 * manual/install.texi (Configuring and compiling): Document
9496 --with-nonshared-cflags.
9497 * configure: Regenerate.
9498 * INSTALL: Likewise.
9500 2018-08-16 Florian Weimer <fweimer@redhat.com>
9502 * Makeconfig (ASFLAGS): Always append required assembler flags.
9504 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9506 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9507 (malloc_consolidate): Likewise.
9509 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9511 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9513 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9515 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9518 * benchtests/bench-strlen.c: Print performance numbers in json.
9520 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9522 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9523 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9524 only for little endian.
9525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9526 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9527 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9528 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9529 Add check for little endian.
9530 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9531 (__strcmp_power9): Add check for little endian.
9532 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9533 Add check for little endian.
9534 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9535 (__strncmp_power9): Add check for little endian.
9536 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9537 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9538 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9539 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9540 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9542 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9544 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9545 [!STRLEN](STRLEN): Set to __strlen.
9546 * sysdeps/aarch64/multiarch/strlen.c: New file.
9547 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9548 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9549 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9550 (__libc_ifunc_impl_list): Add strlen.
9551 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9552 strlen_generic and strlen_asimd.
9554 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9556 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9557 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9558 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9560 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9564 2018-08-14 Florian Weimer <fweimer@redhat.com>
9567 * include/stdio.h (__vfxprintf): Declare.
9568 * stdio-common/fxprintf.c (__vfxprintf): New function.
9569 (__fxprintf): Call it.
9570 * misc/err.c (convert_and_print): Remove function.
9571 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9572 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9573 * misc/Makefile (tests): Add tst-warn-wide.
9574 * misc/tst-warn-wide.c: New file.
9576 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9577 Szabolcs Nagy <szabolcs.nagy@arm.com>
9579 * NEWS: Mention sinf, cosf, sincosf.
9580 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9581 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9582 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9583 constants rather than including generic sincosf.h.
9584 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9585 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9586 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9587 (reduced_cos): Remove.
9588 (sinf_poly): New function.
9589 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9591 2018-08-14 Florian Weimer <fweimer@redhat.com>
9595 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9596 processing, bail out if no room, and close the stream before
9598 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9599 (tst-nss-files-alias-leak): Link with libdl.
9600 (tst-nss-files-alias-leak.out): Depend on nss_files.
9602 * nss/tst-nss-files-alias-leak.c: New file.
9604 2018-08-14 Florian Weimer <fweimer@redhat.com>
9606 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9607 server_user, stat_user.
9609 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9611 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9613 (io_pgetevents): New syscall.
9616 * manual/install.texi (Configuring and compiling): Do not list
9617 tools used for testing pretty printers here.
9618 (Tools for Compilation): List Python, PExpect and GDB here.
9619 Update descriptions of uses of Perl and Python.
9620 * INSTALL: Regenerate.
9622 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9625 2018-08-13 Florian Weimer <fweimer@redhat.com>
9627 * misc/error.c (error): Add missing va_end call.
9628 (error_at_line): Likewise.
9630 2018-08-13 Florian Weimer <fweimer@redhat.com>
9632 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9634 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9636 * benchtests/scripts/benchout.schema.json (properties): Add
9639 * benchtests/bench-skeleton.c (main): Add duration and
9640 iterations attributes.
9642 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9644 regex: Gnulib unibyte RRI uses bytes not chars
9645 Adjust the non-glibc code to agree with what Gawk needs for
9646 rational range interpretation (RRI) for regular expression ranges.
9647 In unibyte locales, Gawk wants ranges to use the underlying byte
9648 rather than the character code point. This change does not affect
9650 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9651 In unibyte locales, use the byte value rather than
9652 running it through btowc.
9654 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9656 * sysdeps/generic/math-tests-snan.h: New file.
9657 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9658 (SNAN_TESTS_float): Do not define here.
9659 (SNAN_TESTS_double): Likewise.
9660 (SNAN_TESTS_long_double): Likewise.
9661 (SNAN_TESTS_float128): Likewise.
9662 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9663 * sysdeps/i386/fpu/math-tests.h: Remove file.
9664 * sysdeps/ia64/math-tests-snan.h: New file.
9665 * sysdeps/ia64/math-tests.h: Remove file.
9666 * sysdeps/x86/math-tests.h: Likewise.
9667 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9669 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9670 Szabolcs Nagy <szabolcs.nagy@arm.com>
9672 * math/Makefile: Add s_sincosf_data.c.
9673 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9674 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9675 (sincosf_poly): Likewise.
9676 (reduce_small): Likewise.
9677 (reduce_large): Likewise.
9678 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9679 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9680 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9681 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9683 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9684 Szabolcs Nagy <szabolcs.nagy@arm.com>
9686 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9687 (converttoint): Use lround.
9688 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9689 document the semantics when TOINT_INTRINSICS is set.
9690 (converttoint): Likewise.
9691 (TOINT_RINT): Remove.
9692 (TOINT_SHIFT): Remove.
9693 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9696 2018-08-10 Florian Weimer <fweimer@redhat.com>
9699 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9701 (__old_getdents64): Use getdents64. Convert entries without
9703 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9704 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9705 tst-readdir64-compat.
9707 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9709 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9712 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9714 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9715 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9716 code to s390x-mcount.h and #include it.
9717 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9718 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9721 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9723 * stdlib/Versions: Remove __fentry__.
9724 * sysdeps/i386/Versions: Add __fentry__.
9725 * sysdeps/x86_64/Versions: Add __fentry__.
9727 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9729 * sysdeps/s390/Makefile: Register the new tests.
9730 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9731 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9732 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9733 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9734 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9735 * sysdeps/s390/tst-dl-runtime.c: New file.
9737 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9739 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9742 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9744 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9747 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9749 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9752 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9754 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9757 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9759 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9760 Use symbolic offsets for stack variables.
9762 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9764 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9765 Use symbolic offsets for stack variables.
9767 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9769 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9770 Use symbolic offsets for stack variables.
9772 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9774 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9775 Use symbolic offsets for stack variables.
9777 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9779 * math/gen-libm-test.py: New file.
9780 * math/gen-libm-test.pl: Remove.
9781 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9782 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9784 ($(libm-test-c-noauto-obj)): Likewise.
9785 ($(libm-test-c-auto-obj)): Likewise.
9786 ($(libm-test-c-narrow-obj)): Likewise.
9787 (regen-ulps): Likewise.
9788 * math/README.libm-test: Update references to gen-libm-test.pl.
9789 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9790 referencing gen-libm-test.pl.
9791 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9792 * math/libm-test-support.c: Likewise.
9793 * math/libm-test-support.h: Likewise.
9794 * sysdeps/generic/libm-test-ulps: Likewise.
9796 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9798 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9801 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9803 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9804 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9806 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9808 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9810 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9811 __pthread_setspecific): Add hidden proto.
9812 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9813 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9815 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9817 * benchtests/bench-string.h (buf1_size, buf2_size): New
9819 (init_sizes): New function.
9820 (test_init): Use it.
9821 (alloc_buf, exit_error): New functions.
9822 (alloc_bufs): Use ALLOC_BUF.
9823 (realloc_bufs): Remove.
9824 * benchtests/bench-memcmp.c (do_test): Adjust.
9825 * benchtests/bench-memset-large.c (do_test): Likewise.
9826 * benchtests/bench-memset-walk.c (do_test): Likewise.
9827 * benchtests/bench-memset.c (do_test): Likewise.
9828 * benchtests/bench-strncmp.c (do_test): Likewise.
9830 2018-08-06 Andreas Schwab <schwab@suse.de>
9832 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9833 of CONST_THREAD_AREA.
9835 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9837 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9838 (STATE_SAVE_MASK): Likewise.
9839 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9840 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9841 (STATE_SAVE_MASK): Likewise.
9842 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9843 instead of <cpu-features.h>.
9845 2018-08-03 DJ Delorie <dj@redhat.com>
9847 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9848 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9850 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9852 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9854 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9856 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9857 * math/libm-test-logb.inc (logb_test_data): Likewise.
9859 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9861 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9862 * string/strstr.c (AVAILABLE): Likewise.
9864 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9866 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9868 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9869 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9870 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9872 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9874 * po/be.po: Update translation.
9876 * po/be.po: Update translation.
9878 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9880 * sysdeps/x86/cpu-features-offsets.sym
9881 (rtld_global_ro_offsetof): Removed.
9882 (CPU_FEATURES_SIZE): Likewise.
9883 (CPUID_OFFSET): Likewise.
9884 (CPUID_SIZE): Likewise.
9885 (CPUID_EAX_OFFSET): Likewise.
9886 (CPUID_EBX_OFFSET): Likewise.
9887 (CPUID_ECX_OFFSET): Likewise.
9888 (CPUID_EDX_OFFSET): Likewise.
9889 (FAMILY_OFFSET): Likewise.
9890 (MODEL_OFFSET): Likewise.
9891 (FEATURE_OFFSET): Likewise.
9892 (FEATURE_SIZ): Likewise.
9893 (COMMON_CPUID_INDEX_1): Likewise.
9894 (COMMON_CPUID_INDEX_7): Likewise.
9895 (FEATURE_INDEX_1): Likewise.
9896 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9898 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9900 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9901 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9902 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9903 (install-locales): Depend on install-locale-archive.
9904 (install-locale-archive): Define.
9905 (install-locale-files): Define.
9906 (build-one-locale): Define macro.
9907 * manual/install.texi (Running make install): Document.
9908 * manual/INSTALL: Regenerate.
9910 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9912 * benchtests/scripts/compare_strings.py: Import traceback.
9913 (parse_file): Pretty-print error.
9915 * NEWS: Mention the change.
9916 * elf/dl-tunables.list: Rename tune namespace to cpu.
9917 * sysdeps/powerpc/dl-tunables.list: Likewise.
9918 * sysdeps/x86/dl-tunables.list: Likewise.
9919 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9921 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9922 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9923 * manual/README.tunables: Likewise.
9924 * manual/tunables.texi: Likewise.
9925 * sysdeps/powerpc/cpu-features.c: Likewise.
9926 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9927 (init_cpu_features): Likewise.
9928 * sysdeps/x86/cpu-features.c: Likewise.
9929 * sysdeps/x86/cpu-features.h: Likewise.
9930 * sysdeps/x86/cpu-tunables.c: Likewise.
9931 * sysdeps/x86_64/Makefile: Likewise.
9932 * sysdeps/x86/dl-cet.c: Likewise.
9934 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9937 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9938 [__mips_hard_float].
9939 (FE_UNDERFLOW): Likewise.
9940 (FE_OVERFLOW): Likewise.
9941 (FE_DIVBYZERO): Likewise.
9942 (FE_INVALID): Likewise.
9943 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9944 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9945 (FE_UPWARD): Likewise.
9946 (FE_DOWNWARD): Likewise.
9947 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9948 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9949 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9950 [__mips_hard_float].
9951 (FP_ROUNDMODE): Likewise.
9952 (FP_RND_NEAREST): Likewise.
9953 (FP_RND_ZERO): Likewise.
9954 (FP_RND_PINF): Likewise.
9955 (FP_RND_MINF): Likewise.
9956 (FP_EX_INVALID): Likewise.
9957 (FP_EX_OVERFLOW): Likewise.
9958 (FP_EX_UNDERFLOW): Likewise.
9959 (FP_EX_DIVZERO): Likewise.
9960 (FP_EX_INEXACT): Likewise.
9961 (FP_INIT_ROUNDMODE): Likewise.
9962 * sysdeps/mips/nofpu/fesetenv.c: New file.
9963 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9965 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9967 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9968 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9969 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9970 conditional on [FE_UPWARD].
9972 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9974 regex: fix memory leak in Gnulib
9975 Problem and fix reported by Assaf Gordon in:
9976 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9977 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9978 range_ends members too, as they are defined in 'struct
9979 re_charset_t' even if not _LIBC. This affects only Gnulib.
9981 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9983 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9985 (get_common_indices): This.
9986 (init_cpu_features): Updated.
9988 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9990 * sysdeps/generic/math-tests-snan-payload.h: New file.
9991 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9992 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9993 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9994 * sysdeps/generic/math-tests.h: Include
9995 <math-tests-snan-payload.h>.
9996 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9997 * sysdeps/hppa/math-tests.h: Remove file.
9998 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9999 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10000 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10003 * sysdeps/generic/math-tests-snan-cast.h: New file.
10004 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10005 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10006 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10007 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10009 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10011 * version.h (RELEASE): Set to "development".
10012 (VERSION): Set to "2.28.9000".
10013 * NEWS (2.29): New section.
10015 * version.h (RELEASE): Set to "stable".
10016 (VERSION): Set to "2.28".
10017 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10018 * NEWS: Add the list of bugs fixed in 2.28.
10020 * po/ca.po: Update to latest version.
10021 * po/cs.po: Likewise
10022 * po/da.po: Likewise
10023 * po/el.po: Likewise
10024 * po/eo.po: Likewise
10025 * po/es.po: Likewise
10026 * po/fi.po: Likewise
10027 * po/fr.po: Likewise
10028 * po/gl.po: Likewise
10029 * po/hu.po: Likewise
10030 * po/ia.po: Likewise
10031 * po/id.po: Likewise
10032 * po/it.po: Likewise
10033 * po/ja.po: Likewise
10034 * po/ko.po: Likewise
10035 * po/lt.po: Likewise
10036 * po/nb.po: Likewise
10037 * po/nl.po: Likewise
10038 * po/pt_BR.po: Likewise
10039 * po/ru.po: Likewise
10040 * po/rw.po: Likewise
10041 * po/sk.po: Likewise
10042 * po/sl.po: Likewise
10043 * po/tr.po: Likewise
10044 * po/zh_CN.po: Likewise
10045 * po/zh_TW.po: Likewise
10047 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10049 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10051 (init): ... before initializing libpthread.
10053 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10054 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10055 (__mach_setup_tls): ... new function.
10056 (mach_setup_tls): New alias.
10057 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10058 __mach_setup_thread.
10059 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10060 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10061 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10062 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10064 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10066 * manual/install.texi: Update versions.
10067 * INSTALL: Regenerate.
10069 * manual/contrib.texi (Contributors): Update contributions.
10071 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10073 * po/be.po: Update translations.
10075 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10077 * sysdeps/sh/libm-test-ulps: Update.
10079 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10081 * po/bg.po: Update translations.
10082 * po/de.po: Likewise.
10083 * po/hr.po: Likewise.
10084 * po/pt_BR.po: Likewise.
10085 * po/sv.po: Likewise.
10086 * po/vi.po: Likewise.
10088 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10091 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10092 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10093 (CFLAGS-tst-cet-property-1.o): New.
10094 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10095 ($(objpfx)tst-cet-property-2): Likewise.
10096 ($(objpfx)tst-cet-property-2.out): Likewise.
10097 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10098 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10099 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10100 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10101 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10103 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10106 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10108 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10110 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10111 __sbrk): Do not set attribute_hidden.
10112 * sysdeps/mach/hurd/not-errno.h: New file.
10113 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10114 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10116 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10118 * po/uk.po: Update translations.
10119 * po/cs.po: Likewise.
10120 * po/pl.po: Likewise.
10122 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10124 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10125 parse beyond the note end.
10127 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10129 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10130 kernel does not support OFD locks.
10131 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10133 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10135 * sysdeps/mach/hurd/Versions (libc): Make __access and
10136 __access_noerrno external so they can override the ld symbols.
10137 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10138 __writev, __open64, __access_noerrno extern so they can be overrided.
10139 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10140 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10142 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10144 * po/libc.pot: Regenerate.
10146 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10148 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10150 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10153 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10155 (init_cpu_features): Call get_extended_indices for both Intel
10157 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10158 Remove "for AMD" comment.
10160 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10163 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10164 COMMON_CPUID_INDEX_80000001.
10166 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10168 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10169 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10171 2018-07-26 Florian Weimer <fweimer@redhat.com>
10173 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10174 aliases for symbols not in the implementation namespace.
10176 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10179 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10180 lowercase in LATIN script.
10181 * localedata/Makefile (test-input): Add en_US.UTF-8.
10182 * localedata/en_US.UTF-8.in: New file.
10183 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10184 and restore old tests.
10185 * posix/tst-regexloc.c (do_test): Add back range expression test.
10187 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10189 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10191 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10193 * nptl/threads.h: Move to ...
10194 * sysdeps/nptl/threads.h: ... here.
10195 * sysdeps/hurd/stdc-predef.h: New file.
10197 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10199 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10200 tst-cet-setcontext-1 if CET is enabled.
10201 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10202 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10204 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10206 * include/threads.h: Move to ...
10207 * sysdeps/nptl/threads.h: ... here.
10208 * sysdeps/htl/threads.h: New file.
10209 * conform/Makefile (linknamespace-libs-ISO11): Use
10210 static-thread-library instead of linking libpthread.
10211 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10213 2018-07-25 Florian Weimer <fweimer@redhat.com>
10215 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10216 nanoseconds into seconds.
10217 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10218 (do_test): Likewise.
10219 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10220 (do_test): Likewise. Avoid nanosecond overflow and spurious
10221 timeouts due to system load.
10222 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10223 (child_wait): Increment it.
10224 (do_test): Wait as long as necessary until all expected threads
10227 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10228 H.J. Lu <hongjiu.lu@intel.com>
10230 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10232 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10233 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10234 (__push___start_context): New.
10235 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10237 (__getcontext): Record the current shadow stack base. Save the
10238 caller's shadow stack pointer and base.
10239 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10240 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10241 (__push___start_context): New prototype.
10242 (__makecontext): Call __push___start_context to allocate a new
10243 shadow stack, push __start_context onto the new stack as well
10244 as the new shadow stack.
10245 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10247 (__setcontext): Restore the target shadow stack.
10248 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10250 (__swapcontext): Record the current shadow stack base. Save
10251 the caller's shadow stack pointer and base. Restore the target
10253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10254 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10255 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10257 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10259 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10260 tst-setcontext8 and tst-setcontext9.
10261 * stdlib/tst-setcontext6.c: New file.
10262 * stdlib/tst-setcontext7.c: Likewise.
10263 * stdlib/tst-setcontext8.c: Likewise.
10264 * stdlib/tst-setcontext9.c: Likewise.
10266 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10268 * stdlib/Makefile ((tests): Add tst-setcontext5.
10269 * stdlib/tst-setcontext5.c: New file.
10271 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10273 * stdlib/Makefile (tests): Add tst-setcontext4.
10274 * stdlib/tst-setcontext4.c: New file.
10276 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10278 * stdlib/Makefile (tests): Add tst-swapcontext1.
10279 * stdlib/tst-swapcontext1.c: New test.
10281 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10283 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10284 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10285 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10286 and tst-cet-legacy-4c.
10287 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10288 and tst-cet-legacy-mod-4.
10289 (CFLAGS-tst-cet-legacy-2.c): New.
10290 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10291 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10292 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10293 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10294 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10295 ($(objpfx)tst-cet-legacy-1): Likewise.
10296 ($(objpfx)tst-cet-legacy-2): Likewise.
10297 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10298 ($(objpfx)tst-cet-legacy-2a): Likewise.
10299 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10300 ($(objpfx)tst-cet-legacy-4): Likewise.
10301 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10302 ($(objpfx)tst-cet-legacy-4a): Likewise.
10303 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10304 (tst-cet-legacy-4a-ENV): Likewise.
10305 ($(objpfx)tst-cet-legacy-4b): Likewise.
10306 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10307 (tst-cet-legacy-4b-ENV): Likewise.
10308 ($(objpfx)tst-cet-legacy-4c): Likewise.
10309 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10310 (tst-cet-legacy-4c-ENV): Likewise.
10311 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10312 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10313 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10314 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10315 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10316 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10317 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10318 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10319 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10320 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10321 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10323 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10325 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10326 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10328 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10329 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10332 2018-07-25 Andreas Schwab <schwab@suse.de>
10335 * locale/weightwc.h (findidx): Handle the case where usrc is a
10336 prefix of cp but one character too short.
10338 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10340 * NEWS: Add ISO C threads addition.
10342 2018-07-24 Florian Weimer <fweimer@redhat.com>
10344 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10345 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10346 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10349 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10351 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10352 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10353 <sys/prctl.h> and <asm/prctl.h>.
10354 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10355 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10357 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10358 ARCH_CET_LEGACY_BITMAP.
10359 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10360 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10361 * sysdeps/x86/libc-start.c: Include <startup.h>.
10363 2018-07-24 Florian Weimer <fweimer@redhat.com>
10365 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10366 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10368 2018-07-24 Rical Jasan <rj@2c3t.io>
10369 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10370 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10373 * manual/debug.texi: Update adjacent chapter name.
10374 * manual/probes.texi: Likewise.
10375 * manual/threads.texi (ISO C Threads): New section.
10376 (POSIX Threads): Convert to a section.
10378 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10379 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10382 * nptl/Makefile (tests): Add new test files.
10383 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10384 * nptl/tst-cnd-basic.c: Likewise.
10385 * nptl/tst-cnd-broadcast.c: Likewise.
10386 * nptl/tst-cnd-timedwait.c: Likewise.
10387 * nptl/tst-mtx-basic.c: Likewise.
10388 * nptl/tst-mtx-recursive.c: Likewise.
10389 * nptl/tst-mtx-timedlock.c: Likewise.
10390 * nptl/tst-mtx-trylock.c: Likewise.
10391 * nptl/tst-thrd-basic.c: Likewise.
10392 * nptl/tst-thrd-detach.c: Likewise.
10393 * nptl/tst-thrd-sleep.c: Likewise.
10394 * nptl/tst-tss-basic.c: Likewise.
10396 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10399 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10400 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10402 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10403 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10404 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10405 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10406 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10407 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10408 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10409 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10410 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10411 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10412 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10413 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10421 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10422 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10423 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10424 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10425 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10426 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10427 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10428 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10430 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10431 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10432 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10433 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10435 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10436 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10437 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10438 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10439 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10440 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10441 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10446 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10453 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10454 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10455 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10456 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10457 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10458 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10459 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10460 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10463 * conform/data/threads.h-data (thread_local): New macro.
10464 (TSS_DTOR_ITERATIONS): Likewise.
10466 (tss_dtor_t): Likewise.
10467 (tss_create): New function.
10468 (tss_get): Likewise.
10469 (tss_set): Likewise.
10470 (tss_delete): Likewise.
10471 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10472 tss_get, and tss_set objects.
10473 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10474 * nptl/tss_create.c: New file.
10475 * nptl/tss_delete.c: Likewise.
10476 * nptl/tss_get.c: Likewise.
10477 * nptl/tss_set.c: Likewise.
10478 * sysdeps/nptl/threads.h (thread_local): New define.
10479 (TSS_DTOR_ITERATIONS): Likewise.
10480 (tss_t): New typedef.
10481 (tss_dtor_t): Likewise.
10482 (tss_create): New prototype.
10483 (tss_get): Likewise.
10484 (tss_set): Likewise.
10485 (tss_delete): Likewise.
10488 * conform/data/threads.h-data (cnd_t): New type.
10489 (cnd_init): New function.
10490 (cnd_signal): Likewise.
10491 (cnd_broadcast): Likewise.
10492 (cnd_wait): Likewise.
10493 (cnd_timedwait): Likewise.
10494 (cnd_destroy): Likewise.
10495 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10496 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10498 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10499 * nptl/cnd_broadcast.c: New file.
10500 * nptl/cnd_destroy.c: Likewise.
10501 * nptl/cnd_init.c: Likewise.
10502 * nptl/cnd_signal.c: Likewise.
10503 * nptl/cnd_timedwait.c: Likewise.
10504 * nptl/cnd_wait.c: Likewise.
10505 * sysdeps/nptl/threads.h (cnd_t): New type.
10506 (cnd_init): New prototype.
10507 (cnd_signa): Likewise.
10508 (cnd_broadcast): Likewise.
10509 (cnd_wait): Likewise.
10510 (cnd_timedwait): Likewise.
10511 (cnd_destroy): Likewise.
10514 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10515 (once_flag): New type.
10516 (call_once): New function.
10517 * nptl/Makefile (libpthread-routines): Add call_once object.
10518 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10519 * nptl/call_once.c: New file.
10520 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10521 (once_flag): New type.
10522 (call_once): New prototype.
10525 * conform/data/threads.h-data (mtx_plain): New constant.
10526 (mtx_recursive): Likewise.
10527 (mtx_timed): Likewise.
10529 (mtx_init): New function.
10530 (mtx_lock): Likewise.
10531 (mtx_timedlock): Likewise.
10532 (mtx_trylock): Likewise.
10533 (mtx_unlock): Likewise.
10534 (mtx_destroy): Likewise.
10535 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10536 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10537 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10538 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10539 * nptl/mtx_destroy.c: New file.
10540 * nptl/mtx_init.c: Likewise.
10541 * nptl/mtx_lock.c: Likewise.
10542 * nptl/mtx_timedlock.c: Likewise.
10543 * nptl/mtx_trylock.c: Likewise.
10544 * nptl/mtx_unlock.c: Likewise.
10545 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10546 (mtx_recursive): Likewise.
10547 (mtx_timed): Likewise.
10549 (mtx_init): New prototype.
10550 (mtx_lock): Likewise.
10551 (mtx_timedlock): Likewise.
10552 (mtx_trylock): Likewise.
10553 (mtx_unlock): Likewise.
10554 (mtx_destroy): Likewise.
10557 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10558 (linknamespace-libs-ISO11): Add libpthread.a.
10559 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10561 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10562 * nptl/Makefile (headers): Add threads.h.
10563 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10564 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10566 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10567 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10568 thrd_join, thrd_sleep, and thrd_yield symbols.
10569 * nptl/descr.h (struct pthread): Add c11 field.
10570 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10571 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10572 routine with expected function prototype.
10573 (__pthread_create_2_1): Add C11 threads check based on attribute
10575 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10576 * nptl/thrd_create.c: New file.
10577 * nptl/thrd_current.c: Likewise.
10578 * nptl/thrd_detach.c: Likewise.
10579 * nptl/thrd_equal.c: Likewise.
10580 * nptl/thrd_exit.c: Likewise.
10581 * nptl/thrd_join.c: Likewise.
10582 * nptl/thrd_priv.h: Likewise.
10583 * nptl/thrd_sleep.c: Likewise.
10584 * nptl/thrd_yield.c: Likewise.
10585 * include/threads.h: Likewise.
10587 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10589 * bits/indirect-return.h: New file.
10590 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10591 * sysdeps/x86/bits/indirect-return.h: Likewise.
10592 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10593 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10594 (swapcontext): Add __INDIRECT_RETURN.
10595 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10596 (prepare_test_buffer): Use it.
10598 2018-07-24 Andreas Schwab <schwab@suse.de>
10601 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10602 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10604 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10606 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10607 Redefine if shadow stack is enabled.
10608 (SYSCALL_ERROR_LABEL): Likewise.
10609 (__vfork): Pop shadow stack and jump back to to caller directly
10610 when shadow stack is in use.
10611 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10612 Redefine if shadow stack is enabled.
10613 (SYSCALL_ERROR_LABEL): Likewise.
10614 (__vfork): Pop shadow stack and jump back to to caller directly
10615 when shadow stack is in use.
10617 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10619 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10622 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10625 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10627 * scripts/build-many-glibcs.py (Context.checkout): Default
10628 binutils version to 2.31 branch.
10630 2018-07-20 Zong Li <zong@andestech.com>
10632 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10633 URL of gcc's tarball.
10635 2018-07-20 Florian Weimer <fweimer@redhat.com>
10638 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10639 not compare an extra byte after the end of the weights.
10641 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10643 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10645 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10647 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10648 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10649 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10650 list of libraries whose stack executability is expected.
10651 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10652 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10654 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10655 libc.so libpthread.so.
10657 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10659 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10661 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10663 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10665 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10667 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10669 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10670 library to improve command line parsing.
10671 (__main__): make schema file as optional parameter (--schema),
10672 defaulting to benchtests/scripts/benchout.schema.json.
10673 (main): move out of the parsing stuff to __main_ and leave it
10674 only as caller of main comparison functions.
10676 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10678 * NEWS: Add a note for Intel CET status.
10679 * manual/install.texi: Likewise.
10680 * INSTALL: Regenerated.
10682 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10685 * localedata/locales/oc_FR (mon): Rename to...
10686 (alt_mon): This, then update October (typo fix).
10687 (mon): New content (genitive case, month names preceded by
10691 * localedata/locales/oc_FR (abday): Update all items.
10692 (day): Update Wednesday and Saturday (typo fixes).
10693 (abmon): Update all items, except May.
10694 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10695 (LC_IDENTIFICATION): Bump the revision number and date.
10696 Keep the "category" entries in alphabetic order.
10697 (LC_ADDRESS): Remove no longer needed comment.
10698 (LC_COLLATE): Use “copy "ca_ES"”.
10699 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10702 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10704 * grp/tst_fgetgrent.c: Include <unistd.h>.
10705 (main): Use mkstemp instead of tmpnam.
10706 * io/test-utime.c (main): Likewise.
10707 * posix/annexc.c (macrofile): Change to modifiable array.
10708 (main): Remove macrofile here.
10709 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10711 (check_header): Do not remove macrofile here.
10712 * posix/bug-getopt1.c: Include <stdlib.h>.
10713 (do_test): Use mkstemp instead of tmpnam.
10714 * posix/bug-getopt2.c: Include <stdlib.h>.
10715 (do_test): Use mkstemp instead of tmpnam.
10716 * posix/bug-getopt3.c: Include <stdlib.h>.
10717 (do_test): Use mkstemp instead of tmpnam.
10718 * posix/bug-getopt4.c: Include <stdlib.h>.
10719 (do_test): Use mkstemp instead of tmpnam.
10720 * posix/bug-getopt5.c: Include <stdlib.h>.
10721 (do_test): Use mkstemp instead of tmpnam.
10722 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10723 (main): Use mkstemp instead of tmpnam.
10724 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10725 (main): Use mkstemp instead of tmpnam.
10726 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10727 (main): use mkstemp instead of tmpnam.
10728 * stdlib/isomac.c (macrofile): Change to modifiable array.
10729 (main): Remove macrofile here.
10730 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10732 (check_header): Do not remove macrofile here.
10734 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10736 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10737 glibc.tune.x86_shstk.
10739 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10741 * NEWS: Mention --enable-cet.
10742 * manual/install.texi: Document --enable-cet.
10743 * INSTALL: Regenerated.
10745 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10747 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10748 Add _CET_NOTRACK before indirect jump to jump table.
10750 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10752 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10753 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10756 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10758 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10759 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10762 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10764 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10765 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10768 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10771 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10774 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10776 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10777 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10779 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10781 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10783 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10784 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10787 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10789 * sysdeps/i386/i686/multiarch/memset-sse2.S
10790 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10793 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10795 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10796 indirect jump to jump table.
10798 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10801 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10803 (MEMCPY): Likewise.
10805 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10808 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10810 (MEMCPY): Likewise.
10812 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10814 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10815 _CET_NOTRACK before indirect jump to jump table.
10817 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10819 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10820 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10823 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10825 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10826 indirect jump to jump table.
10828 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10831 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10832 (LOCALES): Likewise.
10833 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10834 * localedata/locales/sah_RU: New file.
10835 * localedata/sah_RU.UTF-8.in: New file.
10837 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10839 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10841 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10842 _CET_ENDBR to indirect jump targets and adjust jump destination
10844 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10846 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10847 _CET_ENDBR to indirect jump targets and adjust jump destination
10849 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10851 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10852 _CET_ENDBR to indirect jump targets and adjust jump destination
10855 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10857 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10860 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10862 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10864 (_dl_tlsdesc_undefweak): Likewise.
10865 (_dl_tlsdesc_dynamic): Likewise.
10866 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10867 (_dl_tlsdesc_resolve_rel): Likewise.
10868 (_dl_tlsdesc_resolve_rela): Likewise.
10869 (_dl_tlsdesc_resolve_hold): Likewise.
10870 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10871 (_dl_tlsdesc_undefweak): Likewise.
10872 (_dl_tlsdesc_dynamic): Likewise.
10873 (_dl_tlsdesc_resolve_rela): Likewise.
10874 (_dl_tlsdesc_resolve_hold): Likewise.
10876 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10878 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10880 * sysdeps/x86_64/crti.S (_init): Likewise.
10883 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10886 * localedata/locales/os_RU (mon): Rename to...
10888 (mon): Import from CLDR (genitive case).
10890 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10892 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10893 cet-tunables.h> when CET is enabled.
10895 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10898 * configure.ac: Add --enable-cet.
10899 * configure: Regenerated.
10900 * elf/Makefille (all-built-dso): Add a comment.
10901 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10902 Include <dl-prop.h>.
10903 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10905 * elf/dl-open.c: Include <dl-prop.h>.
10906 (dl_open_worker): Call _dl_open_check.
10907 * elf/rtld.c: Include <dl-prop.h>.
10908 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10910 * sysdeps/generic/dl-prop.h: New file.
10911 * sysdeps/i386/dl-cet.c: Likewise.
10912 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10913 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10914 * sysdeps/x86/cet-tunables.h: Likewise.
10915 * sysdeps/x86/check-cet.awk: Likewise.
10916 * sysdeps/x86/configure: Likewise.
10917 * sysdeps/x86/configure.ac: Likewise.
10918 * sysdeps/x86/dl-cet.c: Likewise.
10919 * sysdeps/x86/dl-procruntime.c: Likewise.
10920 * sysdeps/x86/dl-prop.h: Likewise.
10921 * sysdeps/x86/libc-start.h: Likewise.
10922 * sysdeps/x86/link_map.h: Likewise.
10923 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10925 (_dl_runtime_profile): Likewise.
10926 (_dl_runtime_resolve_shstk): New.
10927 (_dl_runtime_profile_shstk): Likewise.
10928 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10930 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10931 (CFLAGS-.os): Likewise.
10932 (CFLAGS-.op): Likewise.
10933 (CFLAGS-.oS): Likewise.
10934 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10936 (tests-special): Add $(objpfx)check-cet.out.
10937 (cet-built-dso): New.
10938 (+$(cet-built-dso:=.note)): Likewise.
10939 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10940 ($(objpfx)check-cet.out): New.
10941 (generated): Add check-cet.out.
10942 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10944 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10945 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10946 (init_cpu_features): Call get_cet_status to check CET status
10947 and update dl_x86_feature_1 with CET status. Call
10948 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10949 (set_x86_shstk). Disable and lock CET in libc.a.
10950 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10951 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10952 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10953 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10954 (_CET_ENDBR): Define if not defined.
10955 (ENTRY): Add _CET_ENDBR.
10956 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10958 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10960 (_dl_runtime_profile): Likewise.
10962 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10965 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10966 restore r2 on longjmp.
10967 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10969 Added rules to build test tst-setjmp-bug21895-static.
10970 Added module setjmp-bug21895 and rules to build a shared object from it.
10971 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10972 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10974 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10976 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10977 * benchtests/bench-strstr.c: Likewise.
10978 * string/memmem.c (FASTSEARCH): Define.
10979 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10980 Add support for FASTSEARCH.
10981 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10982 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10983 (FASTSEARCH): Define.
10984 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10985 * string/test-strstr.c: Likewise.
10987 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10990 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10992 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10993 H.J. Lu <hongjiu.lu@intel.com>
10995 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10996 (__longjmp): Restore shadow stack pointer if shadow stack is
10997 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10998 isn't defined for __longjmp_cancel.
10999 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11000 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11001 and SHADOW_STACK_POINTER_OFFSET is defined.
11002 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11003 (setjmp): Save shadow stack pointer if shadow stack is enabled
11004 and SHADOW_STACK_POINTER_OFFSET is defined.
11005 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11006 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11007 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11008 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11010 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11011 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11012 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11013 Remove jmp_buf-ssp.sym.
11014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11016 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11017 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11018 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11020 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11021 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11022 (__longjmp): Restore shadow stack pointer if shadow stack is
11023 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11024 isn't defined for __longjmp_cancel.
11025 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11026 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11027 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11029 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11032 * nptl/pthread_create.c: Include <tls-setup.h>.
11033 (__pthread_create_2_1): Call tls_setup_tcbhead.
11034 * sysdeps/generic/tls-setup.h: New file.
11035 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11036 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11037 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11039 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11041 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11042 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11043 (X86_FEATURE_1_SHSTK): Likewise.
11044 (CET_ENABLED): Likewise.
11045 (IBT_ENABLED): Likewise.
11046 (SHSTK_ENABLED): Likewise.
11048 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11051 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11052 (LOCALES): Likewise.
11053 * localedata/dsb_DE.UTF-8.in: New file.
11054 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11056 2018-07-12 Florian Weimer <fweimer@redhat.com>
11058 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11059 __mprotect, not mprotect.
11061 2018-07-11 Florian Weimer <fweimer@redhat.com>
11063 * io/Makefile (headers): Add bits/statx.h.
11065 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11067 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11068 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11070 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11071 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11074 2018-07-10 Florian Weimer <fweimer@redhat.com>
11076 * io/Makefile (routines): Add statx.
11077 (tests-internal): Add tst-statx.
11078 * io/Versions (GLIBC_2.28): Export statx.
11079 * io/bits/statx.h: New file.
11080 * io/sys/stat.h [__USE_GNU]: Include it.
11081 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11082 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11084 * io/statx.c: New file.
11085 * io/statx_generic.: Likewise.
11086 * io/tst-statx.: Likewise.
11087 * include/bits/statx.h: Likewise.
11088 * sysdeps/unix/sysv/linux/kernel-features.h
11089 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11090 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11091 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11092 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11094 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11095 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11096 * sysdeps/unix/sysv/linux/statx.c: New file.
11097 * manual/filesys.texi: Note that statx is undocumented.
11098 * sysdeps/**/libc*.abilist: Update.
11100 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11102 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11103 a kernel issue which lead to test failure in some cases.
11105 2018-07-10 Florian Weimer <fweimer@redhat.com>
11108 * posix/regexec.c (check_node_accept_bytes): When comparing
11109 weights, do not compare an extra byte after the end of the
11112 2018-07-10 Florian Weimer <fweimer@redhat.com>
11114 * libio/readline.c: Fix copyright year.
11115 * libio/tst-readline.c Likewise.
11116 * nss/tst-nss-files-hosts-getent.c: Likewise.
11118 2018-07-06 Florian Weimer <fweimer@redhat.com>
11121 * nss/nss_files/files-XXX.c (internal_getent): Use
11122 __libc_readline_unlocked. Seek back to the start of the line if
11123 parsing failes with ERANGE.
11124 (get_contents_ret, get_contents): Remove.
11125 * nss/tst-nss-files-hosts-getent.c: New file.
11126 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11127 (tst-nss-files-hosts-getent): Link with -ldl.
11129 2018-07-06 Florian Weimer <fweimer@redhat.com>
11131 * include/stdio.h (__libc_readline_unlocked): Declare.
11132 (__ftello64, __fseeko64): Declare aliases.
11133 * libio/readline.c: New file.
11134 * libio/tst-readline.c: Likewise.
11135 (routines): Add readline.
11136 (tests-internal): Add tst-readlime.
11137 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11138 __libc_readline_unlocked.
11139 * libio/fseeko.c (__fseeko): Rename from fseeko.
11140 (fseeko): Add alias.
11141 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11142 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11143 (fseeko64): Add alias.
11144 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11145 * libio/ftello64.c (__ftello64): Rename from ftello64.
11146 (ftello64): Add alias.
11148 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11150 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11153 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11155 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11156 Use dl_hwcap without masking.
11157 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11158 Remove HWCAP_CPUID.
11160 2018-07-06 Florian Weimer <fweimer@redhat.com>
11162 * conform/conformtest.pl (checknamespace): Escape literal braces
11163 in regular expressions.
11165 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11167 * sysdeps/x86/cpu-features.c (get_common_indeces):
11168 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11169 * sysdeps/x86/cpu-features.c (init_cpu_features):
11170 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11172 2018-07-05 Florian Weimer <fweimer@redhat.com>
11174 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11176 (CFLAGS-elf-init.oS): Likewise.
11178 2018-07-05 Florian Weimer <fweimer@redhat.com>
11179 Carlos O'Donell <carlos@redhat.com>
11181 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11182 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11183 with stack protector enabled because there is no risk of infinite
11186 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11190 * libc-abis (ABSOLUTE): New ABI.
11191 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11192 * NEWS: Mention the new ABI.
11194 2018-07-05 Florian Weimer <fweimer@redhat.com>
11197 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11198 (RENAME_WHITEOUT): Define.
11199 [__USE_GNU] (renameat2): Declare.
11200 * stdio-common/Makefile (routines): Add renameat2.
11201 (tests): Add tst-renameat2.
11202 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11203 * stdio-common/renameat2.c: New file.
11204 * stdio-common/tst-renameat2.c: Likewise.
11205 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11206 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11208 * sysdeps/unix/sysv/linux/kernel-features.h
11209 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11210 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11211 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11212 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11213 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11214 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11215 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11216 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11217 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11218 * include/stdio.h (__renameat): Add alias for renameat.
11219 * stdio-common/renameat.c (__renameat): Rename from renameat.
11220 Add hidden definition and alias.
11221 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11222 * sysdeps/mach/hurd/renameat.c: Likewise.
11223 * sysdeps/**/libc*.abilist: Add renameat2.
11225 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11227 * posix/bug-regex33.c: Fix build after regex sync.
11229 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11232 * localedata/tst-langinfo-setlocale.c: New file.
11233 * localedata/tst-langinfo-setlocale-static.c: New file.
11234 * localedata/tst-langinfo-newlocale.c: New file.
11235 * localedata/tst-langinfo-newlocale-static.c: New file.
11236 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11237 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11238 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11239 (tests-static): Remove tst-langinfo-static. Add
11240 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11241 (tests-special): Remove $(objpfx)tst-langinfo.out,
11242 $(objpfx)tst-langinfo-static.out. Add
11243 $(objpfx)tst-langinfo-setlocale.out,
11244 $(objpfx)tst-langinfo-newlocale.out,
11245 $(objpfx)tst-langinfo-setlocale-static.out,
11246 $(objpfx)tst-langinfo-newlocale-static.out.
11247 ($(objpfx)tst-langinfo.out): Remove.
11248 ($(objpfx)tst-langinfo-static.out): Remove.
11249 ($(objpfx)tst-langinfo-newlocale.out): New target.
11250 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11251 (test-xfail-tst-langinfo-newlocale-static): Add.
11252 ($(objpfx)tst-langinfo-setlocale.out): New target.
11253 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11254 * localedata/tst-langinfo.c: Call test_locale.
11255 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11258 2018-07-04 Florian Weimer <fweimer@redhat.com>
11260 testrun.sh: Implement --tool=strace, --tool=valgrind
11261 * Makefile (testrun-script): Define variable.
11262 (testrun.sh): Use variable.
11263 * manual/install.texi (Tools for Compilation): make 4.0 or later
11265 * configure.ac: Check for make 4.0 or later.
11266 * INSTALL: Regenerate.
11267 * configure: Likewise.
11269 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11275 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11276 * posix/PCRE.tests: Remove invalid test.
11277 * posix/bug-regex28.c: Fix expected values for used syntax.
11278 * posix/bug-regex37.c: New file.
11279 * posix/bug-regex38.c: Likewise.
11280 * posix/regcomp.c: Sync with gnulib.
11281 * posix/regex.c: Likewise.
11282 * posix/regex.h: Likewise.
11283 * posix/regex_internal.c: Likewise.
11284 * posix/regex_internal.h: Likewise.
11285 * posix/regexec.c: Likewise.
11287 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11290 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11291 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11292 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11293 * localedata/unicode-gen/PropList.txt: likewise.
11294 * localedata/unicode-gen/UnicodeData.txt: likewise.
11295 * localedata/charmaps/UTF-8: Regenerate.
11296 * localedata/locales/i18n_ctype: likewise.
11297 * localedata/locales/tr_TR: likewise.
11298 * localedata/locales/translit_circle: likewise.
11299 * localedata/locales/translit_cjk_compat: likewise.
11300 * localedata/locales/translit_combining: likewise.
11301 * localedata/locales/translit_compat: likewise.
11302 * localedata/locales/translit_font: likewise.
11303 * localedata/locales/translit_fraction: likewise.
11305 2018-07-03 Florian Weimer <fweimer@redhat.com>
11308 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11309 * stdio-common/tst-printf.sh: Adjust expected output.
11310 * LICENSES: Update.
11312 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11314 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11317 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11319 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11320 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11321 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11322 * stdio-common/tst-printfsz-islongdouble.c: New file.
11323 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11324 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11325 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11326 [subdir == stdio-common] (tests-internal): Add
11327 test-printf-size-ieee128, and test-printf-size-ibm128.
11328 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11329 (CFLAGS-test-printf-size-ibm128.c): New variables.
11330 [subdir == stdio-common] (tests-special): Add
11331 $(objpfx)test-printf-size-ieee128.out and
11332 $(objpfx)test-printf-size-ibm128.out.
11333 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11334 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11335 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11336 __printf_sizeieee128.
11337 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11339 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11341 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11344 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11346 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11347 (exp2f_inline): Likewise.
11348 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11349 (__math_uflowf): Likewise.
11350 (__math_may_uflowf): Likewise.
11351 (__math_divzerof): Likewise.
11352 (__math_invalidf): Likewise.
11353 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11354 (__math_oflowf): Likewise.
11355 (__math_uflowf): Likewise.
11356 (__math_may_uflowf): Likewise.
11357 (__math_divzerof): Likewise.
11358 (__math_invalidf): Likewise.
11360 2018-06-29 DJ Delorie <dj@redhat.com>
11361 Carlos O'Donell <carlos@redhat.com>
11364 * include/libc-symbols.h: Comment the freeres framework.
11365 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11366 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11367 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11368 * dlfcn/dlerror.c: Include libc-symbols.h
11369 (__dlerror_main_freeres): New function.
11370 * dlfcn/dlfreeres.c: New file.
11371 * dlfcn/sdlfreeres.c: New file.
11372 * include/dlfcn.h: Declare __dlerror_main_freeres.
11373 * malloc/set-freeres.c: Declare __libdl_freeres, and
11374 __libpthread_freeres.
11375 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11376 the releavant libraries are loaded.
11377 * malloc/thread-freeres.c: Add comments.
11378 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11379 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11380 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11381 (__free_stacks): Rename to...
11382 (free_stacks): ...this. Mark static.
11383 (queue_stack): Call free_stacks.
11384 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11385 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11386 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11387 ptr_freeres element from struct.
11388 (pthread_functions): Remove .ptr_freeres from struct initializer.
11389 [SHARED] (nptl_freeres): Remove.
11390 * nptl/nptlfreeres.c: New file.
11392 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11393 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11395 (__free_stacks): Rename to...
11396 (__nptl_stacks_freeres): ...this.
11397 (__shm_directory_freeres): Declare.
11398 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11399 (__nptl_unwind_freeres): ...this.
11400 * resolv/res-close.c: Add comment.
11401 * resolv/resolv_conf.c: Include libc-symbols.h.
11402 * string/strerror_l.c: Include libc-symbols.h.
11403 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11404 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11405 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11406 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11408 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11410 * stdlib/tst-strfmon_l.c: Add tests for long double.
11412 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11415 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11416 * localedata/locales/dsb_DE: New file.
11418 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11421 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11423 (alt_mon): New entry, import from CLDR (nominative case).
11425 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11428 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11430 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11432 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11433 Use vector registers.
11435 * sysdeps/aarch64/multiarch/memmove_falkor.S
11436 (__memcpy_falkor): Use vector registers.
11438 2018-06-29 Martin Sebor <msebor@redhat.com>
11440 * manual/stdio.texi (Customizing Printf): Mention interaction
11441 with GCC built-ins.
11443 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11446 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11447 `st_value' is 0 if `st_shndx' is SHN_ABS.
11448 * elf/tst-absolute-zero.c: New file.
11449 * elf/tst-absolute-zero-lib.c: New file.
11450 * elf/tst-absolute-zero-lib.lds: New file.
11451 * elf/Makefile (tests): Add `tst-absolute-zero'.
11452 (modules-names): Add `tst-absolute-zero-lib'.
11453 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11454 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11455 ($(objpfx)tst-absolute-zero: New dependency.
11457 2018-06-29 Zack Weinberg <zackw@panix.com>
11459 * configure.ac: New command-line option --disable-crypt.
11460 Force --disable-nss-crypt when --disable-crypt is given, with a
11461 warning if it was explicitly enabled.
11462 * configure: Regenerate.
11463 * config.make.in: New boolean substitution variable $(build-crypt).
11464 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11465 when $(build-crypt).
11466 * manual/install.texi: Document --disable-crypt.
11467 * INSTALL: Regenerate.
11469 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11470 which is never set.
11471 * conform/Makefile: Only include libcrypt.a in
11472 linknamespace-libs-xsi and linknamespace-libs-XPG4
11473 when $(build-crypt).
11474 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11475 USE_CRYPT to 1 when $(build-crypt).
11476 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11477 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11478 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11480 2018-06-29 Zack Weinberg <zackw@panix.com>
11482 * crypt/crypt.h, posix/unistd.h: Update comments and
11483 prototypes for crypt and crypt_r.
11485 * manual/crypt.texi (Cryptographic Functions): New initial
11487 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11488 (Unpredictable Bytes): Improve initial exposition. Clarify error
11489 behavior of getentropy and getrandom.
11490 * manual/examples/genpass.c: Generate a salt using getentropy
11491 instead of the current time. Use hash $5$ (SHA-2-256).
11492 * manual/examples/testpass.c: Demonstrate validation against
11493 hashes generated with three different one-way functions.
11495 * manual/intro.texi: crypt.texi does not need an overview
11498 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11499 * manual/terminal.texi: Consistently refer to "passphrases"
11500 * instead of "passwords", and to the "user database" instead
11501 * of the "password database".
11502 * manual/users.texi: Similarly. Add notes about how actual
11503 passphrase hashes are now stored in the shadow database.
11504 Remove 20-year-old junk todo note.
11506 2018-06-29 Zack Weinberg <zackw@panix.com>
11508 * manual/crypt.texi: Use a normal top-level @node declaration.
11509 Move most of the introductory text to the 'crypt' section.
11510 Move the example programs below the @deftypefun for 'crypt_r'.
11511 Move the 'getpass' section...
11512 * manual/terminal.texi: ...here.
11514 2018-06-29 Zack Weinberg <zackw@panix.com>
11515 Florian Weimer <fweimer@redhat.com>
11517 * posix/unistd.h: Do not declare encrypt.
11518 (_XOPEN_CRYPT): Remove macro definition.
11519 (crypt): Declare only for _USE_MISC.
11520 * stdlib/stdlib.h: Do not declare setkey.
11521 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11522 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11524 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11525 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11526 into compat symbols. Don't define initial_perm if it's not
11528 * crypt/cert.c: Link explicitly with the expected versions for
11529 setkey and encrypt. If they are not available at all, mark
11530 the test as unsupported.
11532 * sunrpc/des_crypt.c: Unconditionally block linkage with
11533 cbc_crypt and ecb_crypt for new binaries.
11534 * sunrpc/des_soft.c: Unconditionally block linkage with
11535 des_setparity for new binaries.
11537 * manual/crypt.texi: Remove the entire "DES Encryption"
11538 section. Also remove the paragraph talking about FIPS 140-2
11539 from the introduction.
11540 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11541 of libgcrypt for "real" encryption, not DES.
11542 * manual/conf.texi (Constants for Sysconf): Mention that
11543 _XOPEN_CRYPT is no longer impelemented.
11545 * conform/data/unistd.h-data: Remove crypt function declaration.
11547 2018-06-29 Florian Weimer <fweimer@redhat.com>
11550 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11551 (disallow_malloc_check): Remove variable.
11552 (__malloc_check_init): Adjust.
11553 (malloc_set_state): Update comment.
11554 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11557 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11560 * localedata/locales/ast_ES (mon): Rename to...
11562 (mon): Import from CLDR (genitive case).
11564 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11565 Jakub Sitnicki <jkbs@redhat.com>
11568 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11569 on NLM_F_DUMP_INTR.
11571 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11573 * manual/llio.texi: Remove spurious space.
11575 2018-06-28 Florian Weimer <fweimer@redhat.com>
11578 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11581 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11583 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11584 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11585 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11586 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11587 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11588 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11589 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11591 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11594 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11595 Copy and null-terminate entries that are not terminated, in
11596 addition to empty ones.
11598 2018-06-27 Florian Weimer <fweimer@redhat.com>
11601 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11602 (extend_alloca_account): Remove.
11603 * manual/stdio.texi (Variable Arguments Output): Update comment.
11605 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11607 * nptl/sockperf.c: Remove file.
11609 2018-06-27 Florian Weimer <fweimer@redhat.com>
11612 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11613 scratch_buffer instead of extend_alloca.
11615 2018-06-27 Florian Weimer <fweimer@redhat.com>
11618 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11619 scratch_buffer instead of extend_alloca. Update comments.
11621 2018-06-27 Florian Weimer <fweimer@redhat.com>
11624 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11625 instead of extend_alloca.
11627 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11630 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11631 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11633 * scripts/test-installation.pl: Put temporary files in build
11634 directory, not /tmp.
11635 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11636 (CFLAGS-bug4.c): Likewise.
11637 (CFLAGS-bug5.c): Likewise.
11638 (CFLAGS-test-fseek.c): Likewise.
11639 (CFLAGS-test-popen.c): Likewise.
11640 (CFLAGS-test_rdwr.c): Likewise.
11641 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11643 * stdio-common/bug4.c (main): Likewise.
11644 * stdio-common/bug5.c (main): Likewise.
11645 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11646 * stdio-common/test-popen.c (do_test): Likewise.
11647 * stdio-common/test_rdwr.c (main): Likewise.
11649 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11651 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11652 (sem_open): Set sem.newsem.pad to zero for valgrind.
11654 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11657 * NEWS: Mention fcntl64 addition.
11658 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11659 * login/utmp_file.c: Likewise.
11660 * sysdeps/posix/fdopendir.c: Likewise.
11661 * sysdeps/posix/opendir.c: Likewise.
11662 * sysdeps/unix/pt-fcntl.c: Likewise.
11663 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11664 __fcntl64_nocancel_adjusted): New prototype.
11665 (__fcntl_nocancel_adjusted): Remove prototype.
11666 * io/Makefile (routines): Add fcntl64.
11667 (CFLAGS-fcntl64.c): New rule.
11668 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11669 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11670 * io/fcntl.h (fcntl64): Add prototype and redirect if
11671 __USE_FILE_OFFSET64 is defined.
11672 * io/fcntl64.c: New file.
11673 * manual/llio.text: Add a note for which commands fcntl acts a
11674 cancellation point.
11675 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11676 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11677 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11679 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11680 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11682 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11683 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11684 to __fcntl64_nocancel.
11685 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11686 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11687 to __fcntl64_nocancel.
11688 * sysdeps/generic/not-cancel.h: Likewise.
11689 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11690 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11691 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11692 (fcntl64): New symbol.
11693 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11704 fcntl64): Likewise.
11705 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11707 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11712 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11718 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11719 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11722 2018-06-26 Florian Weimer <fweimer@redhat.com>
11724 Run thread shutdown functions in an explicit order.
11725 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11727 (__libc_thread_freeres): Call thread shutdown functions
11729 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11730 * include/string.h (__strerror_thread_freeres): Declare.
11731 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11732 arena_thread_freeres. No longer static. Remove thread shutdown
11734 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11736 * resolv/res-close.c (__res_thread_freeres): Renamed from
11737 res_thread_freeres. No longer static. Remove thread shutdown
11739 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11740 * resolv/resolv_conf.c (freeres): Remove incorrect section
11741 attribute and use libc_freeres_fn.
11742 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11743 strerror_thread_freeres. No longer static. Remove thread
11744 shutdown hook registration.
11745 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11746 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11747 shutdown hook registration.
11748 * Makerules (shlib.lds): Do not provide section boundary symbols
11749 for __libc_thread_subfreeres.
11750 * manual/memory.texi (Basic Allocation): Update comment.
11752 2018-06-26 Florian Weimer <fweimer@redhat.com>
11754 Remove always-defined _RPC_THREAD_SAFE_ macro.
11755 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11756 Do not define _RPC_THREAD_SAFE_.
11757 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11759 * sunrpc/clnt_perr.c: Likewise.
11760 * sunrpc/clnt_raw.c: Likewise.
11761 * sunrpc/clnt_simp.c: Likewise.
11762 * sunrpc/key_call.c: Likewise.
11763 * sunrpc/rpc_common.c: Likewise.
11764 * sunrpc/rpc_main.c: Likewise.
11765 * sunrpc/rpc_thread.c: Likewise.
11766 * sunrpc/svc.c: Likewise.
11767 * sunrpc/svc_raw.c: Likewise.
11768 * sunrpc/svc_simple.c: Likewise.
11769 * sumrpc/svcauth_des.c: Likewise.
11771 2018-06-26 Florian Weimer <fweimer@redhat.com>
11773 * libio/Makefile (tests-internal): Add tst-vtables,
11774 tst-vtables-interposed.
11775 * libio/tst-vtables.c: New file.
11776 * libio/tst-vtables-common.c: Likewise.
11777 * libio/tst-vtables-interposed.c: Likewise.
11779 2018-06-26 Florian Weimer <fweimer@redhat.com>
11781 * support/support_test_main.c (support_test_main): Only call
11782 setvbuf if not disables.
11783 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11784 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11786 2018-06-26 Florian Weimer <fweimer@redhat.com>
11789 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11791 2018-06-25 Florian Weimer <fweimer@redhat.com>
11794 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11795 Use struct scratch_buffer instead of extend_alloca.
11797 2018-06-25 Florian Weimer <fweimer@redhat.com>
11800 * nss/getent.c (initgroups_keys): Use dynarray instead of
11803 2018-06-25 Florian Weimer <fweimer@redhat.com>
11806 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11807 Use struct scratch_buffer instead of extend_alloca.
11809 2018-06-25 Florian Weimer <fweimer@redhat.com>
11812 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11813 back to malloc directly, without stack allocations.
11815 2018-06-25 Florian Weimer <fweimer@redhat.com>
11818 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11821 2018-06-25 Florian Weimer <fweimer@redhat.com>
11824 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11826 * nscd/hstcache.c (addhstbyX): Likewise.
11827 * nscd/pwdcache.c (addpwbyX): Likewise.
11828 * nscd/servicescache.c (addservbyX): Likewise.
11830 2018-06-25 Florian Weimer <fweimer@redhat.com>
11833 * nscd/connections.c (read_cmdline): New function.
11834 (restart): Use it. Update comment.
11836 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11839 * localedata/locales/csb_PL (mon): Rename to...
11841 (abmon): Rename to...
11842 (ab_alt_mon): This.
11843 (mon): Add with proper genitive forms, copy from Wikipedia.
11846 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11849 * localedata/locales/csb_PL (mon): Fix typos:
11850 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11851 (yesstr): Add, value is "jo".
11852 (nostr): Add, value is "nié".
11854 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11856 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11857 all log1p and significand functions on m680x0.
11858 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11859 of s_significand.c..
11860 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11861 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11862 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11863 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11864 s_log1p.c and include it..
11866 2018-06-21 Vincent Chen <vincentc@andestech.com>
11868 * elf/elf.h (R_NDS32_NONE): New define.
11869 (R_NDS32_32_RELA): Likewise.
11870 (R_NDS32_COPY): Likewise.
11871 (R_NDS32_GLOB_DAT): Likewise.
11872 (R_NDS32_JUMP_SLOT): Likewise.
11873 (R_NDS32_RELATIVE): Likewise.
11874 (R_NDS32_TLS_TPOFF): Likewise.
11875 (R_NDS32_TLS_DESC): Likewise.
11877 2018-06-21 Mark Wielaard <mark@klomp.org>
11879 * elf/elf.h (R_BPF_MAP_FD): Removed.
11880 (R_BPF_64_64, R_BPF_64_32): New.
11882 2018-06-21 Florian Weimer <fweimer@redhat.com>
11885 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11886 Renamed from libc_feholdsetround_ctx.
11887 (default_libc_feresetround_ctx): Renamed from
11888 libc_feresetround_ctx.
11889 (default_libc_feholdsetround_noex_ctx): Renamed from
11890 libc_feholdsetround_noex_ctx.
11891 (default_libc_feresetround_noex_ctx): Renamed from
11892 libc_feresetround_noex_ctx.
11893 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11894 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11895 forwardning to the old implementations under the new names.
11896 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11897 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11898 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11899 (libc_feresetround_ctx): Forward to default implements for i386
11900 and MATH_SET_BOTH_ROUNDING_MODES.
11901 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11902 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11904 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11906 * string/tst-cmp.c: Include <libc-diag.h>.
11907 (strncmp_max): Disable -Wstringop-overflow= around call to
11909 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11912 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11913 (main): Disable -Wunused-value around call to strpbrk.
11914 * string/bug-strspn1.c: Include <libc-diag.h>.
11915 (main): Disable -Wunused-value around call to strspn.
11917 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11918 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11920 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11921 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11923 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11925 * math/Makefile (libm-calls): Move s_significandF to...
11926 (gen-libm-calls): ... here.
11927 * math/s_significand_template.c: New file.
11928 * math/s_significand.c: Removed.
11929 * math/s_significandf.c: Removed.
11930 * math/s_significandl.c: Removed.
11931 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11932 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11934 * math/e_exp2_template.c (declare_mgen_finite_alias,
11935 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11936 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11937 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11939 2018-06-20 Florian Weimer <fweimer@redhat.com>
11941 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11943 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11946 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11947 floating-point number to strtod functions rather than possibly
11948 negating result of those functions.
11949 * stdio-common/tst-scanf-round.c: New file.
11950 * stdio-common/Makefile (tests): Add tst-scanf-round.
11951 ($(objpfx)tst-scanf-round): Depend on $(libm).
11953 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11955 * sysdeps/mach/hurd/localplt.data: Move to...
11956 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11957 R_386_GLOB_DAT like on Linux i386.
11959 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11961 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11962 (SHM_STAT_ANY): New macro.
11963 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11964 (SHM_STAT_ANY): Likewise.
11965 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11966 (SHM_STAT_ANY): Likewise.
11967 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11968 (SHM_STAT_ANY): Likewise.
11969 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11970 (SHM_STAT_ANY): Likewise.
11971 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11972 (SHM_STAT_ANY): Likewise.
11973 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11974 (SHM_STAT_ANY): Likewise.
11975 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11976 (SHM_STAT_ANY): Likewise.
11977 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11978 (SHM_STAT_ANY): Likewise.
11979 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11980 (SHM_STAT_ANY): Likewise.
11981 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11982 (SHM_STAT_ANY): Likewise.
11983 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11984 (SHM_STAT_ANY): Likewise.
11986 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11987 (SEM_STAT_ANY): New macro.
11988 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11989 (SEM_STAT_ANY): Likewise.
11990 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11991 (SEM_STAT_ANY): Likewise.
11992 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11993 (SEM_STAT_ANY): Likewise.
11994 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11995 (SEM_STAT_ANY): Likewise.
11996 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11997 (SEM_STAT_ANY): Likewise.
11998 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11999 (SEM_STAT_ANY): Likewise.
12000 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12001 (SEM_STAT_ANY): Likewise.
12002 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12003 (SEM_STAT_ANY): Likewise.
12004 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12005 (SEM_STAT_ANY): Likewise.
12007 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12008 (MSG_STAT_ANY): New macro.
12009 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12010 (MSG_STAT_ANY): Likewise.
12011 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12012 (MSG_STAT_ANY): Likewise.
12013 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12014 (MSG_STAT_ANY): Likewise.
12015 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12016 (MSG_STAT_ANY): Likewise.
12017 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12018 (MSG_STAT_ANY): Likewise.
12019 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12020 (MSG_STAT_ANY): Likewise.
12021 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12022 (MSG_STAT_ANY): Likewise.
12023 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12024 (MSG_STAT_ANY): Likewise.
12025 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12026 (MSG_STAT_ANY): Likewise.
12028 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12029 (MAP_TYPE): Change value to 0x2b.
12031 2018-06-18 Florian Weimer <fweimer@redhat.com>
12034 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12035 socket with SOCK_CLOEXEC.
12037 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12040 * sysdeps/powerpc/powerpc64/le/Makefile
12041 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12042 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12043 (gnulib-tests): Also add $(f128-loader-link) for
12044 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12046 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12048 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12049 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12051 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12052 (sendfile64): New strong alias.
12053 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12054 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12055 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12056 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12058 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12059 ___pthread_get_cleanup_stack.
12060 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12061 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12062 * mach/shortcut.awk: Make syscall stubs include
12063 <mach-shortcuts-hidden.h> and add hidden definition.
12064 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12065 (__mach_msg): Add hidden prototype.
12066 * mach/msg.c: Include <mach.h>.
12067 (__mach_msg): Add hidden definition.
12068 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12069 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12070 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12071 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12072 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12073 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12074 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12075 prototype and definition.
12076 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12077 hidden target for _hurd_self_sigstate.
12079 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12082 * stdlib/tst-strtod-nan-sign-main.c: New file.
12083 * stdlib/tst-strtod-nan-sign.c: Likewise.
12084 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12085 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12086 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12087 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12088 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12090 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12093 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12096 2018-06-14 Florian Weimer <fweimer@redhat.com>
12099 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12100 that the result stays within the ISO-8859-1 range.
12101 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12102 characters are defined in IBM273.
12104 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12106 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12107 __mach_task_self): Remove attribute_hidden.
12109 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12111 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12112 ignore -Wrestrict for one test.
12114 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12115 Szabolcs Nagy <szabolcs.nagy@arm.com>
12117 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12119 2018-06-14 Florian Weimer <fweimer@redhat.com>
12121 * scripts/update-abilist.sh: Accept empty list of files to patch.
12123 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12125 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12126 test-xfail-check-abi-libmachuser): Add.
12127 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12128 __libc_read and __libc_write to __read and __write.
12129 * sysdeps/hurd/include/hurd/port.h: New file.
12130 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12131 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12132 __thread_switch, __evc_wait): Move declarations to...
12133 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12135 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12136 use PLT to call _hurd_self_sigstate.
12138 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12141 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12142 MAX_EXP as overflowing.
12143 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12145 (round_str): Output also whether result overflows in each rounding
12147 * stdlib/tst-strtod-round-data: Add more tests.
12148 * stdlib/tst-strtod-round-data.h: Regenerated.
12149 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12150 (TEST): Handle extra arguments for overflow flags.
12151 (struct test_overflow): New type.
12152 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12153 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12154 (test_in_one_mode): Take argument with overflow information.
12155 (do_test): Update calls to test_in_one_mode.
12157 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12159 * elf/dl-load (_dl_dst_substitute): Correct comment.
12160 (_dl_dst_count): Likewise.
12162 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12163 lll_futex_timed_wait.
12165 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12168 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12170 * math/test-nan-const.c: New file.
12171 * math/Makefile (tests): Add test-nan-const.
12172 (CFLAGS-test-nan-const.c): New variable.
12174 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12176 * benchtests/scripts/compare_strings.py (process_results): Add
12177 funcs argument. Compare only functions which are selected.
12178 (main): Check if base function is among selected functions.
12179 Pass selected functions to process_results.
12180 (__main__): Add -f/--functions argument.
12182 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12183 Hongbo Zhang <hongbo.zhang@linaro.org>
12185 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12186 __memcpy_falkor for phecda core.
12187 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12188 __memmove_falkor for phecda core.
12189 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12190 __memset_falkor for phecda core.
12191 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12193 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12194 macro to identify phecda core.
12196 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12197 Andreas Schwab <schwab@suse.de>
12198 Dmitry V. Levin <ldv@altlinux.org>
12199 Florian Weimer <fweimer@redhat.com>
12206 * elf/dl-dst.h: Remove DL_DST_COUNT.
12207 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12208 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12209 (is_dst): Comment. Support ELF gABI.
12210 (_dl_dst_count): Comment. Simplify and count DSTs.
12211 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12212 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12215 2018-06-12 Zack Weinberg <zackw@panix.com>
12217 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12218 * sysdeps/unix/sysv/linux/dl-sysdep.c
12219 Include not-cancel.h. Use __close_nocancel instead of __close,
12220 __open64_nocancel instead of __open, __read_nocancel instead of
12221 __libc_read, and __write_nocancel instead of __libc_write.
12223 * csu/check_fds.c (check_one_fd)
12224 * sysdeps/posix/fdopendir.c (__fdopendir)
12225 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12226 instead of __fcntl and/or __libc_fcntl.
12228 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12229 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12230 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12231 Use __open64_nocancel instead of __open_nocancel.
12233 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12234 hidden_proto declarations to the end and issue them if either
12235 IS_IN(libc) or IS_IN(rtld).
12236 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12237 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12238 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12239 read_nocancel, waitpid_nocancel, write_nocancel.
12241 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12242 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12243 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12245 * nptl/pt-fcntl.c: New file.
12246 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12247 (libpthread-routines): Add pt-fcntl.
12248 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12249 (__libc_fcntl): Remove attribute_hidden.
12250 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12251 __fcntl_nocancel_adjusted, not fcntl_common.
12252 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12253 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12254 to fcntl_nocancel.c.
12255 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12258 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12260 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12261 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12262 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12263 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12264 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12265 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12266 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12267 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12268 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12269 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12270 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12271 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12272 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12273 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12274 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12275 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12276 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12277 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12278 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12279 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12281 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12282 libpthread-routines.
12283 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12286 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12287 __libc_read, and __write instead of __libc_write. Define
12288 __open64 in addition to __open.
12290 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12294 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12295 to _private_tm[3] and add __glibc_reserved2.
12296 Add _Static_assert of offset of __private_ss == 0x30.
12297 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12298 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12300 2018-06-12 Florian Weimer <fweimer@redhat.com>
12302 x86: Make strncmp usable from rtld.
12303 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12304 __strncmp_ia32 if in libc (and not in rtld).
12305 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12306 strncmp if not in libc (and not to __strncmp_sse2).
12308 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12311 * localedata/locales/gd_GB (mon): Rename to...
12313 (mon): Import from CLDR (genitive case).
12314 * localedata/locales/hsb_DE (mon): Rename to...
12316 (mon): Import from CLDR (genitive case).
12317 * localedata/locales/wa_BE (mon): Rename to...
12319 (mon): Add, fill with the proper genitive forms, but CLDR data
12320 is incomplete; completed according to the comments in this file.
12321 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12323 * localedata/locales/wa_BE (country_name): Reword
12324 "Beljike" -> "Beldjike".
12326 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12329 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12330 cases of non-finite arguments.
12331 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12333 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12336 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12338 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12341 * include/unistd.h (__execvpex): New prototype.
12342 * posix/Makefile (tests): Add tst-spawn4.
12343 (tests-internal): Add tst-spawn4-compat.
12344 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12345 * posix/tst-spawn4-compat.c: New file.
12346 * posix/tst-spawn4.c: Likewise.
12347 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12348 binaries as shell scripts.
12349 * sysdeps/posix/spawni.c (__spawni): Likewise.
12351 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12354 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12355 ($(all-built-dso:=.dynsym): New target.
12356 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12357 ($(objpfx)check-initfini.out): New target.
12358 (generated): Add check-initfini.out.
12359 * scripts/check-initfini.awk: New file.
12360 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12362 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12364 * sysdeps/arm/crti.S (_init): Mark as hidden.
12366 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12368 * sysdeps/i386/crti.S (_init): Mark as hidden.
12370 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12372 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12374 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12376 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12378 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12380 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12382 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12384 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12386 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12388 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12390 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12392 * sysdeps/sh/crti.S (_init): Mark as hidden.
12394 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12396 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12399 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12401 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12402 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12403 and TF redirection to KFtype and KF only when the default
12404 long double type is not the IEEE 128-bit floating point type.
12406 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12408 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12410 (HWCAP_USCAT): Likewise.
12411 (HWCAP_ILRCPC): Likewise.
12412 (HWCAP_FLAGM): Likewise.
12413 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12415 (_dl_aarch64_cap_flags): Add new flag names.
12417 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12418 (MAP_FIXED_NOREPLACE): New macro.
12419 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12420 (MAP_FIXED_NOREPLACE): Likewise.
12421 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12422 (MAP_FIXED_NOREPLACE): Likewise.
12423 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12424 (MAP_FIXED_NOREPLACE): Likewise.
12425 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12426 (MAP_FIXED_NOREPLACE): Likewise.
12427 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12428 (MAP_FIXED_NOREPLACE): Likewise.
12429 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12430 (MAP_FIXED_NOREPLACE): Likewise.
12431 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12432 (MAP_FIXED_NOREPLACE): Likewise.
12433 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12434 (MAP_FIXED_NOREPLACE): Likewise.
12435 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12436 (MAP_FIXED_NOREPLACE): Likewise.
12437 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12438 (MAP_FIXED_NOREPLACE): Likewise.
12439 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12440 (MAP_FIXED_NOREPLACE): Likewise.
12441 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12442 (MAP_FIXED_NOREPLACE): Likewise.
12443 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12444 (MAP_FIXED_NOREPLACE): Likewise.
12445 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12446 (MAP_FIXED_NOREPLACE): Likewise.
12448 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12451 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12453 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12456 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12458 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12460 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12462 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12464 * benchtests/scripts/compare_string.py: (process_results) Catch
12465 exception in non-existent base_func and catch exception in
12466 non-existent attribute.
12467 (parse_file) Catch exception if input file does not exist.
12469 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12471 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12472 options to avoid diff calculation and omit header, respectively.
12473 (main): process --no-diff and --no-header
12475 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12476 H.J. Lu <hongjiu.lu@intel.com>
12478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12479 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12482 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12483 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12484 and __wcsncmp_sse2.
12485 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12486 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12487 AVX unaligned load is fast and vzeroupper is preferred.
12488 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12489 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12490 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12491 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12492 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12493 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12494 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12495 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12496 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12497 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12500 2018-06-01 Florian Weimer <fweimer@redhat.com>
12502 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12503 configuring with --disable-multi-arch, building with
12504 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12507 2018-06-01 Florian Weimer <fweimer@redhat.com>
12509 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12510 results from building with “-march=x86-64 -mtune=generic
12511 -mfpmath=sse” and running on a Haswell-era CPU.
12513 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12516 * soft-fp/sqrttf2.c: Remove file.
12517 * soft-fp/sqrtdf2.c: Move to ....
12518 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12520 (__sqrtdf2): Make conditional on
12521 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12523 * soft-fp/sqrtsf2.c: Move to ....
12524 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12526 (__sqrtsf2): Make conditional on
12527 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12529 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12530 (gcc-double-routines): Remove sqrtdf2.
12531 (gcc-quad-routines): Remove sqrttf2.
12532 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12533 Do not filter out sqrtsf2 and sqrtdf2.
12534 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12535 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12537 2018-06-01 Florian Weimer <fweimer@redhat.com>
12539 * sysdeps/generic/libcidn.abilist: Remove file.
12541 2018-06-01 Florian Weimer <fweimer@redhat.com>
12544 * libio/strfile.h (struct _IO_str_fields): Rename members to
12545 discourage their use and add comment.
12546 (_IO_STR_DYNAMIC): Remove unused macro.
12547 * libio/strops.c (_IO_str_init_static_internal): Do not use
12548 callback pointers. Call malloc and free.
12549 (_IO_str_overflow): Do not use callback pointers. Call malloc
12551 (enlarge_userbuf): Likewise.
12552 (_IO_str_finish): Call free.
12553 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12554 _allocate_buffer_unused.
12555 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12557 (enlarge_userbuf): Likewise.
12558 (_IO_wstr_finish): Call free.
12559 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12560 _allocate_buffer_unused, _free_buffer_unused.
12561 * libio/memstream.c (__open_memstream): Likewise.
12562 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12563 * libio/wmemstream.c (open_wmemstream): Likewise.
12565 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12567 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12570 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12572 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12573 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12574 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12576 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12578 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12580 2018-05-29 Florian Weimer <fweimer@redhat.com>
12582 * support/Makefile (libsupport-routines): Add
12583 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12584 xpthread_barrierattr_setpshared.
12585 * support/xpthread_barrierattr_destroy.c: New file.
12586 * support/xpthread_barrierattr_init.c: Likewise.
12587 * support/xpthread_barrierattr_setpshared.c: Likewise.
12589 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12592 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12593 _r_debug and update DT_DEBUG for debugger.
12595 2018-05-29 Florian Weimer <fweimer@redhat.com>
12597 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12598 (tst-strtod5i.out): Likewise.
12600 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12602 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12603 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12604 (sparc64-quad-routines): New variable. Moved from ....
12605 [$(subdir) = soft-fp] (sysdep_routines): Add
12606 $(sparc64-quad-routines). Moved from ....
12607 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12608 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12609 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12611 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12612 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12613 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12614 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12615 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12616 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12617 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12618 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12619 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12620 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12621 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12622 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12623 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12624 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12625 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12626 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12627 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12628 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12629 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12630 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12631 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12632 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12633 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12634 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12635 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12636 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12637 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12638 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12639 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12640 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12641 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12642 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12643 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12644 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12645 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12646 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12647 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12648 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12649 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12650 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12651 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12652 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12653 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12654 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12655 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12656 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12657 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12658 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12659 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12660 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12661 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12662 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12663 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12664 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12665 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12666 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12668 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12670 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12671 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12672 (sparc32-quad-routines): New variable. Moved from ....
12673 [$(subdir) = soft-fp] (sysdep_routines): Add
12674 $(sparc32-quad-routines). Moved from ....
12675 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12676 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12678 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12679 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12680 * sysdeps/sparc/sparc32/q_add.c: ... here.
12681 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12682 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12683 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12684 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12685 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12686 * sysdeps/sparc/sparc32/q_div.c: ... here.
12687 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12688 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12689 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12690 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12691 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12692 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12693 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12694 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12695 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12696 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12697 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12698 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12699 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12700 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12701 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12702 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12703 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12704 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12705 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12706 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12707 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12708 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12709 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12710 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12711 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12712 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12713 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12714 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12715 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12716 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12717 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12718 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12719 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12720 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12721 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12722 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12723 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12724 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12725 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12726 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12727 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12728 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12729 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12730 * sysdeps/sparc/sparc32/q_util.c: ... here.
12731 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12732 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12733 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12734 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12736 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12737 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12739 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12740 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12741 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12742 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12744 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12750 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12751 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12753 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12756 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12759 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12761 * sysdeps/sh/Implies: Remove sh/soft-fp.
12762 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12763 * sysdeps/sh/sfp-machine.h: ... here.
12765 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12767 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12768 (__mempcpy_erms): Skip zero length.
12769 (__memmove_erms): Likewise.
12770 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12771 (__memset_erms): Likewise.
12773 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12775 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12776 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12777 Add functions moved from ....
12778 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12779 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12780 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12782 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12783 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12784 * sysdeps/alpha/e_sqrtl.c: ... here.
12785 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12786 * sysdeps/alpha/local-soft-fp.h: ... here.
12787 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12788 * sysdeps/alpha/ots_add.c: ... here.
12789 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12790 * sysdeps/alpha/ots_cmp.c: ... here.
12791 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12792 * sysdeps/alpha/ots_cmpe.c: ... here.
12793 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12794 * sysdeps/alpha/ots_cvtqux.c: ... here.
12795 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12796 * sysdeps/alpha/ots_cvtqx.c: ... here.
12797 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12798 * sysdeps/alpha/ots_cvttx.c: ... here.
12799 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12800 * sysdeps/alpha/ots_cvtxq.c: ... here.
12801 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12802 * sysdeps/alpha/ots_cvtxt.c: ... here.
12803 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12804 * sysdeps/alpha/ots_div.c: ... here.
12805 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12806 * sysdeps/alpha/ots_mul.c: ... here.
12807 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12808 * sysdeps/alpha/ots_nintxq.c: ... here.
12809 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12810 * sysdeps/alpha/ots_sub.c: ... here.
12811 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12812 * sysdeps/alpha/sfp-machine.h: ... here.
12814 2018-05-23 Florian Weimer <fweimer@redhat.com>
12822 Switch to extern IDNA implementation (libidn2).
12823 * libidn: Remove subdirectory.
12824 * LICENSES: Do not mention licensing conditions for the removed
12826 * config.h.in (HAVE_LIBIDN): Remove.
12827 * include/dlfcn.h (__libc_dlopen): Update comment.
12828 * include/idna.h: Remove file.
12829 * inet/Makefile (routines): Add idna.
12830 (tests-static, tests-internal): Add tst-idna_name_classify.
12831 (LOCALES): Generate locales for tests.
12832 (tst-idna_name_classify.out): Depend on generated locales.
12833 * inet/idna_name_classify.c: New file.
12834 * inet/tst-idna_name_classify.c: Likewise.
12835 * inet/net-internal.h (__idna_to_dns_encoding)
12836 (__idna_from_dns_encoding): Declare.
12837 * inet/net-internal.h (enum idna_name_classification): Define.
12838 (__idna_name_classify): Declare.
12839 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12840 __idna_from_dns_encoding.
12841 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12842 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12843 name as a fallback in case of encoding errors.
12844 (getnameinfo): Use DEPRECATED_NI_IDN.
12845 * inet/idna.c: New file.
12846 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12847 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12848 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12849 (modules-names): Add tst-no-libidn2.
12850 (extra-test-objs): Add tst-no-libidn2.os.
12851 (LDFLAGS-tst-no-libidn2.so): Set soname.
12852 (LOCALES): Set, and generate locales.
12853 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12854 (tst-resolv-ai_idn-latin1): Likewise.
12855 (tst-resolv-ai_idn-nolibidn2): Likewise.
12856 (tst-resolv-ai_idn.out): Depend on locales.
12857 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12858 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12860 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12861 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12862 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12863 * resolv/tst-resolv-ai_idn.c: New file.
12864 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12865 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12866 * resolv/tst-no-libidn2.c: Likewise.
12867 * support/support_format_addrinfo.c (format_ai_flags): Do not
12868 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12869 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12870 (gaih_inet): Call __idna_to_dns_encoding and
12871 __idna_from_dns_encoding, and use the original (punycode) name if
12872 __idna_from_dns_encoding fails due to an encoding error.
12873 (getaddrinfo): Use DEPRECATED_AI_IDN.
12874 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12875 * sysdeps/unix/inet/configure: Remove file.
12876 * sysdeps/unix/inet/configure.ac: Likewise.
12878 2018-05-23 Florian Weimer <fweimer@redhat.com>
12880 Implement allocate_once.
12881 * include/allocate_once.h: New file.
12882 * misc/allocate_once.c: Likewise.
12883 * misc/tst-allocate_once.c: Likewise.
12884 * misc/Makefile (routines): Add allocate_once.
12885 (tests-internal): Add tst-allocate_once.
12886 (generated): Add tst-allocate_once.mtrace,
12887 tst-allocate_once-mem.out.
12888 (tests-special): Add tst-allocate_once-mem.out.
12889 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12890 (tst-allocate_once-mem.out): Call mtrace.
12891 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12893 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12896 * string/test-memcpy.c (do_test1): New function.
12897 (test_main): Call it.
12899 2018-05-23 Andreas Schwab <schwab@suse.de>
12903 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12904 (L(preloop_large)): Save initial destination pointer in %r11 and
12905 use it instead of %rax after the loop.
12906 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12908 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12910 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12911 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12912 -I../soft-fp. Moved from ....
12913 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12914 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12915 * sysdeps/aarch64/e_sqrtl.c: ... here.
12916 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12917 * sysdeps/aarch64/sfp-machine.h: ... here.
12919 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12920 -Wmaybe-uninitialized around access to fq[0].
12921 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12925 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12926 aliases for non-libc case of versioned symbols.
12927 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12928 (llseek): Define as compat symbol if
12929 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12931 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12932 Make into a compat symbol, disabled for minimum symbol version
12933 GLIBC_2.28 and later.
12934 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12936 2018-05-22 Florian Weimer <fweimer@redhat.com>
12938 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12939 not add -mpreferred-stack-boundary=4.
12940 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12941 (stack-align-test-flags): Likewise.
12942 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12944 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12945 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12946 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12947 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12948 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12949 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12950 (CFLAGS-tst-align2.c): Likewise.
12952 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12954 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12955 (index_arch_Prefer_FSRM): Likewise.
12956 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12957 Also check Prefer_FSRM.
12958 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12959 Also return OPTIMIZE (erms) for Prefer_FSRM.
12961 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12963 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12964 (index_cpu_FSRM): Likewise.
12965 (reg_FSRM): Likewise.
12967 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12969 * math/gen-tgmath-tests.py: Import sys.
12970 (Tests.__init__): Initialize macros_seen.
12971 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12972 if requested to do so for this macro.
12973 (Tests.add_all_tests): Take argument for macro for which to
12975 (Tests.check_macro_list): New function.
12976 (main): Handle check-list argument and argument specifying macro
12977 for which to generate tests.
12978 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12979 [PYTHON] (tgmath3-macro-tests): Likewise.
12980 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12981 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12982 not test-tgmath3.c.
12983 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12984 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12986 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12987 [PYTHON] ($(foreach
12988 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12990 [PYTHON] (tests-special): Add
12991 $(objpfx)test-tgmath3-macro-list.out.
12992 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12994 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12995 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12999 * time/tzset.c (SECSPERDAY): Cast to time_t.
13000 * time/tst-y2039.c: New file.
13001 * time/Makefile (tests): Add tst-y2039.
13003 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13005 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13006 (PREFETCH_ONE_SET): Remove duplicate line.
13008 2018-05-17 Florian Weimer <fweimer@redhat.com>
13010 * sysdeps/generic/math-type-macros-double.h: Include
13011 <math-nan-payload-double.h> after <libm-alias-double.h>.
13012 * sysdeps/generic/math-type-macros-float.h: Include
13013 <math-nan-payload-float.h> after <libm-alias-float.h>.
13014 * sysdeps/generic/math-type-macros-float128.h: Include
13015 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13016 * sysdeps/generic/math-type-macros-ldouble.h: Include
13017 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13019 2018-05-17 Andreas Schwab <schwab@suse.de>
13021 * resolv/res_send.c (__res_context_send): Don't set errno when
13022 returing error after malloc failure.
13024 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13026 * nptl/allocatestack.c (allocate_stack): Remove the
13027 !__ASSUME_PRIVATE_FUTEX paths.
13028 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13029 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13031 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13032 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13033 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13034 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13035 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13036 !__ASSUME_PRIVATE_FUTEX path.
13037 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13038 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13039 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13040 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13041 !__ASSUME_PRIVATE_FUTEX macros.
13042 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13043 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13044 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13045 * sysdeps/unix/sysv/linux/kernel-features.h
13046 (__ASSUME_PRIVATE_FUTEX): Removed.
13048 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13050 * math/Makefile (libm-narrow-fns): Add div.
13051 (libm-test-funcs-narrow): Likewise.
13052 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13053 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13054 * math/gen-auto-libm-tests.c (test_functions): Add div.
13055 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13056 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13057 (NARROW_DIV_TRIVIAL): Likewise.
13058 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13060 (__ddivl): Likewise.
13061 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13063 (CFLAGS-nldbl-ddiv.c): New variable.
13064 (CFLAGS-nldbl-fdiv.c): Likewise.
13065 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13067 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13069 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13070 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13071 * math/auto-libm-test-in: Add tests of div.
13072 * math/auto-libm-test-out-narrow-div: New generated file.
13073 * math/libm-test-narrow-div.inc: New file.
13074 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13077 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13078 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13079 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13080 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13082 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13088 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13089 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13090 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13091 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13093 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13111 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13112 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13115 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13116 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13117 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13119 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13122 * nscd/nscd-client.h (sendfileall): Remove prototype.
13123 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13124 (handle_request): Use writeall instead of sendfileall.
13125 * nscd/aicache.c (addhstaiX): Likewise.
13126 * nscd/grpcache.c (cache_addgr): Likewise.
13127 * nscd/hstcache.c (cache_addhst): Likewise.
13128 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13129 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13130 * nscd/pwdcache.c (cache_addpw): Likewise.
13131 * nscd/servicescache.c (cache_addserv): Likewise.
13132 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13133 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13134 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13137 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13139 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13140 Include <string/strncat.c>.
13141 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13143 (__GI___strncat): New hidden alias.
13145 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13147 * sysdeps/mips/mips32/libm-test-ulps: Update.
13148 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13150 2018-05-16 Florian Weimer <fweimer@redhat.com>
13152 * support/Makefile (libsupport-routines): Add support_quote_blob,
13153 support_test_compare_blob.
13154 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13155 * support/check.h (TEST_COMPARE_BLOB): Define.
13156 (support_test_compare_blob): Declare.
13157 * support/support.h (support_quote_blob): Declare.
13158 * support/support_quote_blob.c: New file.
13159 * support/support_test_compare_blob.c: Likewise.
13160 * support/tst-support_quote_blob.c: Likewise.
13161 * support/tst-test_compare_blob.c: Likewise.
13163 2018-05-16 Florian Weimer <fweimer@redhat.com>
13165 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13166 of <strtod_nan_double.h>.
13167 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13168 instead of SET_MANTISSA.
13169 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13170 of include <strtod_nan_float.h>.
13171 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13172 instead of <strtod_nan_ldouble.h>.
13173 * stdlib/strtod_nan_double.h: Move to ...
13174 * sysdeps/generic/math-nan-payload-double.h: ... here.
13175 (FLOAT): Remove definition.
13176 (SET_MANTISSA): Rename to ...
13177 (SET_NAN_PAYLOAD): ... this.
13178 * stdlib/strtod_nan_float.h: Move to ...
13179 * sysdeps/generic/math-nan-payload-float.h: ... here.
13180 (FLOAT): Remove definition.
13181 (SET_MANTISSA): Rename to ...
13182 (SET_NAN_PAYLOAD): ... this.
13183 * sysdeps/generic/math-type-macros-double.h: Include
13184 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13185 instead of <math-svid-compat.h>.
13186 * sysdeps/generic/math-type-macros-float.h: Include
13187 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13188 instead of <math-svid-compat.h>.
13189 * sysdeps/generic/math-type-macros-float128.h: Include
13190 <math-nan-payload-float128.h>.
13191 * sysdeps/generic/math-type-macros-ldouble.h: Include
13192 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13193 instead of <math-svid-compat.h>.
13194 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13195 check for definition.
13196 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13197 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13198 Include <ieee754_float128.h>.
13199 (FLOAT): Remove definition.
13200 (SET_MANTISSA): Rename to ...
13201 (SET_NAN_PAYLOAD): ... this.
13202 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13203 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13204 Do not include <float128_private.h>.
13205 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13207 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13208 (FLOAT): Remove definition.
13209 (SET_MANTISSA): Rename to ...
13210 (SET_NAN_PAYLOAD): ... this.
13211 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13212 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13213 (FLOAT): Remove definition.
13214 (SET_MANTISSA): Rename to ...
13215 (SET_NAN_PAYLOAD): ... this.
13216 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13217 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13218 (FLOAT): Remove definition.
13219 (SET_MANTISSA): Rename to ...
13220 (SET_NAN_PAYLOAD): ... this.
13221 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13222 of "../stdlib/strtod_nan_double.h".
13223 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13224 of "../stdlib/strtod_nan_float.h".
13225 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13226 instead of "../stdlib/strtod_nan_ldouble.h".
13227 * manual/arith.texi (Parsing of Floats): Adjust comment.
13229 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13231 * math/Makefile (libm-narrow-fns): Add mul.
13232 (libm-test-funcs-narrow): Likewise.
13233 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13234 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13235 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13236 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13237 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13238 (NARROW_MUL_TRIVIAL): Likewise.
13239 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13240 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13242 (__dmull): Likewise.
13243 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13245 (CFLAGS-nldbl-dmul.c): New variable.
13246 (CFLAGS-nldbl-fmul.c): Likewise.
13247 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13249 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13251 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13252 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13253 * math/auto-libm-test-in: Add tests of mul.
13254 * math/auto-libm-test-out-narrow-mul: New generated file.
13255 * math/libm-test-narrow-mul.inc: New file.
13256 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13259 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13260 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13261 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13264 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13267 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13268 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13269 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13270 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13271 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13272 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13273 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13275 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13287 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13301 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13303 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13304 with *%eax in call.
13306 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13308 * sysdeps/i386/ldsodefs.h: Removed.
13309 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13310 * sysdeps/x86/ldsodefs.h: This.
13311 (La_i86_regs): New.
13312 (La_i86_retval): Likewise.
13313 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13314 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13316 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13318 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13321 2018-05-13 Alan Modra <amodra@gmail.com>
13323 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13324 R_PARISC_TLS_DTPOFF32 reloc addend.
13326 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13328 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13329 * math/math.h: Restrict the prototype definition for the functions
13330 issignaling(_Float128) and iszero(_Float128); and template
13331 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13332 __HAVE_FLOAT128_UNLIKE_LDBL.
13333 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13334 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13335 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13336 __f128() constants; define the type _Float128 as long double;
13337 and reuse long double in __CFLOAT128.
13339 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13341 * sysdeps/generic/math_private.h: Do not include
13343 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13345 * math/fromfp.h: Include <math-barriers.h>.
13346 * math/math-narrow.h: Likewise.
13347 * math/s_nextafter.c: Likewise.
13348 * math/s_nexttowardf.c: Likewise.
13349 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13350 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13351 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13352 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13353 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13354 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13355 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13368 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13369 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13370 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13371 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13372 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13373 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13374 * sysdeps/ieee754/k_standardl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13388 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13391 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13392 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13395 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13396 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13398 2018-05-11 Florian Weimer <fweimer@redhat.com>
13400 Use 64-bit epoch values in the time zone file parser.
13401 * include/time.h (internal_time_t): Define.
13402 (__tzfile_compute): Use it.
13403 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13405 (transitions): Switch to internal_time_t.
13406 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13408 (__tzfile_compute): Use internal_time_t for timer argument. Check
13409 for truncation before calling __offtime.
13411 2018-05-11 Florian Weimer <fweimer@redhat.com>
13414 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13415 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13417 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13418 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13419 export without --enable-obsolete-rpc.
13420 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13421 symbol. This should not have been exported, ever.
13423 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13426 * localedata/locales/gd_GB (abmon): Fix typo in May:
13427 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13429 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13431 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13432 Use multiple registers to copy data in loop tail.
13434 * sysdeps/aarch64/multiarch/memmove_falkor.S
13435 (__memmove_falkor): Use multiple registers to move data in
13438 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13440 * math/math-underflow.h: New file.
13441 * sysdeps/generic/math_private.h: Do not include <float.h>.
13442 (fabs_tg): Remove macro. Moved to math-underflow.h.
13443 (min_of_type_f): Likewise.
13444 (min_of_type_): Likewise.
13445 (min_of_type_l): Likewise.
13446 (min_of_type_f128): Likewise.
13447 (min_of_type): Likewise.
13448 (math_check_force_underflow): Likewise.
13449 (math_check_force_underflow_nonneg): Likewise.
13450 (math_check_force_underflow_complex): Likewise.
13451 * math/e_exp2_template.c: Include <math-underflow.h>.
13452 * math/k_casinh_template.c: Likewise.
13453 * math/s_catan_template.c: Likewise.
13454 * math/s_catanh_template.c: Likewise.
13455 * math/s_ccosh_template.c: Likewise.
13456 * math/s_cexp_template.c: Likewise.
13457 * math/s_clog10_template.c: Likewise.
13458 * math/s_clog_template.c: Likewise.
13459 * math/s_csin_template.c: Likewise.
13460 * math/s_csinh_template.c: Likewise.
13461 * math/s_csqrt_template.c: Likewise.
13462 * math/s_ctan_template.c: Likewise.
13463 * math/s_ctanh_template.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13466 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13468 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13469 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13472 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13482 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13483 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13484 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13485 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13486 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13487 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13488 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13489 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13490 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13491 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13492 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13493 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13494 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13495 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13532 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13541 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13542 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13544 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13549 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13551 * sysdeps/generic/math-barriers.h: New file.
13552 * sysdeps/generic/math_private.h [!math_opt_barrier]
13553 (math_opt_barrier): Move to math-barriers.h.
13554 [!math_opt_barrier] (math_force_eval): Likewise.
13555 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13556 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13558 (math_force_eval): Likewise.
13559 * sysdeps/alpha/fpu/math-barriers.h: New file.
13560 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13562 (math_force_eval): Likewise.
13563 * sysdeps/x86/fpu/math-barriers.h: New file.
13564 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13566 (math_force_eval): Likewise.
13567 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13568 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13569 multiple-include guard for rename.
13570 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13571 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13573 (math_force_eval): Likewise.
13575 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13579 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13581 * stdlib/Makefile (test-bz22786): New test.
13582 * stdlib/test-bz22786.c: New test.
13584 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13586 * include/math-narrow-eval.h: New file. Contents moved from ....
13587 * sysdeps/generic/math_private.h: ... here.
13588 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13589 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13590 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13591 * stdlib/strtod_l.c: Likewise.
13592 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13593 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13594 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13607 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13608 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13609 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13610 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13611 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13612 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13613 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13614 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13616 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13617 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13618 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13619 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13622 2018-05-08 Andreas Schwab <schwab@suse.de>
13624 * sysdeps/nptl/internaltypes.h: Fix comment.
13626 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13628 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13629 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13632 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13634 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13635 of I into loop header.
13636 * benchtests/bench-memmove-walk.c
13637 (test_main): Likewise.
13639 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13642 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13643 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13645 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13648 * elf/dl-load.c (open_verify): Fix stack overflow.
13649 * elf/Makefile (tst-big-note): New test.
13650 * elf/tst-big-note-lib.S: New.
13651 * elf/tst-big-note.c: New.
13653 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13655 * scripts/abilist.awk: Ignore absolute symbols.
13656 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13657 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13658 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13659 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13660 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13661 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13662 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13663 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13664 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13665 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13666 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13667 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13668 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13669 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13670 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13671 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13672 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13673 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13674 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13675 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13676 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13677 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13678 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13679 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13680 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13681 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13682 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13683 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13684 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13689 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13690 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13708 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13710 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13724 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13749 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13763 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13765 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13770 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13771 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13772 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13773 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13774 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13775 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13776 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13777 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13778 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13779 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13780 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13783 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13784 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13785 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13786 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13787 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13788 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13789 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13791 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13803 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13804 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13805 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13806 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13807 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13808 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13809 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13810 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13812 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13814 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13815 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13816 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13817 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13818 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13819 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13820 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13821 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13822 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13823 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13825 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13826 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13827 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13828 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13831 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13832 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13833 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13834 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13835 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13836 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13837 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13838 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13839 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13902 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13917 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13930 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13943 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13956 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13970 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14009 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14012 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14013 Use atomic_load_acquire to load __tid.
14015 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14017 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14018 Restore the pointer into %rdx, after syscall and use %rdx,
14019 instead of %rsi, to restore context.
14021 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14023 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14024 Pop the pointer into %rdx after syscall and use %rdx, instead
14025 of %rsi, to restore context.
14027 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14029 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14030 handlers after setjmp.
14031 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14033 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14034 <libc-pointer-arith.h>.
14035 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14036 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14037 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14038 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14039 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14040 * sysdeps/x86/__longjmp_cancel.S: New file.
14041 * sysdeps/x86/longjmp.c: Likewise.
14042 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14044 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14046 * NEWS: Add ustat.h deprecation entry.
14047 * bits/ustat.h: Remove file.
14048 * misc/sys/ustat.h: Likewise.
14049 * misc/ustat.h: Likewise.
14050 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14051 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14052 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14053 compatibility mode.
14054 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14055 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14056 generic Linux implementation.
14058 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14060 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14061 * math/w_expl_compat.c: Likewise.
14062 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14064 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14066 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14068 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14070 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14071 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14072 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14074 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14076 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14077 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14078 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14081 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14083 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14085 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14086 * math/w_asin_template.c: Likewise.
14087 * math/w_atanh_template.c: Likewise.
14089 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14091 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14092 to powerpc/powerpc64/be for big-endian.
14093 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14096 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14097 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14098 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14099 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14100 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14101 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14102 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14103 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14104 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14105 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14106 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14107 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14108 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14109 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14110 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14111 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14112 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14113 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14114 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14115 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14116 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14117 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14118 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14119 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14120 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14121 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14122 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14123 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14124 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14125 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14126 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14127 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14129 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14130 adjusted to imply powerpc64 and older processors on powerpc64/be.
14131 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14132 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14133 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14134 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14135 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14136 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14137 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14138 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14139 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14140 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14141 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14142 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14143 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14144 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14145 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14146 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14147 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14148 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14149 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14150 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14151 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14152 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14153 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14154 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14155 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14156 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14157 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14158 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14159 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14160 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14161 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14163 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14164 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14165 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14166 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14168 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14169 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14170 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14171 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14173 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14174 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14175 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14176 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14177 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14178 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14179 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14180 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14181 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14182 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14183 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14185 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14186 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14187 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14188 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14189 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14190 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14191 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14192 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14193 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14194 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14195 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14197 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14198 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14199 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14200 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14201 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14202 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14203 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14204 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14205 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14206 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14207 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14208 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14210 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14211 and adjusted to imply olders processors.
14212 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14213 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14214 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14215 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14216 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14217 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14218 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14219 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14220 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14221 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14222 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14241 powerpc64 and adjusted.
14242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14247 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14249 * sysdeps/tile: Remove.
14250 * sysdeps/unix/sysv/linux/tile: Likewise.
14251 * README (tilegx-*-linux-gnu): Remove from list of supported
14253 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14254 contribution of support for generic Linux kernel syscall
14256 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14257 tilegx configurations.
14258 (Config.install_linux_headers): Do not handle tile.
14259 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14261 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14262 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14263 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14264 conditional undefine and redefine.
14265 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14267 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14268 conditional undefine and redefine.
14270 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14272 * signal/tst-sigaction.c: New file to test BZ #23069.
14273 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14275 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14278 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14279 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14280 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14281 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14283 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14285 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14286 _DIRENT_MATCHES_DIRENT64 is not defined.
14287 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14288 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14290 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14291 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14293 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14295 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14296 version to GCC 8 branch.
14298 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14300 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14301 (check_no_hidden): Use type of original function when declaring
14304 * sysdeps/unix/sysv/linux/sys/ptrace.h
14305 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14306 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14307 (struct __ptrace_seccomp_metadata): New type.
14308 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14309 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14310 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14311 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14312 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14313 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14314 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14315 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14316 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14317 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14319 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14320 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14321 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14322 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14323 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14325 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14327 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14329 * dirent/versionsort.c (versionsort): Likewise.
14330 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14331 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14332 * dirent/versionsort64.c (versionsort64): Likewise.
14333 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14334 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14335 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14336 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14337 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14338 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14339 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14340 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14341 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14342 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14345 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14346 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14348 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14350 * elf/elf.h (NT_PPC_PKEY): New macro.
14352 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14355 * localedata/locales/hr_HR: fix thousands_sep and
14358 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14360 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14361 (XTABS): Define to TAB3.
14363 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14365 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14367 * dirent/scandir-tail-common.c: New file.
14368 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14369 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14370 * dirent/scandir.c: Use scandir-tail-common.c.
14371 * dirent/scandirat.c: Likewise.
14372 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14373 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14374 if _DIRENT_MATCHES_DIRENT64 is defined.
14375 * dirent/scandirat64.c (scandirat64): Likewise.
14376 * include/dirent.h (__scandir_tail): Only define iff
14377 _DIRENT_MATCHES_DIRENT64 is not defined.
14378 (__scandir64_tail): Define regardless.
14379 (__scandirat, scandirat64): Remove libc_hidden_proto.
14380 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14381 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14383 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14384 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14385 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14386 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14388 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14390 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14392 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14394 (_dl_aarch64_cap_flags): Add asimdfhm.
14396 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14398 * sysdeps/nios2/libm-test-ulps: Update.
14400 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14402 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14403 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14405 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14407 (_DIRENT_MATCHES_DIRENT64): Undef
14408 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14409 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14410 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14411 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14412 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14413 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14414 use getdents64 syscalls as base.
14415 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14416 symbol if required.
14417 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14418 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14419 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14420 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14421 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14422 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14423 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14424 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14425 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14426 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14427 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14429 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14431 * scripts/test_printers_common.py (init_test): Disable lock elision.
14433 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14435 * math/test-tgmath.c (count_double, count_float,
14436 count_ldouble, count_cdouble, count_cfloat,
14437 count_cldouble): Use volatile int.
14439 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14441 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14442 (conformtest-xfail-conds): Add i386-gnu.
14443 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14445 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14446 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14447 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14448 msqid_ds.msg_lrpid): Likewise.
14449 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14451 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14452 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14453 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14454 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14456 (struct statvfs64): Likewise.
14457 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14459 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14460 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14461 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14462 instead of wait_queue.
14463 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14464 instead of vm_area_struct.
14465 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14466 struct sched_param definition to it.
14467 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14468 * bits/types/struct_sched_param.h: New file.
14469 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14470 <bits/types/struct_sched_param.h> instead of <sched.h>.
14471 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14472 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14473 generic version but include <bits/pthreadtypes.h> to make struct
14474 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14475 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14477 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14478 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14479 [__USE_XOPEN] (OFDEL): New macro.
14480 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14481 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14482 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14484 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14485 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14486 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14488 * sysdeps/i386/sys/ucontext.h: Likewise.
14489 * sysdeps/m68k/sys/ucontext.h: Likewise.
14490 * sysdeps/mips/sys/ucontext.h: Likewise.
14491 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14492 * sysdeps/mach/hurd/i386/Makefile
14493 (test-xfail-POSIX/fcntl.h/conform): Add.
14494 (test-xfail-POSIX/signal.h/conform): Add.
14495 (test-xfail-POSIX/semaphore.h/conform): Add.
14496 (test-xfail-POSIX/regex.h/conform): Add.
14497 (test-xfail-POSIX/aio.h/conform): Add.
14498 (test-xfail-POSIX/mqueue.h/conform): Add.
14499 (test-xfail-POSIX/sys/types.h/conform): Add.
14500 (test-xfail-UNIX98/fcntl.h/conform): Add.
14501 (test-xfail-UNIX98/netdb.h/conform): Add.
14502 (test-xfail-UNIX98/signal.h/conform): Add.
14503 (test-xfail-UNIX98/semaphore.h/conform): Add.
14504 (test-xfail-UNIX98/regex.h/conform): Add.
14505 (test-xfail-UNIX98/aio.h/conform): Add.
14506 (test-xfail-UNIX98/ftw.h/conform): Add.
14507 (test-xfail-UNIX98/mqueue.h/conform): Add.
14508 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14509 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14510 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14511 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14512 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14513 (test-xfail-UNIX98/sys/types.h/conform): Add.
14514 (test-xfail-UNIX98/stdlib.h/conform): Add.
14515 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14516 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14517 (test-xfail-POSIX2008/netdb.h/conform): Add.
14518 (test-xfail-POSIX2008/signal.h/conform): Add.
14519 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14520 (test-xfail-POSIX2008/regex.h/conform): Add.
14521 (test-xfail-POSIX2008/aio.h/conform): Add.
14522 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14523 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14524 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14525 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14526 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14527 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14528 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14529 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14530 (test-xfail-XOPEN2K/signal.h/conform): Add.
14531 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14532 (test-xfail-XOPEN2K/regex.h/conform): Add.
14533 (test-xfail-XOPEN2K/aio.h/conform): Add.
14534 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14535 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14536 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14537 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14538 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14539 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14540 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14541 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14542 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14543 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14544 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14545 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14546 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14547 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14548 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14549 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14550 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14551 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14552 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14553 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14554 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14555 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14556 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14557 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14558 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14559 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14560 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14562 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14563 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14565 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14567 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14568 --enable-obsolete for powerpc-linux-gnuspe.
14570 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14572 * conform/data/sys/un.h-data: Allow sun_ prefix.
14573 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14575 * sysdeps/mach/include/mach.h: Likewise.
14576 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14577 * sysdeps/mach/include/mach_error.h: Likewise.
14579 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14581 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14582 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14583 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14584 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14586 2018-04-16 Andreas Schwab <schwab@suse.de>
14589 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14591 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14593 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14594 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14596 2018-04-12 DJ Delorie <dj@redhat.com>
14598 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14601 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14603 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14604 (struct kernel_sigaction): Use the same definition on 31bit as is used
14607 2018-04-09 Florian Weimer <fweimer@redhat.com>
14610 * resolv/res_send.c (send_dg): Use designated initializers instead
14611 of assignment to zero-initialize other fields of struct mmsghdr.
14613 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14615 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14616 __READDIR_ALIAS): Undefine after usage.
14617 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14618 __READDIR_R_ALIAS): Likewise.
14619 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14620 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14621 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14622 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14623 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14624 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14625 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14626 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14627 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14628 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14629 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14630 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14631 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14632 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14633 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14634 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14635 * sysdeps/unix/sysv/linux/readdir.c: New file.
14636 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14637 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14638 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14640 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14642 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14644 * manual/charset.texi (Converting a Character): Fix typo.
14646 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14650 * sysdeps/arm/libm-test-ulps: Update.
14652 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14653 as base implementation.
14654 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14655 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14658 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14659 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14660 remove unrequired definitions and update comments.
14661 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14662 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14663 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14664 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14665 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14666 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14667 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14668 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14669 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14670 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14671 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14672 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14673 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14674 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14675 and RESET_SA_RESTORER hooks.
14677 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14679 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14681 2018-04-05 Florian Weimer <fweimer@redhat.com>
14683 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14684 integer overflow, memory leak on error, and indeterminate errno
14685 value. Add a null wide character to terminate the result string.
14686 * manual/charset.texi (Converting a Character): Mention embedded
14687 null bytes in the mbrtowc input string. Explain what happens in
14688 the -2 result case. Do not claim that mbrtowc is simple or
14689 obvious to use. Adjust the description of the code example. Use
14690 @code, not @var, for concrete variables.
14692 2018-04-05 Florian Weimer <fweimer@redhat.com>
14694 * manual/examples/mbstouwcs.c: New file.
14695 * manual/charset.texi (Converting a Character): Include it.
14697 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14699 * include/dirent.h (dirfd): Add hidden proto.
14700 * dirent/dirfd.c (dirfd): Add hidden def.
14701 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14702 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14704 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14706 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14707 sin, cos and sincos to 1 ULP.
14709 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14712 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14714 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14715 * elf/tst-absolute-sym.c: New file.
14716 * elf/tst-absolute-sym-lib.c: New file.
14717 * elf/tst-absolute-sym-lib.lds: New file.
14718 * elf/Makefile (tests): Add `tst-absolute-sym'.
14719 (modules-names): Add `tst-absolute-sym-lib'.
14720 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14721 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14722 ($(objpfx)tst-absolute-sym): New dependency.
14725 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14727 (SYMBOL_ADDRESS): New macro.
14728 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14729 SYMBOL_ADDRESS for symbol address calculation.
14730 * elf/dl-runtime.c (_dl_fixup): Likewise.
14731 (_dl_profile_fixup): Likewise.
14732 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14733 * elf/rtld.c (dl_main): Likewise.
14734 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14735 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14736 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14737 (elf_machine_rela): Likewise.
14738 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14739 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14740 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14741 (elf_machine_rela): Likewise.
14742 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14743 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14744 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14745 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14747 (elf_machine_reloc): Likewise.
14748 (elf_machine_got_rel): Likewise.
14749 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14750 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14751 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14755 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14756 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14758 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14760 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14765 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14766 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14768 2018-04-04 Zack Weinberg <zackw@panix.com>
14770 * sysdeps/generic/internal-signals.h: Include signal.h,
14771 sigsetops.h, and stdbool.h.
14772 (__libc_signal_block_all): Actually block all signals.
14773 (__libc_signal_block_app): Likewise.
14774 (__libc_signal_restore_set): Actually restore the signal mask.
14776 2018-04-04 Florian Weimer <fweimer@redhat.com>
14778 inet: Actually build and run tst-deadline.
14779 * inet/Makefile (tests-internal): Add tst-deadline and do not
14780 overwrite the variable.
14781 (tests-static-internal): Remove variable.
14783 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14786 * bits/uio-ext.h (RWF_APPEND): New.
14787 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14788 * manual/llio.texi: Document RWF_APPEND.
14789 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14790 (RWF_SUPPORTED): Add RWF_APPEND.
14792 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14795 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14796 check for internal nptl signals.
14797 * nptl/sigaction.c (__sigaction): Likewise.
14798 * signal/sigaddset.c (sigaddset): Likewise.
14799 * signal/sigdelset.c (sigdelset): Likewise.
14800 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14801 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14803 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14804 to filter out internal nptl signals.
14805 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14806 also check realtime signals using standard macros.
14807 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14808 __is_internal_signal, __libc_signal_block_all,
14809 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14810 * sysdeps/nptl/sigfillset.c: Remove file.
14811 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14812 Change return to bool.
14813 (__clear_internal_signals): Remove SIGTIMER clean since it is
14814 equal to SIGCANEL on Linux.
14815 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14816 signal set was constructed using standard functions.
14818 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14820 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14821 ifname is too long.
14822 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14823 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14824 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14826 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14827 * signal/sigaddset.c: Include <sigsetopts.h>.
14828 * signal/sigdelset.c: Likewise.
14830 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14834 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14835 logic as sin and cos.
14837 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14839 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14840 inputs. Return correct sign.
14841 (do_sincos): Remove small input check before do_sin, let do_sin set
14846 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14848 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14849 (do_cos_slow): Likewise.
14850 (do_sin_slow): Likewise.
14851 (reduce_and_compute): Likewise.
14856 (sloww1): Likewise.
14857 (sloww2): Likewise.
14859 (bslow1): Likewise.
14860 (bslow2): Likewise.
14861 (cslow2): Likewise.
14863 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14865 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14866 (do_cos): Remove corp parameter and calculations.
14867 (do_sin): Likewise.
14868 (do_sincos): Remove cor variable.
14869 (__sin): Use do_sincos for huge inputs.
14871 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14872 (reduce_and_compute_sincos): Remove unused function.
14874 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14876 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14877 reduce_sincos, improve accuracy to 136 bits.
14878 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14879 (__sin): Use improved reduction and simplified do_sincos calculation.
14881 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14883 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14885 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14886 (do_sincos_2): Likewise.
14887 (__sin): Remove middle range reduction case.
14889 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14892 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14894 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14895 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14898 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14900 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14902 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14905 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14907 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14908 Remove definitions.
14909 (opendir_oflags): Use O_DIRECTORY regardless.
14910 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14911 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14913 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14915 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14916 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14918 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14919 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14920 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14921 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14922 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14923 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14925 * htl/Makefile: Bump licence to LGPL 2.1+.
14926 * htl/alloca_cutoff.c: Likewise.
14927 * htl/cthreads-compat.c: Likewise.
14928 * htl/lockfile.c: Likewise.
14929 * htl/pt-alloc.c: Likewise.
14930 * htl/pt-cancel.c: Likewise.
14931 * htl/pt-cleanup.c: Likewise.
14932 * htl/pt-create.c: Likewise.
14933 * htl/pt-dealloc.c: Likewise.
14934 * htl/pt-detach.c: Likewise.
14935 * htl/pt-exit.c: Likewise.
14936 * htl/pt-getattr.c: Likewise.
14937 * htl/pt-initialize.c: Likewise.
14938 * htl/pt-internal.h: Likewise.
14939 * htl/pt-join.c: Likewise.
14940 * htl/pt-self.c: Likewise.
14941 * htl/pt-setcancelstate.c: Likewise.
14942 * htl/pt-setcanceltype.c: Likewise.
14943 * htl/pt-sigmask.c: Likewise.
14944 * htl/pt-spin-inlines.c: Likewise.
14945 * htl/pt-testcancel.c: Likewise.
14946 * htl/pt-yield.c: Likewise.
14947 * htl/tests/test-1.c: Likewise.
14948 * htl/tests/test-10.c: Likewise.
14949 * htl/tests/test-11.c: Likewise.
14950 * htl/tests/test-12.c: Likewise.
14951 * htl/tests/test-13.c: Likewise.
14952 * htl/tests/test-14.c: Likewise.
14953 * htl/tests/test-15.c: Likewise.
14954 * htl/tests/test-16.c: Likewise.
14955 * htl/tests/test-17.c: Likewise.
14956 * htl/tests/test-2.c: Likewise.
14957 * htl/tests/test-3.c: Likewise.
14958 * htl/tests/test-4.c: Likewise.
14959 * htl/tests/test-5.c: Likewise.
14960 * htl/tests/test-6.c: Likewise.
14961 * htl/tests/test-7.c: Likewise.
14962 * htl/tests/test-8.c: Likewise.
14963 * htl/tests/test-9.c: Likewise.
14964 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14965 * sysdeps/htl/bits/cancelation.h: Likewise.
14966 * sysdeps/htl/bits/pthread-np.h: Likewise.
14967 * sysdeps/htl/bits/pthread.h: Likewise.
14968 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14969 * sysdeps/htl/bits/semaphore.h: Likewise.
14970 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14971 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14972 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14973 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14974 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14975 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14976 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14977 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14978 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14979 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14980 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14981 * sysdeps/htl/old_pt-atfork.c: Likewise.
14982 * sysdeps/htl/pt-atfork.c: Likewise.
14983 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14984 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14985 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14986 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14987 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14988 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14989 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14990 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14991 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14992 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14993 * sysdeps/htl/pt-attr-init.c: Likewise.
14994 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14995 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14996 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14997 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14998 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14999 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15000 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15001 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15002 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15003 * sysdeps/htl/pt-attr.c: Likewise.
15004 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15005 * sysdeps/htl/pt-barrier-init.c: Likewise.
15006 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15007 * sysdeps/htl/pt-barrier.c: Likewise.
15008 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15009 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15010 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15011 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15012 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15013 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15014 * sysdeps/htl/pt-cond-init.c: Likewise.
15015 * sysdeps/htl/pt-cond-signal.c: Likewise.
15016 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15017 * sysdeps/htl/pt-cond-wait.c: Likewise.
15018 * sysdeps/htl/pt-cond.c: Likewise.
15019 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15020 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15021 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15022 * sysdeps/htl/pt-condattr-init.c: Likewise.
15023 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15024 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15025 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15026 * sysdeps/htl/pt-equal.c: Likewise.
15027 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15028 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15029 * sysdeps/htl/pt-getschedparam.c: Likewise.
15030 * sysdeps/htl/pt-getspecific.c: Likewise.
15031 * sysdeps/htl/pt-init-specific.c: Likewise.
15032 * sysdeps/htl/pt-key-create.c: Likewise.
15033 * sysdeps/htl/pt-key-delete.c: Likewise.
15034 * sysdeps/htl/pt-key.h: Likewise.
15035 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15036 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15037 * sysdeps/htl/pt-mutex-init.c: Likewise.
15038 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15039 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15040 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15041 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15042 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15043 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15044 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15045 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15046 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15047 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15048 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15049 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15050 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15051 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15052 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15053 * sysdeps/htl/pt-mutexattr.c: Likewise.
15054 * sysdeps/htl/pt-once.c: Likewise.
15055 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15056 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15057 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15058 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15059 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15060 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15061 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15062 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15063 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15064 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15065 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15066 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15067 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15068 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15069 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15070 * sysdeps/htl/pt-setschedparam.c: Likewise.
15071 * sysdeps/htl/pt-setschedprio.c: Likewise.
15072 * sysdeps/htl/pt-setspecific.c: Likewise.
15073 * sysdeps/htl/pt-spin.c: Likewise.
15074 * sysdeps/htl/pt-startup.c: Likewise.
15075 * sysdeps/htl/pthread.h: Likewise.
15076 * sysdeps/htl/sem-close.c: Likewise.
15077 * sysdeps/htl/sem-destroy.c: Likewise.
15078 * sysdeps/htl/sem-getvalue.c: Likewise.
15079 * sysdeps/htl/sem-init.c: Likewise.
15080 * sysdeps/htl/sem-open.c: Likewise.
15081 * sysdeps/htl/sem-post.c: Likewise.
15082 * sysdeps/htl/sem-timedwait.c: Likewise.
15083 * sysdeps/htl/sem-trywait.c: Likewise.
15084 * sysdeps/htl/sem-unlink.c: Likewise.
15085 * sysdeps/htl/sem-wait.c: Likewise.
15086 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15087 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15088 * sysdeps/mach/htl/pt-block.c: Likewise.
15089 * sysdeps/mach/htl/pt-spin.c: Likewise.
15090 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15091 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15092 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15093 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15094 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15095 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15096 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15097 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15098 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15099 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15100 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15101 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15102 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15103 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15104 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15105 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15106 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15107 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15108 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15109 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15110 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15111 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15112 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15113 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15114 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15115 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15116 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15117 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15118 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15119 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15120 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15121 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15122 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15123 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15124 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15125 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15126 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15127 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15128 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15129 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15130 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15131 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15132 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15134 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15135 * README: Remove the mention of out-of-tree patches needed for
15138 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15139 (UTIME_NOW, UTIME_OMIT): Define macros.
15141 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15142 instead of pthread_detach.
15143 (__cthread_fork): Call __pthread_create instead of pthread_create.
15144 (__cthread_keycreate): Call __pthread_key_create instead of
15145 pthread_key_create.
15146 (__cthread_getspecific): Call __pthread_getspecific instead of
15147 pthread_getspecific.
15148 (__cthread_setspecific): Call __pthread_setspecific instead of
15149 pthread_setspecific.
15150 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15151 __pthread_mutex_unlock instead of pthread_mutex_lock and
15152 pthread_mutex_unlock.
15153 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15154 ___pthread_get_cleanup_stack.
15155 (__pthread_get_cleanup_stack): New strong alias.
15156 * htl/pt-create.c: Include <pthreadP.h>.
15157 (entry_point): Call __pthread_exit instead of pthread_exit.
15158 (pthread_create): Rename to __pthread_create.
15159 (pthread_create): New strong alias.
15160 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15161 (pthread_detach): New strong alias.
15162 (__pthread_detach): Call __pthread_cond_broadcast instead of
15163 pthread_cond_broadcast.
15164 * htl/pt-exit.c: Include <pthreadP.h>.
15165 (__pthread_exit): Call __pthread_setcancelstate and
15166 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15167 __pthread_get_cleanup_stack.
15168 * htl/pt-testcancel.c: Include <pthreadP.h>.
15169 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15170 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15171 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15172 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15173 pthread_attr_getstacksize.
15174 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15175 Rename to __pthread_attr_getstackaddr.
15176 (pthread_attr_getstackaddr): New strong alias.
15177 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15178 Rename to __pthread_attr_getstacksize.
15179 (pthread_attr_getstacksize): New strong alias.
15180 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15181 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15182 (pthread_attr_setstack): New strong alias.
15183 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15184 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15185 pthread_attr_getstacksize, pthread_attr_setstacksize and
15186 pthread_attr_setstackaddr.
15187 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15188 Rename to __pthread_attr_setstackaddr.
15189 (pthread_attr_setstackaddr): New strong alias.
15190 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15191 Rename to __pthread_attr_setstacksize.
15192 (pthread_attr_setstacksize): New strong alias.
15193 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15194 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15196 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15197 (__pthread_key_create): New hidden def.
15198 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15199 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15200 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15201 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15202 __pthread_setspecific, __pthread_setcancelstate,
15203 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15204 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15205 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15207 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15208 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15209 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15210 (pthread_attr_setstackaddr): New strong alias.
15211 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15212 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15213 (pthread_attr_setstacksize): New strong alias.
15214 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15215 (call_exit): Call __pthread_exit instead of pthread_exit.
15216 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15217 (_pthread_mutex_init): New hidden definition.
15218 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15219 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15220 instead of pthread_attr_init and pthread_attr_setstack.
15222 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15223 __vm_deallocate instead of vm_allocate and vm_deallocate.
15224 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15226 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15228 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15230 * hurd/siginfo.c: Include <libioP.h>.
15231 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15232 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15234 * mach/devstream.c: Include <libioP.h>.
15235 (dealloc_ref): Call __mach_port_deallocate instead of
15236 mach_port_deallocate.
15237 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15238 Call __mach_port_deallocate instead of mach_port_deallocate.
15239 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15241 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15243 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15244 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15245 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15247 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15249 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15250 instead of sysconf.
15251 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15252 __clock_gettime instead of clock_gettime.
15253 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15254 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15255 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15256 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15257 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15259 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15260 __clock_gettime and __nanosleep instead of clock_gettime and
15262 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15263 __hurd_catch_signal.
15264 (hurd_catch_signal): New strong alias.
15265 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15266 __hurd_catch_signal instead of hurd_catch_signal.
15267 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15268 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15269 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15270 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15271 (_hurd_thread_sigstate): Add hidden def.
15272 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15274 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15275 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15276 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15277 __hurd_file_name_path_lookup.
15278 (hurd_file_name_path_lookup): New strong alias.
15279 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15280 hurd_file_name_path_lookup.
15281 * mach/errstring.c (mach_error_type): Add hidden def.
15282 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15283 * mach/mutex-init.c (__mutex_init): Add hidden def.
15284 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15285 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15286 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15287 * sysdeps/mach/hurd/getcwd.c
15288 (_hurd_canonicalize_directory_name_internal): Rename to
15289 __hurd_canonicalize_directory_name_internal.
15290 (_hurd_canonicalize_directory_name_internal): New strong alias.
15291 (__canonicalize_directory_name_internal, __getcwd): Call
15292 __hurd_canonicalize_directory_name_internal instead of
15293 _hurd_canonicalize_directory_name_internal.
15294 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15295 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15297 * sysdeps/hurd/include/hurd.h: New file.
15298 * sysdeps/hurd/include/hurd/fd.h: New file.
15299 * sysdeps/hurd/include/hurd/signal.h: New file.
15300 * sysdeps/mach/include/lock-intern.h: New file.
15301 * sysdeps/mach/include/mach.h: New file.
15302 * sysdeps/mach/include/mach/mig_support.h: New file.
15303 * sysdeps/mach/include/mach_error.h: New file.
15304 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15306 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15307 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15308 _HEADER_H_HIDDEN_DEF macro.
15309 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15310 _hurd_fd_error_signal): Add hidden prototype.
15311 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15313 * libio/iolibio.h (_IO_puts): New hidden prototype.
15314 * libio/ioputs.c (_IO_puts): New hidden def.
15315 * sysdeps/mach/hurd/localplt.data: New file.
15317 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15318 Amos Jeffries <squid3@treenet.co.nz>
15319 David Michael <fedora.dm0@gmail.com>
15320 Marco Gerards <marco@gnu.org>
15321 Marcus Brinkmann <marcus@gnu.org>
15322 Neal H. Walfield <neal@gnu.org>
15323 Pino Toscano <toscano.pino@tiscali.it>
15324 Richard Braun <rbraun@sceen.net>
15325 Roland McGrath <roland@gnu.org>
15326 Samuel Thibault <samuel.thibault@ens-lyon.org>
15327 Thomas DiModica <ricinwich@yahoo.com>
15328 Thomas Schwinge <tschwinge@gnu.org>
15330 * htl: New directory.
15331 * sysdeps/htl: New directory.
15332 * sysdeps/hurd/htl: New directory.
15333 * sysdeps/i386/htl: New directory.
15334 * sysdeps/mach/htl: New directory.
15335 * sysdeps/mach/hurd/htl: New directory.
15336 * sysdeps/mach/hurd/i386/htl: New directory.
15337 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15338 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15339 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15341 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15343 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15344 signals in thread created for runing timers.
15346 2018-04-01 Florian Weimer <fweimer@redhat.com>
15348 * support/support_format_addrinfo.c (support_format_addrinfo):
15349 Include unknown error number in formatted result.
15351 2018-03-29 Florian Weimer <fweimer@redhat.com>
15353 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15356 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15358 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15359 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15360 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15361 (__ASSUME_CLONE_BACKWARDS): Define.
15363 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15366 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15367 early when linux sentinel value is set.
15369 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15371 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15373 2018-03-27 Andreas Schwab <schwab@suse.de>
15376 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15377 allocation of private copy of nsaddr_list fails.
15379 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15382 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15383 * sysdeps/unix/sysv/linux/umount.c: ... here.
15384 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15385 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15386 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15387 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15389 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15390 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15392 2018-03-26 Andreas Schwab <schwab@suse.de>
15394 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15395 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15396 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15397 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15398 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15399 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15400 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15401 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15402 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15403 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15404 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15405 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15406 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15407 (R_RISCV_NUM): Define.
15409 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15411 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15412 TLS declaration of errno.
15413 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15415 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15416 (ARCH_SETUP_TLS): Likewise.
15417 * sysdeps/mach/hurd/libc-start.h: New file copied from
15418 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15419 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15420 instead of __libc_setup_tls.
15421 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15422 __libc_setup_tls before initializing libpthread and running _hurd_init
15423 which starts the signal thread.
15424 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15426 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15428 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15431 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15432 after it is defined.
15434 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15435 Max Horn <max@quendi.de>
15439 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15441 * string/test-memmove.c (do_test2): New testcase.
15443 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15445 * sysdeps/generic/frame.h: Remove file.
15446 * sysdeps/arm/frame.h: Likewise.
15447 * sysdeps/hppa/frame.h: Likewise.
15448 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15450 (GET_FRAME): Likewise.
15451 (GET_STACK): Likewise.
15452 (CALL_SIGHANDLER): Likewise.
15453 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15455 (GET_FRAME): Likewise.
15456 (GET_STACK): Likewise.
15457 (CALL_SIGHANDLER): Likewise.
15458 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15459 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15460 (GET_FRAME): Likewise.
15461 (GET_STACK): Likewise.
15462 (CALL_SIGHANDLER): Likewise.
15463 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15464 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15465 (GET_FRAME): Likewise.
15466 (GET_STACK): Likewise.
15467 (ADVANCE_STACK_FRAME): Likewise.
15468 (CALL_SIGHANDLER): Likewise.
15469 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15470 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15471 (GET_FRAME): Likewise.
15472 (GET_STACK): Likewise.
15473 (CALL_SIGHANDLER): Likewise.
15474 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15475 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15476 (GET_FRAME): Likewise.
15477 (GET_STACK): Likewise.
15478 (CALL_SIGHANDLER): Likewise.
15479 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15480 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15481 (GET_FRAME): Likewise.
15482 (GET_STACK): Likewise.
15483 (CALL_SIGHANDLER): Likewise.
15484 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15485 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15486 (GET_FRAME): Likewise.
15487 (GET_STACK): Likewise.
15488 (CALL_SIGHANDLER): Likewise.
15489 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15490 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15491 (GET_FRAME): Likewise.
15492 (GET_STACK): Likewise.
15493 (CALL_SIGHANDLER): Likewise.
15494 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15495 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15496 (GET_FRAME): Likewise.
15497 (GET_STACK): Likewise.
15498 (CALL_SIGHANDLER): Likewise.
15499 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15500 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15501 (GET_FRAME): Likewise.
15502 (GET_STACK): Likewise.
15503 (CALL_SIGHANDLER): Likewise.
15504 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15505 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15506 (GET_FRAME): Likewise.
15507 (GET_STACK): Likewise.
15508 (CALL_SIGHANDLER): Likewise.
15509 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15510 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15511 (GET_FRAME): Likewise.
15512 (GET_STACK): Likewise.
15513 (CALL_SIGHANDLER): Likewise.
15514 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15515 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15516 (FIRST_FRAME_POINTER): Likewise.
15517 (ADVANCE_STACK_FRAME): Likewise.
15518 (GET_STACK): Likewise.
15519 (GET_FRAME): Likewise.
15520 (CALL_SIGHANDLER): Likewise.
15521 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15522 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15523 (ADVANCE_STACK_FRAME): Likewise.
15524 (GET_STACK): Likewise.
15525 (GET_FRAME): Likewise.
15526 (CALL_SIGHANDLER): Likewise.
15527 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15528 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15529 (GET_FRAME): Likewise.
15530 (GET_STACK): Likewise.
15531 (CALL_SIGHANDLER): Likewise.
15532 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15533 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15534 (GET_FRAME): Likewise.
15535 (GET_STACK): Likewise.
15536 (CALL_SIGHANDLER): Likewise.
15538 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15540 * sysdeps/x86_64/backtrace.c: Move to ....
15541 * debug/backtrace.c: ... here.
15542 * sysdeps/aarch64/backtrace.c: Remove file.
15543 * sysdeps/alpha/backtrace.c: Likewise.
15544 * sysdeps/hppa/backtrace.c: Likewise.
15545 * sysdeps/ia64/backtrace.c: Likewise.
15546 * sysdeps/mips/backtrace.c: Likewise.
15547 * sysdeps/nios2/backtrace.c: Likewise.
15548 * sysdeps/riscv/backtrace.c: Likewise.
15549 * sysdeps/sh/backtrace.c: Likewise.
15550 * sysdeps/tile/backtrace.c: Likewise.
15552 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15555 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15558 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15561 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15562 possibly overflowing computations.
15564 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15566 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15567 values from Linux-specific section now that it is in the GNU section.
15568 * sysdeps/gnu/errlist.c: Regenerate.
15570 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15572 * math/Makefile (libm-narrow-fns): Add sub.
15573 (libm-test-funcs-narrow): Likewise.
15574 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15575 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15576 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15577 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15578 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15579 (NARROW_SUB_TRIVIAL): Likewise.
15580 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15582 (__dsubl): Likewise.
15583 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15585 (CFLAGS-nldbl-dsub.c): New variable.
15586 (CFLAGS-nldbl-fsub.c): Likewise.
15587 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15589 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15591 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15592 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15593 * math/auto-libm-test-in: Add tests of sub.
15594 * math/auto-libm-test-out-narrow-sub: New generated file.
15595 * math/libm-test-narrow-sub.inc: New file.
15596 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15597 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15598 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15599 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15600 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15601 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15607 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15608 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15610 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15611 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15612 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15613 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15615 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15617 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15618 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15620 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15621 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15622 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15623 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15624 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15632 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15633 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15634 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15635 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15636 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15637 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15638 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15639 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15640 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15641 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15643 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15646 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15648 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15650 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15652 2018-03-18 Richard Braun <rbraun@sceen.net>
15654 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15657 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15659 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15660 (__libc_cleanup_fct): Define function.
15661 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15662 __libc_cleanup_end): Rewrite implementation using
15663 __attribute__ ((__cleanup__)).
15664 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15665 * hurd/Makefile (routines): Add hurdlock.
15666 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15668 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15669 * hurd/hurdpid.c: Include <lowlevellock.h>
15670 (_S_msg_proc_newids): Use lll_wait to synchronize.
15671 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15672 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15673 * mach/Makefile (lock-headers): Remove machine-lock.h.
15674 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15676 (__spin_lock_t): New type.
15677 (__SPIN_LOCK_INITIALIZER): New macro.
15678 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15679 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15680 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15681 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15682 (__mutex_init): Initialize with lll.
15683 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15684 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15686 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15687 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15688 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15689 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15690 (__setpgid): Use lll for synchronization.
15691 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15692 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15693 instead of <cthreads.h>.
15694 (_IO_lock_inexpensive): New macro
15695 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15696 (__libc_lock_self0): New declaration.
15697 (__libc_lock_owner_self): New macro.
15698 (__libc_key_t): Remove type.
15699 (_LIBC_LOCK_INITIALIZER): New macro.
15700 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15701 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15702 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15703 __libc_lock_define_initialized_recursive,
15704 __rtld_lock_define_initialized_recursive,
15705 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15706 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15707 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15708 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15709 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15710 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15711 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15713 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15714 * hurd/hurdlock.c: New file.
15715 * hurd/hurdlock.h: New file.
15716 * mach/lowlevellock.h: New file
15718 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15720 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15721 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15722 when opening a symlink with O_NOFOLLOW.
15723 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15724 path when flags contains O_NOFOLLOW.
15725 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15726 if flags contains O_DIRECTORY and the result is a directory.
15727 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15728 oneself when the pointer given in D is nul (as set by ext2fs).
15729 * sysdeps/mach/hurd/mlockall.c: New file.
15730 * sysdeps/mach/hurd/munlockall.c: New file.
15732 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15734 * hurd/hurdsig.c: Include <pthread.h>.
15735 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15736 get the signal thread stack layout.
15737 * hurd/Makefile (headers): Remove threadvar.h.
15738 (inline-headers): Remove threadvar.h.
15739 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15740 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15741 __hurd_threadvar_max, __hurd_errno_location.
15742 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15743 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15744 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15745 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15746 unless TLS is not initialized yet, in which case we do not need a
15747 critical section yet anyway.
15748 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15750 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15752 (__hurd_threadvar_index): Remove enum.
15753 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15754 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15756 (__hurd_reply_port0): New variable declaration.
15757 (__hurd_local_reply_port): New macro.
15758 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15759 (interrupted_reply_port_location): Add thread_t parameter. Use it
15760 with THREAD_TCB to access thread-local variables.
15761 (_hurdsig_abort_rpcs): Pass ss->thread to
15762 interrupted_reply_port_location.
15763 (_hurd_internal_post_signal): Likewise.
15764 (_hurdsig_init): Use presence of cthread_fork instead of
15765 __hurd_threadvar_stack_mask to start signal thread by hand.
15766 Remove signal thread threadvar initialization.
15767 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15768 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15769 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15771 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15773 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15774 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15775 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15776 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15777 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15778 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15779 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15781 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15782 <hurd/threadvar.h>.
15783 [IS_IN(rtld)] (rtld_errno): New variable.
15784 [IS_IN(rtld)] (__errno_location): New weak function.
15785 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15786 * sysdeps/mach/hurd/errno.c: Remove file.
15787 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15788 (__fork): Remove THREADVAR_SPACE macro and its use.
15789 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15791 (init): Do not initialize threadvar.
15792 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15794 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15795 __hurd_local_reply_port instead of threadvar.
15796 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15797 _hurd_sigstate fields.
15798 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15799 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15800 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15801 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15802 instead of threadvar.
15803 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15804 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15805 (use_threadvar, global_reply_port): Remove variables.
15806 (__hurd_reply_port0): New variable.
15807 (__mig_get_reply_port): Use __hurd_local_reply_port and
15808 __hurd_reply_port0 instead of threadvar.
15809 (__mig_dealloc_reply_port): Likewise.
15810 (__mig_init): Do not initialize threadvar.
15811 * sysdeps/mach/hurd/profil.c: Fix comment.
15812 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15813 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15814 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15815 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15816 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15817 __cthread_setspecific.
15818 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15819 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15820 __cthread_t instead of cthread_fork, cthread_detach,
15821 pthread_getattr_np, pthread_attr_getstack.
15822 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15823 __cthread_keycreate.
15824 (cthread_getspecific): Rename to __cthread_getspecific.
15825 (cthread_setspecific): Rename to __cthread_setspecific.
15826 (__libc_getspecific): Use __cthread_getspecific instead of
15827 cthread_getspecific.
15828 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15829 __cthread_keycreate instead of cthread_keycreate.
15830 (__libc_setspecific): Use __cthread_setspecific instead of
15831 cthread_setspecific.
15832 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15835 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15836 testing whether it is defined.
15838 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15840 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15842 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15843 * sysdeps/mach/i386/thread_state.h
15844 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15846 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15848 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15850 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15851 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15853 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15855 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15856 descriptor instead of creating a new one.
15857 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15859 * mach/setup-thread.c: Include <ldsodefs.h>.
15860 (__mach_setup_thread): Call _dl_allocate_tls, pass
15861 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15862 MACHINE_THREAD_STATE_FLAVOR, before getting
15863 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15864 MACHINE_THREAD_STATE_FLAVOR with the result.
15865 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15866 MACHINE_THREAD_STATE_FIX_NEW.
15867 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15868 too. Add original thread parameter.
15870 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15872 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15873 Remove inline function.
15875 * sysdeps/i386/fpu/libm-test-ulps: Update.
15876 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15878 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15880 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15883 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15885 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15886 (__sincos_code): Remove define and undefine.
15887 [__FAST_MATH__] (__sincos): Remove inline function.
15888 [__FAST_MATH__] (__sincosf): Remove inline function.
15889 [__FAST_MATH__] (__sincosl): Remove inline function.
15890 (__atan2l): Remove inline functions.
15891 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15892 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15894 (floor): Remove inline function.
15896 [__FAST_MATH__] (__ldexp_code): Remove macro.
15897 [__FAST_MATH__] (ldexp): Remove inline function.
15898 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15899 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15900 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15901 [__USE_ISOC99] (__lrint_code): Remove macro.
15902 [__USE_ISOC99] (__llrint_code): Likewise.
15903 [__USE_ISOC99] (lrintf): Remove inline function.
15904 [__USE_ISOC99] (lrint): Likewise.
15905 [__USE_ISOC99] (lrintl): Likewise.
15906 [__USE_ISOC99] (llrint): Likewise.
15907 [__USE_ISOC99] (llrintf): Likewise.
15908 [__USE_ISOC99] (llrintl): Likewise.
15910 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15912 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15913 (__ieee754_sqrtf): Remove.
15914 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15915 (__ieee754_sqrtf): Remove.
15916 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15917 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15918 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15919 (__ieee754_sqrtf): Remove.
15920 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15921 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15924 (__ieee754_sqrt): Remove.
15925 (__ieee754_sqrtf): Remove.
15926 (__ieee754_sqrtl): Remove.
15927 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15928 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15929 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15930 (__ieee754_sqrtf): Remove.
15931 (__ieee754_sqrtl): Remove.
15933 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15935 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15936 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15937 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15938 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15939 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15940 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15941 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15942 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15944 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15945 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15946 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15947 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15948 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15949 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15950 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15951 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15952 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15953 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15954 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15955 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15957 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15958 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15959 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15960 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15961 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15962 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15963 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15966 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15967 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15968 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15969 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15972 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15973 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15974 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15975 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15976 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15977 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15978 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15979 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15980 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15981 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15982 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15983 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15985 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15987 * include/math.h (sqrt): Declare with asm redirect.
15990 (sqrtf128): Likewise.
15991 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15992 nonlib and libnldbl with -fmath-errno.
15993 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15994 * math/w_sqrt_template.c: Likewise.
15995 * math/w_sqrtf_compat.c: Likewise.
15996 * math/w_sqrtl_compat.c: Likewise.
15997 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15998 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15999 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16002 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16004 * benchtests/Makefile: Define _ISOMAC.
16005 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16006 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16007 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16008 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16009 * benchtests/bench-timing.h: Define attribute_hidden.
16011 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16013 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16016 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16019 * localedata/locales/cs_CZ (mon): Rename to...
16021 (mon): Import from CLDR (genitive case).
16023 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16026 * localedata/locales/el_CY (abmon): Rename to...
16027 (ab_alt_mon): This.
16028 (abmon): Import from CLDR (abbreviated genitive case).
16029 * localedata/locales/el_GR (abmon): Rename to...
16030 (ab_alt_mon): This.
16031 (abmon): Import from CLDR (abbreviated genitive case).
16033 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16036 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16038 2018-03-15 Robert Buj <robert.buj@gmail.com>
16041 * localedata/locales/ca_ES (abmon): Rename to...
16042 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16043 (mon): Rename to...
16045 (abmon): Import from CLDR (genitive case, month names preceded by
16048 (abday): Synchronize with CLDR.
16049 (d_t_fmt): Likewise.
16053 (LC_TIME): Improve indentation.
16054 (LC_TELEPHONE): Likewise.
16055 (LC_NAME): Likewise.
16056 (LC_ADDRESS): Likewise.
16058 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16060 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16061 (lrintf): Remove definitions used only with old GCC.
16062 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16063 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16064 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16065 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16066 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16067 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16068 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16069 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16070 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16071 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16072 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16073 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16074 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16075 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16076 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16077 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16078 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16079 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16080 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16081 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16082 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16083 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16084 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16085 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16086 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16087 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16088 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16089 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16091 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16093 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16094 instruction to unbreak builds with binutils 2.26 and older.
16096 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16098 * sysdeps/aarch64/strncmp.S (count): New macro.
16099 (strncmp): Store misaligned length in SRC1 in COUNT.
16100 (mutual_align): Adjust.
16101 (misaligned8): Load dword at a time when it is safe.
16103 2018-03-12 Zack Weinberg <zackw@panix.com>
16107 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16108 if the _IO_EOF_SEEN bit is already set; update commentary.
16109 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16110 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16112 * support/support_openpty.c, support/tty.h: New files.
16113 * support/Makefile (libsupport-routines): Add support_openpty.
16115 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16117 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16118 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16120 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16122 * po/pt_BR.po: Update translations.
16124 2018-03-12 David Michael <fedora.dm0@gmail.com>
16126 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16127 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16128 get a port to the startup server.
16130 2018-03-11 Zack Weinberg <zackw@panix.com>
16132 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16133 before nldbl-compat.h.
16135 2018-03-10 Zack Weinberg <zackw@panix.com>
16137 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16138 math.h or math_private.h.
16140 * sysdeps/alpha/fpu/s_isnan.c
16141 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16142 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16143 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16144 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16145 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16146 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16147 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16148 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16149 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16152 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16153 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16154 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16155 Include math_private.h.
16157 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16158 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16159 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16160 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16161 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16162 * sysdeps/powerpc/power7/fpu/s_logb.c:
16163 Include math.h and math_private.h.
16165 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16166 uses of $at in .set noat / .set at.
16168 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16170 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16171 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16172 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16173 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16176 2018-03-09 Florian Weimer <fweimer@redhat.com>
16178 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16181 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16184 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16185 Add nop before __startcontext, add explaining comments.
16187 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16190 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16192 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16193 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16194 Do not build hardware transactional code for __SPE__.
16195 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16196 (__lll_trylock_elision): Likewise.
16197 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16198 (__lll_unlock_elision): Likewise.
16200 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16201 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16202 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16203 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16204 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16205 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16206 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16207 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16208 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16209 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16210 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16211 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16212 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16213 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16214 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16215 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16216 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16217 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16218 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16219 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16220 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16221 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16222 (__ASSUME_CLONE_BACKWARDS): Define.
16223 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16224 __clone2 if __NR_clone2 is defined.
16225 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16226 (__ASSUME_CLONE_BACKWARDS): Likewise.
16227 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16228 (__ASSUME_CLONE_BACKWARDS): Likewise.
16229 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16230 (__ASSUME_CLONE2): Likewise.
16231 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16232 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16233 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16234 variants and the define architecture can use.
16235 (__ASSUME_CLONE_DEFAULT): Define as default.
16236 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16237 (__ASSUME_CLONE_BACKWARDS): Likewise.
16238 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16239 (__ASSUME_CLONE_BACKWARDS): Likewise.
16240 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16241 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16243 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16245 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16247 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16250 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16251 (do_test_limit): Likewise.
16253 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16254 for every implementation.
16255 (do_test): Likewise.
16257 * benchtests/bench-strncmp.c: Convert output to json.
16259 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16261 * io/futimens.c: Add missing start-of-file descriptive comment.
16262 * io/utime.c: Likewise.
16263 * misc/futimesat.c: Likewise.
16264 * misc/utimes.c: Likewise.
16265 * sysdeps/mach/hurd/futimesat.c: Likewise.
16266 * sysdeps/mach/hurd/utimes.c: Likewise.
16267 * sysdeps/posix/utime.c: Likewise.
16268 * sysdeps/posix/utimes.c: Likewise.
16269 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16270 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16271 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16272 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16274 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16276 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16278 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16279 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16280 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16281 (__futimens): Move implementation to...
16282 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16283 utime_tvalue_from_tspec): ... new helper functions.
16284 (hurd_futimens): New function.
16285 * sysdeps/mach/hurd/futimesat.c: New file.
16286 * sysdeps/mach/hurd/utimensat.c: New file.
16288 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16290 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16291 UTIME_OMIT): New macros.
16292 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16293 before reverting to converting time spec to time value and calling
16295 * sysdeps/mach/hurd/utime-helper.c: New file.
16296 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16297 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16298 reverting to utime_tvalue_from_tval and __file_utimes.
16299 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16300 (__lutimes): Just call hurd_futimens after lookup.
16301 * sysdeps/mach/hurd/utimes.c: Likewise.
16303 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16305 * bits/sigaction.h: Add include guard.
16306 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16307 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16308 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16309 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16310 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16311 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16312 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16313 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16314 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16316 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16318 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16319 -Wmaybe-uninitialized for -Os.
16320 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16323 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16325 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16326 __INO_T_MATCHES_INO64_T is defined.
16327 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16328 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16330 * dirent/alphasort64.c: Likewise.
16331 * dirent/scandir.c: Likewise.
16332 * dirent/scandir64-tail.c: Likewise.
16333 * dirent/scandir64.c: Likewise.
16334 * dirent/scandirat.c: Likewise.
16335 * dirent/scandirat64.c: Likewise.
16336 * dirent/versionsort.c: Likewise.
16337 * dirent/versionsort64.c: Likewise.
16338 * include/dirent.h: Likewise.
16340 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16341 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16342 for socketpair endpoint.
16343 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16344 WRITE_BUFFER_SIZE as buffer size for sending socket.
16345 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16346 issue on system where send is implemented with sendto syscall.
16347 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16348 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16349 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16350 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16353 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16354 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16355 sa_restorer for vDSO case.
16356 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16358 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16360 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16361 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16362 * hurd/hurd/ioctl.h: Include <mach/port.h>
16363 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16364 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16365 <mach/mach_types.h> and <mach/message.h>.
16366 (headers): Move mach/param.h to bits/mach/param.h.
16367 * sysdeps/mach/i386/mach/param.h: Move file to ...
16368 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16369 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16371 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16372 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16373 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16374 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16375 trivial, for C++ conformity.
16376 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16377 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16378 Process mig output through $(migheadersed).
16379 * hurd/Makefile (migheadersed): Define variable.
16380 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16381 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16383 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16384 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16385 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16386 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16387 <bits/types/sigset_t.h>.
16388 [!defined __USE_GNU]: Do not #error out.
16389 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16390 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16391 Include <stddef.h> and <bits/types/sigset_t.h>
16392 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16393 instead of sighandler_t.
16394 * stdlib/errno.h (error_t): Move definition to...
16395 * bits/types/error_t.h: ... new header.
16396 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16397 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16398 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16399 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16400 * hurd/hurd.h: Include <bits/types/error_t.h>
16401 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16402 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16403 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16404 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16405 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16406 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16407 * sysdeps/mach/hurd/futimens.c: New file.
16409 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16412 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16413 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16414 * nscd/gai.c (__nss_hosts_database): Readd definition.
16415 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16416 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16417 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16419 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16421 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16422 (ifunc_one): Likewise.
16424 2018-03-01 DJ Delorie <dj@delorie.com>
16427 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16430 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16432 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16433 `match_pid' parameter.
16434 (td_ta_thr_iter): Update accordingly.
16436 2018-03-01 Florian Weimer <fweimer@redhat.com>
16438 * nptl/Makefile (install-lib-ldscripts): Remove.
16439 (install): Remove rule.
16440 ($(inst_libdir)/libpthread.so): Likewise.
16442 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16445 * localedata/locales/an_ES: update month and day names,
16446 improve d_fmt, improve postal_fmt, add country_post,
16449 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16451 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16452 Ukrainian instead of Bulgarian.
16454 2018-03-01 Florian Weimer <fweimer@redhat.com>
16456 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16459 2018-03-01 Florian Weimer <fweimer@redhat.com>
16461 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16462 * nptl/Makefile (routines): Add pthread_atfork.
16463 (static-only-routines): Set to pthread_atfork.
16464 (libpthread-routines): Remove pthread_atfork.
16465 (libpthread-static-only-routines): Remove.
16466 (install): Update comment.
16467 (libpthread.so): Do not install libpthread_nonshared.a.
16468 (tests): Do not link with libpthread_nonshared.a.
16469 (generated): Remove libpthread_nonshared.a.
16470 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16471 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16472 with libpthread_nonshared.a.
16474 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16477 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16478 (libc_feholdexcept_setroundf128): New macro.
16479 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16482 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16484 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16485 * include/inttypes.h: New file.
16487 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16489 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16490 -Os in two more places.
16492 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16494 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16495 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16496 be sorted correctly at the moment because of a bug.
16498 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16500 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16501 treat ñ as a primary different character, sync the collation
16502 for Spanish with CLDR.
16503 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16504 * localedata/Makefile: Add new test files.
16505 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16506 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16508 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16509 * localedata/am_ET.UTF-8.in: New test file.
16510 * localedata/az_AZ.UTF-8.in: Likewise.
16511 * localedata/be_BY.UTF-8.in: Likewise.
16512 * localedata/ber_DZ.UTF-8.in: Likewise.
16513 * localedata/ber_MA.UTF-8.in: Likewise.
16514 * localedata/bg_BG.UTF-8.in: Likewise.
16515 * localedata/br_FR.UTF-8.in: Likewise.
16516 * localedata/cmn_TW.UTF-8.in: Likewise.
16517 * localedata/crh_UA.UTF-8.in: Likewise.
16518 * localedata/csb_PL.UTF-8.in: Likewise.
16519 * localedata/cv_RU.UTF-8.in: Likewise.
16520 * localedata/cy_GB.UTF-8.in: Likewise.
16521 * localedata/dz_BT.UTF-8.in: Likewise.
16522 * localedata/eo.UTF-8.in: Likewise.
16523 * localedata/es_ES.UTF-8.in: Likewise.
16524 * localedata/fa_IR.UTF-8.in: Likewise.
16525 * localedata/fi_FI.UTF-8.in: Likewise.
16526 * localedata/fil_PH.UTF-8.in: Likewise.
16527 * localedata/fur_IT.UTF-8.in: Likewise.
16528 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16529 * localedata/ha_NG.UTF-8.in: Likewise.
16530 * localedata/ig_NG.UTF-8.in: Likewise.
16531 * localedata/ik_CA.UTF-8.in: Likewise.
16532 * localedata/kk_KZ.UTF-8.in: Likewise.
16533 * localedata/ku_TR.UTF-8.in: Likewise.
16534 * localedata/ky_KG.UTF-8.in: Likewise.
16535 * localedata/ln_CD.UTF-8.in: Likewise.
16536 * localedata/mi_NZ.UTF-8.in: Likewise.
16537 * localedata/ml_IN.UTF-8.in: Likewise.
16538 * localedata/mn_MN.UTF-8.in: Likewise.
16539 * localedata/mr_IN.UTF-8.in: Likewise.
16540 * localedata/mt_MT.UTF-8.in: Likewise.
16541 * localedata/nb_NO.UTF-8.in: Likewise.
16542 * localedata/om_KE.UTF-8.in: Likewise.
16543 * localedata/os_RU.UTF-8.in: Likewise.
16544 * localedata/ps_AF.UTF-8.in: Likewise.
16545 * localedata/ro_RO.UTF-8.in: Likewise.
16546 * localedata/ru_RU.UTF-8.in: Likewise.
16547 * localedata/sc_IT.UTF-8.in: Likewise.
16548 * localedata/se_NO.UTF-8.in: Likewise.
16549 * localedata/sq_AL.UTF-8.in: Likewise.
16550 * localedata/sv_SE.UTF-8.in: Likewise.
16551 * localedata/szl_PL.UTF-8.in: Likewise.
16552 * localedata/tg_TJ.UTF-8.in: Likewise.
16553 * localedata/tk_TM.UTF-8.in: Likewise.
16554 * localedata/tt_RU.UTF-8.in: Likewise.
16555 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16556 * localedata/ug_CN.UTF-8.in: Likewise.
16557 * localedata/uz_UZ.UTF-8.in: Likewise.
16558 * localedata/vi_VN.UTF-8.in: Likewise.
16559 * localedata/yi_US.UTF-8.in: Likewise.
16560 * localedata/yo_NG.UTF-8.in: Likewise.
16561 * localedata/zh_CN.UTF-8.in: Likewise.
16562 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16563 file and fix bugs in the collation.
16564 * localedata/locales/az_AZ: Likewise.
16565 * localedata/locales/be_BY: Likewise.
16566 * localedata/locales/ber_DZ: Likewise.
16567 * localedata/locales/ber_MA: Likewise.
16568 * localedata/locales/bg_BG: Likewise.
16569 * localedata/locales/br_FR: Likewise.
16570 * localedata/locales/br_FR@euro: Likewise.
16571 * localedata/locales/ca_ES: Likewise.
16572 * localedata/locales/cns11643_stroke: Likewise.
16573 * localedata/locales/crh_UA: Likewise.
16574 * localedata/locales/cs_CZ: Likewise.
16575 * localedata/locales/csb_PL: Likewise.
16576 * localedata/locales/cv_RU: Likewise.
16577 * localedata/locales/cy_GB: Likewise.
16578 * localedata/locales/da_DK: Likewise.
16579 * localedata/locales/dz_BT: Likewise.
16580 * localedata/locales/en_CA: Likewise.
16581 * localedata/locales/eo: Likewise.
16582 * localedata/locales/es_CU: Likewise.
16583 * localedata/locales/es_EC: Likewise.
16584 * localedata/locales/es_ES: Likewise.
16585 * localedata/locales/es_US: Likewise.
16586 * localedata/locales/et_EE: Likewise.
16587 * localedata/locales/fa_IR: Likewise.
16588 * localedata/locales/fi_FI: Likewise.
16589 * localedata/locales/fil_PH: Likewise.
16590 * localedata/locales/fur_IT: Likewise.
16591 * localedata/locales/gez_ER@abegede: Likewise.
16592 * localedata/locales/ha_NG: Likewise.
16593 * localedata/locales/hr_HR: Likewise.
16594 * localedata/locales/hsb_DE: Likewise.
16595 * localedata/locales/hu_HU: Likewise.
16596 * localedata/locales/ig_NG: Likewise.
16597 * localedata/locales/ik_CA: Likewise.
16598 * localedata/locales/is_IS: Likewise.
16599 * localedata/locales/iso14651_t1_pinyin: Likewise.
16600 * localedata/locales/kk_KZ: Likewise.
16601 * localedata/locales/ku_TR: Likewise.
16602 * localedata/locales/ky_KG: Likewise.
16603 * localedata/locales/ln_CD: Likewise.
16604 * localedata/locales/lt_LT: Likewise.
16605 * localedata/locales/lv_LV: Likewise.
16606 * localedata/locales/mi_NZ: Likewise.
16607 * localedata/locales/ml_IN: Likewise.
16608 * localedata/locales/mn_MN: Likewise.
16609 * localedata/locales/mr_IN: Likewise.
16610 * localedata/locales/mt_MT: Likewise.
16611 * localedata/locales/nb_NO: Likewise.
16612 * localedata/locales/om_KE: Likewise.
16613 * localedata/locales/os_RU: Likewise.
16614 * localedata/locales/pl_PL: Likewise.
16615 * localedata/locales/ps_AF: Likewise.
16616 * localedata/locales/ro_RO: Likewise.
16617 * localedata/locales/ru_RU: Likewise.
16618 * localedata/locales/ru_UA: Likewise.
16619 * localedata/locales/sc_IT: Likewise.
16620 * localedata/locales/se_NO: Likewise.
16621 * localedata/locales/si_LK: Likewise.
16622 * localedata/locales/sq_AL: Likewise.
16623 * localedata/locales/sv_FI: Likewise.
16624 * localedata/locales/sv_FI@euro: Likewise.
16625 * localedata/locales/sv_SE: Likewise.
16626 * localedata/locales/szl_PL: Likewise.
16627 * localedata/locales/tg_TJ: Likewise.
16628 * localedata/locales/ti_ER: Likewise.
16629 * localedata/locales/tk_TM: Likewise.
16630 * localedata/locales/tl_PH: Likewise.
16631 * localedata/locales/tr_TR: Likewise.
16632 * localedata/locales/tt_RU: Likewise.
16633 * localedata/locales/tt_RU@iqtelif: Likewise.
16634 * localedata/locales/ug_CN: Likewise.
16635 * localedata/locales/uk_UA: Likewise.
16636 * localedata/locales/uz_UZ: Likewise.
16637 * localedata/locales/uz_UZ@cyrillic: Likewise.
16638 * localedata/locales/vi_VN: Likewise.
16639 * localedata/locales/yi_US: Likewise.
16640 * localedata/locales/yo_NG: Likewise.
16642 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16644 * gen-locales.mk: Make test files which contain @ modifiers in their
16646 * localedata/gen-locale.sh: Likewise.
16648 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16650 * posix/tst-fnmatch.input: Fix results for range expressions
16652 * posix/tst-regexloc.c: Do not use a range expression for
16653 de_DE.ISO-8859-1 locale.
16655 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16657 * posix/bug-regex5.c: Fix test case because with the new
16658 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16659 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16662 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16664 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16665 downloaded from ISO, the collation order of @-. and space has changed.
16666 Therefore, this test file needed to be adapted.
16667 * localedata/fr_CA.UTF-8.in: Likewise.
16668 * localedata/fr_FR.UTF-8.in: Likewise.
16669 * localedata/uk_UA.UTF-8.in: Likewise.
16671 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16673 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16674 order of ȥ in the new iso14651_t1_common file.
16675 * localedata/pl_PL.UTF-8.in: Likewise.
16677 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16679 * localedata/locales/iso14651_t1_common: Add sections for various
16680 scripts to the iso14651_t1_common file.
16682 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16684 * localedata/locales/iso14651_t1_common: Use the code point of a
16685 character in the fourth collation level instead of IGNORE for all
16686 entries which have IGNORE on all 4 levels.
16688 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16690 * localedata/locales/iso14651_t1_common: Add some convenient collation
16691 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16692 rules similar to those in CLDR.
16694 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16696 * localedata/locales/iso14651_t1_common: The new version of this
16697 file downloaded from ISO contained several syntax errors which
16698 are fixed by this patch.
16700 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16702 * localedata/locales/iso14651_t1_common: replace all <U.....>
16703 with <U000.....> because glibc understands only 4 digit or 8 digit
16705 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16707 * localedata/locales/iso14651_t1_common: Necessary changes
16708 to make the file downloaded from ISO usable by glibc.
16710 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16713 * localedata/locales/iso14651_t1_common: Update file to
16714 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16716 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16718 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16719 of <nptl/pthreadP.h>
16720 (thread_attr_compare): Move function to...
16721 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16722 * sysdeps/nptl/timer_routines.h: ... new header.
16723 * sysdeps/mach/hurd/gai_misc.h: New file.
16725 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16727 * string/strcoll_l.c: Include <libc-diag.h>.
16728 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16729 declarations of seq1 and seq2.
16732 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16733 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16735 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16739 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16740 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16741 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16742 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16743 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16744 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16746 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16748 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16749 macros used in __ptrace_request.
16751 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16754 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16756 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16757 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16758 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16761 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16764 * ctype/ctype.c (tolower): Use libc_hidden_def.
16765 (toupper): Likewise.
16766 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16767 [!_ISOMAC] (toupper): Likewise.
16769 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16771 * localedata/Makefile: Remove --quiet argument when
16774 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16777 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16779 * localedata/locales/pt_PT (LC_TIME): likewise
16781 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16784 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16785 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16786 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16788 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16792 * nptl/Makefile (routines): Remove unregister-atfork.
16793 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16794 (fork_handler_alloc): Remove function.
16795 (fork_handlers, fork_handler_init): New variables.
16796 (__fork_lock): Rename to atfork_lock.
16797 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16798 to use a dynamic array to add/remove atfork handlers.
16799 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16800 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16801 Remove declaration.
16802 (fork_handler): Remove next, refcntr, and need_signal member.
16803 (__run_fork_handler_type): New enum.
16804 (__run_fork_handlers): New prototype.
16805 * nptl/register-atfork.c: Remove file.
16806 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16808 * sysdeps/nptl/nptl-signals.h: Move to ...
16809 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16811 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16812 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16813 unnecessary check for SIGTIMER.
16814 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16815 remove unnecessary removal of SIGTIMER.
16816 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16817 include-signals.h rename.
16818 * nptl/pthreadP.h: Likewise.
16819 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16820 __is_internal_signal instead of __nptl_is_internal_signal.
16822 2018-02-22 Andrew Waterman <andrew@sifive.com>
16825 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16826 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16827 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16828 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16830 2018-02-22 DJ Delorie <dj@delorie.com>
16832 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16834 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16836 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16837 do_misaligned, not misaligned8.
16839 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16841 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16842 Add memcpy_thunderx2.
16843 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16845 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16846 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16847 and IS_THUNDERX2PA checks.
16848 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16849 Use macro to set name appropriately.
16850 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16851 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16852 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16854 (IS_THUNDERX2): New macro.
16856 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16858 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16860 2018-02-21 Zack Weinberg <zackw@panix.com>
16862 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16863 Define here, unconditionally.
16864 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16865 * libio/libioP.h: Remove #if 0 blocks.
16866 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16867 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16868 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16870 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16871 Assume weak_alias is always defined.
16873 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16874 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16875 Remove #if 0 and #ifdef TODO blocks.
16876 Assume text_set_element is always defined.
16878 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16879 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16880 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16882 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16883 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16884 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16885 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16886 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16887 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16888 Reformat bit flags for _flags field to make occupancy clearer.
16890 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16891 Keep definitions consistent with those in libio/libio.h.
16893 * libio/libio.h (_IO_file_flags): Remove macro.
16894 All uses changed to _flags.
16896 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16897 (__HAVE_COLUMN, _IO_BE): Don't define.
16898 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16899 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16900 * libio/libioP.h (EOF): Don't define.
16901 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16902 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16903 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16904 testing _IO_UNIFIED_JUMPTABLES.
16906 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16907 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16908 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16909 (_IO_size_t): Delete; all uses changed to size_t.
16910 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16911 (_IO_off_t): Delete; all uses changed to off_t.
16912 (_IO_off64_t): Delete; all uses changed to off64_t.
16913 (_IO_pid_t): Delete; all uses changed to pid_t.
16914 (_IO_uid_t): Delete; all uses changed to uid_t.
16915 (_IO_wint_t): Delete; all uses changed to wint_t.
16916 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16917 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16918 (_IO_cookie_io_functions_t): Delete; all uses changed to
16919 cookie_io_functions_t.
16920 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16921 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16922 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16923 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16925 * libio/iofopncook.c: Remove unnecessary forward declarations.
16926 * libio/iolibio.h: Correct outdated commentary.
16927 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16928 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16929 Remove unnecessary casts.
16930 * stdio-common/getline.c: Use _IO_getdelim directly.
16931 Don't redefine ssize_t.
16932 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16933 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16934 Remove outdated comments.
16935 * stdio-common/vfscanf.c: Don't redefine va_list.
16937 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16938 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16939 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16940 which are always true, and __cplusplus, which is always false.
16942 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16946 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16947 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16948 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16949 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16951 [!_ISOMAC] (putc_unlocked): Likewise.
16952 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16953 define inline if [__USE_EXTERN_INLINES].
16954 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16959 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16960 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16961 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16962 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16963 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16965 * time/tzfile.c (__tzfile_read): Likewise.
16967 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16970 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16972 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16974 * io/fcntl.h: Fix a typo in a comment.
16976 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16979 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16980 define _DEFAULT_SOURCE.
16981 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16983 2018-02-21 Florian Weimer <fweimer@redhat.com>
16986 * elf/cache.c (save_cache): Call fsync on temporary file before
16988 (save_aux_cache): Call fdatasync on temporary file before renaming
16991 2018-02-21 Florian Weimer <fweimer@redhat.com>
16994 * include/caller.h: Remove file.
16995 * elf/dl-caller.c: Likewise.
16996 * elf/Makefile (dl-routines): Remove dl-caller.
16997 (shared-only-routines): Do not add dl-caller.
16998 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17000 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17002 (dl_open_worker): Do not call __check_caller.
17003 (_dl_open): Do not set caller_dl_open member.
17004 * elf/rtld.c (_rtld_global_ro): Do not initialize
17005 _dl_check_caller member.
17006 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17007 _dl_check_caller member.
17008 (_dl_check_caller): Remove declaration.
17009 * sysdeps/unix/sysv/linux/dl-execstack.c
17010 (_dl_make_stack_executable): Do not call __check_caller.
17012 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17014 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17015 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17017 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17019 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17022 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17025 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17026 of 199606L, 200112L, and 200809L.
17027 (_XOPEN_SOURCE): Document special values of 600 and 700.
17028 (_ISOC11_SOURCE): Document macro.
17029 (_ATFILE_SOURCE): Likewise.
17030 (_FORTIFY_SOURCE): Likewise.
17032 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17036 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17037 and define as weak alias of __ferror_unlocked. Use
17039 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17041 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17042 function if [__USE_EXTERN_INLINES].
17043 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17046 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17049 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17051 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17054 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17055 the GLIBC_2.1 version.
17057 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17060 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17061 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17062 intl/tst-gettext-de.po from po/de.po by removing the
17063 POT-Creation-Date line.
17064 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17066 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17069 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17071 * mach/Makefile (headers): Add mach/param.h.
17072 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17073 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17074 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17075 (__ptsname_r): Move implementation to...
17076 (__ptsname_internal): ... new function. Add filling the STP
17079 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17081 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17084 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17086 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17089 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17091 * nptl/Makefile (tst-mutex8-ENV): Delete.
17092 * nptl/tst-mutex8.c (check_type):
17093 Add runtime check if mutex will be elided.
17095 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17099 * manual/install.texi (Configuring and compiling): Describe
17100 passing CC and CFLAGS on configure command line, not as
17101 environment variables. Use @code markup on those variables.
17102 Specify what options go in CC and what go in CFLAGS. Note the
17103 requirement to compile with optimization.
17104 * INSTALL: Regenerated.
17107 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17108 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17109 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17110 __sigprocmask instead of sigprocmask.
17111 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17113 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17114 __sigsetjmp and sigprocmask.
17117 * include/argz.h (argz_next): Use libc_hidden_proto.
17118 (__argz_next): Likewise.
17119 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17120 (argz_next): Use libc_hidden_weak.
17123 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17125 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17129 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17131 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17135 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17136 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17137 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17138 (__feof_unlocked): New declaration, and inline function if
17139 [__USE_EXTERN_INLINES].
17140 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17141 instead of feof_unlocked.
17142 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17143 * nss/nsswitch.c (nss_parse_file): Likewise.
17144 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17146 * time/getdate.c (__getdate_r): Likewise.
17147 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17148 Define as macro to call __feof_unlocked.
17150 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17152 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17154 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17156 * math/Makefile: Remove mpexp.c and mplog.c
17157 * sysdeps/i386/fpu/mpexp.c: Delete file.
17158 * sysdeps/i386/fpu/mplog.c: Likewise.
17159 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17160 * sysdeps/ia64/fpu/mplog.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17162 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17163 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17164 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17165 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17166 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17167 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17168 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17169 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17170 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17171 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17172 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17173 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17174 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17175 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17176 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17178 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17180 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17182 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17184 * sysdeps/sh/libm-test-ulps: Update.
17186 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17188 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17191 2018-02-12 Zack Weinberg <zackw@panix.com>
17194 * posix/sys/types.h: Don't include sys/sysmacros.h.
17195 * misc/sys/sysmacros.h: Remove the conditional deprecation
17196 warnings for the macros defined by this header.
17198 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17200 * manual/probes.texi: Remove slowexp probes.
17201 * math/Makefile: Remove slowexp.
17202 * sysdeps/generic/math_private.h (__slowexp): Remove.
17203 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17204 document error bounds.
17205 * sysdeps/i386/fpu/slowexp.c: Remove.
17206 * sysdeps/ia64/fpu/slowexp.c: Remove.
17207 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17208 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17209 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17210 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17211 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17212 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17213 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17214 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17215 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17216 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17217 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17219 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17222 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17223 * benchtests/pow-inputs: Update comment for slow path cases.
17224 * manual/probes.texi (slowpow_p10): Delete removed probe.
17225 (slowpow_p10): Likewise.
17226 * math/Makefile: Remove halfulp.c and slowpow.c.
17227 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17228 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17229 (__halfulp): Remove.
17230 (__slowpow): Remove.
17231 * sysdeps/i386/fpu/halfulp.c: Delete file.
17232 * sysdeps/i386/fpu/slowpow.c: Likewise.
17233 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17234 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17235 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17236 improve comments and add error analysis.
17237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17238 (power1): Remove function:
17239 (log1): Remove error argument, add error analysis.
17240 (my_log2): Remove function.
17241 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17242 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17243 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17244 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17245 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17246 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17247 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17248 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17249 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17250 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17251 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17252 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17253 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17254 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17256 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17258 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17259 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17261 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17264 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17265 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17266 and PTRACE_SETHBPREGS.
17268 2018-02-10 Zack Weinberg <zackw@panix.com>
17271 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17273 * malloc/tst-malloc-stats-cancellation.c: New test case.
17274 * malloc/Makefile: Add new test case.
17276 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17278 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17280 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17282 * math/Makefile (libm-narrow-fns): Add add.
17283 (libm-test-funcs-narrow): Likewise.
17284 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17285 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17286 * math/gen-auto-libm-tests.c (test_functions): Add add.
17287 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17288 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17289 (NARROW_ADD_TRIVIAL): Likewise.
17290 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17292 (__daddl): Likewise.
17293 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17295 (CFLAGS-nldbl-dadd.c): New variable.
17296 (CFLAGS-nldbl-fadd.c): Likewise.
17297 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17299 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17301 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17302 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17303 * math/auto-libm-test-in: Add tests of add.
17304 * math/auto-libm-test-out-narrow-add: New generated file.
17305 * math/libm-test-narrow-add.inc: New file.
17306 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17307 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17308 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17309 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17310 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17311 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17316 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17318 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17320 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17321 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17322 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17323 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17325 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17329 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17330 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17331 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17332 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17333 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17334 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17335 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17337 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17344 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17345 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17353 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17354 (f128-pairs): New variable.
17355 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17356 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17358 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17359 Also make tests add $(f128-loader-link) to gnulib-tests.
17361 2018-02-09 DJ Delorie <dj@redhat.com>
17364 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17365 64-bit ELF type for 64-bit ELF objects.
17367 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17369 * math/libm-test-driver.c (snan_tests_arg): New variable.
17370 * math/libm-test-support.h (snan_tests_arg): New declaration.
17371 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17373 * math/Makefile (test-type-pairs): New variable.
17374 (test-type-pairs-f64xf128-yes): Likewise.
17375 (tests): Add test-narrow-macros.
17376 (libm-test-funcs-narrow): New variable.
17377 (libm-test-c-narrow): Likewise.
17378 (generated): Add $(libm-test-c-narrow).
17379 (libm-tests-base-narrow): New variable.
17380 (libm-tests-narrow): Likewise.
17381 (libm-tests): Add $(libm-tests-narrow).
17382 (libm-tests-for-type): Handle $(libm-tests-narrow).
17383 (libm-test-c-narrow-obj): New variable.
17384 ($(libm-test-c-narrow-obj)): New rule.
17385 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17386 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17387 $(o-iterator) to set dependencies and CFLAGS.
17388 * math/gen-auto-libm-tests.c: Document use for narrowing
17390 (output_for_one_input_case): Take argument NARROW.
17391 (generate_output): Likewise. Update call to
17392 output_for_one_input_case.
17393 (main): Take --narrow option. Update call to generate_output.
17394 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17395 (apply_lit): Update call to _apply_lit.
17396 (apply_arglit): New function.
17397 (parse_args): Handle "a" arguments.
17398 (parse_auto_input): Handle format names using ":".
17399 * math/README.libm-test: Document "a" parameter type.
17400 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17401 (ARG_TYPE_TRUE_MIN): Likewise.
17402 (ARG_TYPE_MAX): Likwise.
17403 (ARG_MIN_EXP): Likewise.
17404 (ARG_MAX_EXP): Likewise.
17405 (ARG_MANT_DIG): Likewise.
17406 (TEST_COND_arg_ibm128): Likewise.
17407 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17408 (TEST_COND_arg_fmt): New macro.
17409 (init_max_error): Update prototype.
17410 * math/libm-test-support.c (test_ibm128): New variable.
17411 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17412 instead of using [TEST_COND_ibm128] conditional.
17413 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17414 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17415 [TEST_NARROW] (TEST_MSG): New definition.
17416 (arg_plus_zero): New macro.
17417 (arg_minus_zero): Likewise.
17418 (arg_plus_infty): Likewise.
17419 (arg_minus_infty): Likewise.
17420 (arg_qnan_value_pl): Likewise.
17421 (arg_qnan_value): Likewise.
17422 (arg_snan_value_pl): Likewise.
17423 (arg_snan_value): Likewise.
17424 (arg_max_value): Likewise.
17425 (arg_min_value): Likewise.
17426 (arg_min_subnorm_value): Likewise.
17427 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17428 (RUN_TEST_LOOP_aa_f): New macro.
17429 (TEST_SUFF): New macro.
17430 (TEST_SUFF_STR): Likewise.
17431 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17432 (TEST_COND_any_ibm128): New macro.
17433 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17434 this_func. Update call to init_max_error.
17435 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17436 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17437 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17438 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17439 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17440 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17441 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17442 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17443 * math/test-math-vector.h (TEST_NARROW): Likewise.
17444 * math/test-arg-double.h: New file.
17445 * math/test-arg-float128.h: Likewise.
17446 * math/test-arg-float32x.h: Likewise.
17447 * math/test-arg-float64.h: Likewise.
17448 * math/test-arg-float64x.h: Likewise.
17449 * math/test-arg-ldouble.h: Likewise.
17450 * math/test-math-narrow.h: Likewise.
17451 * math/test-narrow-macros.c: Likewise.
17452 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17453 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17454 test-narrow-macros-ldbl-64.
17455 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17457 * math/bits/mathcalls-narrow.h: New file.
17458 * include/bits/mathcalls-narrow.h: Likewise.
17459 * math/math-narrow.h: Likewise.
17460 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17461 (__MATHCALL_NARROW_ARGS_2): Likewise.
17462 (__MATHCALL_NARROW_ARGS_3): Likewise.
17463 (__MATHCALL_NARROW_NORMAL): Likewise.
17464 (__MATHCALL_NARROW_REDIR): Likewise.
17465 (__MATHCALL_NARROW): Likewise.
17466 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17467 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17469 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17470 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17471 (libm-narrow-fns): New variable.
17472 (libm-narrow-types-basic): Likewise.
17473 (libm-narrow-types-ldouble-yes): Likewise.
17474 (libm-narrow-types-float128-yes): Likewise.
17475 (libm-narrow-types-float128-alias-yes): Likewise.
17476 (libm-narrow-types): Likewise.
17477 (libm-routines): Add narrowing functions.
17478 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17479 (libc_feholdexcept_setroundf128): New macro.
17480 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17481 * sysdeps/ieee754/float128/float128_private.h: Include
17482 <math/math-narrow.h>.
17483 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17484 Undefine and redefine.
17485 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17486 (libm_alias_float_ldouble): Undefine and redefine.
17487 (libm_alias_double_ldouble): Likewise.
17489 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17491 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17493 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17496 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17498 * manual/creature.texi: Convert references to gcc.info to gcc.
17499 * manual/stdio.texi: Likewise.
17500 * manual/string.texi: Likewise.
17502 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17505 * posix/bits/types.h (__int_least8_t): New typedef.
17506 (__uint_least8_t): Likewise.
17507 (__int_least16_t): Likewise.
17508 (__uint_least16_t): Likewise.
17509 (__int_least32_t): Likewise.
17510 (__uint_least32_t): Likewise.
17511 (__int_least64_t): Likewise.
17512 (__uint_least64_t): Likewise.
17513 * sysdeps/generic/stdint.h (int_least8_t): Define using
17515 (int_least16_t): Define using __int_least16_t.
17516 (int_least32_t): Define using __int_least32_t.
17517 (int_least64_t): Define using __int_least64_t.
17518 (uint_least8_t): Define using __uint_least8_t.
17519 (uint_least16_t): Define using __uint_least16_t.
17520 (uint_least32_t): Define using __uint_least32_t.
17521 (uint_least64_t): Define using __uint_least64_t.
17522 * wcsmbs/uchar.h: Include <bits/types.h>.
17523 (char16_t): Define using __uint_least16_t conditional only on
17525 (char32_t): Define using __uint_least32_t conditional only on
17527 * wcsmbs/test-char-types.c: New file.
17528 * wcsmbs/Makefile (tests): Add test-char-types.
17530 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17533 2018-02-07 Zack Weinberg <zackw@panix.com>
17535 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17536 Delete all contents except for definitions of _G_HAVE_MMAP and
17537 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17538 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17539 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17542 * libio/libio.h: Don't include bits/_G_config.h here.
17543 Include stddef.h with __need_wchar_t defined. Include
17544 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17545 Define _IO_iconv_t here, directly.
17546 Don't define _IO_HAVE_ST_BLKSIZE.
17547 * libio/libioP.h: Include _G_config.h here. Move include of
17548 shlib-compat.h up with rest of includes. Simplify conditionals
17549 controlling definition of _IO_JUMPS_OFFSET.
17551 * csu/init.c: Remove always-true #if around entire file.
17552 Don't include stdio.h. Set _IO_stdin_used to hardwired
17553 constant 0x20001, and update commentary.
17554 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17555 Replace all uses of _G_va_list with __gnuc_va_list.
17556 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17557 instead of #if _IO_HAVE_ST_BLKSIZE.
17558 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17559 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17562 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17563 multiple-include guard to match.
17564 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17566 Remove preprocessor conditionals that are always true and/or
17567 redundant to other preprocessor conditionals in the same nest.
17568 Include shlib-compat.h unconditionally.
17569 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17570 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17571 defined after including stdio.h.
17572 Use __BEGIN_DECLS/__END_DECLS.
17574 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17575 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17576 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17578 2018-02-07 Zack Weinberg <zackw@panix.com>
17580 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17581 New single-type headers split from _G_config.h.
17582 * libio/bits/types/cookie_io_functions_t.h
17583 * libio/bits/types/struct_FILE.h
17584 New single-type headers split from libio.h.
17586 * libio/Makefile: Install the above new headers. Don't install
17587 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17589 * libio/_G_config.h, libio/libio.h: Delete file.
17591 * libio/bits/libio.h: Remove improper-inclusion guard.
17592 Include stdio.h and don't repeat anything that it does.
17593 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17594 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17595 __io_read_fn as cookie_read_function_t,
17596 __io_write_fn as cookie_write_function_t,
17597 __io_seek_fn as cookie_seek_function_t,
17598 __io_close_fn as cookie_close_function_t,
17599 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17600 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17601 here, in the "compatibility defines" section. Remove an #if 0
17602 block. Use the "body" macros from bits/types/struct_FILE.h to
17603 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17604 and _IO_ferror_unlocked.
17605 Move prototypes of __uflow and __overflow...
17607 * libio/stdio.h: ...here. Don't include bits/libio.h.
17608 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17609 directly from stdarg.h. Include bits/types/__fpos_t.h,
17610 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17611 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17612 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17613 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17614 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17615 __ssize_t, not _IO_ssize_t. Unconditionally define
17616 BUFSIZ as 8192 and EOF as (-1).
17618 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17619 macros from bits/types/struct_FILE.h instead of _IO_* macros
17620 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17621 instead of _IO_ssize_t.
17622 * libio/bits/stdio2.h: Similarly.
17624 * libio/iolibio.h: Add multiple-include guard.
17625 Include bits/libio.h after stdio.h.
17626 * libio/libioP.h: Add multiple-include guard.
17627 Include stdio.h and bits/libio.h before iolibio.h.
17629 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17630 * include/bits/types/cookie_io_functions_t.h
17631 * include/bits/types/struct_FILE.h: New wrappers.
17633 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17634 Get definitions of _G_fpos_t and _G_fpos64_t from
17635 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17636 respectively. Remove improper-inclusion guards.
17638 * conform/data/stdio.h-data: Update expectations of va_list.
17639 * scripts/check-installed-headers.sh: Remove special case for
17640 libio.h and _G_config.h.
17642 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17646 * include/sys/sysmacros.h [!_ISOMAC]
17647 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17648 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17649 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17650 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17652 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17653 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17655 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17656 Undefine and redefine to add use __gnu_dev_ prefix.
17657 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17659 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17660 and define as hidden inline function.
17661 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17663 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17665 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17666 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17667 (gnu_dev_minor): Likewise.
17668 (gnu_dev_makedev): Likewise.
17669 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17671 * posix/wordexp.c (exec_comm_child): Likewise.
17672 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17673 instead of minor and __gnu_dev_major instead of major.
17674 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17675 __gnu_dev_major instead of major.
17676 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17677 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17678 instead of gnu_dev_minor.
17679 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17680 (SLAVE_P): Likewise.
17681 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17682 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17686 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17688 * locale/weightwc.h (findidx): Likewise.
17690 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17692 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17693 (slowlog_inexact): Likewise
17694 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17695 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17697 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17700 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17701 missing second underscore to parameter name.
17703 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17709 * bits/byteswap.h: Update file comment. Do not include
17710 <bits/byteswap-16.h>.
17711 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17713 (__bswap_16): Define as inline function.
17714 (__bswap_constant_32): Reformat definition.
17715 (__bswap_32): Always define as inline function, not macro, using
17716 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17717 otherwise __bswap_constant_32.
17718 (__bswap_constant_64): Reformat definition. Do not use
17719 __extension__ here.
17720 (__bswap_64): Always define as inline function, not macro. Use
17721 __extension__ on function definition. Use __builtin_bswap64 if
17722 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17723 * string/test-endian-file-scope.c: New file.
17724 * string/test-endian-sign-conversion.c: Likewise.
17725 * string/Makefile (headers): Remove bits/byteswap-16.h.
17726 (tests): Add test-endian-file-scope and
17727 test-endian-sign-conversion.
17728 (CFLAGS-test-endian-sign-conversion.c): New variable.
17729 * bits/byteswap-16.h: Remove file.
17730 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17731 * sysdeps/ia64/bits/byteswap.h: Likewise.
17732 * sysdeps/m68k/bits/byteswap.h: Likewise.
17733 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17734 * sysdeps/s390/bits/byteswap.h: Likewise.
17735 * sysdeps/tile/bits/byteswap.h: Likewise.
17736 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17737 * sysdeps/x86/bits/byteswap.h: Likewise.
17740 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17741 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17742 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17743 199901L] (__restrict): Define to restrict.
17746 * string/testcopy.c: Include <support/support.h>. Do not include
17747 <malloc.h>. Use <support/test-driver.c>.
17748 (main): Rename to do_test. Make static. Use xmalloc instead of
17752 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17753 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17754 (SSIZE_MAX): Define to INT_MAX.
17755 * posix/test-ssize-max.c: New file.
17756 * posix/Makefile (tests): Add test-ssize-max.
17759 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17760 <support/support.h>. Do not include <malloc.h>.
17761 (query_auxv): Use xmalloc instead of malloc.
17764 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17765 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17768 2018-02-06 Florian Weimer <fweimer@redhat.com>
17771 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17772 Use scratch_buffer instead of extend_alloca.
17774 2018-02-06 Zack Weinberg <zackw@panix.com>
17776 * libio/stdio.h: Don't define getc or putc as macros.
17777 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17778 not _IO_getc and _IO_putc.
17780 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17781 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17783 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17785 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17786 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17788 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17791 * elf/elf.h (NT_PRFPREG): New macro.
17792 (NT_S390_VXRS_LOW): Likewise.
17793 (NT_S390_VXRS_HIGH): Likewise.
17794 (NT_S390_GS_CB): Likewise.
17795 (NT_S390_GS_BC): Likewise.
17796 (NT_S390_RI_CB): Likewise.
17798 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17799 (MAP_SYNC): New macro.
17800 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17802 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17803 (MAP_SYNC): Likewise.
17804 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17805 (MAP_SYNC): Likewise.
17806 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17807 (MAP_SYNC): Likewise.
17808 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17809 (MAP_SYNC): Likewise.
17810 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17811 (MAP_SYNC): Likewise.
17812 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17813 (MAP_SYNC): Likewise.
17814 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17816 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17819 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17820 (MAP_SHARED_VALIDATE): New macro.
17821 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17822 (MAP_SHARED_VALIDATE): Likewise.
17824 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17826 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17827 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17828 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17830 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17832 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17833 (DT_NUM): Updated to 35.
17835 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17837 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17838 __builtin_expect with __glibc_likely and __glibc_unlikely.
17839 (elf_machine_rela): Likewise.
17840 (elf_machine_lazy_rel): Likewise.
17842 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17844 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17845 __builtin_expect with __glibc_likely and __glibc_unlikely.
17846 (elf_machine_lazy_rel): Likewise.
17848 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17851 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17853 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17855 2018-02-05 Andreas Schwab <schwab@suse.de>
17858 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17861 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17863 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17864 not check against PTHREAD_STACK_MIN.
17866 2018-02-02 Sean McKean <smckean83@gmail.com>
17869 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17871 2018-02-02 Florian Weimer <fweimer@redhat.com>
17874 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17875 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17876 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17877 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17878 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17879 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17880 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17881 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17882 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17883 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17884 * misc/tst-preadvwritev2.c (do_test): Call it.
17885 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17887 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17889 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17891 * benchtests/bench-memcmp.c: Print json instead of plain text.
17893 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17896 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17898 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17900 (s390_sthyi): New syscall.
17902 * sysdeps/generic/ldbl-classify-compat.h: New file.
17903 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17904 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17905 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17906 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17907 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17908 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17909 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17910 <ldbl-classify-compat.h>.
17911 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17912 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17913 <ldbl-classify-compat.h>.
17914 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17915 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17916 <ldbl-classify-compat.h>.
17917 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17918 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17919 <ldbl-classify-compat.h>.
17920 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17921 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17922 <ldbl-classify-compat.h>.
17923 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17925 <ldbl-classify-compat.h>.
17926 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17927 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17928 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17929 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17930 * sysdeps/microblaze/math_private.h: Likewise.
17931 * sysdeps/nios2/math_private.h: Likewise.
17932 * sysdeps/sh/math_private.h: Likewise.
17934 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17935 * sysdeps/m68k/coldfire/math_private.h: ... here.
17936 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17937 * sysdeps/tile/math_private.h: Likewise.
17938 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17940 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17943 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17945 (libc_fetestexcept): Likewise.
17946 (libc_feupdateenv_test): Likewise.
17947 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17948 (libc_fetestexcept): Likewise.
17949 (libc_feupdateenv_test): Likewise.
17950 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17951 (libc_fetestexcept): Likewise.
17952 (libc_feupdateenv_test): Likewise.
17953 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17954 (libc_fetestexcept): Likewise.
17955 (libc_feupdateenv_test): Likewise.
17957 * sysdeps/generic/math_private.h
17958 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17959 New inline function.
17960 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17963 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17964 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17965 * sysdeps/generic/math_private.h
17966 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17968 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17970 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17972 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17974 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17976 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17978 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17979 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17980 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17981 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17982 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17983 (__fegetenv): Likewise.
17984 (fesetenv): Likewise.
17985 (__fesetenv): Likewise.
17986 (feupdateenv): Likewise.
17987 (__feupdateenv): Likewise.
17988 (fegetround): Likewise.
17989 (__fegetround): Likewise.
17990 (fesetround): Likewise.
17991 (__fesetround): Likewise.
17993 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17994 (feraiseexcept): New macro.
17995 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17996 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17998 (__feraiseexcept): Likewise.
17999 (feclearexcept): Likewise.
18000 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18001 (__feraiseexcept): Likewise.
18002 (feclearexcept): Likewise.
18003 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18004 (__feraiseexcept): Likewise.
18005 (feclearexcept): Likewise.
18006 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18007 (__feraiseexcept): Likewise.
18008 (feclearexcept): Likewise.
18009 (fetestexcept): Likewise.
18011 * sysdeps/m68k/coldfire/math-tests.h: New file.
18013 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18014 * sysdeps/m68k/bits/fenv.h: ... here.
18015 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18017 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18019 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18021 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18023 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18025 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18027 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18028 (__FE_UNDEFINED): New enum constant.
18029 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18031 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18033 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18035 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18036 to match generic bits/fenv.h.
18037 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18040 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18042 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18043 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18044 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18045 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18047 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18048 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18049 Joseph Myers <joseph@codesourcery.com>
18052 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18053 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18054 computation using c.
18055 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18056 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18057 computation using c.
18059 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18061 * version.h (RELEASE): Set to "development".
18062 (VERSION): Set to "2.27.9000".
18063 * NEWS (2.28): New section.
18065 * version.h (RELEASE): Set to "stable".
18066 (VERSION): Set to "2.27".
18067 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18069 * NEWS: Add the list of bugs fixed in 2.27.
18071 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18073 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18074 against PTHREAD_STACK_MIN.
18076 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18078 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18080 (Rafal Luzynski, Andreas Schwab): Update.
18082 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18085 * NEWS: List the languages which actually use the alternative
18086 months feature in this release. Also explain that "alt_mon" and
18087 "ab_alt_mon" are optional.
18089 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18092 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18094 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18096 * manual/install.texi (Tools for Compilation): Update the newest
18097 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18098 * INSTALL: Regenerated.
18100 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18102 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18103 instead of __builtin_expect.
18105 2018-01-30 Florian Weimer <fweimer@redhat.com>
18107 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18109 * nss/tst-nss-getpwent.c (do_test): Likewise.
18111 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18114 * localedata/locales/hr_HR (mon): Rename to...
18116 (mon): Import from CLDR (genitive case).
18117 (d_t_fmt): Update the comment.
18119 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18121 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18122 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18123 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18125 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18127 * mach/Versions: Fix version when __mach_host_self_ was added.
18128 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18129 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18130 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18131 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18132 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18133 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18134 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18135 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18136 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18137 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18138 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18139 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18140 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18141 || to respect codestyle.
18142 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18143 (do_test_bz20181): Rename accordingly.
18144 * malloc/malloc.c: Include <assert.h>.
18145 (assert): Do not define.
18146 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18147 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18148 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18149 * sysdeps/mach/hurd/hp-timing.h: New file.
18150 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18152 2018-01-29 Darius Rad <darius@bluespec.com>
18154 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18156 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18158 * sysdeps/init_array/crti.S (.section .init_array): Add
18159 PREINIT_FUNCTION when defined.
18160 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18161 * config.h.in: Regenerate.
18162 * manual/platform.texi: Add RISC-V documenation for
18163 __riscv_flush_icache.
18164 * sysdeps/riscv/__longjmp.S: New file.
18165 * sysdeps/riscv/backtrace.c: Likewise.
18166 * sysdeps/riscv/bits/endian.h: Likewise.
18167 * sysdeps/riscv/bits/setjmp.h: Likewise.
18168 * sysdeps/riscv/bits/wordsize.h: Likewise.
18169 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18170 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18171 * sysdeps/riscv/dl-trampoline.S: Likewise.
18172 * sysdeps/riscv/gccframe.h: Likewise.
18173 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18174 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18175 * sysdeps/riscv/machine-gmon.h: Likewise.
18176 * sysdeps/riscv/memusage.h: Likewise.
18177 * sysdeps/riscv/setjmp.S: Likewise.
18178 * sysdeps/riscv/sys/asm.h: Likewise.
18179 * sysdeps/riscv/tls-macros.h: Likewise.
18180 * sysdeps/riscv/dl-tls.h: New file.
18181 * sysdeps/riscv/libc-tls.c: Likewise.
18182 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18183 * sysdeps/riscv/nptl/tls.h: Likewise.
18184 * sysdeps/riscv/stackinfo.h: Likewise.
18185 * sysdeps/riscv/bits/fenv.h: New file.
18186 * sysdeps/riscv/e_sqrtl.c: Likewise.
18187 * sysdeps/riscv/fpu_control.h: Likewise.
18188 * sysdeps/riscv/math-tests.h: Likewise.
18189 * sysdeps/riscv/nofpu/Implies: Likewise.
18190 * sysdeps/riscv/sfp-machine.h: Likewise.
18191 * sysdeps/riscv/tininess.h: Likewise.
18192 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18193 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18194 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18195 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18196 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18197 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18198 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18199 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18200 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18201 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18202 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18203 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18204 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18205 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18206 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18207 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18208 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18209 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18210 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18211 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18212 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18213 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18214 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18215 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18216 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18217 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18218 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18219 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18220 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18221 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18222 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18223 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18224 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18225 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18226 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18227 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18228 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18229 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18230 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18231 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18232 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18233 * sysdeps/riscv/rvf/math_private.h: Likewise.
18234 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18235 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18236 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18237 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18238 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18239 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18240 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18241 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18242 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18243 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18244 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18245 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18246 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18247 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18248 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18249 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18250 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18251 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18252 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18253 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18254 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18255 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18256 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18257 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18258 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18259 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18260 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18261 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18262 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18263 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18264 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18265 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18266 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18267 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18268 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18269 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18270 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18271 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18272 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18273 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18274 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18275 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18276 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18277 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18278 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18279 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18280 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18281 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18282 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18283 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18284 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18285 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18286 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18287 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18288 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18289 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18290 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18291 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18292 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18293 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18294 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18295 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18296 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18297 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18298 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18299 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18300 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18301 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18302 * sysdeps/riscv/Implies: New file.
18303 * sysdeps/riscv/Makefile: Likewise.
18304 * sysdeps/riscv/configure: Likewise.
18305 * sysdeps/riscv/configure.ac: Likewise.
18306 * sysdeps/riscv/nptl/Makefile: Likewise.
18307 * sysdeps/riscv/preconfigure: Likewise.
18308 * sysdeps/riscv/rv64/Implies-after: Likewise.
18309 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18310 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18311 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18312 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18313 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18314 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18315 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18316 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18317 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18318 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18319 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18320 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18321 (Config): Likewise.
18323 2018-01-29 Florian Weimer <fweimer@redhat.com>
18326 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18327 libnsl_hidden_proto.
18328 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18329 libnsl_hidden_proto.
18330 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18331 * nis/Makefile (libnsl-routines): Add nss-default only for
18332 build-obsolete-nsl.
18333 * nis/nis_defaults.c (__nis_default_ttl): Add
18334 libnsl_hidden_nolink_def.
18335 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18337 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18338 * nis/ypclnt.c (yp_maplist): Likewise.
18340 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18342 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18343 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18345 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18347 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18348 clean -dxfq for git updates when replacing sources.
18350 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18351 --disable-libcilkrts unconditionally, not just for the final GCC
18354 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18357 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18360 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18363 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18366 * localedata/locales/be_BY (mon): Rename to...
18367 (alt_mon): This, then synchronize with CLDR (nominative case).
18368 (abmon): Rename to...
18369 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18370 (mon): Import from CLDR (genitive case).
18372 * localedata/locales/be_BY@latin (mon): Rename to...
18374 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18376 * localedata/locales/be_BY@latin (lang_name): Reworded to
18377 "biełaruskaja mova".
18379 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18382 * localedata/locales/el_CY (mon): Renamed to...
18384 (mon): Import from CLDR (genitive case).
18385 * localedata/locales/el_GR: Likewise.
18387 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18390 * localedata/locales/ru_RU (mon): Rename to...
18392 (abmon): Rename to...
18393 (ab_alt_mon): This.
18394 (mon): Import from CLDR (genitive case).
18395 (abmon): Copy from the old content except the 5th month which is
18396 now in the genitive case, even when abbreviated.
18397 * localedata/locales/ru_UA: Likewise.
18398 * time/tst-strptime.c (day_tests): Add an actual example of
18399 a difference between %b and %Ob in Russian.
18401 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18403 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18404 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18406 * resolv/res-close.c: Include <stdlib.h>.
18407 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18408 <sys/wait.h>, <time.h>, <sys/uio.h>.
18409 (NOT_CANCEL_H): Add inclusion guard.
18410 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18411 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18412 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18414 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18415 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18416 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18418 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18419 timer_ptr2id to cast struct timer_node * to void *.
18420 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18421 --disable-libcilkrts to gcc configure.
18422 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18423 and make them the default for now.
18424 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18425 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18426 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18427 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18428 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18430 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18431 __task_terminate would ever return successfully.
18432 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18434 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18435 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18436 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18437 critical section to make code simpler and avoid warning.
18438 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18439 critical section to make code simpler and avoid warning.
18440 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18441 const char * instead of char *.
18442 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18443 __hurd_file_name_split, hurd_file_name_split,
18444 __hurd_directory_name_split, hurd_directory_name_split,
18445 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18446 hurd_file_name_path_lookup): Make lookup function parameter take a
18447 const char *name instead of char *name.
18448 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18449 __hurd_directory_name_split): Likewise.
18450 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18451 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18452 * sysdeps/mach/hurd/check_native.c: New file.
18453 * sysdeps/mach/hurd/check_pf.c: New file.
18454 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18455 (__freeifaddrs): Define macro to freeifaddrs.
18456 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18457 * sysdeps/mach/libmachuser.abilist: New file.
18458 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18459 (do_test_bz20181): Rename accordingly.
18460 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18461 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18463 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18464 version only if __USE_EXTERN_INLINES is defined.
18465 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18466 __hurd_sockfail): Likewise.
18467 (_hurd_fd_get): Always declare functions, and provide inline versions
18468 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18469 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18470 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18471 _hurd_port_set): Always declare functions, and provide inline versions
18472 only if __USE_EXTERN_INLINES and _LIBC are defined and
18474 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18475 _hurd_critical_section_unlock): Likewise.
18476 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18477 * __hurd_threadvar_location): Likewise.
18478 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18479 _hurd_userlink_clear): Likewise.
18480 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18481 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18482 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18483 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18484 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18485 __spin_lock_locked): Likewise.
18486 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18487 __spin_lock_locked): Likewise.
18488 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18489 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18490 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18491 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18492 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18493 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18494 _POSIX_NO_TRUNC): Define to 0.
18495 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18496 check size against PTHREAD_STACK_MIN.
18497 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18498 IS_IN(libpthread)]: Include <sigsetops.h>.
18499 * mach/Makefile (user-interfaces): Add mach/gnumach.
18500 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18501 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18502 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18503 instead of invalid -1.
18504 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18505 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18506 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18509 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18511 * hurd/fcntl-internal.h: New file.
18513 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18515 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18517 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18519 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18522 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18523 Build only shared objects.
18525 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18527 * README: Update for hppa.
18529 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18531 * sysdeps/sparc/fpu/libm-test-ulps: Update
18532 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18534 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18538 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18541 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18542 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18543 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18544 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18547 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18550 * bits/types/__cancel_jmp_buf_tag.h: New file.
18551 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18552 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18553 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18554 * nptl/Makefile (headers): Add
18555 bits/types/__cancel_jmp_buf_tag.h.
18556 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18557 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18558 * sysdeps/nptl/pthread.h: Include
18559 <bits/types/__cancel_jmp_buf_tag.h>.
18560 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18562 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18564 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18567 * localedata/locales/uk_UA (mon): Renamed to...
18569 (alt_digits): "0" removed and then renamed to...
18571 (date_fmt): Definition changed not to use the alternative
18574 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18576 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18577 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18578 * elf/elf.h (EF_RISCV_RVC): New define.
18579 (EF_RISCV_FLOAT_ABI): Likewise.
18580 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18581 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18582 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18583 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18584 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18586 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18588 2018-01-25 Andreas Schwab <schwab@suse.de>
18590 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18592 * sysdeps/gnu/configure: Regenerate.
18593 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18594 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18596 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18597 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18598 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18599 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18600 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18602 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18604 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18605 URL, and run autoconf, make it the default for now.
18607 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18609 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18610 soft-float ColdFire configuration.
18612 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18613 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18614 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18616 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18619 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18621 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18623 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18626 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18627 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18628 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18631 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18634 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18635 Rename to __reserved and add comment.
18636 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18637 Rename to __reserved.
18639 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18641 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18642 i686-gnu configurations.
18643 (Context.run_builds): Include mig, gnumach and hurd in components
18645 (Context.checkout): Add mig, gnumach and hurd to components.
18646 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18648 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18649 (Config.build): Install gnumach headers, build mig and install
18650 hurd headers for 'gnu' OS.
18651 (Config.install_gnumach_headers): New function.
18652 (Config.install_hurd_headers): Likewise.
18653 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18654 when building for 'gnu' OS.
18656 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18658 * manual/tunables.texi (Hardware Capability Tunables): Fix
18661 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18663 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18664 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18665 (ALTMON_11, ALTMON_12): Improve documentation.
18666 * manual/time.texi (strftime): Likewise.
18668 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18671 * localedata/locales/pl_PL: Alternative month names added,
18672 primary month names are genitive now.
18673 * time/tst-strptime.c (day_tests): Actually use a genitive case
18674 of a month name in Polish language.
18676 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18679 * manual/locale.texi: Document ALTMON_1..12 constants for
18680 nl_langinfo. Specify when to use ALTMON instead of MON.
18681 * manual/time.texi (strftime, strptime): Document GNU extension
18682 permitting O modifier with %B and %b. Specify when to use
18685 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18688 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18689 names, define them as the same as abbreviated month names explicitly.
18690 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18691 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18692 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18693 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18694 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18695 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18696 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18697 _NL_WABALTMON_12): New enum constants.
18698 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18699 wab_alt_mon, and ab_alt_mon_defined members.
18700 (time_output): Output ab_alt_mon and wab_alt_mon members.
18701 (time_read): Read them, initialize them as copies of abmon and wabmon
18702 respectively if they are missing, initialize ab_alt_mon_defined.
18703 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18704 * locale/programs/locfile-kw.h: Regenerate.
18705 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18706 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18708 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18709 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18710 (__strftime_internal): Handle %Ob and %Oh formats.
18711 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18712 (__strptime_internal): Handle %Ob and %Oh formats.
18713 * time/tst-strptime.c (day_tests): Add more tests to parse different
18714 forms of month names including the new %Ob format specifier.
18716 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18719 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18720 define them as the same as primary full month names explicitly.
18721 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18722 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18723 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18724 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18725 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18726 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18727 _NL_WALTMON_12): New enum constants.
18728 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18729 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18731 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18732 walt_mon, and alt_mon_defined members.
18733 (time_output): Output alt_mon and walt_mon members.
18734 (time_read): Read them, initialize them as copies of mon and wmon
18735 respectively if they are missing, initialize alt_mon_defined.
18736 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18737 * locale/programs/locfile-kw.h: Regenerate.
18738 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18739 * localedata/tst-langinfo.c (map): Add tests for the new constants
18740 ALTMON_1 .. ALTMON_12.
18741 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18743 * time/strftime_l.c (f_altmonth): New macro.
18744 (__strftime_internal): Handle %OB format.
18745 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18746 (__strptime_internal): Handle %OB format.
18747 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18748 of month names including the new %OB format specifier.
18750 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18753 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18754 from ABORT_TRANSACTION.
18755 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18756 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18757 ABORT_TRANSACTION_IMPL): Likewise.
18758 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18759 Linux code, but remove the code that aborts transactions.
18761 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18763 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18765 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18767 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18768 in date: "2004-14-09" should be "2004-09-14".
18769 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18770 "2003-15-09" should be "2003-09-15".
18772 2018-01-18 Arjun Shankar <arjun@redhat.com>
18778 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18780 (_int_memalign): check for integer overflow before calling
18782 * malloc/tst-malloc-too-large.c: New test.
18783 * malloc/Makefile: Add tst-malloc-too-large.
18785 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18787 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18788 in date: "2017-24-07" should be "2017-07-24".
18789 * localedata/locales/mai_IN: Likewise.
18790 * localedata/locales/mai_NP: Likewise.
18792 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18794 * po/ru.po: Update translations.
18796 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18799 * sysdeps/hppa/backtrace.c: New file.
18801 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18804 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18805 align La_x86_64_retval to VEC_SIZE.
18807 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18809 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18810 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18812 2018-01-16 Florian Weimer <fweimer@redhat.com>
18814 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18815 Move tst-thread-exit-clobber ...
18816 [$(CXX)] (tests-unsupported): ... to here.
18818 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18820 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18821 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18822 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18823 (_dl_aarch64_cap_flags): Update.
18824 (_DL_HWCAP_COUNT): Update.
18826 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18828 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18829 (_DL_HWCAP_LAST): Remove.
18830 (_DL_HWCAP_COUNT): Move to ...
18831 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18832 (_DL_HWCAP_COUNT): ... here.
18834 2018-01-16 Florian Weimer <fweimer@redhat.com>
18836 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18837 mode with GNU extensions.
18839 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18841 * elf/elf.h (NT_ARM_SVE): Define.
18843 2018-01-15 Florian Weimer <fweimer@redhat.com>
18846 * nptl/tst-minstack-throw.cc: New file.
18847 * nptl/Makefile (tests): Add tst-minstack-throw.
18848 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18849 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18851 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18853 * scripts/build-many-glibcs.py (Context.checkout): Default
18854 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18857 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18860 * elf/elf.h (DF_1_STUB): Define.
18861 (DF_1_PIE): Define.
18863 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18866 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18867 Do not add 0.5 to integer or out-of-range arguments.
18869 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18871 * po/bg.po: Update translations.
18872 * po/cs.po: Likewise.
18873 * po/de.po: Likewise.
18874 * po/ko.po: Likewise.
18875 * po/pl.po: Likewise.
18876 * po/sv.po: Likewise.
18877 * po/uk.po: Likewise.
18878 * po/vi.po: Likewise.
18880 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18882 * aarch64/start.S (_start): Use __wrap_main.
18883 (__wrap_main): New local symbol.
18885 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18889 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18890 generic_getcwd if the path returned by getcwd syscall is not absolute.
18891 * io/tst-getcwd-abspath.c: New test.
18892 * io/Makefile (tests): Add tst-getcwd-abspath.
18894 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18896 * malloc/malloc.c (malloc_consolidate): Add size check.
18898 2018-01-12 Florian Weimer <fweimer@redhat.com>
18900 * support/write_message.c (write_message): Preserve errno.
18901 * support/check.c (print_failure): Likewise.
18902 * support/support_test_verify_impl.c (support_test_verify_impl):
18904 * support/support_test_compare_failure.c
18905 (support_test_compare_failure): Likewise.
18907 2018-01-12 Florian Weimer <fweimer@redhat.com>
18910 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18911 Prevent installation of libnsl.so.
18912 (libnsl-inhibit-o): Do not build (or install) static libraries.
18914 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18917 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18918 before the day number which may produce a double space.
18919 (date_fmt): Likewise.
18921 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18923 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18924 instead of fegetenv.
18926 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18929 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18930 comment to say exceptions are discarded.
18931 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18933 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18936 2018-01-11 Florian Weimer <fweimer@redhat.com>
18938 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18941 2018-01-11 Florian Weimer <fweimer@redhat.com>
18944 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18945 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18947 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18950 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18951 negative arguments in test for NaN or infinity argument.
18953 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18955 * po/libc.pot: Regenerate.
18957 2018-01-10 Florian Weimer <fweimer@redhat.com>
18960 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18961 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18963 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18965 * hurd/hurd/fd.h: Include <fcntl.h>
18966 (__hurd_at_flags): New function.
18967 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18968 with call to __hurd_at_flags.
18969 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18970 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18972 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18973 (__access_noerrno): Use __faccessat_common instead of access_common.
18974 (__access): Likewise.
18975 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18976 with a call to __faccessat.
18977 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18978 (__faccessat_common): ... this. Move implementation of __access into it when
18979 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18980 reauthenticate_cwdir_at helper to implement AT mechanism.
18981 (__faccessat_noerrno): New function, just calls __faccessat_common.
18982 (__faccessat): New function, just calls __faccessat_common.
18983 (faccessat): Define weak alias.
18985 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18988 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18989 (CFLAGS-s_fmaxmagl.c): New variable.
18990 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18994 long int for arguments of possibly overflowing addition or
18996 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18998 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19001 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19002 (CFLAGS-e_remainderl.c): New variable.
19005 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19007 (CFLAGS-s_cacoshl.c): Likewise.
19008 (CFLAGS-s_casinhl.c): Likewise.
19009 (CFLAGS-s_catanl.c): Likewise.
19010 (CFLAGS-s_catanhl.c): Likewise.
19011 (CFLAGS-s_cexpl.c): Likewise.
19012 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19013 (CFLAGS-s_csinhl.c): Likewise.
19014 (CFLAGS-s_clogl.c): Likewise.
19015 (CFLAGS-s_clog10l.c): Likewise.
19016 (CFLAGS-s_csinl.c): Likewise.
19017 (CFLAGS-s_csqrtl.c): Likewise.
19019 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19020 2017-01-09 Svante Signell <svante.signell@gmail.com>
19022 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19023 (_hurd_exec_paths): New function.
19024 * hurd/hurd.h (_hurd_exec): Deprecate function.
19025 (_hurd_exec_paths): Declare function.
19026 * hurd/Versions: Export _hurd_exec_paths.
19027 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19028 (__execve): Use __getcwd to build absolute path, and use
19029 _hurd_exec_paths instead of _hurd_exec.
19030 * sysdeps/mach/hurd/spawni.c: Likewise.
19031 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19034 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19036 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19037 test instead of failing in case of ENOENT returned by posix_openpt.
19039 2018-01-08 Florian Weimer <fweimer@redhat.com>
19041 resolv: Support binary labels in test framework.
19042 * support/resolv_test.c (struct to_be_freed): Remove.
19043 (struct compressed_name): New.
19044 (allocate_compressed_name, ascii_tolower)
19045 (compare_compressed_name): New functions.
19046 (struct resolv_response_builder): Update type of
19047 compression_offsets for use with tsearch. Rempve to_be_freed.
19048 (response_push_pointer_to_free): Remove function.
19049 (resolv_response_add_name): Rewrite using struct compressed_name
19050 and tsearch instead of hsearch_r.
19051 (response_builder_allocate): Remove initialization of
19052 compression_offsets.
19053 (response_builder_free): Update for removal of to_be_freed. Use
19054 tdestroy instead of hdestroy_r.
19055 * resolv/Makefile (tests): Add tst-resolv-binary.
19056 (tst-resolv-binary): Link with -lresolv -lpthread.
19058 2018-01-08 Florian Weimer <fweimer@redhat.com>
19060 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19061 time. Pass positive flag instead of negative flag to
19062 support_test_compare_failure.
19063 (support_test_compare_failure): Change negative parameter to
19065 * support/support_test_compare_failure.c (report)
19066 (support_test_compare_failure): Likewise.
19067 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19068 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19070 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19073 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19074 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19075 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19077 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19079 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19081 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19082 Add s_sincosf-sse2 and s_sincosf-fma.
19083 (CFLAGS-s_sincosf-fma.c): New.
19084 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19085 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19086 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19087 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19088 __sincosf is defined.
19090 2018-01-08 Florian Weimer <fweimer@redhat.com>
19092 * nptl/tst-thread-exit-clobber.cc: New file.
19093 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19095 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19096 (tests): Add tst-thread-exit-clobber.
19097 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19099 2018-01-08 Florian Weimer <fweimer@redhat.com>
19101 * support/check.h (support_static_assert): Define.
19102 (TEST_COMPARE): Use it.
19104 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19106 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19107 [!__RLIM_T_MATCHES_RLIM64_T]
19108 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19109 __getrlimit64. Add libc_hidden_weak.
19111 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19113 * elf/elf.h (R_RISCV_NONE): New define.
19114 (R_RISCV_32): Likewise.
19115 (R_RISCV_64): Likewise.
19116 (R_RISCV_RELATIVE): Likewise.
19117 (R_RISCV_COPY): Likewise.
19118 (R_RISCV_JUMP_SLOT): Likewise.
19119 (R_RISCV_TLS_DTPMOD32): Likewise.
19120 (R_RISCV_TLS_DTPMOD64): Likewise.
19121 (R_RISCV_TLS_DTPREL32): Likewise.
19122 (R_RISCV_TLS_DTPREL64): Likewise.
19123 (R_RISCV_TLS_TPREL32): Likewise.
19124 (R_RISCV_TLS_TPREL64): Likewise.
19125 * Makerules (make-link-multidir): Make directories before linking into
19127 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19129 (VDSO_HASH_LINUX_4_15): Likewise.
19130 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19131 in subdirectories of lib.
19132 * nptl/Makefile (/librt.so): Always depend on
19133 "$(shared-thread-library)".
19135 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19137 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19138 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19139 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19141 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19142 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19144 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19145 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19146 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19147 * sysdeps/gnu/glob-lstat-compat.c: New file.
19148 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19149 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19151 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19153 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19154 Reserve 16 chars to reloc_addr before calling _itoa_word.
19156 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19159 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19160 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19162 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19163 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19165 * resource/tst-getrlimit.c: Add copyright header.
19167 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19168 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19170 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19171 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19172 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19173 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19175 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19176 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19177 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19178 RLIM64_INFINITY): Fix values to match the kernel ones.
19179 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19180 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19181 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19182 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19183 getrlimit64@@GLIBC_2_27.
19184 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19186 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19187 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19188 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19189 setrlimit, getrlimit64 and setrlimit64.
19191 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19194 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19195 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19197 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19199 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19200 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19201 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19203 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19207 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19208 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19212 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19213 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19214 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19215 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19217 2018-01-04 Florian Weimer <fweimer@redhat.com>
19220 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19221 Align the stack before calling exit.
19222 * stdlib/tst-makecontext-align.c: New file.
19223 * stdlib/Makefile (tests): Add tst-makecontext-align.
19225 2018-01-04 Florian Weimer <fweimer@redhat.com>
19227 Add support for calling dlvsym from libc.so.
19228 * include/dlfcn.h (__libc_dlvsym): Declare.
19229 * elf/Makefile (tests-static-internal): Add
19230 tst-libc_dlvsym-static.
19231 (tests-internal): Add tst-libc_dlvsym.
19232 (modules-names): Add tst-libc_dlvsym-dso.
19233 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19234 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19235 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19236 object tst-libc_dlvsym-dso.so needs to be built before running
19238 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19239 * elf/Versions: Export __libc_dlvsym.
19240 * elf/dl-libc.c (struct do_dlvsym_args): New.
19241 (do_dlvsym, __libc_dlvsym): New functions.
19242 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19243 (_dl_open_hook2): New variable.
19244 (__libc_register_dl_open_hook): Set it.
19245 * elf/tst-libc_dlvsym-dso.c: New file.
19246 * elf/tst-libc_dlvsym-static.c: Likewise.
19247 * elf/tst-libc_dlvsym.c: Likewise.
19248 * elf/tst-libc_dlvsym.h: Likewise.
19250 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19252 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19253 include <sys/mount.h>.
19255 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19257 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19258 Add __NO_MATH_ERRNO__ check.
19260 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19262 * sysdeps/mips/mips32/libm-test-ulps: Update.
19263 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19265 2018-01-02 Florian Weimer <fweimer@redhat.com>
19267 * misc/tst-pselect.c: Add copyright header.
19269 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19271 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19273 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19275 (settrlimit): Rename into setrlimit.
19276 (__sttrlimit): Rename into __setrlimit.
19278 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19279 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19280 never defined in that case.
19282 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19284 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19286 * sysdeps/arm/libm-test-ulps: Update.
19288 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19289 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19291 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19293 * NEWS: Add cosf and sincosf to list of optimized functions.
19295 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19298 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19299 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19300 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19301 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19303 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19306 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19308 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19309 making a copy of it.
19311 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19313 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19314 trailing whitespace removed.
19315 * scripts/config.guess: Update to version 2018-01-01.
19316 * scripts/config.sub: Update to version 2018-01-01.
19317 * scripts/move-if-change: Update from gnulib.
19319 * NEWS: Update copyright dates.
19320 * catgets/gencat.c (print_version): Likewise.
19321 * csu/version.c (banner): Likewise.
19322 * debug/catchsegv.sh: Likewise.
19323 * debug/pcprofiledump.c (print_version): Likewise.
19324 * debug/xtrace.sh (do_version): Likewise.
19325 * elf/ldconfig.c (print_version): Likewise.
19326 * elf/ldd.bash.in: Likewise.
19327 * elf/pldd.c (print_version): Likewise.
19328 * elf/sotruss.sh: Likewise.
19329 * elf/sprof.c (print_version): Likewise.
19330 * iconv/iconv_prog.c (print_version): Likewise.
19331 * iconv/iconvconfig.c (print_version): Likewise.
19332 * locale/programs/locale.c (print_version): Likewise.
19333 * locale/programs/localedef.c (print_version): Likewise.
19334 * login/programs/pt_chown.c (print_version): Likewise.
19335 * malloc/memusage.sh (do_version): Likewise.
19336 * malloc/memusagestat.c (print_version): Likewise.
19337 * malloc/mtrace.pl: Likewise.
19338 * manual/libc.texinfo: Likewise.
19339 * nptl/version.c (banner): Likewise.
19340 * nscd/nscd.c (print_version): Likewise.
19341 * nss/getent.c (print_version): Likewise.
19342 * nss/makedb.c (print_version): Likewise.
19343 * posix/getconf.c (main): Likewise.
19344 * scripts/test-installation.pl: Likewise.
19345 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19347 * All files with FSF copyright notices: Update copyright dates
19348 using scripts/update-copyrights.
19349 * locale/programs/charmap-kw.h: Regenerated.
19350 * locale/programs/locfile-kw.h: Likewise.
19352 2017-12-31 Zack Weinberg <zackw@panix.com>
19354 * libio/bits/libio-ldbl.h: Correct check for improper
19355 inclusion. Add own multiple include guard.
19357 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19358 Dmitry V. Levin <ldv@altlinux.org>
19362 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19363 string token expansion. Check for NULL pointer or empty string possibly
19364 returned by expand_dynamic_string_token.
19365 (decompose_rpath): Check for empty path after dynamic string
19368 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19371 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19373 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19374 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19375 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19376 and PTRACE_SYSCALL.
19377 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19378 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19382 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19384 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19385 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19386 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19387 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19389 bits/ptrace-shared.h.
19390 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19391 <bits/ptrace-shared.h>.
19392 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19393 __ptrace_peeksiginfo_flags, ptrace): Remove.
19394 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19398 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19400 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19403 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19404 end of the loop. Improve comments.
19406 2017-12-29 Zack Weinberg <zackw@panix.com>
19409 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19410 might be set on success.
19412 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19415 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19416 is unchanged on success.
19418 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19420 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19422 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19423 expand_dynamic_string_token): Likewise.
19424 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19427 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19430 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19431 is set and name contains ':', and all code depending on these checks.
19433 2017-12-24 Zack Weinberg <zackw@panix.com>
19435 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19436 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19438 * libio/libio.h: Rename the original version of this file to
19439 libio/bits/libio.h. Error out if not included by stdio.h or the
19441 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19442 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19443 if not included by bits/libio.h or the stub _G_config.h.
19444 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19445 sysdeps/unix/sysv/linux/bits. Error out if not included by
19446 bits/libio.h or the stub _G_config.h.
19447 * libio/stdio.h: Include bits/libio.h, not libio.h.
19448 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19449 well as libio.h and _G_config.h.
19451 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19452 * libio/strfile.h, stdio-common/vfscanf.c
19453 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19454 Include stdio.h, not _G_config.h nor libio.h.
19455 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19456 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19458 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19460 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19463 * stdlib/getrandom.c (getrandom): Fix comment.
19464 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19466 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19469 * manual/arith.texi (strtoul): Fix a typo.
19472 * manual/arith.texi (finite): Fix the description of the return
19475 2017-12-22 Eric Blake <ebb9@byu.net>
19477 Avoid gcc warnings on cygwin
19478 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19479 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19480 Avoid unused variable.
19482 2017-12-22 Florian Weimer <fweimer@redhat.com>
19484 * io/Makefile (routines): Add copy_file_range.
19485 (tests): Add tst-copy_file_range.
19486 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19487 * io/Versions (GLIBC_2.27): Export copy_file_range.
19488 * io/copy_file_range-compat.c: New file.
19489 * io/copy_file_range.c: Likewise.
19490 * io/tst-copy_file_range-compat.c: Likewise.
19491 * io/tst-copy_file_range.c: Likewise.
19492 * manual/llio.texi (Copying File Data): New section.
19493 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19494 * support/Makefile (libsupport-routines): Add support-xfstat,
19495 xftruncate, xlseek.
19496 * support/support-xfstat.c: New file.
19497 * support/xftruncate.c: Likewise.
19498 * support/xlseek.c: Likewise.
19499 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19500 * sysdeps/unix/sysv/linux/**.abilist: Update.
19501 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19503 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19505 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19506 disable-multi-arch variant to aarch64-linux-gnu.
19508 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19510 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19511 trailing whitespace removed.
19512 * scripts/config.guess: Update to version 2017-12-17.
19513 * scripts/config.sub: Update to version 2017-11-23.
19514 * scripts/install-sh: Update to version 2017-09-23.17.
19515 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19517 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19519 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19520 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19521 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19522 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19523 * sysdeps/tile/crtn.S: Likewise.
19524 * sysdeps/tile/dl-start.S (_start): Likewise.
19525 * sysdeps/tile/dl-trampoline.S: Likewise.
19526 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19527 * sysdeps/tile/start.S (_start): Likewise.
19528 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19529 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19530 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19531 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19532 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19533 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19534 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19536 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19538 * sysdeps/tile/preconfigure: Remove tilegx folder.
19539 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19540 * sysdeps/tile/Implies: ... here.
19541 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19542 * sysdeps/tile/Makefile: ... here.
19543 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19544 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19545 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19546 * sysdeps/tile/bits/wordsize.h: ... here.
19547 * sysdeps/tile/tilegx/*: Move to ...
19548 * sysdeps/tile/*: ... here.
19549 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19550 * sysdeps/tile/tilegx32/Implies: ... here.
19551 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19552 * sysdeps/tile/tilegx64/Implies: ... here.
19553 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19555 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19556 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19557 * sysdeps/unix/sysv/linux/tile/*: ... here.
19558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19559 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19561 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19563 * README: Remove tilepro-*-linux-gnu from supported architecture.
19564 * scripts/build-many-glibcs.py: Likewise.
19565 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19566 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19567 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19568 elf_machine_matches_host, elf_machine_dynamic,
19569 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19570 howto, elf_machine_rela): Likewise.
19571 * sysdeps/tile/dl-start.S (_start): Likewise.
19572 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19573 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19574 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19575 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19576 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19577 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19579 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19580 * sysdeps/tile/preconfigure: Likewise.
19581 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19582 POINTER_CHK_GUARD): Likewise.
19583 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19584 * sysdeps/tile/start.S (_start): Likewise.
19585 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19587 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19588 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19590 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19591 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19592 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19594 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19595 * sysdeps/tile/tilepro/Implies: Remove file.
19596 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19597 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19598 * sysdeps/tile/tilepro/memchr.c: Likewise.
19599 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19600 * sysdeps/tile/tilepro/memset.c: Likewise.
19601 * sysdeps/tile/tilepro/memusage.h: Likewise.
19602 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19603 * sysdeps/tile/tilepro/strchr.c: Likewise.
19604 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19605 * sysdeps/tile/tilepro/strlen.c: Likewise.
19606 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19607 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19608 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19609 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19610 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19611 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19612 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19614 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19615 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19616 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19617 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19618 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19619 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19620 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19621 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19622 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19623 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19624 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19625 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19626 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19627 tilepro mention in comment.
19629 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19630 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19631 * nptl/pthread_join_common.c: New file: common function used on
19632 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19633 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19634 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19635 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19636 (cleanup): Move definition to pthread_join_common.c.
19637 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19638 Remove superflous checks.
19639 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19642 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19644 * sysdeps/aarch64/libm-test-ulps: Update.
19646 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19648 * sysdeps/aarch64/memset.S (MEMSET): Define.
19650 2017-12-20 Florian Weimer <fweimer@redhat.com>
19653 nptl: Provide full implementation of pthread_self in libc.so.
19654 * nptl/Makefile (routines): Add pthread_self.
19655 (libpthread-routines): Replace pthread_self with
19656 compat-pthread_self.
19657 * nptl/forward.c (pthread_self): Remove.
19658 * nptl/nptl-init.c (pthread_functions): Do not initialize
19660 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19661 * nptl/compat-pthread_self.c: New file.
19662 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19663 Remove ptr_pthread_self.
19665 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19667 * posix/regcomp.c: Fix spelling in comments.
19668 * posix/regex.h: Likewise.
19669 * posix/regex_internal.c: Likewise.
19670 * posix/regexec.c: Likewise.
19672 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19675 * math/Makefile [C++] (tests): Add test for iseqsig.
19676 * math/math.h [C++] (iseqsig): New implementation, which does
19677 not rely on __MATH_TG/__builtin_types_compatible_p.
19678 * math/test-math-iseqsig.cc: New file.
19679 * sysdeps/powerpc/powerpc64le/Makefile
19680 (CFLAGS-test-math-iseqsig.cc): New variable.
19682 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19684 * elf/dl-load.c (is_trusted_path): Remove.
19685 (fillin_rpath): Remove check_trusted argument and its use,
19686 all callers changed.
19688 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19691 * Makeconfig (link-pie-before-libc): Replace -pie with
19692 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19693 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19694 (tst-dlopen-aout-no-pie): New.
19695 (LDFLAGS-tst-prelink): Removed.
19696 (tst-prelink-no-pie): New.
19697 (LDFLAGS-tst-main1): Removed.
19698 (tst-main1-no-pie): New.
19699 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19700 (tst-gmon-no-pie): New.
19702 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19704 * manual/install.texi: Document that --enable-static-pie
19706 * INSTALL: Regenerated.
19708 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19711 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19714 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19718 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19722 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19724 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19725 <errno.h>. Include "eexp.tbl".
19726 (half): New constant.
19728 (__ieee754_exp): Rewrite.
19729 (__slowexp): Remove prototype.
19730 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19731 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19732 * sysdeps/i386/fpu/slowexp.c: Likewise.
19733 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19734 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19735 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19736 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19737 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19738 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19739 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19741 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19742 (CPPFLAGS-slowexp.c): Remove variable.
19743 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19744 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19745 (CFLAGS-slowexp-fma.c): Remove variable.
19746 (CFLAGS-slowexp-fma4.c): Likewise.
19747 (CFLAGS-slowexp-avx.c): Likewise.
19748 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19750 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19751 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19752 * math/Makefile (type-double-routines): Remove slowexp.
19753 * manual/probes.texi (slowexp_p6): Remove.
19754 (slowexp_p32): Likewise.
19756 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19758 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19761 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19763 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19767 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19769 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19770 <errno.h>. Include "eexp.tbl".
19771 (half): New constant.
19773 (__ieee754_exp): Rewrite.
19774 (__slowexp): Remove prototype.
19775 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19776 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19777 * sysdeps/i386/fpu/slowexp.c: Likewise.
19778 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19779 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19780 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19781 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19783 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19784 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19786 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19787 (CPPFLAGS-slowexp.c): Remove variable.
19788 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19789 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19790 (CFLAGS-slowexp-fma.c): Remove variable.
19791 (CFLAGS-slowexp-fma4.c): Likewise.
19792 (CFLAGS-slowexp-avx.c): Likewise.
19793 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19795 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19796 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19797 * math/Makefile (type-double-routines): Remove slowexp.
19798 * manual/probes.texi (slowexp_p6): Remove.
19799 (slowexp_p32): Likewise.
19801 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19802 James Clarke <jrtc27@jrtc27.com>
19805 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19808 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19811 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19814 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19817 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19818 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19819 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19820 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19823 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19826 * bits/types/__cancel_jmp_buf_tag.h: New file.
19827 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19828 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19829 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19830 * nptl/Makefile (headers): Add
19831 bits/types/__cancel_jmp_buf_tag.h.
19832 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19833 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19834 * sysdeps/nptl/pthread.h: Include
19835 <bits/types/__cancel_jmp_buf_tag.h>.
19836 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19838 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19840 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19842 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19843 --enable-static-pie variants to x86_64, x32 and i686.
19845 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19848 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19849 argument for attrubutes. All callers changed.
19850 (__inline_mathop1): Likewise. All callers changed.
19851 (__inline_mathop): Likewise. All callers changed.
19852 [__USE_MISC] (scalbn): Use __inline_forward instead of
19853 __inline_forward_c.
19854 [__USE_ISOC99] (scalbln): Likewise.
19855 [__USE_ISOC99] (nearbyint): Likewise.
19856 [__USE_ISOC99] (lrint): Likewise.
19857 [__USE_MISC] (scalbnf): Likewise.
19858 [__USE_ISOC99] (scalblnf): Likewise.
19859 [__USE_ISOC99] (nearbyintf): Likewise.
19860 [__USE_ISOC99] (lrintf): Likewise.
19861 [__USE_MISC] (scalbnl): Likewise.
19862 [__USE_ISOC99] (scalblnl): Likewise.
19863 [__USE_ISOC99] (nearbyintl): Likewise.
19864 [__USE_ISOC99] (lrintl): Likewise.
19865 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19866 __inline_mathop and __m81_defun changed.
19868 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19869 CPU or FPU for ARM hard-float configurations.
19871 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19873 * nptl/tst-attr3.c: Include <libc-diag.h>.
19874 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19876 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19878 * string/tester.c (test_strncat): Also disable -Warray-bounds
19879 warnings for two tests.
19881 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19884 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19885 $(cc-pie-default) == yes.
19886 * config.make.in (cc-pie-default): New.
19887 * configure.ac (libc_cv_pie_default): Renamed to ...
19888 (libc_cv_cc_pie_default): This.
19889 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19890 * configure: Regenerated.
19892 2017-12-18 Florian Weimer <fweimer@redhat.com>
19895 ld.so: Harden dl-libc/libdl hooks.
19896 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19897 (rtld_active): New function.
19898 * dlfcn/dladdr.c (__dladdr): Call it.
19899 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19900 * dlfcn/dlclose.c (__dlcose): Likewise.
19901 * dlfcn/dlerror.c (__dlerror): Likewise.
19902 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19903 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19904 * dlfcn/dlopen.c (__dlopen): Likewise.
19905 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19906 * dlfcn/dlsym.c (__dlsym): Likewise.
19907 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19908 * libio/vtables.c (_IO_vtable_check): Likewise.
19909 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19910 (__libc_dlclose): Likewise.
19911 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19914 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19917 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19918 buffers for readlink input and output.
19920 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19923 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19924 inhibit_stack_protector.
19927 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19928 inhibit_stack_protector.
19930 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19933 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19934 code and invocation.
19936 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19938 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19940 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19943 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19945 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19947 * sysdeps/s390/fpu/libm-test-ulps: Update.
19949 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19953 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19955 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19956 constants to s_sincosf.h file.
19957 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19958 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19960 * sysdeps/ieee754/flt-32/s_sincosf.h:
19963 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19966 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19969 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19972 * INSTALL: Regenerated.
19973 * Makeconfig (real-static-start-installed-name): New.
19974 (pic-default): Updated for --enable-static-pie.
19975 (pie-default): New for --enable-static-pie.
19976 (default-pie-ldflag): Likewise.
19977 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19978 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19979 Replace $(static-start-installed-name) with
19980 $(real-static-start-installed-name).
19981 (+prectorT): Updated for --enable-static-pie.
19982 (+postctorT): Likewise.
19983 (CFLAGS-.o): Add $(pie-default).
19984 (CFLAGS-.op): Likewise.
19985 * NEWS: Mention --enable-static-pie.
19986 * config.h.in (ENABLE_STATIC_PIE): New.
19987 * configure.ac (--enable-static-pie): New configure option.
19988 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19989 (have-static-pie): Likewise.
19990 Enable static PIE if linker supports --no-dynamic-linker.
19991 (ENABLE_STATIC_PIE): New AC_DEFINE.
19992 (enable-static-pie): New LIBC_CONFIG_VAR.
19993 * configure: Regenerated.
19994 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19995 gr$(start-installed-name) for --enable-static-pie.
19996 (extra-objs): Likewise.
19997 (install-lib): Likewise.
19998 (extra-objs): Add static-reloc.o and static-reloc.os
19999 ($(objpfx)$(start-installed-name)): Also depend on
20000 $(objpfx)static-reloc.o.
20001 ($(objpfx)r$(start-installed-name)): New.
20002 ($(objpfx)g$(start-installed-name)): Also depend on
20003 $(objpfx)static-reloc.os.
20004 ($(objpfx)gr$(start-installed-name)): New.
20005 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20007 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20009 * csu/static-reloc.c: New file.
20010 * elf/Makefile (routines): Add dl-reloc-static-pie.
20011 (elide-routines.os): Likewise.
20012 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20013 (tst-tls1-static-non-pie-no-pie): New.
20014 * elf/dl-reloc-static-pie.c: New file.
20015 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20016 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20017 STATIC_PIE_BOOTSTRAP.
20018 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20019 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20020 (tests-static): Likewise.
20021 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20022 (tst-gmon-static-no-pie): New.
20023 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20024 (CRT-tst-gmon-static-pie): Likewise.
20025 (tst-gmon-static-pie-ENV): Likewise.
20026 (tests-special): Likewise.
20027 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20028 (clean-tst-gmon-static-pie-data): Likewise.
20029 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20030 * gmon/tst-gmon-static-pie.c: New file.
20031 * manual/install.texi: Document --enable-static-pie.
20032 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20033 (_dl_get_dl_main_map): Likewise.
20034 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20035 * sysdeps/x86_64/configure.ac: Likewise.
20036 * sysdeps/i386/configure: Regenerated.
20037 * sysdeps/x86_64/configure: Likewise.
20038 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20039 (ASFLAGS-.op): Likewise.
20041 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20043 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20044 * posix/tst-mmap-offset.c (fname): Use /tmp.
20045 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20047 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20049 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20051 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20053 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20056 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20058 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20059 --with-float=hard for arm-linux-gnueabihf configurations.
20062 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20063 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20064 ($(mo-installed)): Use $(objpfx)%.mo.
20065 (realclean): Remove rule.
20067 * po/Makefile (linguas): Remove rule and dependencies.
20068 (linguas.mo): Likewise.
20069 (.PHONY): Do not depend on linguas and linguas.mo.
20070 (podir): Remove variable.
20071 (pofiles): Likewise.
20072 [$(pofiles)] (%.po): Remove rule.
20074 * sysdeps/sparc/sparc32/Makefile
20075 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20076 start-of-line whitespace in argument of echo.
20077 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20078 with whitespace. Generate __wrap_.udiv alias.
20079 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20080 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20081 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20082 * sysdeps/sparc/sparc32/urem.S: Likewise.
20084 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20086 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20087 for aligned inputs.
20089 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20091 * benchtests/bench-strcmp.c: Print output in JSON format.
20093 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20095 2017-12-14 Florian Weimer <fweimer@redhat.com>
20099 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20100 the expanded path string.
20102 2017-12-14 Florian Weimer <fweimer@redhat.com>
20106 * elf/dl-load.c (system_dirs): Update comment.
20107 (nsystem_dirs_len): Use array_length.
20108 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20110 2017-12-14 Florian Weimer <fweimer@redhat.com>
20112 Simplify compiling most of support/ outside of glibc.
20113 * support/check_addrinfo.c: Include <string.h>.
20114 * support/check_dns_packet.c: Likewise.
20115 * support/check_hostent.c: Likewise.
20116 * support/support_can_chroot.c: Include <support/xunistd.h>.
20117 * support/support_format_addrinfo.c: Include <stdlib.h>
20118 * support/support_format_dns_packet.c: Include <stdbool.h>.
20119 * support/support_format_hostent.c: Include <stdlib.h>.
20120 * support/support_format_netent.c: Likewise.
20121 * support/support_write_string.c: Include <support/xunistd.h>.
20122 * support/xdlfcn.c: Include <stddef.h>.
20124 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20126 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20128 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20129 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20131 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20132 (sysdeps_routines): Add memset-niagara7.
20133 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20135 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20137 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20138 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20139 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20140 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20141 Add niagara7 option.
20142 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20145 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20146 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20147 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20149 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20151 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20152 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20153 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20154 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20155 and __memmove_niagara7.
20156 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20157 Add niagara7 option.
20158 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20159 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20160 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20161 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20162 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20164 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20166 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20167 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20168 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20169 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20171 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20172 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20173 _dl_sparc_cap_flags array.
20174 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20176 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20178 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20179 time whenever possible.
20181 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20183 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20184 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20186 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20188 * soft-fp/fmadf4.c: Move to ....
20189 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20190 * soft-fp/fmasf4.c: Move to ....
20191 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20192 * soft-fp/fmatf4.c: Move to ....
20193 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20194 * sysdeps/ieee754/soft-fp/Makefile: New file.
20195 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20196 * sysdeps/arm/preconfigure: Regenerated.
20197 * sysdeps/arm/nofpu/Implies: New file.
20198 * sysdeps/arm/s_fma.c: Remove file.
20199 * sysdeps/arm/s_fmaf.c: Likewise.
20200 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20201 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20202 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20203 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20204 * sysdeps/microblaze/s_fma.c: Remove file.
20205 * sysdeps/microblaze/s_fmaf.c: Likewise.
20206 * sysdeps/mips/mips32/nofpu/Implies: New file.
20207 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20208 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20209 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20210 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20211 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20212 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20213 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20215 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20216 * sysdeps/nios2/s_fma.c: Remove file.
20217 * sysdeps/nios2/s_fmaf.c: Likewise.
20218 * sysdeps/sh/nofpu/Implies: New file.
20219 * sysdeps/sh/s_fma.c: Remove file.
20220 * sysdeps/sh/s_fmaf.c: Likewise.
20221 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20222 * sysdeps/tile/s_fma.c: Remove file.
20223 * sysdeps/tile/s_fmaf.c: Likewise.
20225 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20227 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20228 Add s_cosf-sse2 and s_cosf-fma.
20229 (CFLAGS-s_cosf-fma.c): New.
20230 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20231 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20232 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20234 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20236 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20238 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20240 * libio/Makefile (tests): Add tst-bz22415.
20241 (tst-bz22415-ENV): New rule.
20242 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20243 (tests-special): Add tst-bz22415-mem.out.
20244 ($(objpfx)tst-bz22415-mem.out): New rule.
20245 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20246 in case of a successful seek operation.
20247 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20248 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20249 buffer is required.
20250 * libio/tst-bz22415.c: New test.
20252 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20254 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20256 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20257 __IPC_64 to 0 to avoid IPC_64 being set.
20259 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20262 * math/bits/mathcalls.h (nextafter): Remove const.
20263 (nexttoward): Likewise.
20265 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20267 * configure.ac (--with-fp): Remove configure option.
20268 (with_fp_cond): New variable.
20269 (libc_cv_with_fp): New configure test. Use this variable instead
20271 * configure: Regenerated.
20272 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20273 * manual/install.texi (Configuring and compiling): Remove
20275 * INSTALL: Regenerated.
20276 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20277 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20278 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20279 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20280 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20281 use --without-fp to configure glibc.
20283 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20285 * manual/locale.texi (nl_langinfo): Fix a typo.
20287 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20290 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20292 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20294 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20295 (CFLAGS-argp-parse.c): Likewise.
20296 (CFLAGS-argp-fmtstream.c): Likewise.
20297 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20298 (CPPFLAGS-sha512-crypt.c): Likewise.
20299 (CPPFLAGS-md5-crypt.c): Likewise.
20300 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20301 (CFLAGS-stack_chk_fail_local.c): Likewise.
20302 (CFLAGS-backtrace.c): Likewise.
20303 (CFLAGS-sprintf_chk.c): Likewise.
20304 (CFLAGS-snprintf_chk.c): Likewise.
20305 (CFLAGS-vsprintf_chk.c): Likewise.
20306 (CFLAGS-vsnprintf_chk.c): Likewise.
20307 (CFLAGS-asprintf_chk.c): Likewise.
20308 (CFLAGS-vasprintf_chk.c): Likewise.
20309 (CFLAGS-obprintf_chk.c): Likewise.
20310 (CFLAGS-dprintf_chk.c): Likewise.
20311 (CFLAGS-vdprintf_chk.c): Likewise.
20312 (CFLAGS-printf_chk.c): Likewise.
20313 (CFLAGS-fprintf_chk.c): Likewise.
20314 (CFLAGS-vprintf_chk.c): Likewise.
20315 (CFLAGS-vfprintf_chk.c): Likewise.
20316 (CFLAGS-gets_chk.c): Likewise.
20317 (CFLAGS-fgets_chk.c): Likewise.
20318 (CFLAGS-fgets_u_chk.c): Likewise.
20319 (CFLAGS-fread_chk.c): Likewise.
20320 (CFLAGS-fread_u_chk.c): Likewise.
20321 (CFLAGS-swprintf_chk.c): Likewise.
20322 (CFLAGS-vswprintf_chk.c): Likewise.
20323 (CFLAGS-wprintf_chk.c): Likewise.
20324 (CFLAGS-fwprintf_chk.c): Likewise.
20325 (CFLAGS-vwprintf_chk.c): Likewise.
20326 (CFLAGS-vfwprintf_chk.c): Likewise.
20327 (CFLAGS-fgetws_chk.c): Likewise.
20328 (CFLAGS-fgetws_u_chk.c): Likewise.
20329 (CFLAGS-read_chk.c): Likewise.
20330 (CFLAGS-pread_chk.c): Likewise.
20331 (CFLAGS-pread64_chk.c): Likewise.
20332 (CFLAGS-recv_chk.c): Likewise.
20333 (CFLAGS-recvfrom_chk.c): Likewise.
20334 (CFLAGS-tst-longjmp_chk.c): Likewise.
20335 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20336 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20337 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20338 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20339 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20340 (CFLAGS-tst-chk1.c): Likewise.
20341 (CFLAGS-tst-chk2.c): Likewise.
20342 (CFLAGS-tst-chk3.c): Likewise.
20343 (CFLAGS-tst-chk4.cc): Likewise.
20344 (CFLAGS-tst-chk5.cc): Likewise.
20345 (CFLAGS-tst-chk6.cc): Likewise.
20346 (CFLAGS-tst-lfschk1.c): Likewise.
20347 (CFLAGS-tst-lfschk2.c): Likewise.
20348 (CFLAGS-tst-lfschk3.c): Likewise.
20349 (CFLAGS-tst-lfschk4.cc): Likewise.
20350 (CFLAGS-tst-lfschk5.cc): Likewise.
20351 (CFLAGS-tst-lfschk6.cc): Likewise.
20352 (CFLAGS-tst-ssp-1.c): Likewise.
20353 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20354 (CFLAGS-scandir64.c): Likewise.
20355 (CFLAGS-scandir-tail.c): Likewise.
20356 (CFLAGS-scandir64-tail.c): Likewise.
20357 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20358 (CFLAGS-dl-tunables.c): Likewise.
20359 (CFLAGS-dl-runtime.c): Likewise.
20360 (CFLAGS-dl-lookup.c): Likewise.
20361 (CFLAGS-dl-iterate-phdr.c): Likewise.
20362 (CFLAGS-vismain.c): Likewise.
20363 (CFLAGS-tst-linkall-static.c): Likewise.
20364 (CFLAGS-tst-linkall-static.c): Likewise.
20365 (CPPFLAGS-dl-load.c): Likewise.
20366 (CFLAGS-ldconfig.c): Likewise.
20367 (CFLAGS-dl-cache.c): Likewise.
20368 (CFLAGS-cache.c): Likewise.
20369 (CFLAGS-rtld.c): Likewise.
20370 (CFLAGS-multiload.c): Likewise.
20371 (CFLAGS-filtmod1.c): Likewise.
20372 (CFLAGS-tst-align.c): Likewise.
20373 (CFLAGS-tst-align2.c): Likewise.
20374 (CFLAGS-tst-alignmod.c): Likewise.
20375 (CFLAGS-tst-alignmod2.c): Likewise.
20376 (CPPFLAGS-tst-execstack.c): Likewise.
20377 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20378 (CFLAGS-tst-latepthreadmod.c): Likewise.
20379 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20380 (CFLAGS-getgrnam_r.c): Likewise.
20381 (CFLAGS-getgrent_r.c): Likewise.
20382 (CFLAGS-getgrent.c): Likewise.
20383 (CFLAGS-fgetgrent.c): Likewise.
20384 (CFLAGS-fgetgrent_r.c): Likewise.
20385 (CFLAGS-putgrent.c): Likewise.
20386 (CFLAGS-initgroups.c): Likewise.
20387 (CFLAGS-getgrgid.c): Likewise.
20388 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20389 (CFLAGS-getsgent.c): Likewise.
20390 (CFLAGS-fgetsgent.c): Likewise.
20391 (CFLAGS-fgetsgent_r.c): Likewise.
20392 (CFLAGS-putsgent.c): Likewise.
20393 (CFLAGS-getsgnam.c): Likewise.
20394 (CFLAGS-getsgnam_r.c): Likewise.
20395 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20396 (CFLAGS-iconv_charmap.c): Likewise.
20397 (CFLAGS-dummy-repertoire.c): Likewise.
20398 (CFLAGS-charmap.c): Likewise.
20399 (CFLAGS-linereader.c): Likewise.
20400 (CFLAGS-simple-hash.c): Likewise.
20401 (CFLAGS-gconv_conf.c): Likewise.
20402 (CFLAGS-iconvconfig.c): Likewise.
20403 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20404 (CFLAGS-gethstbyad.c): Likewise.
20405 (CFLAGS-gethstbynm_r.c): Likewise.
20406 (CFLAGS-gethstbynm.c): Likewise.
20407 (CFLAGS-gethstbynm2_r.c): Likewise.
20408 (CFLAGS-gethstbynm2.c): Likewise.
20409 (CFLAGS-gethstent_r.c): Likewise.
20410 (CFLAGS-gethstent.c): Likewise.
20411 (CFLAGS-rcmd.c): Likewise.
20412 (CFLAGS-getnetbynm_r.c): Likewise.
20413 (CFLAGS-getnetbynm.c): Likewise.
20414 (CFLAGS-getnetbyad_r.c): Likewise.
20415 (CFLAGS-getnetbyad.c): Likewise.
20416 (CFLAGS-getnetent_r.c): Likewise.
20417 (CFLAGS-getnetent.c): Likewise.
20418 (CFLAGS-getaliasent_r.c): Likewise.
20419 (CFLAGS-getaliasent.c): Likewise.
20420 (CFLAGS-getrpcent_r.c): Likewise.
20421 (CFLAGS-getrpcent.c): Likewise.
20422 (CFLAGS-getservent_r.c): Likewise.
20423 (CFLAGS-getservent.c): Likewise.
20424 (CFLAGS-getprtent_r.c): Likewise.
20425 (CFLAGS-getprtent.c): Likewise.
20426 (CFLAGS-either_ntoh.c): Likewise.
20427 (CFLAGS-either_hton.c): Likewise.
20428 (CFLAGS-getnetgrent.c): Likewise.
20429 (CFLAGS-getnetgrent_r.c): Likewise.
20430 (CFLAGS-tst-checks-posix.c): Likewise.
20431 (CFLAGS-tst-sockaddr.c): Likewise.
20432 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20433 (CFLAGS-tst-translit.c): Likewise.
20434 (CFLAGS-tst-gettext2.c): Likewise.
20435 (CFLAGS-tst-codeset.c): Likewise.
20436 (CFLAGS-tst-gettext3.c): Likewise.
20437 (CFLAGS-tst-gettext4.c): Likewise.
20438 (CFLAGS-tst-gettext5.c): Likewise.
20439 (CFLAGS-tst-gettext6.c): Likewise.
20440 * io/Makefile (CFLAGS-open.c): Likewise.
20441 (CFLAGS-open64.c): Likewise.
20442 (CFLAGS-creat.c): Likewise.
20443 (CFLAGS-creat64.c): Likewise.
20444 (CFLAGS-fcntl.c): Likewise.
20445 (CFLAGS-poll.c): Likewise.
20446 (CFLAGS-ppoll.c): Likewise.
20447 (CFLAGS-lockf.c): Likewise.
20448 (CFLAGS-statfs.c): Likewise.
20449 (CFLAGS-fstatfs.c): Likewise.
20450 (CFLAGS-statvfs.c): Likewise.
20451 (CFLAGS-fstatvfs.c): Likewise.
20452 (CFLAGS-fts.c): Likewise.
20453 (CFLAGS-fts64.c): Likewise.
20454 (CFLAGS-ftw.c): Likewise.
20455 (CFLAGS-ftw64.c): Likewise.
20456 (CFLAGS-lockf.c): Likewise.
20457 (CFLAGS-posix_fallocate.c): Likewise.
20458 (CFLAGS-posix_fallocate64.c): Likewise.
20459 (CFLAGS-fallocate.c): Likewise.
20460 (CFLAGS-fallocate64.c): Likewise.
20461 (CFLAGS-read.c): Likewise.
20462 (CFLAGS-write.c): Likewise.
20463 (CFLAGS-test-stat.c): Likewise.
20464 (CFLAGS-test-lfs.c): Likewise.
20465 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20466 (CFLAGS-fputc.c): Likewise.
20467 (CFLAGS-fputwc.c): Likewise.
20468 (CFLAGS-freopen64.c): Likewise.
20469 (CFLAGS-freopen.c): Likewise.
20470 (CFLAGS-fseek.c): Likewise.
20471 (CFLAGS-fseeko64.c): Likewise.
20472 (CFLAGS-fseeko.c): Likewise.
20473 (CFLAGS-ftello64.c): Likewise.
20474 (CFLAGS-ftello.c): Likewise.
20475 (CFLAGS-fwide.c): Likewise.
20476 (CFLAGS-genops.c): Likewise.
20477 (CFLAGS-getc.c): Likewise.
20478 (CFLAGS-getchar.c): Likewise.
20479 (CFLAGS-getwc.c): Likewise.
20480 (CFLAGS-getwchar.c): Likewise.
20481 (CFLAGS-iofclose.c): Likewise.
20482 (CFLAGS-iofflush.c): Likewise.
20483 (CFLAGS-iofgetpos64.c): Likewise.
20484 (CFLAGS-iofgetpos.c): Likewise.
20485 (CFLAGS-iofgets.c): Likewise.
20486 (CFLAGS-iofgetws.c): Likewise.
20487 (CFLAGS-iofputs.c): Likewise.
20488 (CFLAGS-iofputws.c): Likewise.
20489 (CFLAGS-iofread.c): Likewise.
20490 (CFLAGS-iofsetpos64.c): Likewise.
20491 (CFLAGS-iofsetpos.c): Likewise.
20492 (CFLAGS-ioftell.c): Likewise.
20493 (CFLAGS-iofwrite.c): Likewise.
20494 (CFLAGS-iogetdelim.c): Likewise.
20495 (CFLAGS-iogetline.c): Likewise.
20496 (CFLAGS-iogets.c): Likewise.
20497 (CFLAGS-iogetwline.c): Likewise.
20498 (CFLAGS-ioputs.c): Likewise.
20499 (CFLAGS-ioseekoff.c): Likewise.
20500 (CFLAGS-ioseekpos.c): Likewise.
20501 (CFLAGS-iosetbuffer.c): Likewise.
20502 (CFLAGS-iosetvbuf.c): Likewise.
20503 (CFLAGS-ioungetc.c): Likewise.
20504 (CFLAGS-ioungetwc.c): Likewise.
20505 (CFLAGS-oldfileops.c): Likewise.
20506 (CFLAGS-oldiofclose.c): Likewise.
20507 (CFLAGS-oldiofgetpos64.c): Likewise.
20508 (CFLAGS-oldiofgetpos.c): Likewise.
20509 (CFLAGS-oldiofsetpos64.c): Likewise.
20510 (CFLAGS-oldiofsetpos.c): Likewise.
20511 (CFLAGS-peekc.c): Likewise.
20512 (CFLAGS-putc.c): Likewise.
20513 (CFLAGS-putchar.c): Likewise.
20514 (CFLAGS-putwc.c): Likewise.
20515 (CFLAGS-putwchar.c): Likewise.
20516 (CFLAGS-rewind.c): Likewise.
20517 (CFLAGS-wfileops.c): Likewise.
20518 (CFLAGS-wgenops.c): Likewise.
20519 (CFLAGS-oldiofopen.c): Likewise.
20520 (CFLAGS-iofopen.c): Likewise.
20521 (CFLAGS-iofopen64.c): Likewise.
20522 (CFLAGS-oldtmpfile.c): Likewise.
20523 (CFLAGS-tst_putwc.c): Likewise.
20524 * locale/Makefile (CFLAGS-md5.c): Likewise.
20525 (CFLAGS-charmap.c): Likewise.
20526 (CFLAGS-locfile.c): Likewise.
20527 (CFLAGS-charmap-dir.c): Likewise.
20528 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20529 (CFLAGS-getpt.c): Likewise.
20530 (CFLAGS-pt_chown.c): Likewise.
20531 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20532 (CFLAGS-obstack.c): Likewise.
20533 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20534 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20535 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20536 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20537 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20538 (CFLAGS-test-tgmath.c): Likewise.
20539 (CFLAGS-test-tgmath2.c): Likewise.
20540 (CFLAGS-test-tgmath-ret.c): Likewise.
20541 (CFLAGS-test-powl.c): Likewise.
20542 (CFLAGS-test-snan.c): Likewise.
20543 (CFLAGS-test-signgam-finite.c): Likewise.
20544 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20545 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20546 (CFLAGS-test-signgam-uchar.c): Likewise.
20547 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20548 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20549 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20550 (CFLAGS-test-signgam-uint.c): Likewise.
20551 (CFLAGS-test-signgam-uint-init.c): Likewise.
20552 (CFLAGS-test-signgam-uint-static.c): Likewise.
20553 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20554 (CFLAGS-test-signgam-ullong.c): Likewise.
20555 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20556 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20557 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20558 (CFLAGS-test-math-cxx11.cc): Likewise.
20559 (CFLAGS-test-math-isinff.cc): Likewise.
20560 (CFLAGS-test-math-iszero.cc): Likewise.
20561 (CFLAGS-test-math-issignaling.cc): Likewise.
20562 (CFLAGS-test-math-iscanonical.cc): Likewise.
20563 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20564 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20565 (CFLAGS-test-flt-eval-method.c): Likewise.
20566 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20567 (CFLAGS-test-finite-macros.c): Likewise.
20568 * misc/Makefile (CFLAGS-select.c): Likewise.
20569 (CFLAGS-tsearch.c): Likewise.
20570 (CFLAGS-lsearch.c): Likewise.
20571 (CFLAGS-pselect.c): Likewise.
20572 (CFLAGS-readv.c): Likewise.
20573 (CFLAGS-writev.c): Likewise.
20574 (CFLAGS-preadv.c): Likewise.
20575 (CFLAGS-preadv64.c): Likewise.
20576 (CFLAGS-pwritev.c): Likewise.
20577 (CFLAGS-pwritev64.c): Likewise.
20578 (CFLAGS-preadv2.c): Likewise.
20579 (CFLAGS-preadv64v2.c): Likewise.
20580 (CFLAGS-pwritev2.c): Likewise.
20581 (CFLAGS-pwritev64v2.c): Likewise.
20582 (CFLAGS-usleep.c): Likewise.
20583 (CFLAGS-syslog.c): Likewise.
20584 (CFLAGS-error.c): Likewise.
20585 (CFLAGS-getpass.c): Likewise.
20586 (CFLAGS-mkstemp.c): Likewise.
20587 (CFLAGS-mkstemp64.c): Likewise.
20588 (CFLAGS-getsysstats.c): Likewise.
20589 (CFLAGS-getusershell.c): Likewise.
20590 (CFLAGS-err.c): Likewise.
20591 (CFLAGS-tst-tsearch.c): Likewise.
20592 (CFLAGS-msync.c): Likewise.
20593 (CFLAGS-fdatasync.c): Likewise.
20594 (CFLAGS-fsync.c): Likewise.
20595 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20596 (CFLAGS-unwind.c): Likewise.
20597 (CFLAGS-unwind-forcedunwind.c): Likewise.
20598 (CFLAGS-pthread_cancel.c): Likewise.
20599 (CFLAGS-pthread_setcancelstate.c): Likewise.
20600 (CFLAGS-pthread_setcanceltype.c): Likewise.
20601 (CFLAGS-cancellation.c): Likewise.
20602 (CFLAGS-libc-cancellation.c): Likewise.
20603 (CFLAGS-pthread_exit.c): Likewise.
20604 (CFLAGS-forward.c): Likewise.
20605 (CFLAGS-pthread_testcancel.c): Likewise.
20606 (CFLAGS-pthread_join.c): Likewise.
20607 (CFLAGS-pthread_timedjoin.c): Likewise.
20608 (CFLAGS-pthread_once.c): Likewise.
20609 (CFLAGS-pthread_cond_wait.c): Likewise.
20610 (CFLAGS-sem_wait.c): Likewise.
20611 (CFLAGS-sem_timedwait.c): Likewise.
20612 (CFLAGS-fcntl.c): Likewise.
20613 (CFLAGS-lockf.c): Likewise.
20614 (CFLAGS-pread.c): Likewise.
20615 (CFLAGS-pread64.c): Likewise.
20616 (CFLAGS-pwrite.c): Likewise.
20617 (CFLAGS-pwrite64.c): Likewise.
20618 (CFLAGS-wait.c): Likewise.
20619 (CFLAGS-waitpid.c): Likewise.
20620 (CFLAGS-sigwait.c): Likewise.
20621 (CFLAGS-msgrcv.c): Likewise.
20622 (CFLAGS-msgsnd.c): Likewise.
20623 (CFLAGS-tcdrain.c): Likewise.
20624 (CFLAGS-open.c): Likewise.
20625 (CFLAGS-open64.c): Likewise.
20626 (CFLAGS-pause.c): Likewise.
20627 (CFLAGS-recv.c): Likewise.
20628 (CFLAGS-send.c): Likewise.
20629 (CFLAGS-accept.c): Likewise.
20630 (CFLAGS-sendto.c): Likewise.
20631 (CFLAGS-connect.c): Likewise.
20632 (CFLAGS-recvfrom.c): Likewise.
20633 (CFLAGS-recvmsg.c): Likewise.
20634 (CFLAGS-sendmsg.c): Likewise.
20635 (CFLAGS-close.c): Likewise.
20636 (CFLAGS-read.c): Likewise.
20637 (CFLAGS-write.c): Likewise.
20638 (CFLAGS-nanosleep.c): Likewise.
20639 (CFLAGS-sigsuspend.c): Likewise.
20640 (CFLAGS-msync.c): Likewise.
20641 (CFLAGS-fdatasync.c): Likewise.
20642 (CFLAGS-fsync.c): Likewise.
20643 (CFLAGS-pt-system.c): Likewise.
20644 (CFLAGS-tst-cleanup2.c): Likewise.
20645 (CFLAGS-tst-cleanupx2.c): Likewise.
20646 (CFLAGS-flockfile.c): Likewise.
20647 (CFLAGS-ftrylockfile.c): Likewise.
20648 (CFLAGS-funlockfile.c): Likewise.
20649 (CFLAGS-tst-initializers1.c): Likewise.
20650 (CFLAGS-tst-initializers1-c89.c): Likewise.
20651 (CFLAGS-tst-initializers1-c99.c): Likewise.
20652 (CFLAGS-tst-initializers1-c11.c): Likewise.
20653 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20654 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20655 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20656 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20657 (CFLAGS-nscd_getgr_r.c): Likewise.
20658 (CFLAGS-nscd_gethst_r.c): Likewise.
20659 (CFLAGS-nscd_getai.c): Likewise.
20660 (CFLAGS-nscd_initgroups.c): Likewise.
20661 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20662 (CFLAGS-pause.c): Likewise.
20663 (CFLAGS-pread.c): Likewise.
20664 (CFLAGS-pread64.c): Likewise.
20665 (CFLAGS-pwrite.c): Likewise.
20666 (CFLAGS-pwrite64.c): Likewise.
20667 (CFLAGS-sleep.c): Likewise.
20668 (CFLAGS-wait.c): Likewise.
20669 (CFLAGS-waitid.c): Likewise.
20670 (CFLAGS-waitpid.c): Likewise.
20671 (CFLAGS-getopt.c): Likewise.
20672 (CFLAGS-wordexp.c): Likewise.
20673 (CFLAGS-sysconf.c): Likewise.
20674 (CFLAGS-pathconf.c): Likewise.
20675 (CFLAGS-fpathconf.c): Likewise.
20676 (CFLAGS-spawn.c): Likewise.
20677 (CFLAGS-spawnp.c): Likewise.
20678 (CFLAGS-spawni.c): Likewise.
20679 (CFLAGS-glob.c): Likewise.
20680 (CFLAGS-glob64.c): Likewise.
20681 (CFLAGS-getconf.c): Likewise.
20682 (CFLAGS-nanosleep.c): Likewise.
20683 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20684 (CFLAGS-getpwent.c): Likewise.
20685 (CFLAGS-getpw.c): Likewise.
20686 (CFLAGS-fgetpwent_r.c): Likewise.
20687 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20688 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20689 (CFLAGS-mq_timedreceive.c): Likewise.
20690 (CFLAGS-mq_timedsend.c): Likewise.
20691 (CFLAGS-clock_nanosleep.c): Likewise.
20692 (CFLAGS-librt-cancellation.c): Likewise.
20693 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20694 (CFLAGS-getspent.c): Likewise.
20695 (CFLAGS-fgetspent.c): Likewise.
20696 (CFLAGS-fgetspent_r.c): Likewise.
20697 (CFLAGS-putspent.c): Likewise.
20698 (CFLAGS-getspnam.c): Likewise.
20699 (CFLAGS-getspnam_r.c): Likewise.
20700 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20701 (CFLAGS-sigsuspend.c): Likewise.
20702 (CFLAGS-sigtimedwait.c): Likewise.
20703 (CFLAGS-sigwait.c): Likewise.
20704 (CFLAGS-sigwaitinfo.c): Likewise.
20705 (CFLAGS-sigreturn.c): Likewise.
20706 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20707 (CFLAGS-vfwprintf.c): Likewise.
20708 (CFLAGS-tmpfile.c): Likewise.
20709 (CFLAGS-tmpfile64.c): Likewise.
20710 (CFLAGS-tempname.c): Likewise.
20711 (CFLAGS-psignal.c): Likewise.
20712 (CFLAGS-vprintf.c): Likewise.
20713 (CFLAGS-cuserid.c): Likewise.
20714 (CFLAGS-errlist.c): Likewise.
20715 (CFLAGS-siglist.c): Likewise.
20716 (CFLAGS-scanf15.c): Likewise.
20717 (CFLAGS-scanf17.c): Likewise.
20718 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20719 (CFLAGS-msort.c): Likewise.
20720 (CFLAGS-qsort.c): Likewise.
20721 (CFLAGS-system.c): Likewise.
20722 (CFLAGS-fmtmsg.c): Likewise.
20723 (CFLAGS-strfmon.c): Likewise.
20724 (CFLAGS-strfmon_l.c): Likewise.
20725 (CFLAGS-strfromd.c): Likewise.
20726 (CFLAGS-strfromf.c): Likewise.
20727 (CFLAGS-strfroml.c): Likewise.
20728 (CFLAGS-tst-bsearch.c): Likewise.
20729 (CFLAGS-tst-qsort.c): Likewise.
20730 (CFLAGS-tst-makecontext2.c): Likewise.
20731 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20732 (CFLAGS-xnlm_prot.c): Likewise.
20733 (CFLAGS-xrstat.c): Likewise.
20734 (CFLAGS-xyppasswd.c): Likewise.
20735 (CFLAGS-xklm_prot.c): Likewise.
20736 (CFLAGS-xrex.c): Likewise.
20737 (CFLAGS-xsm_inter.c): Likewise.
20738 (CFLAGS-xmount.c): Likewise.
20739 (CFLAGS-xrusers.c): Likewise.
20740 (CFLAGS-xspray.c): Likewise.
20741 (CFLAGS-xnfs_prot.c): Likewise.
20742 (CFLAGS-xrquota.c): Likewise.
20743 (CFLAGS-xkey_prot.c): Likewise.
20744 (CFLAGS-auth_unix.c): Likewise.
20745 (CFLAGS-key_call.c): Likewise.
20746 (CFLAGS-pmap_rmt.c): Likewise.
20747 (CFLAGS-clnt_perr.c): Likewise.
20748 (CFLAGS-openchild.c): Likewise.
20749 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20750 (CFLAGS-msgsnd.c): Likewise.
20751 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20752 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20753 (CFLAGS-tzset.c): Likewise.
20754 (CFLAGS-getdate.c): Likewise.
20755 (CFLAGS-test_time.c): Likewise.
20756 (CPPFLAGS-tst-tzname.c): Likewise.
20757 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20758 (CFLAGS-zic.c): Likewise.
20759 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20760 (CFLAGS-wcswidth.c): Likewise.
20761 (CFLAGS-wcstol.c): Likewise.
20762 (CFLAGS-wcstoul.c): Likewise.
20763 (CFLAGS-wcstoll.c): Likewise.
20764 (CFLAGS-wcstoull.c): Likewise.
20765 (CFLAGS-wcstod.c): Likewise.
20766 (CFLAGS-wcstold.c): Likewise.
20767 (CFLAGS-wcstof128.c): Likewise.
20768 (CFLAGS-wcstof.c): Likewise.
20769 (CFLAGS-wcstol_l.c): Likewise.
20770 (CFLAGS-wcstoul_l.c): Likewise.
20771 (CFLAGS-wcstoll_l.c): Likewise.
20772 (CFLAGS-wcstoull_l.c): Likewise.
20773 (CFLAGS-wcstod_l.c): Likewise.
20774 (CFLAGS-wcstold_l.c): Likewise.
20775 (CFLAGS-wcstof128_l.c): Likewise.
20776 (CFLAGS-wcstof_l.c): Likewise.
20777 (CPPFLAGS-tst-wchar-h.c): Likewise.
20778 (CPPFLAGS-wcstold_l.c): Likewise.
20780 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20782 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20784 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20785 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20787 * manual/tunables.texi (Hardware Capability Tunables): Document
20788 glibc.tune.cached_memopt.
20789 * sysdeps/powerpc/cpu-features.c: New file.
20790 * sysdeps/powerpc/cpu-features.h: New file.
20791 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20792 _dl_powerpc_cpu_features.
20793 * sysdeps/powerpc/dl-tunables.list: New file.
20794 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20795 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20796 (INIT_ARCH): Initialize use_aligned_memopt.
20797 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20798 IS_IN(rtld))]: Restrict dl_platform_init availability and
20799 initialize CPU features used by tunables.
20800 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20801 Add memcpy-power8-cached.
20802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20803 __memcpy_power8_cached.
20804 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20805 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20808 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20810 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20811 (CFLAGS-noinl-tester.c): Likewise.
20812 (CFLAGS-tst-strlen.c): Likewise.
20813 (CFLAGS-stratcliff.c): Likewise.
20814 (CFLAGS-test-ffs.c): Likewise.
20815 (CFLAGS-tst-inlcall.c): Likewise.
20816 (CFLAGS-tst-xbzero-opt.c): Likewise.
20817 (CFLAGS-memcpy.c): Likewise.
20818 (CFLAGS-wordcopy.c): Likewise.
20820 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20822 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20823 Store r15 on stack and add cfi rule.
20824 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20827 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20830 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20833 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20835 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20836 Add s_sinf-sse2 and s_sinf-fma.
20837 (CFLAGS-s_sinf-fma.c): New.
20838 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20839 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20840 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20842 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20844 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20846 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20849 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20850 part of result to imaginary part of argument if it is zero and the
20851 real part of the argument is not finite.
20852 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20853 of result to real part of argument if it is zero and the imaginary
20854 part of the argument is not finite.
20856 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20859 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20860 and to the list of locales to be built for testing.
20861 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20862 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20863 and build the collation rules upon that.
20865 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20867 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20868 * manual/math.texi (Mathematics): Document support for _Float32.
20869 * math/Makefile (test-types): Add float32.
20870 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20871 * stdlib/Versions (GLIBC_2.27): Likewise.
20872 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20873 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20874 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20875 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20876 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20877 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20878 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20879 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20880 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20881 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20882 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20883 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20884 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20885 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20886 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20887 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20888 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20889 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20890 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20891 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20892 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20893 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20895 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20896 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20897 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20898 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20899 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20917 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20918 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20919 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20920 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20921 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20922 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20923 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20924 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20925 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20926 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20935 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20936 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20937 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20938 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20939 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20940 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20941 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20942 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20944 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20946 * stdlib/strtof.c: Include <bits/floatn.h>
20947 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20948 and later undefine as macro. Define as weak alias if
20950 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20951 and later undefine as macro. Define as weak alias if
20953 * stdlib/strtof_l.c: Include <bits/floatn.h>
20954 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20955 and later undefine as macro. Define as weak alias if
20957 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20958 and later undefine as macro. Define as weak alias if
20961 * stdlib/strfromf.c: Include <bits/floatn.h>.
20962 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20963 and later undefine as macro and define as weak alias.
20965 * math/test-float32.h: New file.
20967 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20968 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20969 (libm_alias_float_other_r): Create f32 alias.
20970 (libm_alias_float_r): Use semicolon before call to
20971 libm_alias_float_other_r.
20973 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20974 second argument to libm_alias_float_other.
20975 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20976 second argument to libm_alias_float_other.
20977 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20978 argument to libm_alias_float_other.
20981 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20982 real part of result for argument 0 + i * NaN.
20983 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20984 results for tests of 0 + i * NaN.
20986 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20988 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20990 2017-12-06 David S. Miller <davem@davemloft.net>
20992 * sysdeps/sparc/fpu/libm-test-ulps: Update
20993 exp_{downward,towardzero,upward} ulps.
20995 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20997 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21000 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21002 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21009 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21012 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21013 and to the list of locales to be built for testing.
21014 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21015 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21016 and build the collation rules upon that.
21018 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21020 * NEWS: Add sinf to list of optimized functions.
21022 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21024 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21025 (__HAVE_FLOAT32X): Likewise.
21026 * manual/math.texi (Mathematics): Document support for _Float64
21028 * math/Makefile (test-types): Add float64 and float32x.
21029 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21031 * stdlib/Versions (GLIBC_2.27): Likewise.
21032 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21033 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21034 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21035 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21036 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21037 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21038 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21039 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21040 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21041 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21042 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21043 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21044 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21045 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21046 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21047 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21048 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21049 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21050 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21051 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21052 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21053 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21055 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21056 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21057 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21058 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21059 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21076 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21077 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21078 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21079 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21080 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21081 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21082 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21083 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21084 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21085 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21094 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21095 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21096 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21097 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21098 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21099 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21100 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21101 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21103 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21105 * bits/floatn-common.h: Include <bits/long-double.h>.
21106 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21107 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21108 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21109 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21110 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21111 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21112 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21113 (__builtin_huge_valf64): Use __builtin_huge_vall.
21114 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21115 (__builtin_inff64): Use __builtin_infl.
21116 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21117 (__builtin_nanf64): Use __builtin_nanl.
21118 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21119 (__builtin_nansf64): Use __builtin_nansl.
21121 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21122 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21123 Carlos O'Donnell <carlos@redhat.com>
21125 * elf/dl-tunables.list: Add elision parameters.
21126 * manual/tunables.texi: Add entries about elision tunable.
21127 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21128 Add callback functions to dynamically enable/disable elision.
21129 Add multiple callbacks functions to set elision parameters.
21130 Deleted __libc_enable_secure check.
21131 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21132 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21133 * configure: Regenerated.
21134 * configure.ac: Option enable_lock_elision was deleted.
21135 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21136 * config.make.in: Remove references to enable_lock_elision.
21137 * manual/install.texi: Elision configure option was removed.
21138 * INSTALL: Regenerated to remove enable_lock_elision.
21140 Disable elision so it can verify error case for destroying a mutex.
21141 * sysdeps/powerpc/nptl/elide.h:
21142 Cleanup ENABLE_LOCK_ELISION check.
21143 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21144 * sysdeps/s390/configure: Regenerated.
21145 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21146 * nptl/tst-mutex8.c:
21147 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21148 * sysdeps/powerpc/powerpc32/sysdep.h:
21149 Deleted all ENABLE_LOCK_ELISION checks.
21150 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21151 * sysdeps/powerpc/sysdep.h: Likewise.
21152 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21153 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21154 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21155 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21156 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21157 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21158 enable-lock-elision.
21160 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21162 * stdlib/strtod.c: Include <bits/floatn.h>.
21163 (BUILD_DOUBLE): New macro.
21164 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21165 (strtof64): Define and later undefine as macro. Define as weak
21166 alias if [!USE_WIDE_CHAR].
21167 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21168 (wcstof64): Define and later undefine as macro. Define as weak
21169 alias if [USE_WIDE_CHAR].
21170 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21171 (strtof32x): Define and later undefine as macro. Define as weak
21172 alias if [!USE_WIDE_CHAR].
21173 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21174 (wcstof32x): Define and later undefine as macro. Define as weak
21175 alias if [USE_WIDE_CHAR].
21176 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21177 (BUILD_DOUBLE): New macro.
21178 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21179 (strtof64_l): Define and later undefine as macro. Define as weak
21180 alias if [!USE_WIDE_CHAR].
21181 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21182 (wcstof64_l): Define and later undefine as macro. Define as weak
21183 alias if [USE_WIDE_CHAR].
21184 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21185 (strtof32x_l): Define and later undefine as macro. Define as weak
21186 alias if [!USE_WIDE_CHAR].
21187 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21188 (wcstof32x_l): Define and later undefine as macro. Define as weak
21189 alias if [USE_WIDE_CHAR].
21191 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21193 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21194 (reduced): Use ones as double instead of integer.
21196 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21198 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21200 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21202 * stdlib/strfromd.c: Include <bits/floatn.h>.
21203 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21204 and later undefine as macro and define as weak alias.
21205 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21208 * math/test-float32x.h: New file.
21209 * math/test-float64.h: Likewise.
21211 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21212 (libm_alias_double_other_r_f64): New macro.
21213 (libm_alias_double_other_r_f32x): Likewise.
21214 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21215 libm_alias_double_other_r_f32x.
21216 (libm_alias_double_r): Use semicolon before call to
21217 libm_alias_double_other_r.
21218 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21220 (libm_alias_double_other_r_f64): New macro.
21221 (libm_alias_double_other_r_f32x): Likewise.
21222 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21223 libm_alias_double_other_r_f32x.
21225 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21227 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21229 (SINF_FUNC): Likewise. Replace floor with simple casts.
21231 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21234 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21235 and to the list of locales to be built for testing.
21236 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21237 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21238 and build the collation rules upon that.
21240 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21242 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21243 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21244 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21245 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21246 instead of __insn__xxx.
21247 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21248 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21249 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21250 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21251 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21252 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21254 2017-12-05 Florian Weimer <fweimer@redhat.com>
21256 Linux: Implement interfaces for memory protection keys
21257 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21259 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21260 * support/xunistd.h (xsysconf): Declare.
21261 * support/xraise.c: New file.
21262 * support/xsigaction.c: Likewise.
21263 * support/xsignal.c: Likewise.
21264 * support/xsysconf.c: Likewise.
21265 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21266 pkey_set, pkey_get, pkey_mprotect.
21267 [misc] (tests): Add tst-pkey.
21268 (tst-pkey): Link with -lpthread.
21269 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21270 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21271 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21272 (PKEY_DISABLE_WRITE): Define.
21273 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21275 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21276 (SEGV_PKUERR): Add.
21277 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21278 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21279 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21280 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21282 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21283 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21284 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21285 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21286 * sysdeps/unix/sysv/linux/**.abilist: Update.
21288 2017-12-05 Florian Weimer <fweimer@redhat.com>
21290 * support/tst-test_compare.c (subprocess): Use long long instead
21291 of long argument for consistent type width across 32-bit and
21292 64-bit architectures.
21293 (do_test): Adjust expected output.
21295 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21297 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21298 (cosf): Define using libm_alias_float.
21299 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21300 (fabsf): Define using libm_alias_float.
21301 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21302 (fmaf): Define using libm_alias_float.
21303 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21304 (rintf): Define using libm_alias_float.
21305 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21306 (sinf): Define using libm_alias_float.
21307 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21308 <libm-alias-float.h>.
21309 (modff): Define using libm_alias_float.
21310 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21311 <libm-alias-float.h>.
21312 (logbf): Define using libm_alias_float.
21313 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21314 <libm-alias-float.h>.
21315 (ceilf): Define using libm_alias_float.
21316 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21317 <libm-alias-float.h>.
21318 (copysignf): Define using libm_alias_float.
21319 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21320 <libm-alias-float.h>.
21321 (floorf): Define using libm_alias_float.
21322 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21323 <libm-alias-float.h>.
21324 (llrintf): Define using libm_alias_float.
21325 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21326 <libm-alias-float.h>.
21327 (llroundf): Define using libm_alias_float.
21328 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21329 <libm-alias-float.h>.
21330 (lrintf): Define using libm_alias_float.
21331 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21332 <libm-alias-float.h>.
21333 (lroundf): Define using libm_alias_float.
21334 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21335 <libm-alias-float.h>.
21336 (nearbyintf): Define using libm_alias_float.
21337 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21338 <libm-alias-float.h>.
21339 (rintf): Define using libm_alias_float.
21340 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21341 <libm-alias-float.h>.
21342 (roundf): Define using libm_alias_float.
21343 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21344 <libm-alias-float.h>.
21345 (truncf): Define using libm_alias_float.
21346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21347 Include <libm-alias-float.h>.
21348 (ceilf): Define using libm_alias_float.
21349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21350 Include <libm-alias-float.h>.
21351 (copysignf): Define using libm_alias_float.
21352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21353 Include <libm-alias-float.h>.
21354 (floorf): Define using libm_alias_float.
21355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21356 Include <libm-alias-float.h>.
21357 (llrintf): Define using libm_alias_float.
21358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21359 Include <libm-alias-float.h>.
21360 (llroundf): Define using libm_alias_float.
21361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21362 Include <libm-alias-float.h>.
21363 (logbf): Define using libm_alias_float.
21364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21365 Include <libm-alias-float.h>.
21366 (lrintf): Define using libm_alias_float.
21367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21368 Include <libm-alias-float.h>.
21369 (lroundf): Define using libm_alias_float.
21370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21371 Include <libm-alias-float.h>.
21372 (modff): Define using libm_alias_float.
21373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21374 Include <libm-alias-float.h>.
21375 (roundf): Define using libm_alias_float.
21376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21377 Include <libm-alias-float.h>.
21378 (truncf): Define using libm_alias_float.
21379 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21380 <libm-alias-float.h>.
21381 (llrintf): Define using libm_alias_float.
21382 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21383 <libm-alias-float.h>.
21384 (llroundf): Define using libm_alias_float.
21385 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21386 <libm-alias-float.h>.
21387 (ceilf): Define using libm_alias_float.
21388 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21389 <libm-alias-float.h>.
21390 (floorf): Define using libm_alias_float.
21391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21392 <libm-alias-float.h>.
21393 (llroundf): Define using libm_alias_float.
21394 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21395 <libm-alias-float.h>.
21396 (lroundf): Define using libm_alias_float.
21397 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21398 <libm-alias-float.h>.
21399 (roundf): Define using libm_alias_float.
21400 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21401 <libm-alias-float.h>.
21402 (truncf): Define using libm_alias_float.
21403 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21404 <libm-alias-float.h>.
21405 (copysignf): Define using libm_alias_float.
21406 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21407 <libm-alias-float.h>.
21408 (llrintf): Define using libm_alias_float.
21409 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21410 <libm-alias-float.h>.
21411 (llroundf): Define using libm_alias_float.
21412 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21413 <libm-alias-float.h>.
21414 (lrintf): Define using libm_alias_float.
21415 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21416 <libm-alias-float.h>.
21417 (lroundf): Define using libm_alias_float.
21418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21419 <libm-alias-float.h>.
21420 (ceilf): Define using libm_alias_float.
21421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21422 <libm-alias-float.h>.
21423 (copysignf): Define using libm_alias_float.
21424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21425 <libm-alias-float.h>.
21426 (cosf): Define using libm_alias_float.
21427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21428 <libm-alias-float.h>.
21429 (floorf): Define using libm_alias_float.
21430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21431 <libm-alias-float.h>.
21432 (llrintf): Define using libm_alias_float.
21433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21434 <libm-alias-float.h>.
21435 (llroundf): Define using libm_alias_float.
21436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21437 <libm-alias-float.h>.
21438 (logbf): Define using libm_alias_float.
21439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21440 <libm-alias-float.h>.
21441 (modff): Define using libm_alias_float.
21442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21443 <libm-alias-float.h>.
21444 (roundf): Define using libm_alias_float.
21445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21446 <libm-alias-float.h>.
21447 (sinf): Define using libm_alias_float.
21448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21449 <libm-alias-float.h>.
21450 (truncf): Define using libm_alias_float.
21451 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21452 <libm-alias-float.h>.
21453 (ceilf): Define using libm_alias_float.
21454 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21455 <libm-alias-float.h>.
21456 (copysignf): Define using libm_alias_float.
21457 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21458 <libm-alias-float.h>.
21459 (floorf): Define using libm_alias_float.
21460 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21461 <libm-alias-float.h>.
21462 (llrintf): Define using libm_alias_float.
21463 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21464 <libm-alias-float.h>.
21465 (llroundf): Define using libm_alias_float.
21466 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21467 <libm-alias-float.h>.
21468 (nearbyintf): Define using libm_alias_float.
21469 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21470 <libm-alias-float.h>.
21471 (rintf): Define using libm_alias_float.
21472 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21473 <libm-alias-float.h>.
21474 (roundf): Define using libm_alias_float.
21475 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21476 <libm-alias-float.h>.
21477 (truncf): Define using libm_alias_float.
21478 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21479 <libm-alias-float.h>.
21480 (ceilf): Define using libm_alias_float.
21481 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21482 <libm-alias-float.h>.
21483 (floorf): Define using libm_alias_float.
21484 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21485 <libm-alias-float.h>.
21486 (llroundf): Define using libm_alias_float.
21487 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21488 <libm-alias-float.h>.
21489 (roundf): Define using libm_alias_float.
21490 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21491 <libm-alias-float.h>.
21492 (truncf): Define using libm_alias_float.
21493 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21494 <libm-alias-float.h>.
21495 (copysignf): Define using libm_alias_float.
21496 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21497 <libm-alias-float.h>.
21498 (llrintf): Define using libm_alias_float.
21499 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21500 <libm-alias-float.h>.
21501 (llroundf): Define using libm_alias_float.
21502 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21503 <libm-alias-float.h>.
21504 (cosf): Define using libm_alias_float.
21505 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21506 <libm-alias-float.h>.
21507 (llrintf): Define using libm_alias_float.
21508 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21509 <libm-alias-float.h>.
21510 (llroundf): Define using libm_alias_float.
21511 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21512 <libm-alias-float.h>.
21513 (sinf): Define using libm_alias_float.
21515 2017-12-04 Florian Weimer <fweimer@redhat.com>
21517 * support/check.h (TEST_COMPARE): Define.
21518 (support_test_compare_failure): Declare.
21519 * support/Makefile (libsupport-routines): Add
21520 support_test_compare_failure.
21521 (tests): Add tst-test_compare.
21522 * support /support_test_compare_failure.c: New file.
21523 * support/tst-test_compare.c: Likewise.
21525 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21528 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21529 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21530 available, this rewrite of the collation rules does reproduce
21531 the test file in the same order.
21533 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21536 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21537 digraphs in the month and day names. Using single code points for
21538 digraphs is deprecated. While there are dedicated Unicode
21539 codepoints, for the digraphs, these are included for backwards
21540 compatibility and modern texts use a sequence of Basic Latin
21541 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21542 This makes the month and day names agree exactly with CLDR now,
21543 CLDR does not use the single code points for the digraphs either.
21545 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21547 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21549 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21551 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21554 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21556 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21557 Define only for libc.so.
21559 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21562 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21563 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21564 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21565 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21567 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21570 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21572 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21575 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21576 PREINIT_FUNCTION_WEAK is nonzero.
21577 (gmon_initializer): New function. Put procedure label for it in
21578 .init_array section.
21579 (_init): Don't call PREINIT_FUNCTION.
21580 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21581 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21582 value when map argument is null.
21584 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21585 depi instruction from PIC pc-relative sequence.
21586 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21587 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21588 (elf_machine_load_address): Likewise.
21589 (elf_machine_runtime_setup): Likewise.
21591 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21593 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21594 <libm-alias-double.h>.
21595 (logb): Define using libm_alias_double.
21596 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21597 <libm-alias-double.h>.
21598 (copysign): Define using libm_alias_double.
21599 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21600 <libm-alias-double.h>.
21601 (llrint): Define using libm_alias_double.
21602 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21603 <libm-alias-double.h>.
21604 (llround): Define using libm_alias_double.
21605 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21606 <libm-alias-double.h>.
21607 (lrint): Define using libm_alias_double.
21608 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21609 <libm-alias-double.h>.
21610 (lround): Define using libm_alias_double.
21611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21612 Include <libm-alias-double.h>.
21613 (copysign): Define using libm_alias_double.
21614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21615 Include <libm-alias-double.h>.
21616 (llrint): Define using libm_alias_double.
21617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21618 Include <libm-alias-double.h>.
21619 (llround): Define using libm_alias_double.
21620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21621 <libm-alias-double.h>.
21622 (logb): Define using libm_alias_double.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21624 Include <libm-alias-double.h>.
21625 (lrint): Define using libm_alias_double.
21626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21627 Include <libm-alias-double.h>.
21628 (lround): Define using libm_alias_double.
21629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21630 <libm-alias-double.h>.
21631 (llrint): Define using libm_alias_double.
21632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21633 <libm-alias-double.h>.
21634 (llround): Define using libm_alias_double.
21635 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21636 <libm-alias-double.h>.
21637 (llround): Define using libm_alias_double.
21638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21639 <libm-alias-double.h>.
21640 (lround): Define using libm_alias_double.
21641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21642 <libm-alias-double.h>.
21643 (copysign): Define using libm_alias_double.
21644 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21645 <libm-alias-double.h>.
21646 (llrint): Define using libm_alias_double.
21647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21648 <libm-alias-double.h>.
21649 (llround): Define using libm_alias_double.
21650 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21651 <libm-alias-double.h>.
21652 (lrint): Define using libm_alias_double.
21653 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21654 <libm-alias-double.h>.
21655 (lround): Define using libm_alias_double.
21656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21657 <libm-alias-double.h>.
21658 (copysign): Define using libm_alias_double.
21659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21660 <libm-alias-double.h>.
21661 (llrint): Define using libm_alias_double.
21663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21664 <libm-alias-double.h>.
21665 (llround): Define using libm_alias_double.
21666 (lround): Likewise.
21667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21668 <libm-alias-double.h>.
21669 (logb): Define using libm_alias_double.
21670 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21671 <libm-alias-double.h>.
21672 (copysign): Define using libm_alias_double.
21673 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21674 <libm-alias-double.h>.
21675 (llrint): Define using libm_alias_double.
21677 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21678 <libm-alias-double.h>.
21679 (llround): Define using libm_alias_double.
21680 (lround): Likewise.
21681 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21682 <libm-alias-double.h>.
21683 (llround): Define using libm_alias_double.
21684 (lround): Likewise.
21685 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21686 <libm-alias-double.h>.
21687 (copysign): Define using libm_alias_double.
21688 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21689 <libm-alias-double.h>.
21690 (llrint): Define using libm_alias_double.
21692 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21693 <libm-alias-double.h>.
21694 (llround): Define using libm_alias_double.
21695 (lround): Likewise.
21696 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21697 <libm-alias-double.h>.
21698 (llrint): Define using libm_alias_double.
21700 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21701 <libm-alias-double.h>.
21702 (llround): Define using libm_alias_double.
21703 (lround): Likewise.
21705 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21708 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21709 compat symbol based on llround.
21711 * sysdeps/powerpc/power7/fpu/s_logb.c
21712 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21713 symbol based on __logb, not on logb.
21714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21715 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21717 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21719 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21720 (rint): Define using libm_alias_double.
21721 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21722 <libm-alias-double.h>.
21723 (modf): Define using libm_alias_double.
21724 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21725 <libm-alias-double.h>.
21726 (ceil): Define using libm_alias_double.
21727 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21728 <libm-alias-double.h>.
21729 (floor): Define using libm_alias_double.
21730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21731 <libm-alias-double.h>.
21732 (nearbyint): Define using libm_alias_double.
21733 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21734 <libm-alias-double.h>.
21735 (rint): Define using libm_alias_double.
21736 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21737 <libm-alias-double.h>.
21738 (round): Define using libm_alias_double.
21739 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21740 <libm-alias-double.h>.
21741 (trunc): Define using libm_alias_double.
21742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21743 <libm-alias-double.h>.
21744 (ceil): Define using libm_alias_double.
21745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21746 Include <libm-alias-double.h>.
21747 (floor): Define using libm_alias_double.
21748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21749 <libm-alias-double.h>.
21750 (modf): Define using libm_alias_double.
21751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21752 Include <libm-alias-double.h>.
21753 (round): Define using libm_alias_double.
21754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21755 Include <libm-alias-double.h>.
21756 (trunc): Define using libm_alias_double.
21757 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21758 <libm-alias-double.h>.
21759 (ceil): Define using libm_alias_double.
21760 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21761 <libm-alias-double.h>.
21762 (floor): Define using libm_alias_double.
21763 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21764 <libm-alias-double.h>.
21765 (round): Define using libm_alias_double.
21766 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21767 <libm-alias-double.h>.
21768 (trunc): Define using libm_alias_double.
21769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21770 <libm-alias-double.h>.
21771 (ceil): Define using libm_alias_double.
21772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21773 <libm-alias-double.h>.
21774 (floor): Define using libm_alias_double.
21775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21776 <libm-alias-double.h>.
21777 (modf): Define using libm_alias_double.
21778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21779 <libm-alias-double.h>.
21780 (round): Define using libm_alias_double.
21781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21782 <libm-alias-double.h>.
21783 (trunc): Define using libm_alias_double.
21784 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21785 <libm-alias-double.h>.
21786 (ceil): Define using libm_alias_double.
21787 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21788 <libm-alias-double.h>.
21789 (floor): Define using libm_alias_double.
21790 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21791 <libm-alias-double.h>.
21792 (nearbyint): Define using libm_alias_double.
21793 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21794 <libm-alias-double.h>.
21795 (rint): Define using libm_alias_double.
21796 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21797 <libm-alias-double.h>.
21798 (round): Define using libm_alias_double.
21799 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21800 <libm-alias-double.h>.
21801 (trunc): Define using libm_alias_double.
21802 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21803 <libm-alias-double.h>.
21804 (ceil): Define using libm_alias_double.
21805 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21806 <libm-alias-double.h>.
21807 (floor): Define using libm_alias_double.
21808 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21809 <libm-alias-double.h>.
21810 (round): Define using libm_alias_double.
21811 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21812 <libm-alias-double.h>.
21813 (trunc): Define using libm_alias_double.
21815 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21816 (fabs): Define using libm_alias_double.
21817 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21818 (fma): Define using libm_alias_double.
21819 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21820 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21821 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21822 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21824 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21826 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21828 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21829 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21830 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21833 due redirect macro.
21835 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21837 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21839 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21841 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21842 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21843 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21844 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21847 (libm-sysdep_routines): Add s_nearbyintf-generic and
21848 s_nearbyint-generic.
21849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21862 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21873 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21884 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21895 (sysdep_calls): New rule.
21896 (sysdep_routines): Use sysdep_calls as base.
21897 (libm-sysdep_routines): Add generic rule for symbols shared with
21898 libc. Add s_copysign-generic and s_copysign-generic objects.
21899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21908 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21911 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21912 the list of locales to be built for testing.
21913 * localedata/is_IS.UTF-8.in: New file.
21914 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21917 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21919 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21920 <libm-alias-float.h>.
21921 (fabsf): Define using libm_alias_float.
21923 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21925 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21927 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21929 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21930 <libm-alias-float.h>.
21931 (fabsf): Define using libm_alias_float.
21932 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21933 <libm-alias-float.h>.
21934 (lrintf): Define using libm_alias_float.
21935 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21936 <libm-alias-float.h>.
21937 (rintf): Define using libm_alias_float.
21939 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21940 <libm-alias-double.h>.
21941 (fabs): Define using libm_alias_double.
21942 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21943 <libm-alias-double.h>.
21944 (lrint): Define using libm_alias_double.
21945 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21946 <libm-alias-double.h>.
21947 (rint): Define using libm_alias_double.
21949 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21950 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21951 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21952 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21953 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21954 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21955 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21956 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21957 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21958 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21959 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21960 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21961 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21962 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21963 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21964 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21965 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21966 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21968 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21969 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21970 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21972 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21973 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21974 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21976 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21977 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21978 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21979 s_expm1_template.c.
21980 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21981 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21982 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21984 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21985 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21986 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21987 s_floor_template.c.
21988 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21989 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21990 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21991 s_frexp_template.c.
21992 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21993 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21994 s_lrint_template.c.
21995 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21996 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21997 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21999 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22000 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22001 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22002 s_nearbyint_template.c.
22003 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22004 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22005 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22006 s_remquo_template.c.
22007 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22008 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22009 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22011 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22012 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22013 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22015 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22016 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22017 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22018 s_sincos_template.c.
22019 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22020 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22021 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22023 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22024 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22025 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22027 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22028 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22029 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22030 s_trunc_template.c.
22031 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22032 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22033 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22034 s_atan.c instead of including s_atan.c.
22035 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22036 s_atanf.c instead of including s_atanf.c.
22037 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22038 s_atanl.c instead of including s_atanl.c.
22039 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22040 instead of s_atan.c.
22041 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22042 instead of s_atanf.c.
22043 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22044 instead of s_atanl.c.
22046 * scripts/update-copyrights: Do not handle intl/plural.c
22049 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22052 * configure.ac (BISON): Require to be present.
22053 * configure: Regenerated.
22054 * intl/Makefile (generated): Add plural.c.
22055 [$(BISON) != no]: Make code unconditional.
22056 (plural.c): Change rule to $(objpfx)plural.c.
22057 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22058 * intl/plural.c: Remove.
22059 * manual/install.texi (Tools for Compilation): Document bison as
22061 * INSTALL: Regenerated.
22063 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22065 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22066 <libm-alias-double.h>.
22067 (llrint): Define using libm_alias_double.
22068 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22069 <libm-alias-float.h>.
22070 (llrintf): Define using libm_alias_float.
22071 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22072 <libm-alias-ldouble.h>.
22073 (llrintl): Define using libm_alias_ldouble.
22075 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22076 declare_mgen_alias instead of weak_alias.
22077 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22078 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22079 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22081 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22083 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22085 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22086 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22087 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22089 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22090 Add submul_1-generic.
22091 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22092 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22093 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22095 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22096 Add addmul_1-generic.
22097 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22098 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22099 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22101 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22103 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22104 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22105 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22107 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22109 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22110 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22111 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22113 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22115 According to CLDR, collation rules for Serbian and Bosnian
22116 should be the same as for Croatian.
22119 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22120 and to the list of locales to be built for testing.
22121 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22122 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22123 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22124 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22126 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22128 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22129 to make test case pass.
22130 * localedata/hr_HR.UTF-8.in: Add more test strings.
22132 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22134 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22136 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22138 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22139 the list of locales to built for testing.
22140 * localedata/hr_HR.UTF-8.in: New file.
22142 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22145 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22147 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22148 CLDR (except use ligatures for the digraphs, CLDR does not use
22149 the ligatures), add first_workday, some fixes in the date and time
22151 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22153 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22154 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22155 Add int_p_cs_precedes and int_n_cs_precedes.
22156 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22157 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22159 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22160 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22162 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22163 and lang_lib. Change postal_fmt.
22165 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22167 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22169 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22170 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22171 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22172 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22173 * sysdeps/generic/setjmpP.h: New file.
22174 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22175 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22176 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22177 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22178 Add jmp_buf-ssp.sym.
22179 (tests): Add tst-saved_mask-1.
22181 2017-11-30 Arjun Shankar <arjun@redhat.com>
22185 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22186 instead of request2size.
22188 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22191 (__lllrint): Remove alias.
22192 (lllrint): Likewise.
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22194 (__lllrintf): Likewise.
22195 (lllrintf): Likewise.
22197 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22198 <libm-alias-float.h>.
22199 (copysignf): Define using libm_alias_float.
22200 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22201 <libm-alias-float.h>.
22202 (fabsf): Define using libm_alias_float.
22203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22204 Include <libm-alias-float.h>.
22205 (copysignf): Define using libm_alias_float.
22206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22207 <libm-alias-float.h>.
22208 (fabsf): Define using libm_alias_float.
22209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22210 <libm-alias-float.h>.
22211 (fdimf): Define using libm_alias_float.
22212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22213 <libm-alias-float.h>.
22214 (fmaf): Define using libm_alias_float.
22215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22216 <libm-alias-float.h>.
22217 (llrintf): Define using libm_alias_float.
22218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22219 Include <libm-alias-float.h>.
22220 (nearbyintf): Define using libm_alias_float.
22221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22222 <libm-alias-float.h>.
22223 (rintf): Define using libm_alias_float.
22224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22225 <libm-alias-float.h>.
22226 (llrintf): Define using libm_alias_float.
22227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22228 <libm-alias-float.h>.
22229 (lrintf): Define using libm_alias_float.
22230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22231 <libm-alias-float.h>.
22232 (nearbyintf): Define using libm_alias_float.
22233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22234 <libm-alias-float.h>.
22235 (rintf): Define using libm_alias_float.
22236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22237 <libm-alias-float.h>.
22238 (ceilf): Define using libm_alias_float.
22239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22240 <libm-alias-float.h>.
22241 (floorf): Define using libm_alias_float.
22242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22243 <libm-alias-float.h>.
22244 (fmaf): Define using libm_alias_float.
22245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22246 <libm-alias-float.h>.
22247 (lrintf): Define using libm_alias_float.
22248 (llrintf): Likewise.
22249 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22250 <libm-alias-float.h>.
22251 (nearbyintf): Define using libm_alias_float.
22252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22253 <libm-alias-float.h>.
22254 (rintf): Define using libm_alias_float.
22255 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22256 <libm-alias-float.h>.
22257 (truncf): Define using libm_alias_float.
22258 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22259 <libm-alias-float.h>.
22260 (copysignf): Define using libm_alias_float.
22261 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22262 <libm-alias-float.h>.
22263 (fabsf): Define using libm_alias_float.
22264 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22265 <libm-alias-float.h>.
22266 (lrintf): Define using libm_alias_float.
22267 (llrintf): Likewise.
22268 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22269 <libm-alias-float.h>.
22270 (nearbyintf): Define using libm_alias_float.
22271 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22272 <libm-alias-float.h>.
22273 (rintf): Define using libm_alias_float.
22275 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22277 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22278 <libm-alias-double.h>.
22279 (copysign): Define using libm_alias_double.
22280 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22281 <libm-alias-double.h>.
22282 (fabs): Define using libm_alias_double.
22283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22284 Include <libm-alias-double.h>.
22285 (copysign): Define using libm_alias_double.
22286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22287 <libm-alias-double.h>.
22288 (fabs): Define using libm_alias_double.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22290 <libm-alias-double.h>.
22291 (fdim): Define using libm_alias_double.
22292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22293 <libm-alias-double.h>.
22294 (fma): Define using libm_alias_double.
22295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22296 <libm-alias-double.h>.
22297 (llrint): Define using libm_alias_double.
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22299 Include <libm-alias-double.h>.
22300 (nearbyint): Define using libm_alias_double.
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22302 <libm-alias-double.h>.
22303 (rint): Define using libm_alias_double.
22304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22305 <libm-alias-double.h>.
22306 (fabs): Define using libm_alias_double.
22307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22308 <libm-alias-double.h>.
22309 (llrint): Define using libm_alias_double.
22310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22311 <libm-alias-double.h>.
22312 (nearbyint): Define using libm_alias_double.
22313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22314 <libm-alias-double.h>.
22315 (rint): Define using libm_alias_double.
22316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22317 <libm-alias-double.h>.
22318 (ceil): Define using libm_alias_double.
22319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22320 <libm-alias-double.h>.
22321 (floor): Define using libm_alias_double.
22322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22323 <libm-alias-double.h>.
22324 (fma): Define using libm_alias_double.
22325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22326 <libm-alias-double.h>.
22327 (lrint): Define using libm_alias_double.
22328 (llrint): Likewise.
22329 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22330 <libm-alias-double.h>.
22331 (nearbyint): Define using libm_alias_double.
22332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22333 <libm-alias-double.h>.
22334 (rint): Define using libm_alias_double.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22336 <libm-alias-double.h>.
22337 (trunc): Define using libm_alias_double.
22338 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22339 <libm-alias-double.h>.
22340 (copysign): Define using libm_alias_double.
22341 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22342 <libm-alias-double.h>.
22343 (fabs): Define using libm_alias_double.
22344 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22345 <libm-alias-double.h>.
22346 (lrint): Define using libm_alias_double.
22347 (llrint): Likewise.
22348 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22349 <libm-alias-double.h>.
22350 (nearbyint): Define using libm_alias_double.
22351 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22352 <libm-alias-double.h>.
22353 (rint): Define using libm_alias_double.
22356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22358 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22360 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22361 SPARC --disable-multi-arch glibc variants.
22363 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22364 <libm-alias-float.h>.
22365 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22367 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22368 <libm-alias-float.h>.
22369 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22371 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22372 <libm-alias-float.h>.
22373 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22375 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22376 <libm-alias-float.h>.
22377 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22379 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22380 <libm-alias-float.h>.
22381 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22383 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22384 <libm-alias-float.h>.
22385 (ceilf): Define using libm_alias_float.
22386 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22387 <libm-alias-float.h>.
22388 (floorf): Define using libm_alias_float.
22389 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22390 <libm-alias-float.h>.
22391 (fmaf): Define using libm_alias_float.
22392 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22393 <libm-alias-float.h>.
22394 (nearbyintf): Define using libm_alias_float.
22395 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22396 <libm-alias-float.h>.
22397 (rintf): Define using libm_alias_float.
22398 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22399 <libm-alias-float.h>.
22400 (truncf): Define using libm_alias_float.
22401 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22402 (copysignf): Define using libm_alias_float.
22403 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22404 (cosf): Define using libm_alias_float.
22405 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22406 (fabsf): Define using libm_alias_float.
22407 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22408 (fmaxf): Define using libm_alias_float.
22409 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22410 (fminf): Define using libm_alias_float.
22411 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22412 (llrintf): Define using libm_alias_float.
22413 [!__ILP32__] (lrintf): Likewise.
22414 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22415 (sincosf): Define using libm_alias_float.
22416 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22417 (sinf): Define using libm_alias_float.
22418 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22419 (lrintf): Define using libm_alias_float.
22421 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22422 <libm-alias-double.h>.
22423 (atan): Define using libm_alias_double.
22424 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22425 <libm-alias-double.h>.
22426 (ceil): Define using libm_alias_double.
22427 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22428 <libm-alias-double.h>.
22429 (floor): Define using libm_alias_double.
22430 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22431 <libm-alias-double.h>.
22432 (fma): Define using libm_alias_double.
22433 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22434 <libm-alias-double.h>.
22435 (nearbyint): Define using libm_alias_double.
22436 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22437 <libm-alias-double.h>.
22438 (rint): Define using libm_alias_double.
22439 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22440 <libm-alias-double.h>.
22441 (sin): Define using libm_alias_double.
22443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22444 <libm-alias-double.h>.
22445 (tan): Define using libm_alias_double.
22446 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22447 <libm-alias-double.h>.
22448 (trunc): Define using libm_alias_double.
22449 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22450 (copysign): Define using libm_alias_double.
22451 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22452 (fabs): Define using libm_alias_double.
22453 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22454 (fmax): Define using libm_alias_double.
22455 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22456 (fmin): Define using libm_alias_double.
22457 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22458 (llrint): Define using libm_alias_double.
22459 [!__ILP32__] (lrint): Likewise.
22460 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22461 (lrint): Define using libm_alias_double.
22463 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22466 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22471 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22476 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22481 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22482 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22483 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22486 (libm-sysdep_routines): Add s_nearbyint-generic and
22487 s_nearbyintf-generic objects.
22488 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22489 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22490 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22491 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22492 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22493 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22496 Add s_finitef-generic and s_finite-generic objects.
22497 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22504 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22505 Add s_isinff-generic and s_isinf-generic objects.
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22513 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22514 Add s_isnanf-generic and s_isnan-generic objects.
22515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22522 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22526 (sysdep_routines): Use sysdep_calls as base.
22527 (libm-sysdep_routines): Add generic rule for symbols shared with
22528 libc. Add s_signbit-generic and s_signbitf-generic objects.
22529 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22532 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22533 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22534 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22536 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22538 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22539 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22540 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22541 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22542 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22543 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22544 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22545 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22546 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22547 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22548 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22549 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22550 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22551 libm_alias_float_r.
22552 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22553 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22555 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22556 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22557 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22558 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22559 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22560 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22561 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22562 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22563 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22564 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22566 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22568 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22569 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22570 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22571 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22572 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22573 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22574 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22575 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22576 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22577 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22578 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22579 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22580 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22581 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22582 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22583 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22584 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22585 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22586 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22588 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22589 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22590 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22591 * sysdeps/ia64/fpu/w_lgammaf_main.c
22592 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22593 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22595 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22596 Alexandre Oliva <aoliva@redhat.com>
22599 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22600 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22602 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22604 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22605 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22606 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22607 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22608 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22609 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22610 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22611 instead of “ifdef DIACRIT_BACKWARD”.
22613 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22615 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22616 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22617 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22618 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22619 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22620 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22627 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22628 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22629 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22630 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22631 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22632 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22634 ($(have-as-vis3) == yes): Remove conditional.
22635 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22651 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22652 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22654 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22656 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22657 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22658 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22659 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22660 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22661 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22662 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22663 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22664 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22665 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22666 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22667 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22668 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22669 libm_alias_double_r.
22670 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22672 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22673 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22674 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22675 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22676 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22677 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22678 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22679 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22680 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22681 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22682 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22684 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22686 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22687 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22688 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22689 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22690 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22691 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22692 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22693 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22694 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22695 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22696 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22697 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22698 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22699 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22700 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22701 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22702 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22703 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22705 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22706 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22707 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22708 * sysdeps/ia64/fpu/w_lgamma_main.c
22709 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22710 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22712 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22714 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22715 address of $global$ into %dp register earlier. Use pc-relative
22716 instruction sequence for PIC case.
22718 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22720 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22721 (asinhf): Define using libm_alias_float.
22722 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22723 (atanf): Define using libm_alias_float.
22724 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22725 (cbrtf): Define using libm_alias_float.
22726 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22727 (ceilf): Define using libm_alias_float.
22728 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22729 (copysignf): Define using libm_alias_float.
22730 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22731 (expm1f): Define using libm_alias_float.
22732 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22733 (fabsf): Define using libm_alias_float.
22734 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22735 (floorf): Define using libm_alias_float.
22736 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22737 (fmaxf): Define using libm_alias_float.
22738 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22739 (fminf): Define using libm_alias_float.
22740 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22741 (frexpf): Define using libm_alias_float.
22742 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22743 (llrintf): Define using libm_alias_float.
22744 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22745 (logbf): Define using libm_alias_float.
22746 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22747 (lrintf): Define using libm_alias_float.
22748 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22749 (nearbyintf): Define using libm_alias_float.
22750 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22751 (remquof): Define using libm_alias_float.
22752 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22753 (rintf): Define using libm_alias_float.
22754 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22755 (truncf): Define using libm_alias_float.
22756 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22757 <libm-alias-float.h>.
22758 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22760 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22761 <libm-alias-float.h>.
22762 (expf): Define using libm_alias_float, or libm_alias_float_other
22764 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22765 <libm-alias-float.h>.
22766 (log2f): Define using libm_alias_float, or libm_alias_float_other
22768 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22769 <libm-alias-float.h>.
22770 (logf): Define using libm_alias_float, or libm_alias_float_other
22772 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22773 <libm-alias-float.h>.
22774 (powf): Define using libm_alias_float, or libm_alias_float_other
22776 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22777 <libm-alias-float.h>.
22778 (cosf): Define using libm_alias_float.
22779 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22780 <libm-alias-float.h>.
22781 (sincosf): Define using libm_alias_float.
22782 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22783 <libm-alias-float.h>.
22784 (sinf): Define using libm_alias_float.
22785 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22786 (fmaxf): Define using libm_alias_float.
22787 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22788 (fminf): Define using libm_alias_float.
22789 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22790 <libm-alias-float.h>.
22791 (fmaf): Define using libm_alias_float.
22793 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22794 (asinh): Define using libm_alias_double.
22795 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22796 (atan): Define using libm_alias_double.
22797 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22798 (cbrt): Define using libm_alias_double.
22799 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22800 (ceil): Define using libm_alias_double.
22801 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22802 (copysign): Define using libm_alias_double.
22803 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22804 (expm1): Define using libm_alias_double.
22805 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22806 (fabs): Define using libm_alias_double.
22807 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22808 (fdim): Define using libm_alias_double.
22809 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22810 (floor): Define using libm_alias_double.
22811 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22812 (fmax): Define using libm_alias_double.
22813 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22814 (fmin): Define using libm_alias_double.
22815 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22816 (frexp): Define using libm_alias_double.
22817 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22818 (llrint): Define using libm_alias_double.
22819 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22820 (logb): Define using libm_alias_double.
22821 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22822 (lrint): Define using libm_alias_double.
22823 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22824 (nearbyint): Define using libm_alias_double.
22825 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22826 (remquo): Define using libm_alias_double.
22827 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22828 (rint): Define using libm_alias_double.
22829 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22830 (trunc): Define using libm_alias_double.
22831 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22832 (fmax): Define using libm_alias_double.
22833 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22834 (fmin): Define using libm_alias_double.
22835 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22836 (fma): Define using libm_alias_double.
22838 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22841 * elf/dl-hwcaps.c (ROUND): Removed.
22842 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22843 and ELF_NOTE_NEXT_OFFSET.
22844 * elf/dl-load.c (ROUND): Removed.
22845 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22846 * elf/readelflib.c (ROUND): Removed.
22847 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22848 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22849 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22850 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22852 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22854 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22855 [!__fmaf] (fmaf): Define using libm_alias_float.
22857 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22858 [!__fma] (fma): Define using libm_alias_double.
22859 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22861 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22864 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22865 and implement the collation rules for cs from CLDR on top of that.
22866 * Makefile: Add cs_CZ.UTF-8 to test-input.
22867 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22869 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22871 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22873 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22874 Icarus Sparry <icarus.w.sparry@intel.com>
22876 * benchtests/Makefile:Add BENCHSET to allow subsets of
22877 benchmarks to be run.
22878 * benchtests/README: Add documentation for: Running subsets of
22881 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22883 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22884 range of tests names.
22886 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22887 result from property and remove "max", min" and "mean" from
22888 required properties based on benchtests/bench-skeleton.c.
22890 2017-11-28 Florian Weimer <fweimer@redhat.com>
22893 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22894 due to Internet requirement.
22895 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22897 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22899 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22901 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22902 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22903 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22904 (sysdep_routines): Add memset-ultra1.
22905 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22907 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22908 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22909 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22910 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22911 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22912 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22913 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22914 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22916 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22918 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22919 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22920 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22921 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22922 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22923 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22924 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22926 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22927 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22928 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22929 (sysdep_routines): Add memcpy-ultra1.
22930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22931 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22933 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22935 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22936 (cfloat_versions): Take function argument without trailing 'f'.
22937 Call libm_alias_float_other.
22938 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22939 * sysdeps/alpha/fpu/cargf.c: Likewise.
22940 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22941 * sysdeps/alpha/fpu/conjf.c: Likewise.
22942 * sysdeps/alpha/fpu/crealf.c: Likewise.
22943 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22944 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22945 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22946 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22947 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22948 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22949 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22950 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22951 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22952 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22953 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22954 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22955 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22956 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22957 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22958 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22959 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22960 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22961 (clog10f): Use libm_alias_float_other.
22962 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22963 (ceilf): Define using libm_alias_float.
22964 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22965 (copysignf): Define using libm_alias_float.
22966 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22967 (fabsf): Define using libm_alias_float.
22968 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22969 (floorf): Define using libm_alias_float.
22970 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22971 (fmaxf): Define using libm_alias_float.
22972 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22973 (fminf): Define using libm_alias_float.
22974 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22975 (lrintf): Define using libm_alias_float.
22976 (llrintf): Likewise.
22977 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22978 (lroundf): Define using libm_alias_float.
22979 (llroundf): Likewise.
22980 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22981 (rintf): Define using libm_alias_float.
22982 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22983 (truncf): Define using libm_alias_float.
22985 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22986 (ceilf): Define using libm_alias_float.
22987 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22988 (floorf): Define using libm_alias_float.
22989 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22990 (fmaf): Define using libm_alias_float.
22991 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22992 (fmaxf): Define using libm_alias_float.
22993 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22994 (fminf): Define using libm_alias_float.
22995 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22996 (llrintf): Define using libm_alias_float.
22997 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22998 (llroundf): Define using libm_alias_float.
22999 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23000 (lrintf): Define using libm_alias_float.
23001 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23002 (lroundf): Define using libm_alias_float.
23003 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23004 <libm-alias-float.h>.
23005 (nearbyintf): Define using libm_alias_float.
23006 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23007 (rintf): Define using libm_alias_float.
23008 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23009 (roundf): Define using libm_alias_float.
23010 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23011 (truncf): Define using libm_alias_float.
23013 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23014 (ceil): Define using libm_alias_double.
23015 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23016 (copysign): Define using libm_alias_double.
23017 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23018 (fabs): Define using libm_alias_double.
23019 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23020 (floor): Define using libm_alias_double.
23021 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23022 (fmax): Define using libm_alias_double.
23023 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23024 (fmin): Define using libm_alias_double.
23025 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23026 (lrint): Define using libm_alias_double.
23027 (llrint): Likewise.
23028 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23029 (lround): Define using libm_alias_double.
23030 (llround): Likewise.
23031 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23032 (rint): Define using libm_alias_double.
23033 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23034 (trunc): Define using libm_alias_double.
23036 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23037 (libm_alias_double_r): Add semicolon after weak_alias call.
23039 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23041 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23042 (ceil): Define using libm_alias_double.
23043 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23044 (floor): Define using libm_alias_double.
23045 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23046 (fma): Define using libm_alias_double.
23047 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23048 (fmax): Define using libm_alias_double.
23049 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23050 (fmin): Define using libm_alias_double.
23051 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23052 (llrint): Define using libm_alias_double.
23053 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23054 (llround): Define using libm_alias_double.
23055 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23056 (lrint): Define using libm_alias_double.
23057 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23058 (lround): Define using libm_alias_double.
23059 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23060 (nearbyint): Define using libm_alias_double.
23061 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23062 (rint): Define using libm_alias_double.
23063 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23064 (round): Define using libm_alias_double.
23065 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23066 (trunc): Define using libm_alias_double.
23068 2017-11-27 Florian Weimer <fweimer@redhat.com>
23070 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23071 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23072 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23073 (tests): Add tst-mlock2.
23074 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23075 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23076 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23077 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23078 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23079 for mlock. Document mlock2.
23081 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23083 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23084 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23086 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23088 * sysdeps/x86/Makeconfig: New file.
23089 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23090 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23091 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23092 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23093 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23094 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23095 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23097 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23098 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23099 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23100 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23101 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23102 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23103 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23104 * manual/math.texi (Mathematics): Document support for _Float64x.
23105 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23106 * stdlib/Versions (GLIBC_2.27): Likewise.
23107 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23108 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23109 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23110 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23111 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23112 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23113 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23114 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23115 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23116 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23117 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23118 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23123 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23124 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23126 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23127 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23128 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23129 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23130 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23131 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23132 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23133 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23134 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23135 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23136 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23138 2017-11-27 Andreas Schwab <schwab@suse.de>
23140 * elf/Makefile (dl-routines): Add dl-sort-maps.
23141 * elf/dl-sort-maps.c: New file.
23142 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23143 (_dl_sort_maps): Declare.
23144 * elf/dl-fini.c (_dl_sort_fini): Remove.
23145 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23146 * elf/dl-close.c (_dl_close_worker): Likewise.
23147 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23149 * elf/dl-open.c (dl_open_worker): Likewise.
23151 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23153 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23154 using libm_alias_float128.
23155 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23157 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23159 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23160 (setpayloadsigf128): Likewise.
23161 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23163 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23166 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23167 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23168 -mfloat128 to CFLAGS.
23170 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23172 (CFLAGS-libm-test-support-float64x.c): New variable.
23173 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23174 $(f128-loader-link) to gnulib-tests.
23176 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23177 (libm_alias_float128_other_r): If
23178 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23180 (libm_alias_float128_r): Add semicolon after weak_alias call.
23181 * sysdeps/generic/libm-alias-ldouble.h
23182 (libm_alias_ldouble_other_r_f128): New macro.
23183 (libm_alias_ldouble_other_r_f64x): Likewise.
23184 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23185 and libm_alias_ldouble_other_r_f64x.
23186 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23187 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23188 (libm_alias_ldouble_other_r_f128): New macro.
23189 (libm_alias_ldouble_other_r_f64x): Likewise.
23190 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23191 and libm_alias_ldouble_other_r_f64x.
23193 * stdlib/strfroml.c: Always include <stdlib.h>.
23194 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23195 undefine as macro and define as weak alias.
23196 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23197 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23199 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23200 Define and later undefine as macro and define as weak alias.
23202 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23203 Define and later undefine as macro. Define as weak alias if
23205 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23206 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23207 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23208 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23209 Define and later undefine as macro. Define as weak alias if
23211 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23212 Define and later undefine as macro. Define as weak alias if
23214 * sysdeps/ieee754/float128/strtof128_l.c
23215 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23216 Define and later undefine as macro. Define as weak alias if
23218 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23219 Define and later undefine as macro. Define as weak alias if
23221 * sysdeps/ieee754/ldbl-128/strtold_l.c
23222 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23223 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23224 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23225 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23226 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23227 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23228 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23229 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23230 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23231 * sysdeps/ieee754/ldbl-96/strtold_l.c
23232 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23233 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23234 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23235 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23237 * math/test-float64x.h: New file.
23238 * math/Makefile (type-float64x-yes): New variable.
23239 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23241 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23242 function-like macro.
23243 (min_of_type_): Likewise.
23244 (min_of_type_l): Likewise.
23245 (min_of_type_f128): Likewise.
23246 (min_of_type): Pass () as last argument of __MATH_TG.
23248 * stdlib/tst-strtod-round-skeleton.c
23249 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23252 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23253 for combinations of long double with _Float64 and _Float64x.
23255 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23256 (__DECL_SIMD_cosf32): Likewise.
23257 (__DECL_SIMD_cosf64): Likewise.
23258 (__DECL_SIMD_cosf32x): Likewise.
23259 (__DECL_SIMD_cosf64x): Likewise.
23260 (__DECL_SIMD_cosf128x): Likewise.
23261 (__DECL_SIMD_sinf16): Likewise.
23262 (__DECL_SIMD_sinf32): Likewise.
23263 (__DECL_SIMD_sinf64): Likewise.
23264 (__DECL_SIMD_sinf32x): Likewise.
23265 (__DECL_SIMD_sinf64x): Likewise.
23266 (__DECL_SIMD_sinf128x): Likewise.
23267 (__DECL_SIMD_sincosf16): Likewise.
23268 (__DECL_SIMD_sincosf32): Likewise.
23269 (__DECL_SIMD_sincosf64): Likewise.
23270 (__DECL_SIMD_sincosf32x): Likewise.
23271 (__DECL_SIMD_sincosf64x): Likewise.
23272 (__DECL_SIMD_sincosf128x): Likewise.
23273 (__DECL_SIMD_logf16): Likewise.
23274 (__DECL_SIMD_logf32): Likewise.
23275 (__DECL_SIMD_logf64): Likewise.
23276 (__DECL_SIMD_logf32x): Likewise.
23277 (__DECL_SIMD_logf64x): Likewise.
23278 (__DECL_SIMD_logf128x): Likewise.
23279 (__DECL_SIMD_expf16): Likewise.
23280 (__DECL_SIMD_expf32): Likewise.
23281 (__DECL_SIMD_expf64): Likewise.
23282 (__DECL_SIMD_expf32x): Likewise.
23283 (__DECL_SIMD_expf64x): Likewise.
23284 (__DECL_SIMD_expf128x): Likewise.
23285 (__DECL_SIMD_powf16): Likewise.
23286 (__DECL_SIMD_powf32): Likewise.
23287 (__DECL_SIMD_powf64): Likewise.
23288 (__DECL_SIMD_powf32x): Likewise.
23289 (__DECL_SIMD_powf64x): Likewise.
23290 (__DECL_SIMD_powf128x): Likewise.
23292 * stdlib/Versions (libc): Move entries for wcstof128 and
23293 wcstof128_l to ....
23294 * wcsmbs/Versions (libc): ... here.
23295 Include <float128-abi.h>.
23297 2017-11-24 Florian Weimer <fweimer@redhat.com>
23299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23300 bits/mman-shared.h.
23301 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23302 <bits/mman-shared.h>.
23303 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23305 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23306 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23307 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23308 <bits/mman-shared.h>.
23310 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23313 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23314 posix_memalign/free.
23315 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23317 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23320 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23321 and implement the collation rules for pl from CLDR on top of that.
23322 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23323 of locales to be built for testing.
23324 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23326 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23328 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23329 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23330 libm_alias_ldouble_other.
23331 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23332 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23333 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23334 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23335 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23336 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23337 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23338 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23339 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23340 libm_alias_ldouble_r.
23341 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23342 libm_alias_ldouble_other.
23343 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23344 (log10l): Likewise.
23345 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23346 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23347 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23348 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23349 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23350 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23351 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23352 (atan2l): Likewise.
23353 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23354 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23355 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23356 libm_alias_ldouble.
23357 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23359 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23360 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23361 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23363 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23364 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23365 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23366 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23367 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23368 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23369 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23370 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23371 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23372 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23373 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23374 libm_alias_ldouble.
23375 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23376 libm_alias_ldouble_other.
23377 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23378 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23379 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23380 libm_alias_ldouble.
23381 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23382 libm_alias_ldouble_other.
23383 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23384 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23385 * sysdeps/ia64/fpu/w_lgammal_main.c
23386 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23387 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23389 2017-11-23 Florian Weimer <fweimer@redhat.com>
23391 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23392 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23393 alike. Remove freeres marker.
23394 * malloc/arena.c (arena_thread_freeres): Call
23395 tcache_thread_shutdown.
23397 2017-11-23 Florian Weimer <fweimer@redhat.com>
23400 Export nscd hash function as __nss_hash.
23401 * include/nss.h (__nss_hash): Declare.
23402 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23404 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23405 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23407 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23408 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23409 * nss/Makefiles (routines): Add nss_hash.
23410 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23411 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23412 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23413 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23415 2017-11-23 Florian Weimer <fweimer@redhat.com>
23418 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23419 Return error code, not -1.
23420 * signal/tst-sigwait-eintr.c: New file.
23421 * signal/Makefile (tests): Add tst-sigwait-eintr.
23423 2017-11-23 Florian Weimer <fweimer@redhat.com>
23425 Linux: Add memfd_create system call wrapper
23426 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23428 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23429 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23430 [__USE_GNU] (memfd_create): Declare.
23431 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23432 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23433 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23434 * sysdeps/unix/sysv/linux/**.abilist: Update.
23435 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23437 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23439 * localedata/gen-locale.sh: Fix typo in variable name.
23441 * resolv/res_debug.c (p_secstodate): Condition definition on
23442 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23443 directly as __p_secstodate, and as a compat symbol. Do not use
23444 libresolv_hidden_def.
23445 * resolv/resolv.h (p_secstodate): Remove macro and function
23447 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23448 using p_secstodate.
23449 * include/resolv.h (__p_secstodate): Do not use
23450 libresolv_hidden_proto.
23451 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23452 (tests-internal): ... here.
23453 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23454 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23455 and declare and use __p_secstodate and use compat_symbol_reference
23457 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23458 implementation returning 77.
23461 * resolv/res_debug.c: Include <libc-diag.h>.
23462 (p_secstodate): Assert time_t at least as wide as u_long. On
23463 overflow, use integer seconds since the epoch as output, or use
23464 "<overflow>" as output and set errno to EOVERFLOW if integer
23465 seconds since the epoch would be 14 or more characters.
23466 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23468 * resolv/tst-p_secstodate.c: New file.
23469 * resolv/Makefile (tests): Add tst-p_secstodate.
23470 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23472 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23473 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23474 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23476 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23478 * posix/regcomp.c (init_word_char): Add comments.
23480 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23483 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23484 strlen to compute length of ut_user and set trailing NUL byte of
23487 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23490 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23491 using “copy "iso14651_t1"” and then implementing the
23492 collation rules for lv from CLDR on top of that.
23493 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23494 of locales to be built for testing.
23495 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23498 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23500 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23501 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23502 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23503 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23504 [__USE_MISC] (MADV_HWPOISON): New macro.
23505 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23507 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23509 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23510 -Wmissing-braces on GCC 4.9.
23512 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23514 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23515 * sysdeps/s390/s390-32/start.S (_start): Likewise
23516 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23517 (thread_start): Likewise.
23518 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23519 (thread_start): Likewise.
23520 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23521 (__makecontext_ret): Likewise.
23522 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23523 (__makecontext_ret): Likewise.
23525 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23527 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23528 __wcschrnul): Remove attribute_hidden.
23530 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23532 regex: don't assume uint64_t or uint32_t
23533 This avoids -Werror=overflow errors for 32-bit systems in
23534 the 64-bit case. Problem reported by Joseph Myers in:
23535 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23536 Also, when this code is used in Gnulib it ports to platforms
23537 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23538 them, and on some 32-bit compilers there is no uint64_t.
23539 Problem reported by Gianluigi Tiesi in:
23540 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23541 * posix/regcomp.c (init_word_char): Don't assume that the types
23542 uint64_t and uint32_t exist. Adapted from Gnulib patch
23543 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23544 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23546 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23548 * sysdeps/aarch64/memset-reg.h: New file.
23549 * sysdeps/aarch64/memset.S: Use it.
23550 (__memset): Rename to MEMSET macro.
23551 [ZVA_MACRO]: Use zva_macro.
23552 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23553 Add memset_generic and memset_falkor.
23554 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23555 (__libc_ifunc_impl_list): Add memset ifuncs.
23556 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23557 local variable zva_size.
23558 * sysdeps/aarch64/multiarch/memset.c: New file.
23559 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23560 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23561 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23562 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23563 (DCZID_DZP_MASK): New macro.
23564 (DCZID_BS_MASK): Likewise.
23565 (init_cpu_features): Read and set zva_size.
23566 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23567 (struct cpu_features): New member zva_size.
23569 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23570 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23571 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23573 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23574 backwards. Fix timing computation.
23575 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23576 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23577 on memset by N at a time. Fix timing computation.
23579 2017-11-20 Florian Weimer <fweimer@redhat.com>
23581 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23582 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23584 2017-11-19 Florian Weimer <fweimer@redhat.com>
23586 manual: Document mprotect
23587 * manual/memory.texi (Memory Protection): New section.
23588 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23589 documentation of PROT_* flags and reference the Memory Protection
23592 2017-11-19 Florian Weimer <fweimer@redhat.com>
23594 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23595 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23596 (Scatter-Gather): ... to here. Remove misleading comment.
23598 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23600 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23603 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23604 when /proc/<pid>/setgroups does not exist.
23606 2017-11-18 Florian Weimer <fweimer@redhat.com>
23608 * sysdeps/unix/sysv/linux/tst-ttyname.c
23609 (become_root_in_mount_ns): Remove.
23610 (do_in_chroot_1): Call support_enter_mount_namespace.
23611 (do_in_chroot_2): Likewise.
23612 (do_test): Call support_become_root early.
23614 2017-11-18 Florian Weimer <fweimer@redhat.com>
23616 * support/namespace.h (support_enter_mount_namespace): Declare.
23617 * support/support_enter_mount_namespace.c: New file.
23618 * support/Makefile (libsupport-routines): Add
23619 support_enter_mount_namespace.
23621 2017-11-18 Florian Weimer <fweimer@redhat.com>
23623 * support/temp_file.c (support_create_temp_directory): Use
23624 test_dir and do not rely on the presence of the XXXXXX suffix.
23625 * support/temp_file.h (support_create_temp_directory): Update
23627 * support/tst-xreadlink.c (do_test): Adjust.
23628 * support/support_chroot.c (support_chroot_create): Likewise.
23630 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23632 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23634 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23637 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23639 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23640 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23641 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23642 (ceill): Define using libm_alias_ldouble.
23643 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23644 <libm-alias-ldouble.h>.
23645 (copysignl): Define using libm_alias_ldouble.
23646 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23647 (fabsl): Define using libm_alias_ldouble.
23648 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23649 (floorl): Define using libm_alias_ldouble.
23650 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23651 (fmaxl): Define using libm_alias_ldouble.
23652 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23653 (fminl): Define using libm_alias_ldouble.
23654 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23655 (llrintl): Define using libm_alias_ldouble.
23656 (lrintl): Likewise.
23657 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23658 <libm-alias-ldouble.h>.
23659 (nearbyintl): Define using libm_alias_ldouble.
23660 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23661 (truncl): Define using libm_alias_ldouble.
23662 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23663 <libm-alias-ldouble.h>.
23664 (lrintl): Define using libm_alias_ldouble.
23666 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23667 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23668 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23669 (asinhl): Define using libm_alias_ldouble.
23670 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23671 (atanl): Define using libm_alias_ldouble.
23672 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23673 (cbrtl): Define using libm_alias_ldouble.
23674 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23675 (ceill): Define using libm_alias_ldouble.
23676 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23677 (copysignl): Define using libm_alias_ldouble.
23678 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23679 (fabsl): Define using libm_alias_ldouble.
23680 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23681 (floorl): Define using libm_alias_ldouble.
23682 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23683 (fmaxl): Define using libm_alias_ldouble.
23684 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23685 (fminl): Define using libm_alias_ldouble.
23686 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23687 (frexpl): Define using libm_alias_ldouble.
23688 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23689 (llrintl): Define using libm_alias_ldouble.
23690 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23691 (logbl): Define using libm_alias_ldouble.
23692 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23693 (lrintl): Define using libm_alias_ldouble.
23694 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23695 (nearbyintl): Define using libm_alias_ldouble.
23696 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23697 (nextafterl): Define using libm_alias_ldouble.
23698 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23699 (remquol): Define using libm_alias_ldouble.
23700 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23701 (rintl): Define using libm_alias_ldouble.
23702 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23703 (truncl): Define using libm_alias_ldouble.
23704 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23705 (fmaxl): Define using libm_alias_ldouble.
23706 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23707 (fminl): Define using libm_alias_ldouble.
23709 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23710 to C syntax instead of availability and properties of types.
23711 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23712 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23713 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23714 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23715 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23716 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23718 2017-11-17 Florian Weimer <fweimer@redhat.com>
23720 support_become_root: Enable file creation in namespaces.
23721 * support/support_become_root.c (setup_mapping): New function.
23722 (support_become_root): Call it.
23724 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23726 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23729 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23731 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23732 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23734 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23736 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23738 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23741 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23743 * INSTALL: Fix botched up regeneration.
23745 * NEWS: Update sourceare link to https.
23746 * configure.ac: Likewise.
23747 * crypt/md5test-giant.c: Likewise.
23748 * dlfcn/bug-atexit1.c: Likewise.
23749 * dlfcn/bug-atexit2.c: Likewise.
23750 * localedata/README: Likewise.
23751 * malloc/tst-mallocfork.c: Likewise.
23752 * manual/install.texi: Likewise.
23753 * nptl/tst-pthread-getattr.c: Likewise.
23754 * stdio-common/tst-fgets.c: Likewise.
23755 * stdio-common/tst-fwrite.c: Likewise.
23756 * sunrpc/Makefile: Likewise.
23757 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23758 * wcsmbs/tst-mbrtowc2.c: Likewise.
23759 * configure: Regenerate.
23760 * INSTALL: Regenerate.
23762 2017-11-15 Martin Sebor <msebor@redhat.com>
23764 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23765 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23766 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23768 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23771 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23772 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23775 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23776 Defer is_pty check until end of the function.
23777 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23780 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23781 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23782 (ttyname): Likewise.
23783 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23784 (__ttyname_r): Likewise.
23786 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23789 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23791 * manual/terminal.texi (Is It a Terminal):
23792 Mention ENODEV for ttyname and ttyname_r.
23794 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23796 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23797 constant and macro.
23799 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23800 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23801 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23802 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23803 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23804 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23806 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23808 * signal/sigrelse.c (sigrelse): Optimize implementation.
23810 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23811 (__sigpause): Rely on __sigsuspend to implement single thread
23812 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23814 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23816 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23817 kernel version to 4.14.
23819 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23822 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23823 Check if ifname is too long.
23825 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23827 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23829 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23831 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23832 was accidentally lost.
23834 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23836 * localedata/locales/az_IR: Add standard copyright header.
23838 2017-11-15 Florian Weimer <fweimer@redhat.com>
23841 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23842 not just the top one. Output a new "subheaps" statistic.
23844 2017-11-15 Florian Weimer <fweimer@redhat.com>
23847 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23848 under the per-arena lock.
23849 * malloc/Makefile (tests): Add tst-malloc_info.
23850 (tst-malloc_info): Link with libpthread.
23851 * malloc/tst-malloc_info.c: New file.
23853 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23856 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23857 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23858 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23859 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23860 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23861 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23862 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23863 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23864 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23865 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23866 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23867 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23868 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23869 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23870 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23871 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23872 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23873 (__floating_type): Likewise.
23874 (__real_integer_type): Likewise.
23875 (__complex_integer_type): Likewise.
23876 (__expr_is_real): Likewise.
23877 (__tgmath_real_type_sub): Likewise.
23878 (__tgmath_real_type): Likewise.
23879 (__tgmath_complex_type_sub): Likewise.
23880 (__tgmath_complex_type): Likewise.
23881 (__TGMATH_F128): Likewise.
23882 (__TGMATH_CF128): Likewise.
23883 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23885 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23886 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23888 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23890 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23891 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23892 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23893 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23895 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23896 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23898 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23899 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23900 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23902 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23903 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23904 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23908 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23910 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23911 for stpncpy calls for GCC 8.
23912 (test_strncat): Disable -Wstringop-truncation warning for strncat
23913 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23914 strncat call for GCC 7.
23915 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23917 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23920 * string/bug-strncat1.c: Include <libc-diag.h>.
23921 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23923 2017-11-13 Claude Paroz <claude@2xlibre.net>
23926 * localedata/locales/aa_DJ: Improved readibility by replacing
23927 <Uxxxx> sequences in the ASCII printable range by their ASCII
23928 character equivalents.
23929 * localedata/locales/aa_ER: Likewise.
23930 * localedata/locales/aa_ER@saaho: Likewise.
23931 * localedata/locales/aa_ET: Likewise.
23932 * localedata/locales/af_ZA: Likewise.
23933 * localedata/locales/agr_PE: Likewise.
23934 * localedata/locales/ak_GH: Likewise.
23935 * localedata/locales/am_ET: Likewise.
23936 * localedata/locales/anp_IN: Likewise.
23937 * localedata/locales/ar_AE: Likewise.
23938 * localedata/locales/ar_BH: Likewise.
23939 * localedata/locales/ar_DZ: Likewise.
23940 * localedata/locales/ar_EG: Likewise.
23941 * localedata/locales/ar_IN: Likewise.
23942 * localedata/locales/ar_IQ: Likewise.
23943 * localedata/locales/ar_JO: Likewise.
23944 * localedata/locales/ar_KW: Likewise.
23945 * localedata/locales/ar_LB: Likewise.
23946 * localedata/locales/ar_LY: Likewise.
23947 * localedata/locales/ar_MA: Likewise.
23948 * localedata/locales/ar_OM: Likewise.
23949 * localedata/locales/ar_QA: Likewise.
23950 * localedata/locales/ar_SA: Likewise.
23951 * localedata/locales/ar_SD: Likewise.
23952 * localedata/locales/ar_SS: Likewise.
23953 * localedata/locales/ar_SY: Likewise.
23954 * localedata/locales/ar_TN: Likewise.
23955 * localedata/locales/ar_YE: Likewise.
23956 * localedata/locales/as_IN: Likewise.
23957 * localedata/locales/ast_ES: Likewise.
23958 * localedata/locales/ayc_PE: Likewise.
23959 * localedata/locales/az_AZ: Likewise.
23960 * localedata/locales/az_IR: Likewise.
23961 * localedata/locales/be_BY: Likewise.
23962 * localedata/locales/be_BY@latin: Likewise.
23963 * localedata/locales/bem_ZM: Likewise.
23964 * localedata/locales/ber_DZ: Likewise.
23965 * localedata/locales/ber_MA: Likewise.
23966 * localedata/locales/bg_BG: Likewise.
23967 * localedata/locales/bhb_IN: Likewise.
23968 * localedata/locales/bho_IN: Likewise.
23969 * localedata/locales/bi_VU: Likewise.
23970 * localedata/locales/bn_BD: Likewise.
23971 * localedata/locales/bn_IN: Likewise.
23972 * localedata/locales/bo_CN: Likewise.
23973 * localedata/locales/bo_IN: Likewise.
23974 * localedata/locales/br_FR: Likewise.
23975 * localedata/locales/brx_IN: Likewise.
23976 * localedata/locales/bs_BA: Likewise.
23977 * localedata/locales/byn_ER: Likewise.
23978 * localedata/locales/ca_AD: Likewise.
23979 * localedata/locales/ca_ES: Likewise.
23980 * localedata/locales/ca_FR: Likewise.
23981 * localedata/locales/ca_IT: Likewise.
23982 * localedata/locales/ce_RU: Likewise.
23983 * localedata/locales/chr_US: Likewise.
23984 * localedata/locales/cmn_TW: Likewise.
23985 * localedata/locales/crh_UA: Likewise.
23986 * localedata/locales/cs_CZ: Likewise.
23987 * localedata/locales/csb_PL: Likewise.
23988 * localedata/locales/cv_RU: Likewise.
23989 * localedata/locales/cy_GB: Likewise.
23990 * localedata/locales/da_DK: Likewise.
23991 * localedata/locales/de_AT: Likewise.
23992 * localedata/locales/de_BE: Likewise.
23993 * localedata/locales/de_CH: Likewise.
23994 * localedata/locales/de_DE: Likewise.
23995 * localedata/locales/de_IT: Likewise.
23996 * localedata/locales/de_LI: Likewise.
23997 * localedata/locales/de_LU: Likewise.
23998 * localedata/locales/doi_IN: Likewise.
23999 * localedata/locales/dv_MV: Likewise.
24000 * localedata/locales/dz_BT: Likewise.
24001 * localedata/locales/el_CY: Likewise.
24002 * localedata/locales/el_GR: Likewise.
24003 * localedata/locales/en_AG: Likewise.
24004 * localedata/locales/en_AU: Likewise.
24005 * localedata/locales/en_BW: Likewise.
24006 * localedata/locales/en_CA: Likewise.
24007 * localedata/locales/en_DK: Likewise.
24008 * localedata/locales/en_GB: Likewise.
24009 * localedata/locales/en_HK: Likewise.
24010 * localedata/locales/en_IE: Likewise.
24011 * localedata/locales/en_IL: Likewise.
24012 * localedata/locales/en_IN: Likewise.
24013 * localedata/locales/en_NG: Likewise.
24014 * localedata/locales/en_NZ: Likewise.
24015 * localedata/locales/en_PH: Likewise.
24016 * localedata/locales/en_SG: Likewise.
24017 * localedata/locales/en_US: Likewise.
24018 * localedata/locales/en_ZA: Likewise.
24019 * localedata/locales/en_ZM: Likewise.
24020 * localedata/locales/en_ZW: Likewise.
24021 * localedata/locales/eo: Likewise.
24022 * localedata/locales/es_AR: Likewise.
24023 * localedata/locales/es_BO: Likewise.
24024 * localedata/locales/es_CL: Likewise.
24025 * localedata/locales/es_CO: Likewise.
24026 * localedata/locales/es_CR: Likewise.
24027 * localedata/locales/es_CU: Likewise.
24028 * localedata/locales/es_DO: Likewise.
24029 * localedata/locales/es_EC: Likewise.
24030 * localedata/locales/es_ES: Likewise.
24031 * localedata/locales/es_GT: Likewise.
24032 * localedata/locales/es_HN: Likewise.
24033 * localedata/locales/es_MX: Likewise.
24034 * localedata/locales/es_NI: Likewise.
24035 * localedata/locales/es_PA: Likewise.
24036 * localedata/locales/es_PE: Likewise.
24037 * localedata/locales/es_PR: Likewise.
24038 * localedata/locales/es_PY: Likewise.
24039 * localedata/locales/es_SV: Likewise.
24040 * localedata/locales/es_US: Likewise.
24041 * localedata/locales/es_UY: Likewise.
24042 * localedata/locales/es_VE: Likewise.
24043 * localedata/locales/et_EE: Likewise.
24044 * localedata/locales/eu_ES: Likewise.
24045 * localedata/locales/eu_ES@euro: Likewise.
24046 * localedata/locales/fa_IR: Likewise.
24047 * localedata/locales/ff_SN: Likewise.
24048 * localedata/locales/fi_FI: Likewise.
24049 * localedata/locales/fil_PH: Likewise.
24050 * localedata/locales/fo_FO: Likewise.
24051 * localedata/locales/fr_BE: Likewise.
24052 * localedata/locales/fr_CA: Likewise.
24053 * localedata/locales/fr_CH: Likewise.
24054 * localedata/locales/fr_FR: Likewise.
24055 * localedata/locales/fr_LU: Likewise.
24056 * localedata/locales/fur_IT: Likewise.
24057 * localedata/locales/fy_DE: Likewise.
24058 * localedata/locales/fy_NL: Likewise.
24059 * localedata/locales/ga_IE: Likewise.
24060 * localedata/locales/gd_GB: Likewise.
24061 * localedata/locales/gez_ER: Likewise.
24062 * localedata/locales/gez_ET: Likewise.
24063 * localedata/locales/gl_ES: Likewise.
24064 * localedata/locales/gu_IN: Likewise.
24065 * localedata/locales/gv_GB: Likewise.
24066 * localedata/locales/ha_NG: Likewise.
24067 * localedata/locales/hak_TW: Likewise.
24068 * localedata/locales/he_IL: Likewise.
24069 * localedata/locales/hi_IN: Likewise.
24070 * localedata/locales/hif_FJ: Likewise.
24071 * localedata/locales/hne_IN: Likewise.
24072 * localedata/locales/hr_HR: Likewise.
24073 * localedata/locales/hsb_DE: Likewise.
24074 * localedata/locales/ht_HT: Likewise.
24075 * localedata/locales/hu_HU: Likewise.
24076 * localedata/locales/hy_AM: Likewise.
24077 * localedata/locales/i18n: Likewise.
24078 * localedata/locales/ia_FR: Likewise.
24079 * localedata/locales/id_ID: Likewise.
24080 * localedata/locales/ig_NG: Likewise.
24081 * localedata/locales/ik_CA: Likewise.
24082 * localedata/locales/is_IS: Likewise.
24083 * localedata/locales/it_CH: Likewise.
24084 * localedata/locales/it_IT: Likewise.
24085 * localedata/locales/iu_CA: Likewise.
24086 * localedata/locales/ja_JP: Likewise.
24087 * localedata/locales/ka_GE: Likewise.
24088 * localedata/locales/kk_KZ: Likewise.
24089 * localedata/locales/kl_GL: Likewise.
24090 * localedata/locales/kn_IN: Likewise.
24091 * localedata/locales/ko_KR: Likewise.
24092 * localedata/locales/kok_IN: Likewise.
24093 * localedata/locales/ks_IN: Likewise.
24094 * localedata/locales/ks_IN@devanagari: Likewise.
24095 * localedata/locales/ku_TR: Likewise.
24096 * localedata/locales/kw_GB: Likewise.
24097 * localedata/locales/ky_KG: Likewise.
24098 * localedata/locales/lb_LU: Likewise.
24099 * localedata/locales/lg_UG: Likewise.
24100 * localedata/locales/li_BE: Likewise.
24101 * localedata/locales/li_NL: Likewise.
24102 * localedata/locales/lij_IT: Likewise.
24103 * localedata/locales/ln_CD: Likewise.
24104 * localedata/locales/lo_LA: Likewise.
24105 * localedata/locales/lt_LT: Likewise.
24106 * localedata/locales/lv_LV: Likewise.
24107 * localedata/locales/lzh_TW: Likewise.
24108 * localedata/locales/mag_IN: Likewise.
24109 * localedata/locales/mai_IN: Likewise.
24110 * localedata/locales/mg_MG: Likewise.
24111 * localedata/locales/mhr_RU: Likewise.
24112 * localedata/locales/mi_NZ: Likewise.
24113 * localedata/locales/mk_MK: Likewise.
24114 * localedata/locales/ml_IN: Likewise.
24115 * localedata/locales/mn_MN: Likewise.
24116 * localedata/locales/mni_IN: Likewise.
24117 * localedata/locales/mr_IN: Likewise.
24118 * localedata/locales/ms_MY: Likewise.
24119 * localedata/locales/mt_MT: Likewise.
24120 * localedata/locales/my_MM: Likewise.
24121 * localedata/locales/nan_TW: Likewise.
24122 * localedata/locales/nan_TW@latin: Likewise.
24123 * localedata/locales/nb_NO: Likewise.
24124 * localedata/locales/nds_DE: Likewise.
24125 * localedata/locales/nds_NL: Likewise.
24126 * localedata/locales/ne_NP: Likewise.
24127 * localedata/locales/nhn_MX: Likewise.
24128 * localedata/locales/niu_NU: Likewise.
24129 * localedata/locales/niu_NZ: Likewise.
24130 * localedata/locales/nl_AW: Likewise.
24131 * localedata/locales/nl_BE: Likewise.
24132 * localedata/locales/nl_NL: Likewise.
24133 * localedata/locales/nn_NO: Likewise.
24134 * localedata/locales/nr_ZA: Likewise.
24135 * localedata/locales/nso_ZA: Likewise.
24136 * localedata/locales/oc_FR: Likewise.
24137 * localedata/locales/om_ET: Likewise.
24138 * localedata/locales/om_KE: Likewise.
24139 * localedata/locales/or_IN: Likewise.
24140 * localedata/locales/os_RU: Likewise.
24141 * localedata/locales/pa_IN: Likewise.
24142 * localedata/locales/pa_PK: Likewise.
24143 * localedata/locales/pap_AW: Likewise.
24144 * localedata/locales/pap_CW: Likewise.
24145 * localedata/locales/pl_PL: Likewise.
24146 * localedata/locales/ps_AF: Likewise.
24147 * localedata/locales/pt_BR: Likewise.
24148 * localedata/locales/pt_PT: Likewise.
24149 * localedata/locales/quz_PE: Likewise.
24150 * localedata/locales/raj_IN: Likewise.
24151 * localedata/locales/ro_RO: Likewise.
24152 * localedata/locales/ru_RU: Likewise.
24153 * localedata/locales/ru_UA: Likewise.
24154 * localedata/locales/rw_RW: Likewise.
24155 * localedata/locales/sa_IN: Likewise.
24156 * localedata/locales/sat_IN: Likewise.
24157 * localedata/locales/sc_IT: Likewise.
24158 * localedata/locales/sd_IN: Likewise.
24159 * localedata/locales/sd_IN@devanagari: Likewise.
24160 * localedata/locales/se_NO: Likewise.
24161 * localedata/locales/sgs_LT: Likewise.
24162 * localedata/locales/shs_CA: Likewise.
24163 * localedata/locales/si_LK: Likewise.
24164 * localedata/locales/sid_ET: Likewise.
24165 * localedata/locales/sk_SK: Likewise.
24166 * localedata/locales/sl_SI: Likewise.
24167 * localedata/locales/sm_WS: Likewise.
24168 * localedata/locales/so_DJ: Likewise.
24169 * localedata/locales/so_ET: Likewise.
24170 * localedata/locales/so_KE: Likewise.
24171 * localedata/locales/so_SO: Likewise.
24172 * localedata/locales/sq_AL: Likewise.
24173 * localedata/locales/sq_MK: Likewise.
24174 * localedata/locales/sr_ME: Likewise.
24175 * localedata/locales/sr_RS: Likewise.
24176 * localedata/locales/sr_RS@latin: Likewise.
24177 * localedata/locales/ss_ZA: Likewise.
24178 * localedata/locales/st_ZA: Likewise.
24179 * localedata/locales/sv_FI: Likewise.
24180 * localedata/locales/sv_SE: Likewise.
24181 * localedata/locales/sw_KE: Likewise.
24182 * localedata/locales/sw_TZ: Likewise.
24183 * localedata/locales/szl_PL: Likewise.
24184 * localedata/locales/ta_IN: Likewise.
24185 * localedata/locales/ta_LK: Likewise.
24186 * localedata/locales/tcy_IN: Likewise.
24187 * localedata/locales/te_IN: Likewise.
24188 * localedata/locales/tg_TJ: Likewise.
24189 * localedata/locales/th_TH: Likewise.
24190 * localedata/locales/the_NP: Likewise.
24191 * localedata/locales/ti_ER: Likewise.
24192 * localedata/locales/ti_ET: Likewise.
24193 * localedata/locales/tig_ER: Likewise.
24194 * localedata/locales/tk_TM: Likewise.
24195 * localedata/locales/tl_PH: Likewise.
24196 * localedata/locales/tn_ZA: Likewise.
24197 * localedata/locales/to_TO: Likewise.
24198 * localedata/locales/tpi_PG: Likewise.
24199 * localedata/locales/tr_CY: Likewise.
24200 * localedata/locales/tr_TR: Likewise.
24201 * localedata/locales/ts_ZA: Likewise.
24202 * localedata/locales/tt_RU: Likewise.
24203 * localedata/locales/tt_RU@iqtelif: Likewise.
24204 * localedata/locales/ug_CN: Likewise.
24205 * localedata/locales/uk_UA: Likewise.
24206 * localedata/locales/unm_US: Likewise.
24207 * localedata/locales/ur_IN: Likewise.
24208 * localedata/locales/ur_PK: Likewise.
24209 * localedata/locales/uz_UZ: Likewise.
24210 * localedata/locales/uz_UZ@cyrillic: Likewise.
24211 * localedata/locales/ve_ZA: Likewise.
24212 * localedata/locales/vi_VN: Likewise.
24213 * localedata/locales/wa_BE: Likewise.
24214 * localedata/locales/wae_CH: Likewise.
24215 * localedata/locales/wal_ET: Likewise.
24216 * localedata/locales/wo_SN: Likewise.
24217 * localedata/locales/xh_ZA: Likewise.
24218 * localedata/locales/yi_US: Likewise.
24219 * localedata/locales/yo_NG: Likewise.
24220 * localedata/locales/yue_HK: Likewise.
24221 * localedata/locales/yuw_PG: Likewise.
24222 * localedata/locales/zh_CN: Likewise.
24223 * localedata/locales/zh_HK: Likewise.
24224 * localedata/locales/zh_SG: Likewise.
24225 * localedata/locales/zh_TW: Likewise.
24226 * localedata/locales/zu_ZA: Likewise.
24228 2017-11-13 Florian Weimer <fweimer@redhat.com>
24230 * support/next_to_fault.h, support/next_to_fault.c: New files.
24231 * support/Makefile (libsupport-routines): Add next_to_fault.
24232 * resolv/tst-inet_pton.c (struct next_to_fault)
24233 (next_to_fault_allocate, next_to_fault_free): Remove.
24234 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24236 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24238 * elf/dl-support.c: Include <dl-procruntime.c>.
24239 * include/link.h: Include <link_map.h>.
24240 * sysdeps/generic/dl-procruntime.c: New file.
24241 * sysdeps/generic/link_map.h: Likewise.
24242 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24243 the writable ld.so namespace.
24245 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24247 timezone: pacify GCC -Wstringop-truncation
24248 Problem reported by Martin Sebor in:
24249 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24250 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24252 2017-11-12 Florian Weimer <fweimer@redhat.com>
24254 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24256 (tests): Add tst-xreadlink.
24257 * support/support.h (xstrndup): Declare.
24258 * support/xunistd.h (xunlink, xreadlink): Declare.
24259 * support/temp_file.h (support_create_temp_directory): Declare.
24260 * support/temp_file.c (support_create_temp_directory): New function.
24261 * support/support_chroot.c (support_chroot_create): Use it.
24262 * support/xreadlink.c: New file.
24263 * support/xstrndup.c: Likewise.
24264 * support/xunlink.c: Likewise.
24265 * support/tst-xreadlink.c: Likewise.
24267 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24269 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24271 2017-11-11 Florian Weimer <fweimer@redhat.com>
24275 * resolv/res_comp.c (printable_string, binary_hnok)
24276 (binary_leading_dash): New functions.
24277 (res_hnok): Reimplement using these functions and ns_name_pton.
24278 (res_ownok): Likewise.
24279 (res_mailok): Reimplement using printable_string, ns_name_pton and
24281 (res_dnok): Reimplement using printable_string and ns_name_pton.
24282 * resolv/tst-res_hnok.c (tests): Add additional tests.
24283 (LETTERDIGITS, PRINTABLE): Define.
24284 (do_test): Adjust one_char results.
24286 2017-11-11 Florian Weimer <fweimer@redhat.com>
24289 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24290 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24292 2017-11-11 Florian Weimer <fweimer@redhat.com>
24294 * resolv/tst-ns_name_pton.c: New file.
24295 * resolv/Makefile (tests): Add tst-ns_name_pton.
24296 (tst-ns_name_pton): Link against libresolv.
24298 2017-11-11 Florian Weimer <fweimer@redhat.com>
24300 * resolv/tst-res_hnok.c: New file.
24301 * resolv/Makefile (tests): Add tst-res_hnok.
24302 (tst-res_hnok): Link against libresolv.
24304 2017-11-11 Florian Weimer <fweimer@redhat.com>
24306 * resolv/tst-resolv-network.c: Use test framework instead explicit
24309 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24311 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24312 <jmp_buf-macros.h>.
24313 [!_ISOMAC] (STR_HELPER): New.
24314 [!_ISOMAC] (STR): Likewise.
24315 [!_ISOMAC] (TEST_SIZE): Likewise.
24316 [!_ISOMAC] (TEST_ALIGN): Likewise.
24317 [!_ISOMAC] (TEST_OFFSET): Likewise.
24318 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24319 field offsets of jmp_buf as well as sigjmp_buf.
24320 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24321 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24322 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24323 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24324 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24325 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24326 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24327 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24328 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24329 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24331 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24333 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24338 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24339 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24340 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24341 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24342 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24347 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24348 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24349 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24351 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24354 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24355 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24356 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24357 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24358 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24359 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24360 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24361 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24362 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24363 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24364 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24365 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24366 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24367 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24368 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24369 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24370 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24371 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24372 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24373 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24374 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24375 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24376 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24377 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24378 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24379 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24380 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24381 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24382 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24383 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24384 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24385 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24386 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24387 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24388 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24389 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24390 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24391 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24392 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24393 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24394 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24395 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24396 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24397 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24398 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24399 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24400 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24401 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24402 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24403 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24404 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24405 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24406 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24407 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24408 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24409 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24410 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24411 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24412 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24413 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24414 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24415 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24416 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24417 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24418 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24419 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24420 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24421 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24422 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24423 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24424 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24425 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24426 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24427 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24429 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24430 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24431 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24433 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24435 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24437 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24439 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24441 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24443 * stdlib/tst-strtod.h (F16): New macro.
24449 (IF_FLOAT16): Likewise.
24450 (IF_FLOAT32): Likewise.
24451 (IF_FLOAT64): Likewise.
24452 (IF_FLOAT32X): Likewise.
24453 (IF_FLOAT64X): Likewise.
24454 (IF_FLOAT128X): Likewise.
24455 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24456 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24457 (STRTOD_TEST_FOREACH): Likewise.
24458 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24459 (CHOOSE_f64): Likewise.
24460 (CHOOSE_f32x): Likewise.
24461 (CHOOSE_f64x): Likewise.
24463 2017-11-07 Andreas Schwab <schwab@suse.de>
24465 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24467 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24470 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24472 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24475 2017-11-07 Claude Paroz <claude@2xlibre.net>
24478 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24480 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24482 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24485 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24488 * nptl/allocatestack.c (allocate_stack): Check if
24489 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24490 __PTHREAD_MUTEX_HAVE_PREV is defined.
24491 * nptl/descr.h (pthread): Likewise.
24492 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24494 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24495 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24496 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24497 * sysdeps/nptl/bits/thread-shared-types.h
24498 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24500 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24501 of __WORDSIZE for internal layout.
24502 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24503 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24504 instead of __WORDSIZE whether to use an union for __spins and __list
24506 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24508 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24509 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24511 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24512 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24514 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24515 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24517 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24518 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24520 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24521 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24523 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24524 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24526 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24527 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24529 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24530 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24532 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24533 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24535 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24536 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24538 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24539 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24541 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24542 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24544 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24545 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24547 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24548 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24550 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24551 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24554 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24556 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24557 checks for expected input type size.
24558 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24559 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24561 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24562 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24563 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24564 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24565 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24566 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24567 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24568 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24569 superflous runtime assert check.
24570 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24572 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24574 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24576 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24578 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24580 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24582 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24583 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24584 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24586 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24588 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24590 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24592 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24594 * nptl/pthread_attr_setinheritsched.c
24595 (__pthread_attr_setinheritsched): Likewise.
24596 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24598 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24600 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24601 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24602 __old_pthread_attr_setstack): Likewise.
24603 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24605 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24607 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24609 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24610 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24612 * nptl/tst-typesizes.c: Remove file.
24614 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24615 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24616 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24617 checks for internal pthread_mutex_t offsets.
24618 * sysdeps/aarch64/nptl/pthread-offsets.h
24619 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24620 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24621 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24622 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24623 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24624 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24625 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24626 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24627 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24628 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24629 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24630 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24631 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24632 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24633 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24634 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24635 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24636 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24638 2017-11-07 Florian Weimer <fweimer@redhat.com>
24640 * bits/mman-linux.h: Move ...
24641 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24643 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24646 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24648 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24649 Redefine STRNLEN as __strnlen_power8.
24651 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24653 * signal/sighold.c (sighold): Optimize implementation.
24655 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24656 __NR_rt_sigqueueinfo.
24658 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24660 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24661 assume __NR_rt_sigtimedwait.
24662 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24663 and add LIBC_CANCEL_HANDLED for cancellation marking.
24664 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24666 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24667 (sysdeps_routines): Add memchr_noneon.
24668 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24669 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24670 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24671 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24672 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24673 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24674 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24676 * sysdeps/arm/arm-ifunc.h: New file.
24677 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24678 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24679 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24680 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24681 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24682 (__memcpy_neon): Avoid create hidden alias.
24683 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24684 (__memcpy_vfp): Likewise.
24685 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24686 (sysdep_routines): Add memcpy_arm.
24687 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24689 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24692 * Makerules (make-link-multidir): New.
24693 * config.make.in (multidir): New.
24694 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24695 * configure: Regenerated.
24696 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24697 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24698 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24701 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24704 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24705 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24707 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24709 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24712 2017-11-04 Florian Weimer <fweimer@redhat.com>
24714 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24716 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24718 * math/math.h [__HAVE_DISTINCT_FLOAT16
24719 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24720 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24721 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24722 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24723 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24724 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24725 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24726 (__MATH_TG_F32): New macro.
24727 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24728 (__MATH_TG_F64X): Likewise.
24729 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24730 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24732 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24734 * po/de.po: Update translations.
24735 * po/ru.po: Likewise.
24737 2017-11-03 Florian Weimer <fweimer@redhat.com>
24739 * manual/filesys.texi (Hard Links): Document linkat.
24741 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24743 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24744 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24745 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24746 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24747 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24748 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24749 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24750 the same as _Float128.
24751 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24752 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24753 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24756 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24758 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24760 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24762 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24763 (strtof32x): Likewise.
24764 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24765 (strtof64x): Likewise.
24766 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24767 (strtof128x): Likewise.
24768 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24769 (strfromf16): Likewise.
24770 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24771 (strfromf32): Likewise.
24772 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24773 (strfromf64): Likewise.
24774 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24775 (strfromf32x): Likewise.
24776 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24777 (strfromf64x): Likewise.
24778 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24779 (strfromf128x): Likewise.
24780 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24781 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24782 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24783 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24784 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24785 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24787 2017-11-03 Richard Henderson <rth@twiddle.net>
24789 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24791 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24793 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24795 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24797 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24798 DT_TLSDESC_GOT initialization.
24799 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24800 (_dl_tlsdesc_resolve_hold): Likewise.
24801 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24802 (_dl_tlsdesc_resolve_hold): Likewise.
24803 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24804 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24806 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24808 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24810 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24813 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24814 non-lazily for R_ARM_TLS_DESC.
24816 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24819 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24820 R_ARM_TLS_DESC case.
24821 (elf_machine_lazy_rel): Remove the prelink check.
24823 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24825 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24826 DT_TLSDESC_GOT initialization.
24827 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24828 (_dl_tlsdesc_resolve_rela): Likewise.
24829 (_dl_tlsdesc_resolve_hold): Likewise.
24830 (_dl_tlsdesc_undefweak): Remove ldar.
24831 (_dl_tlsdesc_dynamic): Likewise.
24832 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24833 (_dl_tlsdesc_resolve_rela): Likewise.
24834 (_dl_tlsdesc_resolve_hold): Likewise.
24835 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24836 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24837 (_dl_tlsdesc_resolve_rela): Likewise.
24838 (_dl_tlsdesc_resolve_hold): Likewise.
24840 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24842 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24843 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24845 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24847 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24848 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24850 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24852 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24854 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24855 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24856 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24857 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24858 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24859 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24860 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24861 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24862 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24863 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24864 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24866 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24869 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24870 * localedata/locales/tpi_PG: Add standard header.
24872 2017-11-02 Florian Weimer <fweimer@redhat.com>
24874 test-errno-linux: quotactl can fail with EPERM in containers.
24875 * sysdeps/unix/sysv/linux/test-errno-linux.c
24876 (LIST, LIST_FORWARD): New macros.
24877 (check_error_in_list): New function.
24878 (test_wrp_rv): Accept list of permitted error codes.
24879 (test_wrp_rv2): Remove.
24880 (test_wrp): Call test_wrp_rv with list of error codes.
24881 (test_wrp2): Accept list of error codes.
24882 (do_test): Adjust. Allow EPERM for quotactl.
24884 2017-11-02 Florian Weimer <fweimer@redhat.com>
24886 * stdio-common/bug16.c (do_test): Use array_length.
24887 * stdio-common/errlist.c (_sys_nerr): Likewise.
24888 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24889 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24890 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24891 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24892 (do_test): Use array_length.
24893 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24894 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24895 * stdio-common/tst-printf-round.c (do_test): Likewise.
24896 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24897 (CHECK): Use array_length.
24898 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24899 * stdio-common/tstscanf.c (main): Likewise.
24900 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24902 2017-11-02 Florian Weimer <fweimer@redhat.com>
24904 Add array_length and array_end macros.
24905 * include/array_length.h: New file.
24907 2017-11-02 Florian Weimer <fweimer@redhat.com>
24910 * posix/tst-glob-tilde.c (do_noescape): New variable.
24911 (one_test): Process it.
24912 (do_test): Set do_noescape. Add unescaping test case.
24914 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24917 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24918 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24919 with appropriate macros defined and undefined.
24920 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24921 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24922 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24923 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24924 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24925 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24926 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24927 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24928 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24929 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24932 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24933 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24934 that for long double. Do not condition define and undefine of
24935 _Mdouble_complex_ on [__CFLOAT128].
24937 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24939 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24940 of <sysdeps/generic/sysdep.h>.
24941 (ALIGNARG): Removed.
24942 (ASM_SIZE_DIRECTIVE): Likewise.
24945 (ENTRY_CHK): Likewise.
24946 (END_CHK): Likewise.
24947 (syscall_error): Likewise.
24948 (mcount): Likewise.
24949 (PSEUDO_END): Likewise.
24951 (atom_text_section): Likewise.
24952 * sysdeps/x86/sysdep.h: New file.
24953 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24954 of <sysdeps/generic/sysdep.h>.
24955 (ALIGNARG): Removed.
24956 (ASM_SIZE_DIRECTIVE): Likewise.
24959 (ENTRY_CHK): Likewise.
24960 (END_CHK): Likewise.
24961 (syscall_error): Likewise.
24962 (mcount): Likewise.
24963 (PSEUDO_END): Likewise.
24965 (atom_text_section): Likewise.
24967 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24969 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24970 category of LC_CTYPE set to "i18n:2012".
24971 * localedata/locales/i18n_ctype: Regenerate.
24973 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24975 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24976 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24977 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24978 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24980 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24981 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24982 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24983 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24985 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24988 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24990 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24992 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24994 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24995 (CMPLXF32X): Likewise.
24996 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24997 (CMPLXF64X): Likewise.
24998 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24999 (CMPLXF128X): Likewise.
25002 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25003 (__MATH_EVAL_FMT2): Define to add 0.0f.
25005 2017-10-31 Alan Modra <amodra@gmail.com>
25007 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25023 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25024 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25025 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25026 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25027 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25028 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25029 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25030 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25031 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25032 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25033 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25034 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25035 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25036 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25037 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25038 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25039 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25040 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25041 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25042 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25043 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25044 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25045 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25046 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25047 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25048 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25049 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25050 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25051 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25052 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25053 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25054 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25055 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25056 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25057 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25058 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25059 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25060 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25061 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25062 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25063 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25064 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25065 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25066 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25067 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25068 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25069 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25070 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25071 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25072 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25073 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25074 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25075 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25076 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25077 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25080 include sysdep.h and math_ldbl_opt.h.
25082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25083 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25109 2017-10-31 Alan Modra <amodra@gmail.com>
25111 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25112 string/strncase_l.c, not string/strncase.c.
25113 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25114 (libc_hidden_def): Redefine.
25116 2017-10-31 Alan Modra <amodra@gmail.com>
25118 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25119 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25120 (__strcasecmp): Don't define.
25122 2017-10-31 Alan Modra <amodra@gmail.com>
25124 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25126 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25127 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25128 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25130 2017-10-31 Alan Modra <amodra@gmail.com>
25132 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25135 2017-10-31 Alan Modra <amodra@gmail.com>
25137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25138 Redefine only when SHARED.
25140 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25142 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25143 Include <bits/math-finite.h> with appropriate macros defined and
25145 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25146 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25147 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25148 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25149 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25151 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25152 [!_Mlong_double_] (_Mlong_double_): Likewise.
25153 [!_Mfloat16_] (_Mfloat16_): Likewise.
25154 [!_Mfloat32_] (_Mfloat32_): Likewise.
25155 [!_Mfloat64_] (_Mfloat64_): Likewise.
25156 [!_Mfloat128_] (_Mfloat128_): Likewise.
25157 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25158 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25159 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25160 (_Mdouble_): Define without indirection through those macros.
25161 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25162 [!_Mfloat128_] (_Mfloat128_): Likewise.
25163 [_Mlong_double_] (_Mlong_double_): Likewise.
25164 (_Mdouble_): Define without indirection through those macros.
25165 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25166 not add -D_Mlong_double_=double.
25167 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25168 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25170 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25172 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25174 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25176 * sysdeps/x86/libc-start.c: Reformat.
25178 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25181 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25182 (1): Renamed to ...
25185 (L(Src2)): Likewise.
25186 (L(1)): Renamed to ...
25189 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25191 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25192 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25193 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25194 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25195 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25196 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25197 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25198 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25199 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25200 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25201 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25202 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25203 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25204 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25205 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25206 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25207 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25208 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25209 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25210 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25211 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25212 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25213 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25214 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25215 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25216 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25217 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25218 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25219 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25220 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25221 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25222 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25223 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25224 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25225 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25226 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25227 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25228 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25229 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25230 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25231 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25232 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25233 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25234 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25235 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25236 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25237 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25238 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25239 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25240 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25241 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25242 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25243 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25244 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25245 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25246 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25247 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25248 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25249 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25250 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25251 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25252 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25253 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25254 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25255 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25256 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25258 2017-10-30 Florian Weimer <fweimer@redhat.com>
25260 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25262 * io/tst-mkdirat.c (do_test): Likewise.
25263 * io/tst-mkfifoat.c (do_test): Likewise.
25264 * io/tst-mknodat.c (do_test): Likewise.
25265 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25266 * locale/programs/locale.c (select_dirs): Likewise.
25267 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25268 * posix/bug-glob2.c (my_readdir): Likewise.
25269 * posix/tst-dir.c (main): Likewise.
25270 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25271 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25273 2017-10-30 Florian Weimer <fweimer@redhat.com>
25275 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25278 2017-10-30 Florian Weimer <fweimer@redhat.com>
25280 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25281 Convert to support/test-driver.c.
25282 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25283 New macro parameters.
25284 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25285 * posix/tst-gnuglob.c: New file.
25286 * posix/tst-gnuglob64.c: Likewise.
25287 * posix/Makefile (tests): Add tst-gnuglob64.
25289 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25292 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25293 and use a better translation for March in “mon”.
25294 * localedata/locales/csb_PL: Use more ASCII to improve the
25295 readability of the source.
25297 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25300 * localedata/locales/km_KH: Use ASCII as much
25301 as possible for better readability of the source and
25302 remove useless comments.
25303 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25304 was commented out and apparently wrong anyway because it was
25305 using Lao characters. If Buddhist era should be used
25306 for km_KH, a native speaker should write the correct formaat
25308 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25309 (According to CLDR, the first weekday for Cambodia is Sunday).
25310 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25311 (These were using Lao characters which must be wrong. If we get
25312 the correct data from a native speaker, we could add it back, until
25313 then it is better not to have name_mr and name_mrs at all than
25316 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25318 * locale/loadlocale.c: Correct size of
25319 _nl_value_type_LC_<category> arrays.
25321 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25323 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25324 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25325 with appropriate macros defined and undefined.
25326 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25327 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25328 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25329 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25330 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25332 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25334 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25337 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25339 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25340 with lowercase letters to make it agree with CLDR.
25342 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25345 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25346 first letters of yesstr and nostr in yesexpr and noexpr,
25347 not for the full words.
25348 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25349 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25350 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25351 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25352 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25353 first letters of yesstr and nostr in yesexpr and noexpr,
25354 until now only English was matched in yesexpr and noexpr.
25355 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25356 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25357 fil but not for tl. As tl and fil are very similar, using fil
25358 is probably better than using English.
25360 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25363 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25364 in yesstr and nostr.
25366 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25368 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25369 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25370 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25372 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25374 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25376 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25378 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25379 (SNANF128X): Likewise.
25381 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25382 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25383 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25384 (HUGE_VAL_F32): Likewise.
25385 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25386 (HUGE_VAL_F64): Likewise.
25387 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25388 (HUGE_VAL_F32X): Likewise.
25389 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25390 (HUGE_VAL_F64X): Likewise.
25391 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25392 (HUGE_VAL_F128X): Likewise.
25394 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25396 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25397 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25398 for the br_FR locale.
25400 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25403 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25405 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25407 * locale/programs/record-status.h: Define globals, and function
25408 prototypes. Move function bodies...
25409 * locale/programs/record-status.c: ... to here. New file.
25410 * iconv/Makefile (iconv_prog-modules): Add record-status.
25411 * locale/Makefile (lib-modules): Likewise.
25412 * iconv/iconv_prog.c: Remove verbose.
25413 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25414 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25415 record a warning about ASCII compatibility.
25416 * locale/programs/ld-monetary.c (monetary_finish): If
25417 warn_int_curr_symbol is true then record a warning about the symbol
25418 not being in our ISO 4217 list.
25419 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25420 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25421 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25422 (OPT_NO_WARN): Define.
25423 (OPT_WARN): Define.
25424 (options): Add entry for --no-warnings, and --warnings.
25425 (set_warnings): New function to enable/disable warnings.
25426 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25427 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25428 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25429 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25430 Pass flags to generate_locale.
25431 (generate_locale): Accept new flag argument and pass it to localedef
25433 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25434 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25436 * localedata/Makefile (test-input-data): Use full file name.
25437 * localedata/da_DK.in: Rename to...
25438 * localedata/da_DK.ISO-8859-1.in: ...this.
25439 * localedata/de_DE.in: Rename to...
25440 * localedata/de_DE.ISO-8859-1.in: ...this.
25441 * localedata/en_US.in: Rename to...
25442 * localedata/en_US.ISO-8859-1.in: ...this.
25443 * localedata/fr_FR.in: Rename to...
25444 * localedata/fr_FR.UTF-8.in: ... this.
25445 * localedata/hr_HR.in: Rename to...
25446 * localedata/hr_HR.ISO-8859-2.in: ...this.
25447 * localedata/hu_HU.in: Rename to...
25448 * localedata/hu_HU.UTF-8.in: ...this.
25449 * localedata/si_LK.in: Rename to...
25450 * localedata/si_LK.UTF-8.in: ...this.
25451 * localedata/sv_SE.in: Rename to...
25452 * localedata/sv_SE.ISO-8859-1.in: ...this.
25453 * localedata/tr_TR.in: Rename to...
25454 * localedata/tr_TR.UTF-8.in: ...this.
25455 * localedata/uk_UA.in: Rename to...
25456 * localedata/uk_UA.UTF-8.in: ...this.
25457 * localedata/sort-test.sh: Test file is locale name with the
25460 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25461 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25463 * localedata/locales/i18n_ctype: Regenerate.
25464 * localedata/locales/tr_TR: Likewise.
25465 * localedata/locales/translit_circle: Likewise.
25466 * localedata/locales/translit_cjk_compat: Likewise.
25467 * localedata/locales/translit_combining: Likewise.
25468 * localedata/locales/translit_compat: Likewise.
25469 * localedata/locales/translit_font: Likewise.
25470 * localedata/locales/translit_fraction: Likewise.
25472 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25474 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25475 lxvd2x/stxvd2x with lvx/stvx.
25476 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25478 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25480 * include/alloc_buffer.h: Replace "if if " with "if " in
25482 * sysdeps/mips/memcpy.S: Likkewise.
25483 * sysdeps/mips/memset.S: Likewise.
25484 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25486 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25488 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25491 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25494 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25495 yesexpr and noexpr.
25496 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25497 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25498 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25499 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25500 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25501 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25502 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25504 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25506 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25507 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25508 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25509 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25510 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25511 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25512 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25513 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25514 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25515 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25516 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25517 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25519 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25521 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25522 as possible for better readability of the source.
25523 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25524 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25525 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25526 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25527 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25528 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25529 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25530 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25531 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25532 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25533 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25534 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25535 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25536 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25537 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25538 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25539 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25540 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25541 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25542 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25543 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25544 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25545 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25546 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25547 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25548 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25549 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25550 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25551 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25552 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25553 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25554 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25555 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25556 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25557 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25558 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25559 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25560 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25561 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25562 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25563 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25564 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25565 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25566 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25567 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25568 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25569 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25570 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25571 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25572 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25573 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25574 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25575 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25576 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25577 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25578 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25579 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25580 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25581 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25582 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25583 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25584 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25585 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25586 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25587 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25588 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25589 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25590 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25591 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25592 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25593 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25594 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25595 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25596 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25597 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25598 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25599 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25600 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25601 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25602 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25603 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25604 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25605 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25606 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25607 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25608 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25609 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25610 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25611 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25612 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25613 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25614 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25615 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25616 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25617 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25618 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25619 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25620 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25621 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25622 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25623 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25624 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25625 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25626 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25627 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25628 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25629 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25630 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25631 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25632 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25633 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25634 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25635 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25636 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25637 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25638 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25639 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25640 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25641 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25642 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25643 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25644 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25645 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25646 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25647 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25648 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25649 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25650 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25651 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25652 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25653 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25654 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25655 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25656 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25657 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25658 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25659 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25660 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25661 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25662 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25663 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25664 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25665 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25666 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25667 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25668 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25669 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25670 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25671 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25672 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25673 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25674 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25675 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25676 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25677 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25678 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25679 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25680 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25681 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25682 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25683 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25684 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25685 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25686 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25687 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25688 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25689 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25690 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25691 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25692 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25693 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25694 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25695 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25696 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25698 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25700 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25701 (Use first letters of yesstr and nostr correctly instead of using
25704 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25706 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25707 (Use first letters of yesstr and nostr correctly).
25709 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25711 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25712 also check for the first characters of yesstr and nostr.
25713 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25714 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25716 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25718 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25719 also check for Chinese characters.
25721 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25723 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25724 match also for the contents of yesstr and nostr. As the first letter
25725 of yesstr and nostr is equal, checking only for the first letter
25728 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25730 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25731 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25733 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25735 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25736 of main contributor.
25738 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25740 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25741 instead of using English.
25743 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25745 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25746 by including the first letters of nostr and yesexpr in the regexp.
25747 Also make it more readable by using ASCII where possible.
25749 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25751 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25752 the first letter of nostr in the regexp. It agrees with CLDR now.
25753 Also make it more readable by using ASCII where possible.
25755 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25757 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25758 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25759 these strings contain a U+17D6 (which somewhat looks like a colon)
25760 instead of a real colon to separate the full words for “yes”
25761 and “no” from the single letter responses.
25763 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25765 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25766 it agree with CLDR (include the first letter of yesstr).
25767 Also make it more readable by using ASCII where possible.
25769 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25771 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25772 and improve yesexpr and noexpr. The yesstr and nostr apparently
25773 came from CLDR. And CLDR has a bug there: these strings contain
25774 a U+0903 (which looks like a colon) instead of a real colon
25775 to separate the full words for “yes” and “no” from the single
25778 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25780 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25781 letters of the full yesstr and nostr in yesexpr and noexpr.
25783 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25785 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25786 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25787 * localedata/locales/an_ES: Make source more readable by using ASCII
25790 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25793 * localedata/locales/yuw_PG: New file.
25794 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25795 * locale/iso-639.def: Add Yau (Uruwa).
25797 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25799 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25801 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25803 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25804 (__libc_realloc): Likewise.
25805 (_mid_memalign): Likewise.
25806 (__libc_calloc): Likewise.
25808 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25810 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25811 by adding the generic +1 and -0 as in all other locales.
25812 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25813 day names and make it more readable by using ASCII where possible.
25815 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25817 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25818 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25820 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25822 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25823 WNOHANG in waitpid call.
25825 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25827 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25828 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25830 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25831 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25832 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25833 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25834 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25835 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25836 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25837 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25840 2017-10-23 Michael Collison <michael.collison@arm.com>
25842 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25843 with __builtin_sqrt.
25844 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25845 with __builtin_sqrtf.
25846 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25847 with __builtin_ceil.
25848 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25849 with __builtin_ceilf.
25850 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25851 with __builtin_floor.
25852 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25853 with __builtin_floorf.
25854 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25855 with __builtin_fma.
25856 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25857 with __builtin_fmaf.
25858 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25859 with __builtin_fmax.
25860 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25861 with __builtin_fmaxf.
25862 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25863 with __builtin_fmin.
25864 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25865 with __builtin_fminf.
25866 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25867 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25868 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25869 with builtin_rint and conversion to int.
25870 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25871 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25872 with builtin_llround.
25873 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25874 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25875 with builtin_rint and conversion to long int.
25876 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25877 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25878 with builtin_lround.
25879 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25880 with builtin_lroundf.
25881 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25882 statements with __builtin_nearbyint.
25883 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25884 statements with __builtin_nearbyintf.
25885 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25886 with __builtin_rint.
25887 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25888 with __builtin_rintf.
25889 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25890 with __builtin_round.
25891 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25892 with __builtin_roundf.
25893 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25894 with __builtin_trunc.
25895 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25896 with __builtin_truncf.
25897 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25898 and s_l[l]round[f].c too.
25900 2017-10-23 Alan Modra <amodra@gmail.com>
25902 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25903 Adjust stack after restoring regs. Add missing LR cfi_restore.
25905 2017-10-23 Alan Modra <amodra@gmail.com>
25907 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25908 Move LR save and frame setup/teardown and LR restore to
25909 immediately around memset call. Provide cfi.
25911 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25913 * sysdeps/i386/fpu/e_powf.S: Removed.
25914 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25915 * sysdeps/i386/fpu/w_powf.c: Likewise.
25916 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25917 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25918 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25920 (CFLAGS-e_powf-sse2.c): New.
25921 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25922 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25924 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25926 * sysdeps/i386/fpu/e_log2f.S: Removed.
25927 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25928 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25929 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25930 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25931 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25933 (CFLAGS-e_log2f-sse2.c): New.
25934 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25935 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25937 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25939 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25941 (CFLAGS-e_powf-fma.c): New.
25942 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25943 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25945 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25947 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25949 (CFLAGS-e_log2f-fma.c): New.
25950 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25951 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25953 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25955 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25957 (CFLAGS-e_logf-fma.c): New.
25958 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25959 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25961 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25963 * sysdeps/i386/fpu/e_logf.S: Removed.
25964 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25965 * sysdeps/i386/fpu/w_logf.c: Likewise.
25966 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25967 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25968 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25969 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25971 (CFLAGS-e_logf-sse2.c): New.
25972 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25973 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25975 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25977 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25978 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25979 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25980 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25981 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25983 (CFLAGS-e_exp2f-sse2.c): New.
25984 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25985 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25987 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25989 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25991 (CFLAGS-e_exp2f-fma.c): New.
25992 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25993 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25995 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25997 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25998 * sysdeps/i386/fpu/e_expf.S: Likewise.
25999 * sysdeps/i386/fpu/math_errf.c: Likewise.
26000 * sysdeps/i386/fpu/w_expf.c: Likewise.
26001 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26002 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26003 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26004 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26005 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26006 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26007 Remove e_expf-ia32.
26008 (CFLAGS-e_expf-sse2.c): New.
26009 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26010 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26012 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26014 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26015 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26016 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26017 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26019 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26021 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26022 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26024 (__redirect_expf): This.
26025 (SYMBOL_NAME): Changed to expf.
26026 (__ieee754_expf): Renamed to ...
26028 (__GI___expf): This.
26029 (__ieee754_expf): Add strong_alias.
26030 (__expf_finite): Likewise.
26032 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26034 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26037 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26040 2017-10-21 Florian Weimer <fweimer@redhat.com>
26042 * posix/Makefile (tests): Add tst-glob-tilde.
26043 (tests-special): Add tst-glob-tilde-mem.out
26044 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26045 (tst-glob-tilde-mem.out): Add mtrace check.
26046 * posix/tst-glob-tilde.c: New file.
26048 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26050 * bits/floatn-common.h: New file.
26051 * math/Makefile (headers): Add bits/floatn-common.h.
26052 * bits/floatn.h: Include <bits/floatn-common.h>.
26053 * sysdeps/ia64/bits/floatn.h: Likewise.
26054 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26055 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26056 * sysdeps/powerpc/bits/floatn.h: Likewise.
26057 * sysdeps/x86/bits/floatn.h: Likewise.
26059 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26061 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26062 indicates whether compiler emits an warning for alias for
26063 functions with incompatible types.
26066 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26067 the auxiliary process is terminated by a signal before calling _exit
26070 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26073 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26075 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26076 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26077 and bit_arch_XSAVEC_Usable if needed.
26078 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26079 and bit_arch_Use_dl_runtime_resolve_opt.
26080 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26082 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26083 (bit_arch_Prefer_No_AVX512): Updated.
26084 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26085 (bit_arch_XSAVEC_Usable): New.
26086 (STATE_SAVE_OFFSET): Likewise.
26087 (STATE_SAVE_MASK): Likewise.
26088 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26089 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26090 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26091 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26092 (index_arch_XSAVEC_Usable): New.
26093 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26094 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26095 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26097 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26098 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26099 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26100 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26101 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26102 _dl_runtime_resolve_xsavec.
26103 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26105 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26106 instead of VEC_SIZE.
26107 (REGISTER_SAVE_BND0): Removed.
26108 (REGISTER_SAVE_BND1): Likewise.
26109 (REGISTER_SAVE_BND3): Likewise.
26110 (REGISTER_SAVE_RAX): Always defined to 0.
26112 (_dl_runtime_resolve_avx): Likewise.
26113 (_dl_runtime_resolve_avx_slow): Likewise.
26114 (_dl_runtime_resolve_avx_opt): Likewise.
26115 (_dl_runtime_resolve_avx512): Likewise.
26116 (_dl_runtime_resolve_avx512_opt): Likewise.
26117 (_dl_runtime_resolve_sse): Likewise.
26118 (_dl_runtime_resolve_sse_vex): Likewise.
26120 (_dl_runtime_resolve_fxsave): Likewise.
26121 (USE_XSAVE): Likewise.
26122 (_dl_runtime_resolve_xsave): Likewise.
26123 (USE_XSAVEC): Likewise.
26124 (_dl_runtime_resolve_xsavec): Likewise.
26125 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26127 (_dl_runtime_resolve_avx512_opt): Likewise.
26128 (_dl_runtime_resolve_avx): Likewise.
26129 (_dl_runtime_resolve_avx_opt): Likewise.
26130 (_dl_runtime_resolve_sse): Likewise.
26131 (_dl_runtime_resolve_sse_vex): Likewise.
26132 (_dl_runtime_resolve_fxsave): New.
26133 (_dl_runtime_resolve_xsave): Likewise.
26134 (_dl_runtime_resolve_xsavec): Likewise.
26136 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26140 * posix/glob.c (__glob): Fix one-byte overflow.
26142 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26144 * malloc/malloc.c (sysdep-cancel.h): Add include.
26146 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26148 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26150 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26152 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26153 (tests): Remove $(objpfx)ga_test depdendency.
26154 * resolv/ga_test.c: Remove file.
26156 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26159 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26160 * localedata/locales/kab_DZ: New file.
26162 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26164 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26165 _dl_relocate_static_pie instead of _dl_start to compute load
26166 address in static PIE.
26168 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26170 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26172 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26175 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26176 * localedata/locales/shn_MM: New file.
26178 2017-10-20 Florian Weimer <fweimer@redhat.com>
26181 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26182 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26183 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26184 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26185 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26186 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26188 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26190 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26192 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26194 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26197 * sysdeps/mips/bits/long-double.h: Move to ....
26198 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26200 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26202 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26204 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26205 H.J. Lu <hongjiu.lu@intel.com>
26208 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26209 GLRO(dl_platform) to NULL.
26210 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26211 (modules-names): Add tst-platformmod-1 and
26212 x86_64/tst-platformmod-2.
26213 (CFLAGS-tst-platform-1.c): New.
26214 (CFLAGS-tst-platformmod-1.c): Likewise.
26215 (CFLAGS-tst-platformmod-2.c): Likewise.
26216 (LDFLAGS-tst-platformmod-2.so): Likewise.
26217 ($(objpfx)tst-platform-1): Likewise.
26218 ($(objpfx)tst-platform-1.out): Likewise.
26219 (tst-platform-1-ENV): Likewise.
26220 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26221 * sysdeps/x86_64/tst-platform-1.c: New file.
26222 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26223 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26225 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26228 * locale/iso-639.def: Add Karbi.
26229 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26230 * localedata/locales/mjw_IN: New file.
26232 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26234 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26235 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26236 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26237 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26238 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26239 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26240 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26242 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26243 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26244 * manual/math.texi (Mathematics): Document additional architecture
26245 support for _Float128.
26246 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26247 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26248 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26249 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26250 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26251 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26252 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26253 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26254 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26255 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26256 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26257 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26258 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26259 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26260 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26262 2017-10-18 Renlin Li <renlin.li@arm.com>
26264 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26265 _DYNAMIC symbol to calculate load address.
26267 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26269 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26270 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26272 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26273 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26275 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26278 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26279 and improve readability by using more ASCII.
26280 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26281 and improve readability by using more ASCII.
26283 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26285 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26286 not all targets support atomics on bool.
26288 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26290 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26291 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26293 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26294 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26295 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26296 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26297 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26298 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26300 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26302 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26305 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26308 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26309 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26310 (do_check_remalloced_chunk): Fix build bug.
26311 (do_check_malloc_state): Add assert that checks arena->top.
26312 (malloc_consolidate): Remove initialization.
26313 (int_mallinfo): Remove call to malloc_consolidate.
26314 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26316 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26318 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26319 (have_fastchunks): Remove.
26320 (clear_fastchunks): Remove.
26321 (set_fastchunks): Remove.
26322 (malloc_state): Add have_fastchunks.
26323 (malloc_init_state): Use have_fastchunks.
26324 (do_check_malloc_state): Remove incorrect invariant checks.
26325 (_int_malloc): Use have_fastchunks.
26326 (_int_free): Likewise.
26327 (malloc_consolidate): Likewise.
26329 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26331 * malloc/malloc.c (tcache_put): Inline.
26332 (tcache_get): Inline.
26334 2017-10-17 Jordi Mallach <jordi@gnu.org>
26336 Aurelien Jarno <aurelien@aurel32.net>
26338 * localedata/locales/ca_ES@valencia: New file.
26339 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26341 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26344 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26347 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26349 * scripts/build-many-glibcs.py (Context.add_all_configs):
26350 Add arm-linux-gnueabihf multiarch extra_glibcs.
26352 * sysdeps/generic/ifunc-init.h: New file.
26353 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26355 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26358 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26359 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26360 * stdlib/tst-strfmon_l.c: adapt test case.
26362 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26364 * sysdeps/generic/float128-abi.h: New file.
26365 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26366 non-__prefixed symbols to ....
26367 * math/Versions: ... here. Include <float128-abi.h>.
26368 * stdlib/Versions ... and here. Include <float128-abi.h>
26370 2017-10-16 Florian Weimer <fweimer@redhat.com>
26372 * version.h (VERSION): Switch to ".9000" as the development
26375 2017-10-16 Florian Weimer <fweimer@redhat.com>
26378 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26379 compat_symbol_reference to access non-default version.
26381 2017-10-16 Florian Weimer <fweimer@redhat.com>
26383 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26385 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26387 * include/shlib-compat.h (compat_symbol_reference): Update
26390 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26392 * math/Makefile (test-types): Add
26393 $(type-float128-$(float128-alias-fcts)).
26394 * math/test-float128.h (TYPE_STR): Define conditional on
26395 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26396 (ULP_IDX): Likewise.
26397 (ULP_I_IDX): Likewise.
26399 * stdlib/strtold.c: Include <bits/floatn.h>
26400 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26401 and later undefine as macro. Define as weak alias if
26403 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26404 and later undefine as macro. Define as weak alias if
26406 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26407 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26408 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26409 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26410 Define and later undefine as macro. Define as weak alias if
26412 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26414 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26415 Define and later undefine as macro. Define as weak alias if
26417 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26418 Define and later undefine as macro. Define as weak alias if
26421 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26423 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26424 record_verbose messages.
26426 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26429 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26430 to silence -O3 -Wall warning with GCC 7.
26432 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26434 * Makeconfig (+link-static-before-libc): Use the first of
26435 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26436 * gmon/Makefile (tests): Add tst-gmon-static.
26437 (tests-static): Likewise.
26438 (CFLAGS-tst-gmon-static.c): New.
26439 (CRT-tst-gmon-static): Likewise.
26440 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26441 (tst-gmon-static-ENV): Likewise.
26442 (tests-special): Likewise.
26443 ($(objpfx)tst-gmon-static.out): Likewise.
26444 (clean-tst-gmon-static-data): Likewise.
26445 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26446 * gmon/tst-gmon-static-gprof.sh: New file.
26447 * gmon/tst-gmon-static.c: Likewise.
26449 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26452 * locale/programs/linereader.c (get_string): Don't warn on
26453 non-symbolic character.
26456 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26460 * locale/programs/record-status.h: New file
26461 * locale/programs/locale.c: Add comment.
26462 * locale/programs/charmap-dir.c: Don't include error.h.
26463 (charmap_opendir): Use record_error.
26464 * locale/programs/charmap.c: Don't include error.h.
26465 (charmap_read): Use record_error, and record_warning.
26466 (parse_charmap): Likewise.
26467 * locale/programs/ld-address.c: Don't include error.h.
26468 (address_finish): Use record_error, and record_warning.
26469 * locale/programs/ld-collate.c: Don't include error.h.
26470 (collate_finish): Use record_error, and record_error_at_line.
26471 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26472 (ctype_class_new): Likewise.
26473 (ctype_map_new): Likewise.
26474 (set_one_default): Likewise.
26475 (set_class_defaults): Likewise.
26476 (translit_flatten): Likewise.
26477 (allocate_arrays): Use record_error, and record_verbose.
26478 * locale/programs/ld-identification.c: Don't include error.h.
26479 (indentation_finish): Use record_error and record_warning.
26480 * locale/programs/ld-measurement.c: Don't include error.h.
26481 (measurement_finish): Use record_error.
26482 * locale/programs/ld-messages.c
26483 (message_finish): Likewise.
26484 * locale/programs/ld-monetary.c
26485 (monetary_finish): Likewise.
26486 * locale/programs/ld-name.c (name_finish): Use record_error
26487 and record_warning.
26488 * locale/programs/ld-numeric.c
26489 (numeric_finish): Use record_error.
26490 * locale/programs/ld-paper.c: Don't include error.h.
26491 (paper_finish): Use record_error.
26492 * locale/programs/ld-telephone.c: Don't include error.h.
26493 (telephone_finish): Use record_error.
26494 * locale/programs/ld-time.c (time_finish): Likewise.
26495 * locale/programs/linereader.h (lr_error): Make inline func.
26496 * locale/programs/localedef.c: Define recorded_warning_count,
26497 and recorded_error_count.
26498 (main): Use record_error. Use recorded_error_count and
26499 recorded_warning_count to issue correct error returns.
26500 (add_to_readlist): Use record_error.
26501 (find_locale): Likewise.
26502 (load_locale): Likewise.
26503 * locale/programs/localedef.h: Remove be_quiet
26504 and WITH_CUR_LOCALE.
26505 * locale/programs/locarchive.c (compare_from_file): Use
26507 * locale/programs/locfile.c (write_locale_data): Use
26509 * locale/programs/repertoire.c: Dont include error.h.
26510 (repertoire_complain): Use record_error.
26511 * localedata/tst-fmon.sh: Expect failures from localedef.
26512 * localedata/tst-locale.sh: Likewise.
26513 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26515 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26516 (REPORTS): Likewise.
26518 (i18n): Rename to...
26519 (i18n_ctype): ...this.
26520 (i18n-report): Rename to...
26521 (i18n_ctype-report): ...this.
26522 * localedata/locales/i18n_ctype: Regenerate.
26523 * localedata/locales/i18n: copy i18n_ctype.
26525 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26527 * stdlib/strfroml.c: Include <bits/floatn.h>.
26528 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26529 Define before include of <stdlib.h> and undefine afterwards, then
26530 define as weak alias.
26532 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26533 Undefine and restore default definition. Use
26534 libm_alias_ldouble_other.
26536 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26539 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26542 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26544 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26545 Assign sym_map to be map for local symbols, as TLS relocations
26546 use sym_map to determine whether the symbol is defined and to
26547 extract the TLS information.
26548 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26549 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26551 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26554 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26555 (math_force_eval): Add powerpc version.
26558 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26560 (do_test): Likewise.
26561 * stdio-common/tst-printf.sh: Likewise.
26562 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26563 ifdef clause in order to set the carry bit right. Replace r0 by
26564 0 without changing the behavior.
26566 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26568 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26569 <libm-alias-ldouble.h>.
26570 (fabsl): Define using libm_alias_ldouble.
26571 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26572 <libm-alias-ldouble.h>.
26573 (fabsl): Define using libm_alias_ldouble.
26575 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26576 Remove conditional code.
26578 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26579 Rename to __clog10_internal_l.
26580 (__clog10_internal_l): Define aliases using
26581 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26584 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26586 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26587 * benchtests/sincosf-inputs: New file.
26588 * benchtests/cosf-inputs: New file.
26589 * benchtests/sinf-inputs: New file.
26591 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26593 * posix/tst-spawn.c (do_test): Wait for both children.
26595 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26598 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26599 tests-pie): Add tst-gmon-pie.
26600 (CFLAGS-tst-gmon-pie.c): New.
26601 (CRT-tst-gmon-pie): Likewise.
26602 (tst-gmon-pie-ENV): Likewise.
26603 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26604 ($(objpfx)tst-gmon-pie.out): Likewise.
26605 (clean-tst-gmon-pie-data): Likewise.
26606 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26607 * gmon/gmon.c [PIC]: Include <link.h>.
26608 [PIC] (callback): New function.
26609 (write_hist): Add an argument for load address. Subtract load
26611 (write_call_graph): Likewise.
26612 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26613 it to write_hist and write_call_graph.
26614 * gmon/tst-gmon-pie.c: New file.
26616 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26618 * math/Makefile (test-types-basic): New variable.
26619 (test-types): Likewise.
26620 (libm-test-support): Use $(test-types) instead of $(types).
26621 (libm-tests-base-normal): Likewise.
26622 (libm-tests-base-finite): Likewise.
26623 (libm-tests-base-inline): Likewise.
26624 (generated): Likewise.
26625 ($(objpfx)libm-test-support-$(t).c): Likewise.
26626 (libm-tests-for-type iterator): Likewise.
26627 (libm-test-support iterator): Likewise.
26628 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26629 (ulp_idx): Use ULP_IDX.
26630 * math/test-ldouble.h: Include <float.h>.
26631 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26632 (ULP_IDX): New macro.
26633 (ULP_I_IDX): Likewise.
26634 * math/test-double.h (ULP_IDX): Likewise.
26635 (ULP_I_IDX): Likewise.
26636 * math/test-float.h (ULP_IDX): Likewise.
26637 (ULP_I_IDX): Likewise.
26638 * math/test-float128.h (ULP_IDX): Likewise.
26639 (ULP_I_IDX): Likewise.
26641 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26643 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26644 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26645 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26646 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26647 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26648 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26649 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26650 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26652 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26653 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26654 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26655 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26656 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26657 (SINGLE_THREAD_BY_GLOBAL): Define.
26658 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26660 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26662 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26664 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26666 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26667 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26671 2017-10-11 Andreas Schwab <schwab@suse.de>
26673 * nis/Makefile (aux): Remove.
26674 * nscd/Makefile (aux): Add nscd_hash.
26675 (nscd-modules): Likewise.
26676 ($(objpfx)nscd): Don't depend on libnsl.
26677 * nscd/nscd_hash.c: New file.
26678 * nscd/nscd_hash.h: Likewise.
26679 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26680 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26681 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26682 instead of <nis/rpcsvc/nis.h>.
26683 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26685 2017-10-11 Florian Weimer <fweimer@redhat.com>
26688 Avoid large NSS buffers with many addresses, aliases.
26689 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26690 using dynarrays and struct alloc_buffer.
26691 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26692 (tst-nss-files-hosts-multi): Link with -ldl.
26693 * nss/tst-nss-files-hosts-multi.c: New file.
26695 2017-10-11 Florian Weimer <fweimer@redhat.com>
26698 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26699 scratch_buffer. Eliminate gotos.
26701 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26703 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26704 libm_alias_ldouble_other.
26705 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26706 undefine and redefine.
26707 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26708 (exp10l): Do not define here.
26709 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26710 (weak_alias): Undefine and redefine.
26711 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26712 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26713 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26714 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26716 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26717 [!__fma] (fma): Define using libm_alias_double.
26718 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26719 [!__fmaf] (fmaf): Define using libm_alias_float.
26720 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26721 (fmal): Define using libm_alias_ldouble.
26723 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26725 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26727 (libm_alias_double_other): Likewise.
26728 (libm_alias_double_r): Use libm_alias_double_other_r.
26729 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26731 (libm_alias_float_other): Likewise.
26732 (libm_alias_float_r): Use libm_alias_float_other_r.
26733 * sysdeps/generic/libm-alias-float128.h
26734 (libm_alias_float128_other_r): New macro.
26735 (libm_alias_float128_other): Likewise.
26736 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26737 * sysdeps/generic/libm-alias-ldouble.h
26738 (libm_alias_ldouble_other_r): New macro.
26739 (libm_alias_ldouble_other): Likewise.
26740 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26741 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26742 (libm_alias_double_other_r): New macro.
26743 (libm_alias_double_other): Likewise.
26744 (libm_alias_double_r): Use libm_alias_double_other_r.
26745 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26746 (libm_alias_ldouble_other_r): New macro.
26747 (libm_alias_ldouble_other): Likewise.
26748 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26749 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26750 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26751 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26752 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26753 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26754 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26755 * math/w_exp2f.c: Use libm_alias_float_other.
26756 * math/w_expf.c: Likewise.
26757 * math/w_log2f.c: Likewise.
26758 * math/w_logf.c: Likewise.
26759 * math/w_powf.c: Likewise.
26760 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26761 [!__exp2f]: Use libm_alias_float_other.
26762 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26763 [!__expf]: Use libm_alias_float_other.
26764 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26765 [!__log2f]: Use libm_alias_float_other.
26766 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26767 [!__logf]: Use libm_alias_float_other.
26768 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26769 [!__powf]: Use libm_alias_float_other.
26771 2017-10-10 Florian Weimer <fweimer@redhat.com>
26773 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26775 (_nss_files_gethostbyname3_r): Call it.
26777 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26779 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26780 error. Remove default definition of declare_mgen_alias.
26781 [!declare_mgen_alias_r]: Likewise.
26782 * sysdeps/generic/math-type-macros-double.h
26783 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26784 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26785 (declare_mgen_alias_r): Likewise.
26786 * sysdeps/generic/math-type-macros-float128.h
26787 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26788 * sysdeps/generic/math-type-macros-ldouble.h
26789 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26790 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26792 (declare_mgen_alias_r_s): Likewise.
26793 (declare_mgen_alias_r): Likewise.
26794 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26795 (lgamma_r): Define using libm_alias_double_r.
26796 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26797 (lgammaf_r): Define using libm_alias_float_r.
26798 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26799 (lgammal_r): Define using libm_alias_ldouble_r.
26800 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26801 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26803 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26805 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26806 extern declaration.
26808 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26810 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26812 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26815 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26816 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26817 * math/Makefile (test-math-cxx11): New test.
26818 * math/test-math-cxx11.cc: New file.
26820 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26822 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26824 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26825 call to allocate the slave pty file descriptor.
26827 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26829 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26830 [!__fma] (fma): Define using libm_alias_double.
26831 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26832 [!__fma] (fma): Define using libm_alias_double.
26834 * sysdeps/ieee754/float128/float128_private.h: Include
26835 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26836 (libm_alias_ldouble_r): Undefine and redefine.
26837 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26838 <libm-alias-ldouble.h>.
26839 (asinhl): Define using libm_alias_ldouble.
26840 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26841 <libm-alias-ldouble.h>.
26842 (atanl): Define using libm_alias_ldouble.
26843 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26844 <libm-alias-ldouble.h>.
26845 (cbrtl): Define using libm_alias_ldouble.
26846 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26847 <libm-alias-ldouble.h>.
26848 (ceill): Define using libm_alias_ldouble.
26849 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26850 <libm-alias-ldouble.h>.
26851 (copysignl): Define using libm_alias_ldouble.
26852 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26853 <libm-alias-ldouble.h>.
26854 (cosl): Define using libm_alias_ldouble.
26855 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26856 <libm-alias-ldouble.h>.
26857 (erfl): Define using libm_alias_ldouble.
26859 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26860 <libm-alias-ldouble.h>.
26861 (expm1l): Define using libm_alias_ldouble.
26862 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26863 <libm-alias-ldouble.h>.
26864 (fabsl): Define using libm_alias_ldouble.
26865 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26866 <libm-alias-ldouble.h>.
26867 (floorl): Define using libm_alias_ldouble.
26868 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26869 <libm-alias-ldouble.h>.
26870 (fmal): Define using libm_alias_ldouble.
26871 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26872 <libm-alias-ldouble.h>.
26873 (frexpl): Define using libm_alias_ldouble.
26874 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26875 libm_alias_ldouble.
26876 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26877 <libm-alias-ldouble.h>.
26878 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26879 libm_alias_ldouble.
26880 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26881 <libm-alias-ldouble.h>.
26882 (getpayloadl): Define using libm_alias_ldouble.
26883 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26884 <libm-alias-ldouble.h>.
26885 (llrintl): Define using libm_alias_ldouble.
26886 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26887 <libm-alias-ldouble.h>.
26888 (llroundl): Define using libm_alias_ldouble.
26889 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26890 <libm-alias-ldouble.h>.
26891 (logbl): Define using libm_alias_ldouble.
26892 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26893 <libm-alias-ldouble.h>.
26894 (lrintl): Define using libm_alias_ldouble.
26895 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26896 <libm-alias-ldouble.h>.
26897 (lroundl): Define using libm_alias_ldouble.
26898 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26899 <libm-alias-ldouble.h>.
26900 (modfl): Define using libm_alias_ldouble.
26901 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26902 <libm-alias-ldouble.h>.
26903 (nearbyintl): Define using libm_alias_ldouble.
26904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26905 <libm-alias-ldouble.h>.
26906 (nextafterl): Define using libm_alias_ldouble.
26907 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26908 <libm-alias-ldouble.h>.
26909 (nextupl): Define using libm_alias_ldouble.
26910 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26911 <libm-alias-ldouble.h>.
26912 (remquol): Define using libm_alias_ldouble.
26913 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26914 <libm-alias-ldouble.h>.
26915 (rintl): Define using libm_alias_ldouble.
26916 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26917 <libm-alias-ldouble.h>.
26918 (roundevenl): Define using libm_alias_ldouble.
26919 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26920 <libm-alias-ldouble.h>.
26921 (roundl): Define using libm_alias_ldouble.
26922 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26923 using libm_alias_ldouble.
26924 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26925 <libm-alias-ldouble.h>.
26926 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26927 Define using libm_alias_ldouble.
26928 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26929 <libm-alias-ldouble.h>.
26930 (sincosl): Define using libm_alias_ldouble.
26931 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26932 <libm-alias-ldouble.h>.
26933 (sinl): Define using libm_alias_ldouble.
26934 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26935 <libm-alias-ldouble.h>.
26936 (tanhl): Define using libm_alias_ldouble.
26937 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26938 <libm-alias-ldouble.h>.
26939 (tanl): Define using libm_alias_ldouble.
26940 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26941 <libm-alias-ldouble.h>.
26942 (totalorderl): Define using libm_alias_ldouble.
26943 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26944 <libm-alias-ldouble.h>.
26945 (totalordermagl): Define using libm_alias_ldouble.
26946 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26947 <libm-alias-ldouble.h>.
26948 (truncl): Define using libm_alias_ldouble.
26949 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26950 libm_alias_ldouble.
26951 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26952 libm_alias_ldouble.
26953 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26954 <libm-alias-ldouble.h>.
26955 (weak_alias): Do not undefine and redefine.
26956 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26957 (copysignl): Define with long_double_symbol only if [IS_IN
26959 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26960 <libm-alias-ldouble.h>.
26961 (weak_alias): Do not undefine and redefine.
26962 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26963 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26964 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26965 <libm-alias-ldouble.h>.
26966 (weak_alias): Do not undefine and redefine.
26967 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26968 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26969 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26970 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26971 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26972 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26973 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26974 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26975 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26976 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26977 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26978 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26979 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26980 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26981 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26982 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26983 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26984 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26985 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26986 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26987 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26988 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26994 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26997 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26998 (tcache_thread_freeres): Set tcache_shutting_down before
26999 freeing the tcache.
27000 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27001 * malloc/tst-malloc-tcache-leak.c: New file.
27003 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27005 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27006 back to powerpc32 file.
27007 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27008 (memrchr): Add __memrchr_power8 to ifunc list.
27009 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27010 extra bytes for unaligned inputs.
27012 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27014 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27015 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27016 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27018 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27020 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27022 * sysdeps/arm/libm-test-ulps: Update.
27024 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27025 <libm-alias-ldouble.h>.
27026 (asinhl): Define using libm_alias_ldouble.
27027 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27028 <libm-alias-ldouble.h>.
27029 (cbrtl): Define using libm_alias_ldouble.
27030 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27031 <libm-alias-ldouble.h>.
27032 (copysignl): Define using libm_alias_ldouble.
27033 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27034 <libm-alias-ldouble.h>.
27035 (cosl): Define using libm_alias_ldouble.
27036 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27037 <libm-alias-ldouble.h>.
27038 (erfl): Define using libm_alias_ldouble.
27040 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27041 <libm-alias-ldouble.h>.
27042 (fmal): Define using libm_alias_ldouble.
27043 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27044 <libm-alias-ldouble.h>.
27045 (frexpl): Define using libm_alias_ldouble.
27046 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27047 libm_alias_ldouble.
27048 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27049 <libm-alias-ldouble.h>.
27050 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27051 libm_alias_ldouble.
27052 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27053 <libm-alias-ldouble.h>.
27054 (getpayloadl): Define using libm_alias_ldouble.
27055 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27056 <libm-alias-ldouble.h>.
27057 (llrintl): Define using libm_alias_ldouble.
27058 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27059 <libm-alias-ldouble.h>.
27060 (llroundl): Define using libm_alias_ldouble.
27061 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27062 <libm-alias-ldouble.h>.
27063 (lrintl): Define using libm_alias_ldouble.
27064 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27065 <libm-alias-ldouble.h>.
27066 (lroundl): Define using libm_alias_ldouble.
27067 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27068 <libm-alias-ldouble.h>.
27069 (modfl): Define using libm_alias_ldouble.
27070 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27071 <libm-alias-ldouble.h>.
27072 (nextupl): Define using libm_alias_ldouble.
27073 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27074 <libm-alias-ldouble.h>.
27075 (remquol): Define using libm_alias_ldouble.
27076 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27077 <libm-alias-ldouble.h>.
27078 (roundevenl): Define using libm_alias_ldouble.
27079 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27080 <libm-alias-ldouble.h>.
27081 (roundl): Define using libm_alias_ldouble.
27082 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27083 using libm_alias_ldouble.
27084 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27085 <libm-alias-ldouble.h>.
27086 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27087 <libm-alias-ldouble.h>.
27088 (setpayloadsigl): Define using libm_alias_ldouble.
27089 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27090 <libm-alias-ldouble.h>.
27091 (sincosl): Define using libm_alias_ldouble.
27092 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27093 <libm-alias-ldouble.h>.
27094 (sinl): Define using libm_alias_ldouble.
27095 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27096 <libm-alias-ldouble.h>.
27097 (tanhl): Define using libm_alias_ldouble.
27098 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27099 <libm-alias-ldouble.h>.
27100 (tanl): Define using libm_alias_ldouble.
27101 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27102 <libm-alias-ldouble.h>.
27103 (totalorderl): Define using libm_alias_ldouble.
27104 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27105 <libm-alias-ldouble.h>.
27106 (totalordermagl): Define using libm_alias_ldouble.
27107 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27108 libm_alias_ldouble.
27109 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27110 libm_alias_ldouble.
27112 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27114 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27116 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27117 (__libc_ifunc_impl_list): Likewise.
27118 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27119 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27121 * benchtests/bench-memmove-walk.c: New file.
27122 * benchtests/Makefile (string-benchset): Add it.
27124 * benchtests/bench-memset-walk.c: New file.
27125 * benchtests/Makefile (string-benchset): Add it.
27127 * benchtests/bench-memcpy-walk.c: New file.
27128 * benchtests/Makefile (string-benchset): Add it.
27130 2017-10-05 Florian Weimer <fweimer@redhat.com>
27132 nscd: Eliminate compilation time dependency in the build output.
27133 * nscd/nscd_stat.c (STATDATA_VERSION)
27134 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27135 (STATDATA_VERSION_FULL): New macro definitions.
27136 (compilation): Remove.
27137 (struct statdata): Adjust version member.
27138 (send_stats): Set version from STATDATA_VERSION_FULL.
27139 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27141 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27143 * configure.ac (--enable-add-ons): Remove option.
27144 (machine): Do not mention add-ons in comment.
27145 (LIBC_PRECONFIGURE): Likewise.
27146 (add_ons): Remove variable and sanity checks and logic to locate
27148 (add_ons_automatic): Remove variable.
27149 (configured_add_ons): Likewise.
27150 (add_ons_sfx): Likewise.
27151 (add_ons_pfx): Likewise.
27152 (add_on_subdirs): Likewise.
27153 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27154 consideration of add-ons in Implies handling.
27155 (sysdeps_add_ons): Likewise.
27156 * configure: Regenerated.
27157 * libidn/configure.ac: Remove.
27158 * libidn/configure: Likewise.
27159 * sysdeps/unix/inet/configure.ac: New file.
27160 * sysdeps/unix/inet/configure: New generated file.
27161 * sysdeps/unix/inet/Subdirs: Add libidn.
27162 * Makeconfig (sysdeps-srcdirs): Remove variable.
27163 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27164 ($(common-objpfx)config.status): Do not depend on add-on files.
27165 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27167 (all-subdirs): Do not include $(add-on-subdirs).
27168 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27169 * config.make.in (add-ons): Remove variable.
27170 (add-on-subdirs): Likewise.
27171 (sysdeps-add-ons): Likewise.
27172 * manual/Makefile (add-chapters): Remove.
27173 ($(objpfx)texis): Do not depend on $(add-chapters).
27174 (nonexamples): Do not handle $(add-chapters).
27175 (examples): Do not handle $(add-ons).
27176 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27178 * manual/install.texi (Installation): Do not mention add-ons.
27179 (--enable-add-ons): Do not document configure option.
27180 * INSTALL: Regenerated.
27181 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27182 * manual/maint.texi (Hierarchy Conventions): Do not mention
27184 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27186 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27188 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27189 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27191 2017-10-05 Andreas Schwab <schwab@suse.de>
27194 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27195 (_IO_flush_all_lockp): Always lock list_all_lock.
27196 (_IO_flush_all_linebuffered): Likewise.
27197 (_IO_unbuffer_all): Likewise.
27199 2017-10-05 Florian Weimer <fweimer@redhat.com>
27202 Do not flush stdio streams on abort.
27203 * stdlib/abort.c (fflush): Remove macro definition.
27204 (abort): Remove stages related to stdio flushing.
27206 2017-10-05 Florian Weimer <fweimer@redhat.com>
27208 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27210 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27212 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27214 2017-10-05 Florian Weimer <fweimer@redhat.com>
27216 * support/support_format_hostent.c (support_format_hostent): Add
27217 more error information for NETDB_INTERNAL.
27219 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27221 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27222 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27223 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27224 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27225 AC_DEFINE if multi-arch is enabled.
27226 * sysdeps/i386/configure: Regenerated.
27228 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27230 * Makeconfig (+link-static-before-libc): Use
27231 $(DEFAULT-LDFLAGS-$(@F)).
27232 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27233 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27234 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27236 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27238 * elf/Makefile (tests): Add tst-main1.
27239 (modules-names): Add tst-main1mod.
27240 ($(objpfx)tst-main1): New.
27241 (CRT-tst-main1): Likewise.
27242 (LDFLAGS-tst-main1): Likewise.
27243 (LDLIBS-tst-main1): Likewise.
27244 (tst-main1mod.so-no-z-defs): Likewise.
27245 * elf/tst-main1.c: New file.
27246 * elf/tst-main1mod.c: Likewise.
27248 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27250 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27252 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27254 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27255 (fma): Define using libm_alias_double.
27256 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27257 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27259 (fmal): Do not define as compat symbol here.
27260 * sysdeps/alpha/fpu/s_fma.c: New file.
27262 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27264 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27266 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27269 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27271 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27273 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27274 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27275 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27276 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27278 Include <math_ldbl_opt.h>
27279 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27281 (compat_symbol): Undefine and redefine.
27282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27284 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27285 (compat_symbol): Undefine and redefine.
27286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27287 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27288 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27289 GLIBC_2_1 for libm.
27290 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27291 GLIBC_2.0 copysignl symbol.
27292 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27293 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27295 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27297 2017-10-04 Florian Weimer <fweimer@redhat.com>
27299 * scripts/check-local-headers.sh: Ignore nspr4 header file
27300 directory in addition to nspr.
27302 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27305 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27306 * configure: Regenerate.
27307 * crypt/Makefile (nss-cpp-flags): New variable.
27308 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27309 (CPPFLAGS-md5-crypt.c): Use it.
27310 * scripts/check-local-headers.sh: Ignore nspr header file
27313 2017-10-04 Andreas Schwab <schwab@suse.de>
27315 * nis/Makefile (services): Remove compat.
27316 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27317 ($(objpfx)libnss_compat.so): Remove rule.
27318 * nis/Versions (libnss_compat): Remove.
27319 * nss/Makefile (services): Add compat.
27320 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27321 * nss/Versions (libnss_compat): Define.
27322 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27323 Don't include <rpc/types.h>. Replace bool_t by bool.
27324 * nss/nss_compat/compat-initgroups.c: Likewise.
27325 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27326 instead of <rpcsrv/ypclnt.h>.
27327 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27328 yp_get_default_domain.
27329 * nss/nss_compat/compat-pwd.c: Likewise.
27330 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27331 yp_get_default_domain.
27332 * nss/nss_compat/nisdomain.c: New file.
27333 * nss/nss_compat/nisdomain.h: Likewise.
27335 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27338 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27339 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27341 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27344 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27347 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27349 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27350 "movl main@GOTOFF(%ebx), %eax".
27352 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27354 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27355 allow undefined _DYNAMIC in PIE libc.a.
27356 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27359 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27361 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27364 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27366 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27369 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27371 * math/test-math-iscanonical.cc (error): Replace bool with int.
27373 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27375 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27376 (modf): Define using libm_alias_double, only if [!__modf].
27377 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27378 <libm-alias-double.h>.
27379 (modf): Define using libm_alias_double, only if [!__modf].
27380 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27381 compat symbol here.
27382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27383 (weak_alias): Do not undefine and redefine.
27384 (strong_alias): Likewise.
27385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27386 (weak_alias): Likewise.
27387 (strong_alias): Likewise.
27389 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27390 (logb): Define using libm_alias_double, only if [!__logb].
27391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27392 <libm-alias-double.h>.
27393 (logb): Define using libm_alias_double, only if [!__logb].
27394 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27396 (weak_alias): Do not undefine and redefine.
27397 (strong_alias): Likewise.
27398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27399 (weak_alias): Likewise.
27400 (strong_alias): Likewise.
27402 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27404 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27405 Check SHARED instead PIC.
27407 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27409 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27410 [!__fmaf] (fmaf): Define using libm_alias_float.
27412 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27413 (frexp): Define using libm_alias_double.
27414 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27415 <libm-alias-double.h>.
27416 (frexp): Define using libm_alias_double.
27417 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27418 compat symbol here.
27420 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27423 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27424 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27425 (CFLAGS-test-math-iscanonical.cc): New variable.
27426 * math/test-math-iscanonical.cc: New file.
27427 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27428 Provide a C++ implementation based on function overloading,
27429 rather than using __MATH_TG, which uses C-only builtins.
27430 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27432 * sysdeps/powerpc/powerpc64le/Makefile
27433 (CFLAGS-test-math-iscanonical.cc): New variable.
27435 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27437 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27438 (ceil): Define using libm_alias_double.
27439 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27440 (floor): Define using libm_alias_double.
27441 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27442 <libm-alias-double.h>.
27443 (llround): Define using libm_alias_double.
27444 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27445 <libm-alias-double.h>.
27446 (lround): Define using libm_alias_double.
27447 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27448 <libm-alias-double.h>.
27449 (nearbyint): Define using libm_alias_double.
27450 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27451 <libm-alias-double.h>.
27452 (remquo): Define using libm_alias_double.
27453 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27454 (rint): Define using libm_alias_double.
27455 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27456 (round): Define using libm_alias_double.
27457 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27458 (trunc): Define using libm_alias_double.
27459 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27460 <libm-alias-double.h>.
27461 (ceil): Define using libm_alias_double.
27462 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27463 <libm-alias-double.h>.
27464 (floor): Define using libm_alias_double.
27465 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27466 <libm-alias-double.h>.
27467 (llround): Define using libm_alias_double.
27468 [_LP64] (lround): Likewise.
27469 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27470 <libm-alias-double.h>.
27471 [!_LP64] (lround): Define using libm_alias_double.
27472 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27473 <libm-alias-double.h>.
27474 (nearbyint): Define using libm_alias_double.
27475 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27476 <libm-alias-double.h>.
27477 (remquo): Define using libm_alias_double.
27478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27479 <libm-alias-double.h>.
27480 (rint): Define using libm_alias_double.
27481 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27482 <libm-alias-double.h>.
27483 (round): Define using libm_alias_double.
27484 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27485 <libm-alias-double.h>.
27486 (trunc): Define using libm_alias_double.
27487 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27488 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27489 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27490 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27491 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27492 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27493 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27494 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27495 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27497 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27499 * math/w_remainder.c: New file.
27500 * math/w_remainderf.c: New file.
27501 * math/w_remainderl.c: New file.
27503 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27505 * elf/rtld.c (BOOTSTRAP_MAP): New.
27506 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27507 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27509 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27511 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27514 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27516 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27517 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27518 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27519 rtld_hidden_data_ver): Define to empty.
27520 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27521 __assert_perror_fail): Likewise.
27522 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27523 (__rewinddir): Likewise.
27524 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27525 (__profile_frequency): Likewise.
27526 * include/setjmp.h (__sigsetjmp): Likewise.
27527 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27528 __libc_sigaction): Likewise.
27529 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27530 not set hidden attribute.
27531 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27532 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27533 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27534 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27535 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27536 __fxstatat64): Likewise.
27537 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27538 (__uname): Likewise.
27539 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27540 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27541 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27542 (NO_RTLD_HIDDEN): Set.
27543 * sysdeps/mach/hurd/configure: Refresh.
27544 * config.h.in: Refresh.
27546 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27548 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27549 (atan): Define using libm_alias_double.
27550 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27551 (tan): Define using libm_alias_double.
27552 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27553 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27556 define as weak alias of __atan. Do not define any aliases if
27558 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27559 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27560 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27561 as weak alias of __tan. Do not define any aliases if [__tan].
27562 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27563 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27564 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27566 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27567 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27568 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27569 and define as weak alias of __atan.
27570 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27572 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27573 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27574 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27575 define as weak alias of __tan.
27577 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27579 * math/w_lgamma.c: New file.
27580 * math/w_lgammaf.c: New file.
27581 * math/w_lgammal.c: New file.
27583 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27585 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27586 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27587 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27588 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27589 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27590 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27591 * sysdeps/i386/fpu/w_log2f.c: New file.
27592 * sysdeps/i386/fpu/w_logf.c: New file.
27593 * sysdeps/i386/fpu/w_powf.c: New file.
27594 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27595 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27596 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27598 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27599 H.J. Lu <hongjiu.lu@intel.com>
27601 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27602 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27603 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27604 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27605 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27607 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27608 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27609 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27610 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27611 * sysdeps/i386/fpu/w_exp2f.c: New file.
27612 * sysdeps/i386/fpu/w_expf.c: New file.
27613 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27614 * sysdeps/x86_64/fpu/w_expf.c: New file.
27616 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27618 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27621 * math/w_log2f.c: New file.
27622 * math/w_logf.c: New file.
27623 * math/w_powf.c: New file.
27624 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27625 * math/w_logf_compat.c (__logf_compat): Likewise.
27626 * math/w_powf_compat.c (__powf_compat): Likewise.
27627 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27628 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27629 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27630 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27631 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27632 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27633 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27634 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27635 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27636 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27637 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27638 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27639 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27640 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27641 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27650 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27651 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27652 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27653 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27654 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27659 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27660 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27661 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27663 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27665 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27666 (sysdep_routines): Add memrchr_power8.
27667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27668 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27669 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27671 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27672 (memrchr): Add __memrchr_power8 to ifunc list.
27673 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27675 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27678 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27679 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27681 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27682 (__posix_fallocate64_l64): Likewise.
27684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27687 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27688 (__sched_setaffinity_new): Add libc_hidden_proto and
27691 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27694 * include/glob.h (__glob64): Add libc_hidden_proto.
27695 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27698 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27701 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27704 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27707 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27709 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27712 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27715 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27718 * csu/version.c (__libc_print_version): Add attribute_hidden.
27720 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27723 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27728 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27733 * nscd/nscd_helper.c (__nis_hash): New prototype.
27735 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27738 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27739 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27741 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27742 * termios/tcgetattr.c (__tcgetattr): Likewise.
27744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27747 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27748 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27749 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27750 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27751 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27753 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27756 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27758 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27761 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27762 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27767 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27772 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27773 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27775 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27778 * include/ifreq.h: New file.
27779 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27780 (__ifreq): Likewise.
27781 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27782 (__ifreq): Likewise.
27784 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27787 * include/idna.h: New file.
27788 * inet/getnameinfo.c: Include <idna.h> instead of
27790 (__idna_to_unicode_lzlz): Removed.
27791 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27793 (__idna_to_ascii_lz): Removed.
27794 (__idna_to_unicode_lzlz): Likewise.
27796 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27799 * include/plural-exp.h: New file.
27800 * intl/plural-exp.c: Include <plural-exp.h> instead of
27803 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27806 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27807 "getsourcefilter.h".
27808 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27809 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27810 "getsourcefilter.h".
27811 (__get_sol): Removed.
27813 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27816 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27818 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27820 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27823 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27826 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27829 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27831 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27834 * include/search.h (__tdestroy): Add libc_hidden_proto.
27835 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27837 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27840 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27842 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27845 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27848 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27851 * include/signal.h (__kill): Add libc_hidden_proto.
27852 (__sigblock): Likewise.
27853 (__sigprocmask): Likewise.
27854 (__sigaltstack): Likewise.
27855 * signal/kill.c (__kill): Add libc_hidden_def.
27856 * signal/sigblock.c (__sigblock): Likewise.
27857 * signal/sigprocmask.c (__sigprocmask): Likewise.
27858 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27859 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27860 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27861 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27862 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27864 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27866 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27867 (__sigprocmask): Likewise.
27868 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27870 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27871 (__sigprocmask): Likewise.
27872 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27878 * include/string.h (__strsep): Add libc_hidden_proto.
27879 * string/strsep.c (__strsep): Add libc_hidden_def.
27881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27884 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27886 (__spawni): Likewise.
27888 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27891 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27892 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27895 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27898 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27903 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27904 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27905 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27906 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27907 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27909 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27910 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27915 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27916 (__dcigettext): Likewise.
27918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27921 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27923 (__get_nprocs): Likewise.
27924 (__get_phys_pages): Likewise.
27925 (__get_avphys_pages): Likewise.
27926 (__get_child_max): Add attribute_hidden.
27927 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27928 (__get_nprocs): Likewise.
27929 (__get_phys_pages): Likewise.
27930 (__get_avphys_pages): Likewise.
27931 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27933 (__get_nprocs): Likewise.
27934 (__get_phys_pages): Likewise.
27935 (__get_avphys_pages): Likewise.
27936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27938 (__get_nprocs_conf): Likewise.
27939 (__get_phys_pages): Likewise.
27940 (__get_avphys_pages): Likewise.
27942 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27945 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27947 (__netlink_close): Likewise.
27948 (__netlink_free_handle): Likewise.
27949 (__netlink_request): Likewise.
27951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27954 * include/rpc/rpc.h (__rpc_thread_variables): Add
27956 (__rpc_thread_svc_cleanup): Likewise.
27957 (__rpc_thread_clnt_cleanup): Likewise.
27958 (__rpc_thread_key_cleanup): Likewise.
27960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27963 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27964 (__writev): Likewise.
27965 * misc/readv.c (__readv): Add libc_hidden_def.
27966 * misc/writev.c (__writev): Likewise.
27967 * sysdeps/posix/readv.c (__readv): Likewise.
27968 * sysdeps/posix/writev.c (__writev): Likewise.
27969 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27970 (__readv): Likewise.
27971 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27972 (__writev): Likewise.
27974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27977 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27978 (__regcomp): Add libc_hidden_proto.
27979 (__regexec): Likewise.
27980 (__regfree): Likewise.
27981 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27982 (__regfree): Likewise.
27983 * posix/regexec.c (__regexec): Likewise.
27985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27988 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27989 (__getutent): Likewise.
27990 (__getutid): Likewise.
27991 (__getutline): Likewise.
27992 (__pututline): Likewise.
27993 (__getutent_r): Likewise.
27994 (__getutid_r): Likewise.
27995 (__getutline_r): Likewise.
27996 (__utmpname): Add attribute_hidden.
27997 (__setutent): Likewise.
27998 (__endutent): Likewise.
27999 * login/getutent.c (__getutent): Add libc_hidden_def.
28000 * login/getutent_r.c (__getutent_r): Likewise.
28001 (__pututline): Likewise.
28002 * login/getutid.c (__getutid): Likewise.
28003 * login/getutid_r.c (__getutid_r): Likewise.
28004 * login/getutline.c (__getutline): Likewise.
28005 * login/getutline_r.c (__getutline_r): Likewise.
28006 * login/updwtmp.c (__updwtmp): Likewise.
28008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28011 * include/dirent.h (__opendir): Always add attribute_hidden.
28012 (__fdopendir): Likewise.
28013 (__closedir): Likewise.
28014 (__readdir): Likewise.
28015 (__readdir64): Add libc_hidden_proto.
28016 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28017 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28018 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28019 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28025 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28026 * include/netdb.h (__gethostbyaddr_r): Likewise.
28027 (__gethostbyname_r): Likewise.
28028 (__gethostbyname2_r): Likewise.
28029 (__getnetbyaddr_r): Likewise.
28030 (__getnetbyname_r): Likewise.
28031 (__getservbyname_r): Likewise.
28032 (__getservbyport_r): Likewise.
28033 (__getprotobyname_r): Likewise.
28034 (__getprotobynumber_r): Likewise.
28035 (__getnetgrent_r): Likewise.
28036 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28037 (__getrpcbynumber_r): Likewise.
28038 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28040 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28043 * include/stdio.h (__fcloseall): Add attribute_hidden.
28044 (__getline): Likewise.
28045 (__path_search): Likewise.
28046 (__gen_tempname): Likewise.
28047 (__libc_message): Likewise.
28048 (__flockfile): Likewise.
28049 (__funlockfile): Likewise.
28050 (__fxprintf): Likewise.
28051 (__fxprintf_nocancel): Likewise.
28053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28056 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28057 (__sgetsgent_r): Likewise.
28059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28062 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28063 (__statfs64): Likewise.
28064 (__fstatfs64): Likewise.
28065 * include/sys/statvfs.h (__statvfs64): Likewise.
28066 (__fstatvfs64): Likewise.
28067 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28068 (__statfs_filesize_max): Likewise.
28069 (__statfs_symlinks): Likewise.
28070 (__statfs_chown_restricted): Likewise.
28072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28075 * include/time.h (__tzstring): Add attribute_hidden.
28076 (__tzfile_read): Likewise.
28077 (__tzfile_compute): Likewise.
28078 (__tzfile_default): Likewise.
28079 (__tzset_parse_tz): Likewise.
28080 (__offtime): Likewise.
28081 (__asctime_r): Likewise.
28082 (__tzset): Likewise.
28083 (__tz_convert): Likewise.
28084 (__getdate_r): Likewise.
28085 (__getclktck): Likewise.
28087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28090 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28091 (__nscd_unmap): Likewise.
28092 (__nscd_cache_search): Likewise.
28093 (__nscd_get_nl_timestamp): Likewise.
28094 (__nscd_getpwnam_r): Likewise.
28095 (__nscd_getpwuid_r): Likewise.
28096 (__nscd_getgrnam_r): Likewise.
28097 (__nscd_getgrgid_r): Likewise.
28098 (__nscd_gethostbyname_r): Likewise.
28099 (__nscd_gethostbyname2_r): Likewise.
28100 (__nscd_gethostbyaddr_r): Likewise.
28101 (__nscd_getai): Likewise.
28102 (__nscd_getgrouplist): Likewise.
28103 (__nscd_getservbyname_r): Likewise.
28104 (__nscd_getservbyport_r): Likewise.
28105 (__nscd_innetgr): Likewise.
28106 (__nscd_setnetgrent): Likewise.
28108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28111 * include/gmp.h: Declare internal functions only if _ISOMAC is
28113 (__mpn_extract_double): Add attribute_hidden.
28114 (__mpn_extract_long_double): Likewise.
28115 (__mpn_extract_float128): Likewise.
28116 (__mpn_construct_float): Likewise.
28117 (__mpn_construct_double): Likewise.
28118 (__mpn_construct_long_double): Likewise.
28119 (__mpn_construct_float128): Likewise.
28120 (mpn_add_1): Likewise.
28121 (mpn_addmul_1): Likewise.
28122 (mpn_add_n): Likewise.
28123 (mpn_cmp): Likewise.
28124 (mpn_divrem): Likewise.
28125 (mpn_lshift): Likewise.
28126 (mpn_mul): Likewise.
28127 (mpn_mul_1): Likewise.
28128 (mpn_rshift): Likewise.
28129 (mpn_sub_1): Likewise.
28130 (mpn_submul_1): Likewise.
28131 (mpn_sub_n): Likewise.
28133 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28136 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28137 (__wcscat): Likewise.
28138 (__btowc): Likewise.
28139 (__wcrtomb): Likewise.
28140 (__mbsrtowcs): Likewise.
28141 (__wcsrtombs): Likewise.
28142 (__mbsnrtowcs): Likewise.
28143 (__wcsnrtombs): Likewise.
28144 (__wcsncpy): Likewise.
28145 (__wcpncpy): Likewise.
28146 (__wmemcpy): Likewise.
28147 (__wmempcpy): Likewise.
28148 (__wmemmove): Likewise.
28149 (__wcschrnul): Likewise.
28150 (__vfwscanf): Likewise.
28151 (__vswprintf): Likewise.
28152 (__fwprintf): Likewise.
28153 (__vfwprintf): Likewise.
28155 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28158 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28159 (__getgrgid_r): Likewise.
28160 (__getgrnam_r): Likewise.
28161 * include/pwd.h (__getpwuid_r): Likewise.
28162 (__getpwnam_r): Likewise.
28163 (__fgetpwent_r): Likewise.
28164 * include/shadow.h (__getspnam_r): Likewise.
28165 (__sgetspent_r): Likewise.
28166 (__fgetspent_r): Likewise.
28168 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28171 * include/unistd.h (__access): Add attribute_hidden.
28172 (__lseek64): Likewise.
28173 (__libc_pread64): Likewise.
28174 (__pipe2): Likewise.
28175 (__sleep): Likewise.
28176 (__chdir): Likewise.
28177 (__fchdir): Likewise.
28178 (__getcwd): Likewise.
28179 (__rmdir): Likewise.
28180 (__execvpe): Likewise.
28181 (__execve): Likewise.
28182 (__setsid): Likewise.
28183 (__getuid): Likewise.
28184 (__geteuid): Likewise.
28185 (__getgid): Likewise.
28186 (__getegid): Likewise.
28187 (__getgroups): Likewise.
28188 (__group_member): Likewise.
28189 (__ttyname_r): Likewise.
28190 (__isatty): Likewise.
28191 (__readlink): Likewise.
28192 (__unlink): Likewise.
28193 (__gethostname): Likewise.
28194 (__profil): Likewise.
28195 (__getdtablesize): Likewise.
28197 (__ftruncate): Likewise.
28198 (__ftruncate64): Likewise.
28200 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28203 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28204 * argp/argp-fs-xinl.c: Likewise.
28205 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28206 * argp/argp-parse.c: Include <argp.h>.
28207 * argp/argp-xinl.c: Likewise.
28208 * include/argp-fmtstream.h: New file.
28209 * include/argp.h (__argp_error): Add attribute_hidden.
28210 (__argp_failure): Likewise.
28211 (__argp_input): Likewise.
28212 (__argp_state_help): Likewise.
28214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28217 * include/wchar.h (____wcstof_l_internal): New prototype.
28218 (____wcstod_l_internal): Likewise.
28219 (____wcstold_l_internal): Likewise.
28220 (____wcstol_l_internal): Likewise.
28221 (____wcstoul_l_internal): Likewise.
28222 (____wcstoll_l_internal): Likewise.
28223 (____wcstoull_l_internal): Likewise.
28224 (____wcstof128_l_internal): Likewise.
28225 * sysdeps/ieee754/float128/wcstof128.c
28226 (____wcstof128_l_internal): Removed.
28227 * sysdeps/ieee754/float128/wcstof128_l.c
28228 (____wcstof128_l_internal): Likewise.
28229 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28230 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28231 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28232 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28233 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28234 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28235 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28236 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28237 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28238 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28240 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28243 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28244 instead of <sys/statvfs.h>.
28245 (__internal_statvfs): Removed.
28246 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28247 instead of <sys/statvfs.h>.
28248 (__internal_statvfs64): Removed.
28249 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28250 "internal_statvfs.h" instead of <sys/statvfs.h>.
28251 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28252 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28253 instead of <sys/statvfs.h>.
28254 (__internal_statvfs): Removed.
28255 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28256 instead of <sys/statvfs.h>.
28257 (__internal_statvfs64): Removed.
28259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28262 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28263 (__gconv_close): Likewise.
28264 (__gconv): Likewise.
28265 (__gconv_find_transform): Likewise.
28266 (__gconv_lookup_cache): Likewise.
28267 (__gconv_compare_alias_cache): Likewise.
28268 (__gconv_load_cache): Likewise.
28269 (__gconv_get_path): Likewise.
28270 (__gconv_close_transform): Likewise.
28271 (__gconv_release_cache): Likewise.
28272 (__gconv_find_shlib): Likewise.
28273 (__gconv_release_shlib): Likewise.
28274 (__gconv_get_builtin_trans): Likewise.
28275 (__gconv_compare_alias): Likewise.
28276 * include/dlfcn.h (_dlerror_run): Likewise.
28277 * include/stdio.h (__fortify_fail_abort): Likewise.
28278 * include/time.h (__tz_compute): Likewise.
28279 (__strptime_internal): Likewise.
28280 * intl/gettextP.h (_nl_find_domain): Likewise.
28281 (_nl_load_domain): Likewise.
28282 (_nl_find_msg): Likewise.
28283 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28284 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28285 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28286 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28287 (__gai_find_request): Likewise.
28288 (__gai_remove_request): Likewise.
28289 (__gai_notify): Likewise.
28290 (__gai_notify_only): Likewise.
28291 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28292 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28293 (_dl_non_dynamic_init): Likewise.
28294 (_dl_aux_init): Likewise.
28295 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28296 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28298 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28299 (__wcsmbs_clone_conv): Likewise.
28300 (__wcsmbs_named_conv): Likewise.
28302 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28305 * include/stdlib.h (__random): Add attribute_hidden.
28306 (__random_r): Likewise.
28307 (__srandom_r): Likewise.
28308 (__initstate_r): Likewise.
28309 (__setstate_r): Likewise.
28310 (__erand48_r): Likewise.
28311 (__nrand48_r): Likewise.
28312 (__jrand48_r): Likewise.
28313 (__srand48_r): Likewise.
28314 (__seed48_r): Likewise.
28315 (__lcong48_r): Likewise.
28316 (__drand48_iterate): Likewise.
28317 (__setenv): Likewise.
28318 (__unsetenv): Likewise.
28319 (__clearenv): Likewise.
28320 (__ptsname_r): Likewise.
28321 (__posix_openpt): Likewise.
28322 (__add_to_environ): Likewise.
28323 (__realpath): Add libc_hidden_proto.
28324 (__ecvt_r): Likewise.
28325 (__fcvt_r): Likewise.
28326 (__qecvt_r): Likewise.
28327 (__qfcvt_r): Likewise.
28328 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28329 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28331 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28334 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28335 * include/time.h (__mktime_internal): Likewise.
28336 * libio/iolibio.h (__fopen_internal): Likewise.
28338 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28340 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28342 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28343 Correct offset used to restore PIC register.
28345 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28348 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28349 code to load address of __getcontext_ret when generating PIC code.
28351 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28353 * elf/Makefile (tests-static-internal): Add
28354 tst-tls1-static-non-pie.
28355 (LDFLAGS-tst-tls1-static-non-pie): New.
28356 * elf/tst-tls1-static-non-pie.c: New file.
28358 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28360 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28361 (asinh): Define using libm_alias_double.
28362 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28363 (cbrt): Define using libm_alias_double.
28364 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28365 <libm-alias-double.h>.
28366 (copysign): Define using libm_alias_double.
28367 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28368 (erf): Define using libm_alias_double.
28370 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28371 (expm1): Define using libm_alias_double.
28372 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28373 (fabs): Define using libm_alias_double.
28374 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28376 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28377 <libm-alias-double.h>.
28378 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28380 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28381 <libm-alias-double.h>.
28382 (getpayload): Define using libm_alias_double.
28383 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28384 <libm-alias-double.h>.
28385 (llrint): Define using libm_alias_double.
28386 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28387 (lrint): Define using libm_alias_double.
28388 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28389 <libm-alias-double.h>.
28390 (nextup): Define using libm_alias_double.
28391 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28392 <libm-alias-double.h>.
28393 (roundeven): Define using libm_alias_double.
28394 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28396 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28397 <libm-alias-double.h>.
28398 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28399 using libm_alias_double.
28400 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28401 (cos): Define using libm_alias_double.
28403 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28404 <libm-alias-double.h>.
28405 (sincos): Define using libm_alias_double.
28406 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28407 (tanh): Define using libm_alias_double.
28408 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28409 <libm-alias-double.h>.
28410 (totalorder): Define using libm_alias_double.
28411 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28412 <libm-alias-double.h>.
28413 (totalordermag): Define using libm_alias_double.
28414 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28416 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28418 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28419 <libm-alias-double.h>.
28420 (getpayload): Define using libm_alias_double.
28421 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28422 <libm-alias-double.h>.
28423 (roundeven): Define using libm_alias_double.
28424 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28425 <libm-alias-double.h>.
28426 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28427 <libm-alias-double.h>.
28428 (totalorder): Define using libm_alias_double.
28429 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28430 <libm-alias-double.h>.
28431 (totalordermag): Define using libm_alias_double.
28432 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28433 libc compat symbol here.
28434 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28435 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28436 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28437 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28438 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28439 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28440 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28441 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28442 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28443 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28445 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28447 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28448 _dl_relocate_static_pie instead of _dl_start to compute load
28449 address in static PIE. Return 0 if _DYNAMIC is undefined for
28452 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28454 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28455 _DYNAMIC is undefined for static executable.
28457 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28459 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28461 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28465 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28467 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28468 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28469 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28470 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28471 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28472 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28473 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28474 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28475 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28476 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28477 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28478 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28479 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28480 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28481 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28482 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28483 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28485 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28487 * math/bits/cmathcalls.h (cimag): Remove inline.
28488 (creal): Remove inline.
28489 (conj): Remove inline.
28491 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28493 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28494 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28495 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28496 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28497 (issignalingf_inline): Likewise.
28498 (POWF_LOG2_TABLE_BITS): Likewise.
28499 (POWF_LOG2_POLY_ORDER): Likewise.
28500 (POWF_SCALE_BITS): Likewise.
28501 (POWF_SCALE): Likewise.
28502 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28503 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28504 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28506 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28508 * math/Makefile (type-float-routines): Add e_log2f_data.
28509 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28510 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28511 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28512 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28513 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28514 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28515 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28517 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28519 * math/Makefile (type-float-routines): Add e_logf_data.
28520 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28521 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28522 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28523 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28524 * sysdeps/i386/fpu/e_logf_data.c: New file.
28525 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28526 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28528 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28530 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28531 undefined _DYNAMIC in PIE libc.a.
28532 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28535 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28537 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28538 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28539 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28540 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28541 (__signbit): Remove.
28542 (__signbitl): Remove.
28543 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28544 (__signbit): Remove.
28545 (__signbitl): Remove.
28546 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28547 (__signbit): Remove.
28548 (__signbitl): Remove.
28549 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28550 (__signbit): Remove.
28551 (__signbitl): Remove.
28552 * sysdeps/tile/bits/mathinline.h: Delete file.
28553 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28554 (__signbit): Remove.
28555 (__signbitl): Remove.
28557 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28559 * math/math.h: Improve handling of C99 isgreater macros.
28560 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28561 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28562 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28563 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28564 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28566 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28568 * sysdeps/aarch64/libm-test-ulps: Update.
28570 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28573 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28574 math_opt_barrier on argument when doing arithmetic on it.
28575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28576 Likewise. Use math_force_eval not math_opt_barrier after
28578 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28579 math_opt_barrier on argument when doing arithmetic on it.
28580 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28583 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28585 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28587 (__freeifaddrs): Likewise.
28589 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28591 * include/dirent.h (__dirfd): New declaration.
28592 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28594 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28595 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28596 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28597 * include/unistd.h (__revoke): New declaration.
28598 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28600 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28601 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28603 * include/dirent.h (__seekdir): New declaration.
28604 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28605 redefine as weak alias.
28606 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28608 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28609 and use libc_hidden_def on them.
28610 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28612 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28613 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28614 instead of getifaddrs and freeifaddrs.
28616 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28619 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28620 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28621 (__dso_handle): Remove declaration.
28622 * dlfcn/tstatexit.c (__dso_handle): Removed.
28623 (main): Don't check __dso_handle.
28624 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28625 (main): Don't check __dso_handle.
28626 * include/dso_handle.h: New file.
28627 * malloc/mtrace.c: Include <dso_handle.h>.
28628 (mtrace): Pass __dso_handle directly.
28629 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28630 (__dso_handle): Remove declaration.
28631 (__pthread_atfork): Pass __dso_handle directly.
28632 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28633 (__dso_handle): Removed.
28634 * posix/wordexp-test.c: Include <dso_handle.h>.
28635 (__dso_handle): Remove declaration.
28636 (__app_register_atfork): Pass __dso_handle directly.
28637 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28638 (__dso_handle): Remove declaration.
28639 (at_quick_exit): Pass __dso_handle directly.
28640 * stdlib/atexit.c: Include <dso_handle.h>.
28641 (__dso_handle): Remove declaration.
28642 (atexit): Pass __dso_handle directly.
28643 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28644 (__dso_handle): Removed.
28646 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28648 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28651 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28653 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28654 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28655 values to correct default value for given type.
28657 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28660 * elf/Makefile (tests): Add tst-debug1.
28661 ($(objpfx)tst-debug1): New.
28662 ($(objpfx)tst-debug1.out): Likewise.
28663 ($(objpfx)tst-debug1mod1.so): Likewise.
28664 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28665 with p_filesz == 0.
28666 * elf/tst-debug1.c: New file.
28668 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28670 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28671 Define using __ifunc.
28673 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28675 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28678 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28681 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28683 2017-09-26 Florian Weimer <fweimer@redhat.com>
28685 * resolv/Makefile (tests-internal): Fix typo in comment.
28687 2017-09-26 Florian Weimer <fweimer@redhat.com>
28689 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28691 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28693 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28694 Use an union instead of a max_align_t array for __space,
28695 so that __space is the same size on all platforms.
28696 * malloc/scratch_buffer_grow_preserve.c
28697 (__libc_scratch_buffer_grow_preserve): Likewise.
28700 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28702 * posix/Makefile (routines): Add glob-lstat-compat and
28703 glob64-lstat-compat.
28704 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28705 * posix/glob-lstat-compat.c: New file.
28706 * posix/glob64-lstat-compat.c: Likewise.
28707 * posix/tst-glob_lstat_compat.c: Likewise.
28708 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28709 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28710 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28711 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28713 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28714 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28715 * posix/glob.c (glob_lstat): New function.
28716 (glob): Rename to __glob and add versioned symbol to 2.27.
28717 (glob_in_dir): Use glob_lstat.
28718 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28719 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28720 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28722 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28723 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28724 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28725 gl_lstat on glob call.
28726 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28727 and glob64 symbols.
28728 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28729 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28730 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28731 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28732 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28733 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28734 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28735 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28736 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28737 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28738 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28739 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28742 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28744 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28745 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28746 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28747 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28748 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28751 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28752 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28753 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28755 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28757 * configure.ac (AS): Require binutils 2.25 or later.
28758 * configure: Regenerated.
28760 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28763 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28766 2017-09-25 DJ Delorie <dj@redhat.com>
28769 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28772 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28774 * sysdeps/ieee754/dbl-64/sincos32.h
28775 [SINCCOS32_H]: Remove define.
28776 [SINCOS32_H]: Define.
28778 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28780 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28782 * math/w_exp2f.c: New file.
28783 * math/w_expf.c: New file.
28784 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28785 * math/w_expf_compat.c (__expf_compat): Likewise.
28786 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28787 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28788 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28789 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28790 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28791 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28792 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28793 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28794 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28795 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28796 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28797 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28798 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28799 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28808 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28809 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28810 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28811 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28812 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28817 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28818 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28819 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28821 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28823 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28824 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28825 (roundtoint, converttoint): Likewise.
28826 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28827 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28828 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28829 * sysdeps/ieee754/flt-32/math_config.h: New file.
28830 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28831 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28832 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28833 * sysdeps/i386/fpu/math_errf.c: New file.
28834 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28835 * sysdeps/ia64/fpu/math_errf.c: New file.
28836 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28837 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28839 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28841 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28842 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28843 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28844 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28845 to make sure that these symbols are defined.
28846 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28848 (__need_NULL): Do not define.
28849 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28851 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28852 CMGROUP_MAX, cmsgcred): Do not define.
28853 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28855 * bits/socket.h: Likewise.
28856 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28857 __gettimeofday instead of gettimeofday.
28858 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28859 instead of settimeofday.
28861 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28863 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28864 (asinhf): Define using libm_alias_float.
28865 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28866 (atanf): Define using libm_alias_float.
28867 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28868 (cbrtf): Define using libm_alias_float.
28869 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28870 (ceilf): Define using libm_alias_float.
28871 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28872 <libm-alias-float.h>.
28873 (copysignf): Define using libm_alias_float.
28874 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28875 (cosf): Define using libm_alias_float.
28876 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28877 (erff): Define using libm_alias_float.
28879 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28880 (expm1f): Define using libm_alias_float.
28881 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28882 (fabsf): Define using libm_alias_float.
28883 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28884 (floorf): Define using libm_alias_float.
28885 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28886 (frexpf): Define using libm_alias_float.
28887 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28889 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28890 <libm-alias-float.h>.
28891 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28893 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28894 <libm-alias-float.h>.
28895 (getpayloadf): Define using libm_alias_float.
28896 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28897 <libm-alias-float.h>.
28898 (llrintf): Define using libm_alias_float.
28899 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28900 <libm-alias-float.h>.
28901 (llroundf): Define using libm_alias_float.
28902 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28903 (logbf): Define using libm_alias_float.
28904 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28905 (lrintf): Define using libm_alias_float.
28906 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28907 (lroundf): Define using libm_alias_float.
28908 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28909 (modff): Define using libm_alias_float.
28910 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28911 <libm-alias-float.h>.
28912 (nearbyintf): Define using libm_alias_float.
28913 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28914 <libm-alias-float.h>.
28915 (nextafterf): Define using libm_alias_float.
28916 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28917 <libm-alias-float.h>.
28918 (nextupf): Define using libm_alias_float.
28919 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28920 <libm-alias-float.h>.
28921 (remquof): Define using libm_alias_float.
28922 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28923 (rintf): Define using libm_alias_float.
28924 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28925 <libm-alias-float.h>.
28926 (roundevenf): Define using libm_alias_float.
28927 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28928 (roundf): Define using libm_alias_float.
28929 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28930 using libm_alias_float.
28931 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28932 <libm-alias-float.h>.
28933 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28934 Define using libm_alias_float.
28935 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28936 <libm-alias-float.h>.
28937 (sincosf): Define using libm_alias_float.
28938 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28939 (sinf): Define using libm_alias_float.
28940 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28941 (tanf): Define using libm_alias_float.
28942 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28943 (tanhf): Define using libm_alias_float.
28944 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28945 <libm-alias-float.h>.
28946 (totalorderf): Define using libm_alias_float.
28947 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28948 <libm-alias-float.h>.
28949 (totalordermagf): Define using libm_alias_float.
28950 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28951 (truncf): Define using libm_alias_float.
28952 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28954 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28957 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28960 math/math.h: Let fpclassify use the builtin in C++ mode, even
28961 when optimazing for size.
28963 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28965 * csu/Makefile (generated): Do not add version-info.h.
28966 (before-compile): Likewise.
28967 (all-Banner-files): Remove variable.
28968 ($(objpfx)version-info.h): Remove rule.
28969 * csu/version.c (banner): Do not include "version-info.h".
28970 * libidn/Banner: Remove.
28971 * manual/contrib.texi (Simon Josefsson): New entry.
28973 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28975 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28976 Remove conditionals on LDBL_MANT_DIG.
28977 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28978 (__ieee754_lgammal_r): Likewise.
28980 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28984 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28985 _Float128 and L(). Replace _Float128 with long double and L(x)
28986 with xL, throughout the file.
28987 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28988 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28992 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28994 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28995 sysdeps/ieee754/ldbl-128ibm.
28996 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28997 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28998 of including it. Keep _Float128 and L() intact. These will be
28999 reviewed by a separate patch.
29000 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29005 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29008 (__finitef128): Define to __redirect___finitef128.
29009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29010 (__isinff128): Define to __redirect___isinff128.
29011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29012 (__isnanf128): Define to __redirect___isnanf128.
29014 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29016 * sysdeps/powerpc/powerpc64le/Makefile
29017 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29018 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29020 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29021 Carlos O'Donell <carlos@redhat.com>
29024 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29025 * stdlib/test-dlclose-exit-race.c: New file.
29026 * stdlib/test-dlclose-exit-race-helper.c: New file.
29027 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29029 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29031 * crypt/Banner: Remove file.
29032 * nptl/Banner: Likewise.
29033 * resolv/Banner: Likewise.
29034 * soft-fp/Banner: Likewise.
29035 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29036 ($(objpfx)version.d): Remove dependency on banner.h.
29037 ($(objpfx)version.os): Likewise.
29038 * nptl/version.c (banner): Do not include banner.h.
29039 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29040 Jelinek and BIND code.
29042 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29043 Carlos O'Donell <carlos@redhat.com>
29045 * support/xdlfcn.h: New file.
29046 * support/xdlfcn.c: New file.
29047 * support/Makefile (libsupport-routines): Add xdlfcn.
29048 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29050 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29053 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29054 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29055 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29056 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29057 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29058 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29059 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29060 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29062 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29063 Ricky Zhou <rickyz@google.com>
29064 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29067 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29069 (__new_exitfn): Fail registration when we finished at_exit processing.
29070 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29071 * stdlib/on_exit.c (__on_exit): Likewise.
29072 * stdlib/exit.c (__exit_funcs_done): New variable.
29073 (__run_exit_handlers): Use __exit_funcs_lock.
29074 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29076 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29077 (test-cxa_atexit-race, test-on_exit-race): New tests.
29078 * stdlib/test-atexit-race-common.c: New file.
29079 * stdlib/test-atexit-race.c: New file.
29080 * stdlib/test-at_quick_exit-race.c: New file.
29081 * stdlib/test-cxa_atexit-race.c: New file.
29082 * stdlib/test-on_exit-race.c: New file.
29084 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29086 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29087 * benchtests/exp2f-inputs: Copy of expf-inputs.
29088 * benchtests/log2f-inputs: Copy of logf-inputs.
29090 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29092 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29093 Explicitly take address of first element of array arguments in
29094 call to INLINE_SYSCALL.
29096 2017-09-19 Andreas Schwab <schwab@suse.de>
29099 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29101 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29103 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29104 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29105 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29106 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29107 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29108 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29109 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29110 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29111 * posix/Makefile (tests): Add tst-fexecve.
29112 * posix/tst-fexecve.c: New file.
29114 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29116 * benchtests/Makefile: Add logf benchmark.
29117 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29119 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29121 * benchtests/Makefile: Add expf benchmark.
29122 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29124 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29126 * csu/Makefile: Add -funwind-tables to libc-start.c.
29127 * debug/Makefile: Add -funwind-tables to backtrace.c.
29128 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29129 * sysdeps/arm/Makefile: Likewise.
29130 * sysdeps/i386/Makefile: Likewise.
29131 * sysdeps/m68k/Makefile: Likewise.
29132 * sysdeps/mips/Makefile: Likewise.
29133 * sysdeps/nios2/Makefile: Likewise.
29134 * sysdeps/sh/Makefile: Likewise.
29135 * sysdeps/sparc/Makefile: Likewise.
29137 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29139 * benchtests/Makefile (bench-math): Add trunc and truncf.
29140 (CFLAGS-bench-trunc.c): New variable.
29141 (CFLAGS-bench-truncf.c): Likewise.
29142 * benchtests/trunc-inputs: New file.
29143 * benchtests/truncf-inputs: Likewise.
29145 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29147 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29149 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29151 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29152 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29154 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29155 (exp10l): Define as weak alias.
29156 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29157 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29159 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29160 (remainderl): Define as weak alias.
29162 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29163 (fmal): Define using libm_alias_ldouble.
29164 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29165 (acoshl): Define using libm_alias_ldouble.
29166 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29167 (acosl): Define using libm_alias_ldouble.
29168 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29169 (asinl): Define using libm_alias_ldouble.
29170 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29171 (atan2l): Define using libm_alias_ldouble.
29172 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29173 (atanhl): Define using libm_alias_ldouble.
29174 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29175 (coshl): Define using libm_alias_ldouble.
29176 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29177 (exp10l): Define using libm_alias_ldouble.
29178 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29179 (exp2l): Define using libm_alias_ldouble.
29180 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29181 (expl): Define using libm_alias_ldouble.
29182 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29183 (fmodl): Define using libm_alias_ldouble.
29184 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29185 (hypotl): Define using libm_alias_ldouble.
29186 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29187 (j0l): Define using libm_alias_ldouble.
29189 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29190 (j1l): Define using libm_alias_ldouble.
29192 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29193 (jnl): Define using libm_alias_ldouble.
29195 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29196 (log10l): Define using libm_alias_ldouble.
29197 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29198 (log2l): Define using libm_alias_ldouble.
29199 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29200 (logl): Define using libm_alias_ldouble.
29201 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29202 (powl): Define using libm_alias_ldouble.
29203 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29204 (remainderl): Define using libm_alias_ldouble.
29205 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29206 (sinhl): Define using libm_alias_ldouble.
29207 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29208 (sqrtl): Define using libm_alias_ldouble.
29209 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29210 (tgammal): Define using libm_alias_ldouble.
29211 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29212 (exp10l): Do not use long_double_symbol here.
29213 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29214 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29215 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29216 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29217 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29218 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29219 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29220 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29221 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29222 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29223 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29224 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29225 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29226 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29227 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29228 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29229 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29230 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29231 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29232 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29233 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29234 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29236 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29238 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29239 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29241 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29243 * io/read.c (read): Add libc_hidden_weak.
29244 * sysdeps/mach/hurd/read.c (read): Likewise.
29245 * io/write.c (write): Likewise.
29246 * sysdeps/mach/hurd/write.c (write): Likewise.
29247 * io/pread64.c (__pread64): Likewise.
29248 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29249 * posix/pread64.c (__pread64): Add libc_hidden_def.
29251 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29253 * benchtests/scripts/compare_strings.py: New option -g.
29254 (draw_graph): Print a message that a graph is being generated.
29255 (process_results): Generate graph only if -g is passed.
29256 (main): Process option -g.
29258 * benchtests/scripts/compare_strings.py (process_results):
29259 Better spacing for output.
29261 * benchtests/scripts/compare_strings.py: Use argparse.
29262 * benchtests/README: Document existence of compare_strings.py.
29264 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29266 * math/s_fma.c: Include <libm-alias-double.h>.
29267 (fma): Define using libm_alias_double.
29268 * math/s_nextafter.c: Include <libm-alias-double.h>.
29269 (nextafter): Define using libm_alias_double.
29270 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29271 (acos): Define using libm_alias_double.
29272 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29273 (aocsh): Define using libm_alias_double.
29274 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29275 (asin): Define using libm_alias_double.
29276 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29277 (atan2): Define using libm_alias_double.
29278 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29279 (atanh): Define using libm_alias_double.
29280 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29281 (cosh): Define using libm_alias_double.
29282 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29283 (exp10): Define using libm_alias_double.
29284 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29285 (exp2): Define using libm_alias_double.
29286 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29287 (exp): Define using libm_alias_double.
29288 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29289 (fmod): Define using libm_alias_double.
29290 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29291 (hypot): Define using libm_alias_double.
29292 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29293 (j0): Define using libm_alias_double.
29295 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29296 (j1): Define using libm_alias_double.
29298 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29299 (jn): Define using libm_alias_double.
29301 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29302 (log10): Define using libm_alias_double.
29303 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29304 (log2): Define using libm_alias_double.
29305 * math/w_log_compat.c: Include <libm-alias-double.h>.
29306 (log): Define using libm_alias_double.
29307 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29308 (pow): Define using libm_alias_double.
29309 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29310 (remainder): Define using libm_alias_double.
29311 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29312 (sinh): Define using libm_alias_double.
29313 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29314 (sqrt): Define using libm_alias_double.
29315 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29316 (tgamma): Define using libm_alias_double.
29317 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29318 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29319 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29320 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29321 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29322 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29323 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29324 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29325 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29326 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29327 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29328 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29329 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29330 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29331 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29332 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29333 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29334 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29335 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29336 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29337 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29338 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29339 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29340 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29341 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29343 * math/e_acoshl.c: Remove.
29344 * math/e_acosl.c: Likewise.
29345 * math/e_asinl.c: Likewise.
29346 * math/e_atan2l.c: Likewise.
29347 * math/e_atanhl.c: Likewise.
29348 * math/e_coshl.c: Likewise.
29349 * math/e_expl.c: Likewise.
29350 * math/e_fmodl.c: Likewise.
29351 * math/e_gammal_r.c: Likewise.
29352 * math/e_hypotl.c: Likewise.
29353 * math/e_j0l.c: Likewise.
29354 * math/e_j1l.c: Likewise.
29355 * math/e_jnl.c: Likewise.
29356 * math/e_lgammal_r.c: Likewise.
29357 * math/e_log10l.c: Likewise.
29358 * math/e_log2l.c: Likewise.
29359 * math/e_logl.c: Likewise.
29360 * math/e_powl.c: Likewise.
29361 * math/e_rem_pio2l.c: Likewise.
29362 * math/e_sinhl.c: Likewise.
29363 * math/e_sqrtf128.c: Likewise.
29364 * math/e_sqrtl.c: Likewise.
29365 * math/k_cosl.c: Likewise.
29366 * math/k_sinl.c: Likewise.
29367 * math/k_tanl.c: Likewise.
29368 * math/s_asinhl.c: Likewise.
29369 * math/s_atanl.c: Likewise.
29370 * math/s_cbrtl.c: Likewise.
29371 * math/s_erfl.c: Likewise.
29372 * math/s_expm1l.c: Likewise.
29373 * math/s_log1pl.c: Likewise.
29374 * math/s_tanhl.c: Likewise.
29376 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29380 [$(subdir) = math] (sysdep_calls): New variable. Has the
29381 previous contents of sysdep_routines, but re-sorted..
29382 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29384 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29385 defined in sysdep_calls and replace by the respective m_* names.
29386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29387 (compat_symbol): Undefine to avoid duplicated compat symbols in
29390 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29392 * math/s_fmaf.c: Include <libm-alias-float.h>.
29393 (fmaf): Define using libm_alias_float.
29394 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29395 (acosf): Define using libm_alias_float.
29396 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29397 (acoshf): Define using libm_alias_float.
29398 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29399 (asinf): Define using libm_alias_float.
29400 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29401 (atan2f): Define using libm_alias_float.
29402 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29403 (atanhf): Define using libm_alias_float.
29404 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29405 (coshf): Define using libm_alias_float.
29406 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29407 (exp10f): Define using libm_alias_float.
29408 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29409 (fmodf): Define using libm_alias_float.
29410 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29411 (hypotf): Define using libm_alias_float.
29412 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29413 (j0f): Define using libm_alias_float.
29415 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29416 (j1f): Define using libm_alias_float.
29418 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29419 (jnf): Define using libm_alias_float.
29421 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29422 (log10f): Define using libm_alias_float.
29423 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29424 (log2f): Define using libm_alias_float.
29425 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29426 (logf): Define using libm_alias_float.
29427 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29428 (powf): Define using libm_alias_float.
29429 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29430 (remainderf): Define using libm_alias_float.
29431 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29432 (sinhf): Define using libm_alias_float.
29433 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29434 (sqrtf): Define using libm_alias_float.
29435 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29436 (tgammaf): Define using libm_alias_float.
29438 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29440 * include/math.h (roundeven): Change hidden_proto call to
29442 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29444 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29445 (y0): Rename to __y0 and define as weak alias.
29446 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29447 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29449 (y0f): Rename to __y0f and define as weak alias.
29450 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29452 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29453 (y1): Rename to __y1 and define as weak alias.
29454 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29455 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29457 (y1f): Rename to __y1f and define as weak alias.
29458 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29460 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29461 (yn): Rename to __yn and define as weak alias.
29462 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29463 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29465 (ynf): Rename to __ynf and define as weak alias.
29466 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29467 (fromfp): Define as weak alias.
29468 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29469 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29470 (fromfpx): Define as weak alias.
29471 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29472 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29473 __getpayload and define as weak alias.
29474 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29475 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29476 __roundeven and define as weak alias.
29477 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29478 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29480 (setpayload): Define as weak alias.
29481 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29482 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29484 (setpayloadsig): Define as weak alias.
29485 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29486 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29487 __totalorder and define as weak alias.
29488 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29489 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29490 to __totalordermag and define as weak alias.
29491 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29492 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29493 (ufromfp): Define as weak alias.
29494 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29495 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29497 (ufromfpx): Define as weak alias.
29498 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29499 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29500 Rename to __getpayload and define as weak alias.
29501 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29502 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29503 Rename to __roundeven and define as weak alias.
29504 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29505 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29506 Rename to __totalorder and define as weak alias.
29507 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29508 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29509 (totalordermag): Rename to __totalordermag and define as weak
29511 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29512 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29514 (__roundevenl): Likewise.
29515 (__totalorderl): Likewise.
29516 (__totalordermagl): Likewise
29517 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29519 (fromfpf128): Define as weak alias.
29520 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29522 (fromfpxf128): Define as weak alias.
29523 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29525 (setpayloadf128): Define as weak alias.
29526 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29527 __setpayloadsigf128.
29528 (setpayloadsigf128): Define as weak alias.
29529 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29531 (ufromfpf128): Define as weak alias.
29532 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29534 (ufromfpxf128): Define as weak alias.
29535 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29536 (fromfpf): Define as weak alias.
29537 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29539 (fromfpxf): Define as weak alias.
29540 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29541 __getpayloadf and define as weak alias.
29542 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29543 __roundevenf and define as weak alias.
29544 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29546 (setpayloadf): Define as weak alias.
29547 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29549 (setpayloadsigf): Define as weak alias.
29550 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29551 __totalorderf and define as weak alias.
29552 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29553 Rename to __totalordermagf and define as weak alias.
29554 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29556 (ufromfpf): Define as weak alias.
29557 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29559 (ufromfpxf): Define as weak alias.
29560 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29562 (fromfpl): Define as weak alias.
29563 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29565 (fromfpxl): Define as weak alias.
29566 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29567 to __getpayloadl and define as weak alias.
29568 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29569 __roundevenl and define as weak alias.
29570 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29572 (setpayloadl): Define as weak alias.
29573 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29575 (setpayloadsigl): Define as weak alias.
29576 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29577 to __totalorderl and define as weak alias.
29578 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29579 Rename to __totalordermagl and define as weak alias.
29580 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29582 (ufromfpl): Define as weak alias.
29583 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29585 (ufromfpxl): Define as weak alias.
29586 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29588 (fromfpl): Define as weak alias.
29589 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29591 (fromfpxl): Define as weak alias.
29592 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29593 Rename to __getpayloadl and define as weak alias.
29594 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29595 to __roundevenl and define as weak alias. Call __roundeven
29596 instead of roundeven.
29597 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29599 (setpayloadl): Define as weak alias.
29600 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29602 (setpayloadsigl): Define as weak alias.
29603 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29604 Rename to __totalorderl and define as weak alias.
29605 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29606 Rename to __totalordermagl and define as weak alias.
29607 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29609 (ufromfpl): Define as weak alias.
29610 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29612 (ufromfpxl): Define as weak alias.
29613 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29615 (fromfpl): Define as weak alias.
29616 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29618 (fromfpxl): Define as weak alias.
29619 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29620 __getpayloadl and define as weak alias.
29621 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29622 __roundevenl and define as weak alias.
29623 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29625 (setpayloadl): Define as weak alias.
29626 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29628 (setpayloadsigl): Define as weak alias.
29629 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29630 __totalorderl and define as weak alias.
29631 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29632 Rename to __totalordermagl and define as weak alias.
29633 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29635 (ufromfpl): Define as weak alias.
29636 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29638 (ufromfpxl): Define as weak alias.
29640 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29642 * benchtests/bench-string.h (realloc_bufs): New function.
29643 (test_init): Call it.
29644 * benchtests/bench-memset-large.c (do_test): Likewise.
29645 * benchtests/bench-memset.c (do_test): Likewise.
29647 * benchtests/bench-memset-large.c: Print output in JSON
29649 * benchtests/bench-memset.c: Likewise.
29651 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29654 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29655 * iconvdata/Makefile: Add IBM858.
29656 * iconvdata/gconv-modules: Likewise.
29657 * iconvdata/tst-tables.sh: Likewise.
29658 * iconvdata/ibm858.c: New file.
29659 * localedata/charmaps/IBM858: Likewise.
29661 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29664 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29665 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29667 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29670 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29671 and add tel_int_fmt.
29673 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29675 * sysdeps/generic/libm-alias-float128.h: New file.
29676 * sysdeps/generic/math-type-macros-float128.h: Include
29677 <libm-alias-float128.h>.
29678 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29680 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29682 * sysdeps/generic/libm-alias-ldouble.h: New file.
29683 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29684 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29685 * sysdeps/generic/math-type-macros-ldouble.h: Include
29686 <libm-alias-ldouble.h>.
29687 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29688 libm_alias_ldouble.
29690 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29692 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29693 * math/w_exp_compat.c: ... here.
29694 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29695 * math/w_expf_compat.c: ... here.
29696 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29697 * math/w_expl_compat.c: ... here.
29698 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29699 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29700 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29701 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29703 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29705 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29707 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29709 (ldexpl): Only define as compat symbol for libc, not libm.
29710 (scalbnl): Define as compat symbol for libc here.
29711 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29712 define for [IS_IN (libc)].
29713 (__ldexpl_2): Remove alias.
29714 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29715 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29716 name in long_double_symbol call.
29717 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29718 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29719 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29720 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29721 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29723 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29724 Define as compat symbol.
29726 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29728 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29729 * sysdeps/unix/sysv/linux/alpha/Makefile
29730 [$(subdir) = csu] (sysdep_routines): Remove rule.
29732 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29734 * sysdeps/generic/libm-alias-double.h: New file.
29735 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29736 * sysdeps/generic/math-type-macros-double.h: Include
29737 <libm-alias-double.h>.
29738 [declare_mgen_alias] (declare_mgen_alias): Define to use
29740 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29741 (M_LIBM_NEED_COMPAT): Remove macro.
29742 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29743 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29744 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29746 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29747 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29748 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29749 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29750 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29751 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29752 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29753 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29754 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29755 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29756 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29757 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29758 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29759 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29760 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29761 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29762 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29763 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29764 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29765 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29766 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29767 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29768 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29769 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29770 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29771 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29772 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29773 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29774 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29776 (declare_mgen_alias): New macro.
29777 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29778 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29780 (M_LIBM_NEED_COMPAT): Remove macro.
29781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29782 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29783 <first-versions.h>.
29784 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29785 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29787 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29789 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29790 (declare_mgen_alias_2): Remove.
29791 * sysdeps/generic/math-type-macros-double.h
29792 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29794 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29796 (ldexp): Define with declare_mgen_alias.
29797 (scalbn): Likewise.
29799 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29801 * grp/initgroups.c: Include config.h.
29802 (DEFAULT_CONFIG): New macro.
29803 (internal_getgrouplist): Use DEFAULT_CONFIG.
29804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29805 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29806 (DEFAULT_DEFCONFIG): New macro.
29807 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29808 * nss/grp-lookup.c: Include config.h
29809 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29810 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29811 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29812 * manual/nss.texi: Update default values section.
29814 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29817 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29819 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29820 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29821 Handle MathVec_Prefer_No_AVX512.
29822 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29823 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29826 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29828 * posix/sched_primax.c (__sched_get_priority_max): Add
29830 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29831 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29832 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29833 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29834 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29835 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29836 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29837 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29840 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29842 * sysdeps/generic/libm-alias-float.h: New file.
29843 * sysdeps/generic/math-type-macros-float.h: Include
29844 <libm-alias-float.h>.
29845 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29847 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29850 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29851 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29852 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29853 (HWCAP_IMPORTANT): Likewise.
29854 (HWCAP_X86_64): New enum.
29855 (HWCAP_X86_AVX512_1): Updated.
29856 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29857 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29858 (modules-names): Add x86_64/tst-x86_64mod-1.
29859 (LDFLAGS-tst-x86_64mod-1.so): New.
29860 ($(objpfx)tst-x86_64-1): Likewise.
29861 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29862 (tst-x86_64-1-clean): Likewise.
29863 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29864 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29866 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29868 * po/sv.po: Update translations.
29869 * po/fr.po: Likewise.
29871 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29873 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29875 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29877 * elf/rtld-Rules: Fix $(error) use.
29879 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29882 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29883 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29884 * localedata/locales/bn_BD: “Bengali” was still used in some
29885 comments. Change it to “Bangla”.
29887 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29889 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29891 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29893 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29894 thunderx2t99p1 to list of cpu names.
29895 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29896 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29898 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29900 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29901 Use strcmp instead of tunable_is_name.
29903 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29905 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29906 (F_GET_RW_HINT): New macro.
29907 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29908 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29909 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29910 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29911 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29912 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29913 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29914 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29915 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29917 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29918 (F_ADD_SEALS): New macro.
29919 [__USE_GNU] (F_GET_SEALS): Likewise.
29920 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29921 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29922 [__USE_GNU] (F_SEAL_GROW): Likewise.
29923 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29925 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29927 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29928 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29929 * posix/glob_internal.h (__glob_pattern_type):
29930 * posix/glob.c (glob):
29931 * posix/glob_pattern_p.c (__glob_pattern_p):
29934 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29935 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29936 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29937 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29938 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29940 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29941 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29942 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29943 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29944 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29945 * sysdeps/wordsize-64/glob.c: Likewise.
29946 * sysdeps/wordsize-64/glob64.c: Likewise.
29947 * sysdeps/wordsize-64/globfree.c: Likewise.
29948 * sysdeps/wordsize-64/globfree64.c: Likewise.
29949 * sysdeps/unix/sysv/linux/glob.c: New file.
29950 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29951 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29952 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29953 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29954 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29955 adds !GLOB_NO_OLD_VERSION as an extra condition.
29956 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29957 using relative path instead of absolute one.
29958 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29959 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29960 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29961 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29962 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29963 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29966 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29967 (glob): Use the same scratch buffer for both getlogin_r and
29968 getpwnam_r. Don’t require preallocation of the login name. This
29969 simplifies storage allocation, and corrects the handling of
29973 * posix/glob.c (glob): Port recent patches to platforms
29974 lacking getpwnam_r.
29975 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29976 returns an error number rather than setting errno.
29978 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29979 instead of GCC extension.
29980 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29981 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29982 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29986 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29987 * posix/bug-glob1.c: Remove file.
29988 * posix/tst-glob_symlinks.c: New file.
29989 * posix/glob.c (__lstat64): New macro.
29990 (is_dir): New function.
29991 (glob, glob_in_dir): Match symlinks even if they are dangling.
29992 (link_stat, link_exists_p): Remove. All uses removed.
29996 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29997 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30002 * posix/Makefile (routines): Add globfree, globfree64, and
30004 * posix/flexmember.h: New file.
30005 * posix/glob_internal.h: Likewise.
30006 * posix/glob_pattern_p.c: Likewise.
30007 * posix/globfree.c: Likewise.
30008 * posix/globfree64.c: Likewise.
30009 * sysdeps/gnu/globfree64.c: Likewise.
30010 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30011 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30012 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30013 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30014 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30015 * sysdeps/wordsize-64/globfree.c: Likewise.
30016 * sysdeps/wordsize-64/globfree64.c: Likewise.
30017 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30018 [NDEBUG): Remove comments.
30019 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30020 (dirent_type): New type. Use uint_fast8_t not
30021 uint8_t, as C99 does not require uint8_t.
30022 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30023 (struct readdir_result): Use dirent_type. Do not define skip_entry
30024 unless it is needed; this saves a byte on platforms lacking d_ino.
30025 (readdir_result_type, readdir_result_skip_entry):
30026 New functions, replacing ...
30027 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30028 these functions, which were removed. This makes the callers
30029 easier to read. All callers changed.
30030 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30031 (size_add_wrapv, glob_use_alloca): New static functions.
30032 (glob, glob_in_dir): Check for size_t overflow in several places,
30033 and fix some size_t checks that were not quite right.
30034 Remove old code using SHELL since Bash no longer
30036 (glob, prefix_array): Separate MS code better.
30037 (glob_in_dir): Remove old Amiga and VMS code.
30038 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30040 (glob_in_dir): Do not rely on undefined behavior in accessing
30041 struct members beyond their bounds. Use a flexible array member
30043 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30044 0/1. Caller changed.
30045 (glob): Fix memory leaks.
30046 * posix/glob64 (globfree64): Move to separate file.
30047 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30048 (globfree64): Remove hidden alias.
30049 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30051 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30053 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30055 Move compat code to separate file.
30056 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30059 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30061 * resolv/tst-resolv-qtypes.c (domain): Changed to
30062 "const char domain[] =".
30064 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30066 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30069 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30070 (TCP_MD5SIG_EXT): Likewise.
30071 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30072 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30073 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30075 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30077 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30079 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30081 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30084 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30086 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30088 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30089 before assuming that the file is empty. Avoid testing buffer content
30092 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30095 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30097 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30099 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30101 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30103 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30105 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30107 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30110 2017-09-06 Florian Weimer <fweimer@redhat.com>
30112 * malloc/dynarray_emplace_enlarge.c
30113 (__libc_dynarray_emplace_enlarge): Add missing else.
30115 2017-09-06 Florian Weimer <fweimer@redhat.com>
30118 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30119 case of failure to obtain the global conf object.
30121 2017-09-06 Florian Weimer <fweimer@redhat.com>
30124 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30125 dynarray allocation failure.
30127 2017-09-06 Florian Weimer <fweimer@redhat.com>
30129 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30130 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30131 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30133 (response): Call them. Add 'p', '6' flag processing.
30134 (test_reverse): New function.
30135 (test_get2_any): Call it.
30136 (test_no_inet6): Add 'p' test.
30137 (test_inet6): Likewise.
30139 2017-09-06 Florian Weimer <fweimer@redhat.com>
30141 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30142 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30144 (test_gai): Adjust query names. Add additional tests.
30145 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30146 test_get2. Adjust query names. Add additional tests.
30147 (test_no_inet6): New function, extracted from threadfunc.
30148 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30149 Add additional tests.
30151 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30154 * localedata/unicode-gen/utf8_gen.py: Set the width for
30155 characters with Prepended_Concatenation_Mark property to 1
30156 * localedata/charmaps/UTF-8: Updated using the improved script.
30158 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30161 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30162 use the range notation for all ranges of neighbouring characters
30163 with the same width.
30165 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30167 * sysdeps/generic/math-type-macros-double.h: Include
30168 <math-svid-compat.h>.
30169 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30170 * sysdeps/generic/math-type-macros-float.h: Include
30171 <math-svid-compat.h>.
30172 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30173 * sysdeps/generic/math-type-macros-ldouble.h: Include
30174 <math-svid-compat.h>.
30175 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30176 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30178 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30179 * math/w_acosf_compat.c: Likewise.
30180 * math/w_acosh_compat.c: Likewise.
30181 * math/w_acoshf_compat.c: Likewise.
30182 * math/w_acoshl_compat.c: Likewise.
30183 * math/w_acosl_compat.c: Likewise.
30184 * math/w_asin_compat.c: Likewise.
30185 * math/w_asinf_compat.c: Likewise.
30186 * math/w_asinl_compat.c: Likewise.
30187 * math/w_atan2_compat.c: Likewise.
30188 * math/w_atan2f_compat.c: Likewise.
30189 * math/w_atan2l_compat.c: Likewise.
30190 * math/w_atanh_compat.c: Likewise.
30191 * math/w_atanhf_compat.c: Likewise.
30192 * math/w_atanhl_compat.c: Likewise.
30193 * math/w_cosh_compat.c: Likewise.
30194 * math/w_coshf_compat.c: Likewise.
30195 * math/w_coshl_compat.c: Likewise.
30196 * math/w_exp10_compat.c: Likewise.
30197 * math/w_exp10f_compat.c: Likewise.
30198 * math/w_exp10l_compat.c: Likewise.
30199 * math/w_exp2_compat.c: Likewise.
30200 * math/w_exp2f_compat.c: Likewise.
30201 * math/w_exp2l_compat.c: Likewise.
30202 * math/w_fmod_compat.c: Likewise.
30203 * math/w_fmodf_compat.c: Likewise.
30204 * math/w_fmodl_compat.c: Likewise.
30205 * math/w_hypot_compat.c: Likewise.
30206 * math/w_hypotf_compat.c: Likewise.
30207 * math/w_hypotl_compat.c: Likewise.
30208 * math/w_j0_compat.c: Likewise.
30209 * math/w_j0f_compat.c: Likewise.
30210 * math/w_j0l_compat.c: Likewise.
30211 * math/w_j1_compat.c: Likewise.
30212 * math/w_j1f_compat.c: Likewise.
30213 * math/w_j1l_compat.c: Likewise.
30214 * math/w_jn_compat.c: Likewise.
30215 * math/w_jnf_compat.c: Likewise.
30216 * math/w_jnl_compat.c: Likewise.
30217 * math/w_lgamma_r_compat.c: Likewise.
30218 * math/w_lgammaf_r_compat.c: Likewise.
30219 * math/w_lgammal_r_compat.c: Likewise.
30220 * math/w_log10_compat.c: Likewise.
30221 * math/w_log10f_compat.c: Likewise.
30222 * math/w_log10l_compat.c: Likewise.
30223 * math/w_log2_compat.c: Likewise.
30224 * math/w_log2f_compat.c: Likewise.
30225 * math/w_log2l_compat.c: Likewise.
30226 * math/w_log_compat.c: Likewise.
30227 * math/w_logf_compat.c: Likewise.
30228 * math/w_logl_compat.c: Likewise.
30229 * math/w_pow_compat.c: Likewise.
30230 * math/w_powf_compat.c: Likewise.
30231 * math/w_powl_compat.c: Likewise.
30232 * math/w_remainder_compat.c: Likewise.
30233 * math/w_remainderf_compat.c: Likewise.
30234 * math/w_remainderl_compat.c: Likewise.
30235 * math/w_sinh_compat.c: Likewise.
30236 * math/w_sinhf_compat.c: Likewise.
30237 * math/w_sinhl_compat.c: Likewise.
30238 * math/w_sqrt_compat.c: Likewise.
30239 * math/w_sqrtf_compat.c: Likewise.
30240 * math/w_sqrtl_compat.c: Likewise.
30241 * math/w_tgamma_compat.c: Likewise.
30242 * math/w_tgammaf_compat.c: Likewise.
30243 * math/w_tgammal_compat.c: Likewise.
30244 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30245 [LIBM_SVID_COMPAT].
30246 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30247 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30248 [LIBM_SVID_COMPAT].
30249 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30250 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30251 [LIBM_SVID_COMPAT].
30252 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30253 * sysdeps/i386/fpu/w_sqrt.c: New file.
30254 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30255 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30256 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30257 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30258 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30259 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30260 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30261 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30262 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30263 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30264 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30265 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30266 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30267 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30268 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30269 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30270 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30271 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30272 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30273 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30274 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30275 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30276 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30277 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30278 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30279 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30280 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30281 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30282 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30283 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30284 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30285 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30286 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30287 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30288 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30289 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30290 * sysdeps/ia64/fpu/w_log.c: Likewise.
30291 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30292 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30293 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30294 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30295 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30296 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30297 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30298 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30299 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30300 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30301 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30302 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30303 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30304 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30305 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30306 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30307 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30308 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30309 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30310 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30311 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30312 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30313 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30314 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30315 [LIBM_SVID_COMPAT].
30316 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30317 * sysdeps/ieee754/k_standard.c: Likewise.
30318 * sysdeps/ieee754/k_standardf.c: Likewise.
30319 * sysdeps/ieee754/k_standardl.c: Likewise.
30320 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30321 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30322 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30323 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30324 long_double_symbol call on [LIBM_SVID_COMPAT].
30325 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30326 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30327 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30328 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30329 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30330 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30331 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30332 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30333 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30334 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30335 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30336 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30337 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30338 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30339 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30340 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30341 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30342 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30343 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30344 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30345 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30346 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30348 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30350 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30351 * malloc/tst-mallocstate.c: Convert from test-skeleton
30352 to test-driver. Ifdef code using TEST_COMPAT macro.
30353 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30354 * math/test-matherr.c: Likewise.
30356 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30359 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30360 comparing word with byte-swapped constant.
30362 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30365 * locale/iso-639.def: add Miskito.
30366 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30367 * localedata/locales/miq_NI: New file.
30369 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30372 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30373 (__mkdir): Likewise.
30374 * io/chmod.c (__chmod): Add libc_hidden_def.
30375 * io/mkdir.c (__mkdir): Likewise.
30376 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30377 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30378 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30379 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30381 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30383 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30387 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30388 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30390 2017-09-04 Florian Weimer <fweimer@redhat.com>
30392 * math/math.h: Issue warning if log is defined.
30394 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30396 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30397 kernel version to 4.13.
30399 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30401 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30402 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30404 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30405 just <bits/types.h>.
30406 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30407 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30408 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30409 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30410 * misc/preadv2.c: Include <errno.h>.
30411 * misc/preadv64v2.c: Include <errno.h>.
30412 * misc/pwritev2.c: Include <errno.h>.
30413 * misc/pwritev64v2.c: Include <errno.h>.
30414 * sysdeps/posix/preadv2.c: Include <errno.h>.
30415 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30416 Fix <unistd.h> inclusion.
30417 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30418 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30419 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30420 __strtoul_internal): New functions.
30421 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30422 * sysdeps/posix/system.c: Include <sigsetops.h>.
30423 * sysdeps/mach/hurd/i386/Makefile
30424 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30425 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30426 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30427 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30428 __feraiseexcept_renamed to feraiseexcept instead of
30429 __GI_feraiseexcept.
30430 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30431 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30432 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30433 RWF_NOWAIT): Define to 0 if undefined already.
30434 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30436 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30437 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30439 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30441 * manual/math.texi (pow10): Do not document.
30442 (pow10f): Likewise.
30443 (pow10l): Likewise.
30444 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30445 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30446 * math/libm-test-exp10.inc (pow10_test): Remove.
30447 (do_test): Do not call pow10.
30448 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30449 [NO_LONG_DOUBLE] (pow10l): Likewise.
30450 * math/w_exp10f_compat.c (pow10f): Likewise.
30451 * math/w_exp10l_compat.c (pow10l): Likewise.
30452 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30453 (pow10): Make into compat symbol.
30454 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30455 (pow10f): Make into compat symbol.
30456 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30457 (pow10l): Make into compat symbol.
30458 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30460 (CFLAGS-nldbl-pow10.c): Remove variable..
30461 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30462 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30463 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30464 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30465 Undefine and redefine.
30466 (pow10l): Make into compat symbol.
30467 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30468 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30469 * sysdeps/arm/libm-test-ulps: Likewise.
30470 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30471 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30472 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30473 * sysdeps/microblaze/libm-test-ulps: Likewise.
30474 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30475 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30476 * sysdeps/nios2/libm-test-ulps: Likewise.
30477 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30478 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30479 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30480 * sysdeps/sh/libm-test-ulps: Likewise.
30481 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30482 * sysdeps/tile/libm-test-ulps: Likewise.
30483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30485 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30487 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30489 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30491 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30492 "../ChangeLog.old/ChangeLog.8".
30493 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30494 "../ChangeLog.old/ChangeLog.14".
30496 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30498 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30501 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30503 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30505 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30507 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30508 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30510 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30512 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30513 32 atexit handlers.
30515 2017-09-01 Zack Weinberg <zackw@panix.com>
30517 * math/math.h (HUGE_VAL): Improve commentary.
30519 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30520 Andreas Schwab <schwab@suse.de>
30523 * include/stdio.h (__gen_tempfd): New function.
30524 * stdio-common/Makefile (routines): Add gentempfd.
30525 * stdio-common/gentempfd.c: New file.
30526 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30527 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30528 unnamed file first.
30530 2017-09-01 Florian Weimer <fweimer@redhat.com>
30534 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30535 result to determine success or failure, not the errno value.
30536 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30537 (tst-nss-files-hosts-erange): Link with -ldl.
30538 * nss/tst-nss-files-hosts-erange.c: New file.
30539 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30540 (do_test): Add NO_DATA tests.
30541 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30542 (do_test): Call it.
30544 2017-09-01 Florian Weimer <fweimer@redhat.com>
30547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30548 coming from gethostbyname2_r.
30550 2017-09-01 Florian Weimer <fweimer@redhat.com>
30552 * support/namespace.h (struct support_chroot_configuration): Add
30554 (struct support_chroot): Add path_hosts, path_host_conf.
30555 * support/support_chroot.c (write_file): New function.
30556 (support_chroot_create): Call it to process /etc/resolv.conf,
30557 /etc/hosts, /etc/host.conf.
30558 (support_chroot_free): Update.
30560 2017-09-01 Florian Weimer <fweimer@redhat.com>
30562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30563 status indicates it is set.
30565 2017-09-01 Florian Weimer <fweimer@redhat.com>
30568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30569 function lookup failures more reliable.
30571 2017-09-01 Florian Weimer <fweimer@redhat.com>
30573 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30574 (getcanonname): Likewise.
30575 (gaih_inet): Likewise.
30577 2017-09-01 Florian Weimer <fweimer@redhat.com>
30579 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30580 (getcanonname): Likewise.
30581 (gaih_inet): Likewise.
30583 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30584 Richard Henderson <rth@twiddle.net>
30586 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30587 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30588 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30589 (IREG_SIZE, OREG_SIZE): New macros.
30590 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30591 (IREG_SIZE, OREG_SIZE): New macros.
30592 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30593 (IREG_SIZE): New macro.
30594 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30595 (IREG_SIZE): New macro.
30596 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30598 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30599 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30600 (__CONCATX): Handle exceptions correctly on large values that may
30602 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30603 Initialize if not already set.
30604 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30606 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30608 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30609 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30611 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30613 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30615 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30617 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30619 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30621 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30623 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30624 (NO_CANCELLATION): Likewise.
30625 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30627 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30629 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30632 (NO_CANCELLATION): Likewise.
30633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30634 (NO_CANCELLATION): Likewise.
30635 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30637 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30639 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30641 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30643 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30645 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30646 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30648 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30650 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30653 2017-08-31 Florian Weimer <fweimer@redhat.com>
30655 * include/libc-symbols.h (internal_function): Remove.
30657 2017-08-31 Florian Weimer <fweimer@redhat.com>
30659 * stdlib/fmtmsg.c (internal_addseverity): Remove
30662 2017-08-31 Florian Weimer <fweimer@redhat.com>
30664 * stdio-common/printf_fp.c (group_number): Remove
30666 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30668 2017-08-31 Florian Weimer <fweimer@redhat.com>
30670 * posix/fnmatch.c (internal_function): Remove definition.
30671 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30672 * posix/regcomp.c (peek_token, init_word_char)
30673 (duplicate_node_closure, fetch_token, peek_token)
30674 (peek_token_bracket, build_range_exp, build_collating_symbol):
30676 * posix/regex_internal.c (re_string_construct_common)
30677 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30678 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30679 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30680 (re_string_translate_buffer, re_string_reconstruct)
30681 (re_string_peek_byte_case, re_string_fetch_byte_case)
30682 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30683 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30684 (re_node_set_add_intersect, re_node_set_init_union)
30685 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30686 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30687 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30688 (re_acquire_state_context): Likewise.
30689 * posix/regex_internal.h (internal_function): Remove definition.
30690 (re_string_realloc_buffers, build_wcs_buffer)
30691 (build_wcs_upper_buffer, build_upper_buffer)
30692 (re_string_translate_buffer, re_string_context_at)
30693 (re_string_char_size_at, re_string_wchar_at)
30694 (re_string_elem_size_at): Likewise.
30695 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30696 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30697 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30698 (re_search_internal, re_search_2_stub, re_search_stub)
30699 (re_copy_regs, prune_impossible_nodes, check_matching)
30700 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30701 (free_fail_stack_return, sift_states_iter_mb)
30702 (sift_states_backward, build_sifted_states)
30703 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30704 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30705 (check_subexp_limits, sift_states_bkref, merge_state_array)
30706 (find_recover_state, transit_state, merge_state_with_log)
30707 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30708 (transit_state_mb, transit_state_bkref, get_subexp)
30709 (get_subexp_sub, find_subexp_node, check_arrival)
30710 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30711 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30712 (check_node_accept_bytes, find_collation_sequence_value)
30713 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30714 (acquire_init_state_context, check_halt_node_context)
30715 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30716 (sub_epsilon_src_nodes): Likewise.
30717 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30718 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30719 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30720 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30721 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30722 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30723 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30724 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30725 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30726 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30727 (PREADV): Likewise.
30728 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30729 (PREADV): Likewise.
30730 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30731 (PWRITEV): Likewise.
30732 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30733 (PWRITEV): Likewise.
30734 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30735 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30737 2017-08-31 Florian Weimer <fweimer@redhat.com>
30739 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30740 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30741 Remove internal_function.
30742 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30743 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30744 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30745 (__deallocate_stack, __libc_pthread_init)
30746 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30747 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30748 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30750 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30751 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30752 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30754 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30755 (__pthread_mutex_unlock_usercnt): Likewise.
30757 2017-08-31 Florian Weimer <fweimer@redhat.com>
30759 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30760 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30761 (fts_safe_changedir): Remove internal_function.
30762 * io/ftw.c (internal_function): Remove definition.
30763 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30765 2017-08-31 Florian Weimer <fweimer@redhat.com>
30767 * inet/deadline.c (__deadline_current_time)
30768 (__deadline_from_timeval, __deadline_to_ms): Remove
30770 * inet/getnameinfo.c (nrl_domainname): Likewise.
30771 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30772 * inet/inet6_option.c (add_pad): Likewise.
30773 * inet/net-internal.h (__deadline_current_time)
30774 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30775 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30776 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30777 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30779 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30781 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30782 include <bits/nan.h>.
30783 * math/Makefile (headers): Remove bits/nan.h.
30784 * bits/nan.h: Remove.
30785 * sysdeps/ieee754/bits/nan.h: Likewise.
30786 * sysdeps/mips/bits/nan.h: Likewise.
30788 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30789 not include <bits/inf.h>.
30790 * math/Makefile (headers): Remove bits/inf.h.
30791 * bits/inf.h: Remove.
30792 * sysdeps/ieee754/bits/inf.h: Likewise.
30794 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30795 bits/huge_vall.h or bits/huge_val_flt128.h.
30796 (HUGE_VAL): Define directly here.
30797 [__USE_ISOC99] (HUGE_VALF): Likewise.
30798 [__USE_ISOC99] (HUGE_VALL): Likewise.
30799 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30800 (HUGE_VAL_F128): Likewise.
30801 * math/Makefile (headers): Remove bits/huge_val.h,
30802 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30803 * bits/huge_val.h: Remove.
30804 * bits/huge_val_flt128.h: Likewise.
30805 * bits/huge_valf.h: Likewise.
30806 * bits/huge_vall.h: Likewise.
30807 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30808 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30809 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30810 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30811 * sysdeps/sh/bits/huge_val.h: Likewise.
30812 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30813 * sysdeps/x86/bits/huge_vall.h: Likewise.
30815 2017-08-31 Florian Weimer <fweimer@redhat.com>
30817 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30819 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30821 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30822 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30823 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30824 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30825 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30826 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30827 * elf/dl-libc.c (dlerror_run): Likewise.
30828 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30829 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30830 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30831 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30833 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30834 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30835 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30836 * elf/dl-profile.c (_dl_start_profile): Likewise.
30837 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30838 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30840 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30841 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30842 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30843 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30844 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30845 (_dl_allocate_tls_storage): Likewise.
30846 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30847 (_dl_check_all_versions): Likewise.
30848 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30849 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30850 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30851 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30852 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30853 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30854 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30855 internal_function from __dl_start.
30856 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30857 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30858 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30859 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30860 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30861 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30862 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30863 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30864 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30865 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30866 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30867 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30868 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30869 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30870 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30872 (struct rtld_global_ro): Remove internal_function from the
30873 _dl_lookup_symbol_x member.
30874 (_dl_symbol_value): Remove. No longer defined anywhere.
30875 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30877 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30878 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30879 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30880 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30881 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30882 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30883 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30884 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30885 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30886 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30887 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30888 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30890 2017-08-31 Florian Weimer <fweimer@redhat.com>
30892 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30893 Remove internal_function.
30894 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30896 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30899 2017-08-31 Florian Weimer <fweimer@redhat.com>
30901 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30902 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30903 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30905 2017-08-31 Florian Weimer <fweimer@redhat.com>
30907 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30908 (__gai_enqueue_request): Remove internal_function.
30909 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30910 (__gai_remove_request, __gai_notify, __gai_notify_only)
30911 (__gai_sigqueue): Likewise.
30912 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30913 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30914 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30915 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30918 2017-08-31 Florian Weimer <fweimer@redhat.com>
30920 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30921 * include/dirent.h (__opendirat, __getdents, __getdents64)
30922 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30923 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30924 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30925 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30927 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30929 2017-08-31 Florian Weimer <fweimer@redhat.com>
30931 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30933 (GETCWD_RETURN_TYPE): Likewise.
30935 2017-08-31 Florian Weimer <fweimer@redhat.com>
30937 * include/time.h (__tz_compute, __strptime_internal): Remove
30939 * time/strptime_l.c (__strptime_internal): Likewise.
30940 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30942 2017-08-31 Florian Weimer <fweimer@redhat.com>
30944 * iconv/gconv.c (__gconv): Remove internal_function.
30945 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30946 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30947 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30948 (__gconv_release_cache): Likewise.
30949 * iconv/gconv_close.c (__gconv_close): Likewise.
30950 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30951 (read_conf_file, __gconv_get_path): Likewise.
30952 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30953 (__gconv_release_step, gen_steps, increment_counter)
30954 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30955 (__gconv_close_transform, free_modules_db): Likewise.
30956 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30958 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30959 (__gconv_find_transform, __gconv_lookup_cache)
30960 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30961 (__gconv_close_transform, __gconv_release_cache)
30962 (__gconv_loaded_object, __gconv_release_shlib)
30963 (__gconv_compare_alias): Likewise.
30964 * iconv/gconv_open.c (__gconv_open): Likewise.
30965 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30966 * iconv/iconvconfig.c (add_module): Likewise.
30967 * intl/dcigettext.c (plural_lookup, guess_category_value)
30968 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30969 * intl/eval-plural.h (plural_eval): Likewise.
30970 * intl/finddomain.c (_nl_find_domain): Likewise.
30971 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30972 (_nl_load_domain, _nl_find_msg): Likewise.
30973 (internal_function): Remove definition.
30974 * intl/loadinfo.h (internal_function): Likewise.
30975 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30977 * intl/localealias.c (internal_function): Remove definition.
30978 (read_alias_file): Remove internal_function.
30979 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30980 * intl/plural-exp.h (internal_function): Remove definition.
30981 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30983 * intl/plural.c: Regenerate.
30984 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30985 * locale/coll-lookup.c (__collidx_table_lookup)
30986 (__collseq_table_lookup): Likewise.
30987 * locale/coll-lookup.h (__collidx_table_lookup)
30988 (__collseq_table_lookup): Likewise.
30989 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30990 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30991 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30992 (_nl_unload_locale): Likewise.
30993 * locale/localeinfo.h (struct __locale_data): Remove
30994 internal_function from cleanup member.
30995 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30996 (_nl_remove_locale, _nl_load_locale_from_archive)
30997 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30998 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30999 (_nl_cleanup_time): Remove internal_function.
31000 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31001 (_nl_parse_alt_digit): Likewise.
31002 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31003 (_nl_select_era_entry): Likewise.
31004 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31005 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31006 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31007 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31008 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31010 2017-08-31 Florian Weimer <fweimer@redhat.com>
31012 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31013 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31014 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31015 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31017 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31018 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31019 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31020 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31022 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31024 2017-08-31 Florian Weimer <fweimer@redhat.com>
31026 * misc/getttyent.c (skip, value): Remove internal_function.
31027 * misc/syslog.c (openlog_internal): Likewise.
31028 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31030 2017-08-31 Florian Weimer <fweimer@redhat.com>
31032 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31033 (__nss_rewrite_field): Remove internal_function.
31034 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31035 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31036 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31037 * nss/nsswitch.c (nss_parse_file, nss_getline)
31038 (nss_parse_service_list, nss_new_service): Likewise.
31039 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31040 * nss/valid_field.c (__nss_valid_field): Likewise.
31041 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31043 2017-08-31 Florian Weimer <fweimer@redhat.com>
31045 * malloc/arena.c (__malloc_fork_lock_parent)
31046 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31047 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31048 internal_function from defintions.
31049 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31050 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31051 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31052 internal_function from declarations.
31053 * malloc/malloc.c (internal_function): Do not define.
31054 (mem2mem_check): Remove internal_function from declaration.
31055 (munmap_chunk, mremap_chunk): Remove internal_function.
31056 * malloc/mtrace.c (tr_where): Likewise.
31058 2017-08-31 Florian Weimer <fweimer@redhat.com>
31060 * include/rpc/pmap_clnt.h (__get_socket): Remove
31062 * sunrpc/auth_des.c (synchronize): Likewise.
31063 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31064 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31065 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31066 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31067 (key_call): Likewise.
31068 * sunrpc/pm_getport.c (__get_socket): Likewise.
31069 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31070 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31071 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31072 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31073 (invalidate): Likewise.
31074 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31075 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31076 (set_input_fragment, get_input_bytes): Likewise.
31078 2017-08-31 Florian Weimer <fweimer@redhat.com>
31080 * malloc/malloc.c (_int_free): Remove locked variable and related
31083 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31086 * Makerules (build-module-helper-objlist): Filter out
31087 $(elf-objpfx)sofini.os.
31088 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31091 2017-08-31 Florian Weimer <fweimer@redhat.com>
31093 * libio/fcloseall.c: Assume weak_alias is defined.
31094 * libio/feof.c: Likewise.
31095 * libio/fileno.c: Likewise.
31096 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31097 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31099 (_IO_file_open): Call __open directly.
31100 (_IO_new_file_sync): Assume ESPIPE is defined.
31101 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31102 (_IO_new_file_write): Call __write directly.
31103 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31104 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31105 * libio/genops.c: Assume _LIBC is defined.
31106 (save_for_backup): Remove internal_function.
31107 * libio/getc.c: Assume weak_alias is defined.
31108 * libio/getwc.c: Likewise.
31109 * libio/iofclose.c: Assume _LIBC is defined.
31110 * libio/iofdopen.c: Likewise.
31111 (_IO_fcntl): Remove macro definition.
31112 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31113 Call __fcntl directly.
31114 * libio/iofflush.c: Assume weak_alias is defined.
31115 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31117 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31118 * libio/iofgets.c: Likewise.
31119 * libio/iofopen.c: Assume _LIBC is defined.
31120 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31121 * libio/iofputs.c: Assume weak_alias is defined.
31122 * libio/iofread.c: Likewise.
31123 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31124 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31125 * libio/ioftell.c: Assume weak_alias is defined.
31126 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31127 * libio/iofwide.c: Assume _LIBC is defined.
31128 (_IO_fwide): Drop SHARED conditional because it is implied by
31130 * libio/iofwrite.c: Assume weak_alias is defined.
31131 * libio/iogetdelim.c: Likewise.
31132 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31133 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31134 (_IO_getwline): Call __wmemcpy directly.
31135 * libio/iopopen.c: Assume _LIBC is defined.
31136 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31137 (_IO_close): Remove macro definitions.
31138 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31140 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31142 * libio/ioputs.c: Assume weak_alias is defined.
31143 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31144 * libio/iosetbuffer.c: Assume weak_alias is defined.
31145 * libio/iosetvbuf.c: Likewise.
31146 * libio/ioungetc.c: Likewise.
31147 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31148 libc_hidden_def, libc_hidden_weak, NULL are defined.
31149 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31150 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31152 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31154 (_IO_old_file_init_internal): Drop SHARED conditional because it
31155 is implied by SHLIB_COMPAT.
31156 (_IO_old_file_fopen): Call __open directly.
31157 (_IO_old_file_sync): Assume ESPIPE is defined.
31158 (_IO_old_file_write): Call __write directly.
31159 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31160 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31161 Call __fcntl directly.
31162 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31163 (_IO_old_fgetpos): Assume EIO is defined.
31164 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31165 (_IO_old_fgetpos64): Assume EIO is defined.
31166 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31167 (_IO_old_fsetpos): Assume EIO is defined.
31168 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31169 (_IO_old_fsetpos64): Assume EIO is defined.
31170 * libio/oldiopopen.c: Assume _LIBC is defined.
31171 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31172 (_IO_close): Remove macro definitions.
31173 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31175 (_IO_old_proc_close): Call __close, __waitpid directly.
31176 * libio/put.c: Assume weak_alias is defined.
31177 * libio/stdfiles.c: Assume _LIBC is defined.
31178 * libio/stdio.c: Likewise.
31179 * libio/wfileops.c: Likewise.
31180 (_IO_wfile_sync): Assume ESPIPE is defined.
31181 * libio/wgenops.c: Assume _LIBC is defined.
31182 (save_for_wbackup): Remove internal_function.
31184 2017-08-31 Florian Weimer <fweimer@redhat.com>
31186 * malloc/malloc.c (top_check): Change return type to void. Remove
31188 * malloc/hooks.c (top_check): Likewise.
31189 (malloc_check, realloc_check, memalign_check): Adjust.
31191 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31194 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31195 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31196 sigcontext and namespace requirements.
31197 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31198 * sysdeps/m68k/sys/ucontext.h: Likewise.
31199 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31200 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31201 <bits/sigcontext.h>.
31202 (__ctx): Define earlier.
31203 (mcontext_t): Define structure contents rather than using struct
31205 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31206 __glibc_reserved1 instead of __reserved.
31207 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31208 <bits/sigcontext.h>.
31209 (__ctx): Define earlier.
31210 (mcontext_t): Define structure contents rather than using struct
31212 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31213 mcontext_t instead of struct sigcontext.
31214 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31215 <bits/sigcontext.h>.
31216 (__ctx): Define earlier.
31217 (mcontext_t): Define structure contents rather than using struct
31219 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31220 <bits/sigcontext.h>.
31221 (__ctx): Define earlier.
31222 (mcontext_t): Define structure contents rather than using struct
31224 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31225 mcontext_t instead of struct sigcontext.
31226 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31227 mcontext_t instead of struct sigcontext.
31228 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31229 <bits/sigcontext.h>.
31230 (__ctx): New macro.
31231 (struct __ia64_fpreg_mcontext): New type.
31232 (mcontext_t): Define structure contents rather than using struct
31234 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31235 (uc_sigmask): Define using __ctx.
31236 (uc_stack): Likewise.
31237 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31238 <bits/sigcontext.h>.
31239 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31240 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31241 <bits/sigcontext.h>.
31242 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31243 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31244 <bits/sigcontext.h>.
31245 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31246 <bits/sigcontext.h>.
31247 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31248 <bits/sigcontext.h>.
31249 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31250 <bits/sigcontext.h>.
31251 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31252 <bits/sigcontext.h>.
31253 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31254 <bits/sigcontext.h>.
31255 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31256 <bits/sigcontext.h>.
31257 (__ctx): Define earlier.
31258 (mcontext_t): Define structure contents rather than using struct
31260 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31261 <bits/sigcontext.h>. Include <bits/types.h>.
31262 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31263 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31264 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31265 (test-xfail-UNIX98/signal.h/conform): Likewise.
31266 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31267 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31268 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31269 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31270 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31271 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31272 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31273 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31274 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31276 2017-08-30 Florian Weimer <fweimer@redhat.com>
31278 * malloc/dynarray_emplace_enlarge.c
31279 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31280 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31281 * malloc/tst-dynarray.c (test_long_overflow): New function.
31282 (do_test): Call it.
31284 2017-08-30 Florian Weimer <fweimer@redhat.com>
31286 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31287 (set_arena_corrupt): Remove definitions.
31288 (mtrim): Do not check for corrupt arena.
31289 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31292 2017-08-30 Florian Weimer <fweimer@redhat.com>
31295 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31297 (ptmalloc_init): Do not set or use check_action.
31298 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31299 call to malloc_printerr. Remove return statement.
31300 (free_check): Likewise. Remove arena unlock.
31301 (top_check): Update comment. Adjust call to malloc_printerr.
31302 Remove heap repair code.
31303 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31304 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31305 (sysmalloc): Adjust call to malloc_printerr.
31306 (munmap_chunk, __libc_realloc): Likewise. Remove return
31308 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31309 Remove errout label and corresponding gotos.
31310 (_int_free): Likewise. Remove arena unlock.
31311 (do_set_mallopt_check): Do not set check_action.
31312 (malloc_printerr): Adjust parameter list. Do not mark arena as
31314 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31316 * manual/probes.texi (Memory Allocation Probes): Remove
31317 memory_mallopt_check_action.
31319 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31321 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31322 Use pointer to uint64_t instead of long int for sp.
31324 2017-08-30 Florian Weimer <fweimer@redhat.com>
31327 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31328 without printing a backtrace. Do not leak any information in the
31330 * manual/memory.texi (Heap Consistency Checking): Update.
31331 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31333 2017-08-30 Florian Weimer <fweimer@redhat.com>
31335 Do not scale NPTL tests with available number of CPUs.
31336 * nptl/tst-cond16.c (count): Set to constant value of 8.
31337 * nptl/tst-cond18.c (count): Likewise.
31339 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31342 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31343 Define to take a second argument that is a macro that
31344 concatentates a suffix, not the suffix itself.
31345 (__CONCAT_d): New macro.
31346 (__CONCAT_f): Likewise.
31347 (__CONCAT_l): Likewise.
31349 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31351 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31354 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31355 Aurelien Jarno <aurelien@aurel32.net>
31356 Maciej W. Rozycki <macro@imgtec.com>
31359 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31360 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31361 `mips16-syscall6' and `mips16-syscall7'.
31362 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31363 (CFLAGS-mips16-syscall7.c): Remove.
31364 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31365 Remove `__mips16_syscall5', `__mips16_syscall6' and
31366 `__mips16_syscall7'.
31367 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31368 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31369 `__mips_syscall_return'.
31370 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31371 (__mips16_syscall1): Likewise.
31372 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31373 (__mips16_syscall2): Likewise.
31374 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31375 (__mips16_syscall3): Likewise.
31376 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31377 (__mips16_syscall4): Likewise.
31378 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31380 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31382 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31384 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31385 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31386 `__mips16_syscall5'. Remove prototype.
31387 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31388 `__mips16_syscall6'. Remove prototype.
31389 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31390 `__mips16_syscall7'. Remove prototype.
31391 (__nomips16, __mips16_syscall_return): Move to...
31392 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31393 (__nomips16, __mips_syscall_return): ... here.
31394 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31395 `__mips16_syscall_return' to `__mips_syscall_return'.
31396 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31397 `internal_syscall##nr'.
31398 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31399 `internal_syscall##nr'.
31400 (FORCE_FRAME_POINTER): Remove.
31401 (__mips_syscall5): New prototype.
31402 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31403 (__mips_syscall6): New prototype.
31404 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31405 (__mips_syscall7): New prototype.
31406 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31407 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31408 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31409 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31410 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31411 (sysdep_routines): Add libc-do-syscall.
31412 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31413 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31415 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31418 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31419 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31420 (advise_stack_range): New function.
31421 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31422 stack non required to advise_stack_range at allocatestack.c
31424 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31426 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31428 2017-08-29 Florian Weimer <fweimer@redhat.com>
31431 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31432 __end_fct. Mangle __end_fct after setting it to NULL.
31433 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31434 (modules-names, modules-names-tests): Add
31435 tst-gconv-init-failure-mod.
31436 (gconv-modules): New target.
31437 (tst-gconv-init-failure-mod.so): Link against libsupport.
31438 (tst-gconv-init-failure): Depend on gconv-modules,
31439 tst-gconv-init-failure-mod.so.
31440 * iconv/tst-gconv-init-failure-mod.c: New file.
31441 * iconv/tst-gconv-init-failure.c: Likewise.
31442 * iconv/test-gconv-modules: Likewise.
31444 2017-08-29 Florian Weimer <fweimer@redhat.com>
31447 * iconv/gconv_db.c (free_derivation): Remove redundant
31449 (gen_steps): Unconditionally mangle __btowc_fct after
31451 (increment_counter): Likewise. Do not call init_fct for internal
31454 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31457 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31458 (_MSUF_): Remove macro.
31459 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31461 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31462 (__REDIRFROM_X): New macro.
31463 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31465 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31466 (__REDIRTO_X): Likewise.
31467 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31469 (__MATH_REDIRCALL_2): Likewise.
31470 (__MATH_REDIRCALL_INTERNAL): Likewise.
31471 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31472 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31473 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31474 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31475 * math/test-finite-macros.c: New file.
31476 * math/Makefile (tests): Add test-finite-macros.
31477 (CFLAGS-test-finite-macros.c): New variable.
31479 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31480 Jeff Law <law@redhat.com>
31483 Mangle NULL pointers in iconv/gconv.
31484 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31485 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31486 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31487 is non-NULL before demangling the end_fct. Check for NULL
31488 end_fct after demangling.
31489 (__gconv_release_step): Demangle the end_fct before checking
31490 it for NULL. Remove assert on __shlibc_handle != NULL.
31491 (gen_steps): Don't check btowc_fct for NULL before mangling.
31492 Demangle init_fct before checking for NULL.
31493 (increment_counter): Likewise.
31494 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31495 end_fct for NULL before mangling.
31496 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31499 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31502 * locale/iso-639.def: add Morisyen.
31504 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31507 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31508 (iszero): New C++ implementation that does not use
31509 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31510 signaling nans are enabled, since __builtin_types_compatible_p
31511 is a C-only feature.
31512 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31513 defined, include ieee754_float128.h for access to the union and
31514 member ieee854_float128.ieee.
31515 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31516 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31517 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31518 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31519 options of test-math-zero on powerpc64le.
31521 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31523 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31524 Change double to float.
31526 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31528 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31530 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31531 conditional code; define contents only for [LIBM_SVID_COMPAT].
31533 2017-08-28 Florian Weimer <fweimer@redhat.com>
31535 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31536 (abi-lp64_be-options): Remove.
31537 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31538 (abi-hard-options): Likewise.
31539 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31540 (abi-o32_hard-options, abi-o32_soft_2008-options)
31541 (abi-o32_hard_2008-options, abi-n32_soft-options)
31542 (abi-n32_hard-options, abi-n32_soft_2008-options)
31543 (abi-n32_hard_2008-options, abi-n64_soft-options)
31544 (abi-n64_hard-options, abi-n64_soft_2008-options)
31545 (abi-n64_hard_2008-options): Likewise.
31546 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31547 (abi-64-v1-options, abi-64-v2-options): Likewise.
31548 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31549 (abi-64-options): Likewise.
31550 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31551 (abi-64-options): Likewise.
31552 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31553 (abi-64-options): Likewise.
31554 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31555 (abi-64-options, abi-x32-options): Likewise.
31557 2017-08-28 Florian Weimer <fweimer@redhat.com>
31559 Store supported list of SYS_* system calls in the source tree.
31560 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31561 (bits/syscall.h): Generate from list file.
31562 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31563 [$(subdir) = misc] (tests): Add tst-syscall-list.
31564 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31565 [$(subdir) = misc] (tst-syscall-list-macros.list)
31566 [$(subdir) = misc] (tst-syscall-list-nr.list)
31567 (tst-syscall-list-sys.list): Helper targets for new
31568 tst-syscall-list test.
31569 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31570 tst-syscall-list.sh.
31571 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31572 target. Do not include bits/syscall.d.
31573 [$(subdir) = misc] (generated): Do not update.
31574 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31575 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31576 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31577 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31579 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31581 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31582 (tst-cxa_atexit, tst-on_exit): Likewise.
31583 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31584 tst-cxa_atexit, and tst-on_exit.
31585 * stdlib/tst-atexit-common.c: New file.
31586 * stdlib/tst-atexit.c: New file.
31587 * stdlib/tst-at_quick_exit.c: New file.
31588 * stdlib/tst-cxa_atexit.c: New file.
31589 * stdlib/tst-on_exit.c: New file.
31591 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31593 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31594 * mach/stack_chk_fail_local.c: New file.
31595 * hurd/stack_chk_fail_local.c: New file.
31596 * mach/Machrules ($(interface-library)-routines): Add
31597 stack_chk_fail_local.
31598 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31599 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31600 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31601 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31602 * hurd/Makefile (CFLAGS-hurdstartup.o,
31603 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31605 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31607 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31608 (index_cpu_*, index_arch_*): Removed.
31610 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31612 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31613 Use uint64_t instead of unsigned long.
31615 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31617 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31618 [__HAVE_DISTINCT_FLOAT128].
31620 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31621 of <bits/math-finite.h>.
31622 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31623 inclusion of <bits/math-finite.h>.
31624 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31625 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31626 __NO_LONG_DOUBLE_MATH].
31627 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31628 (__MATH_REDIRCALL_2): Likewise.
31629 (__MATH_REDIRCALL_INTERNAL): Likewise.
31630 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31631 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31632 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31646 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31647 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31648 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31649 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31651 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31652 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31653 w_sqrtf_compat-ppc32.
31655 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31657 * math/math.h [defined __cplusplus] (issignaling): In the long
31658 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31659 is not defined. Call __issignaling, otherwise.
31661 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31663 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31664 syscall definitions and replace __builtin_expect with __glibc_likely.
31665 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31667 (SYSCALL_CANCELLABLE): Removedefinition
31668 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31670 (PSEUDO_END): Likewise.
31671 [IS_IN (libpthread)] (CENABLE): Likewise.
31672 [IS_IN (libpthread)] (CDISABLE): Likewise.
31673 [IS_IN (libc)] (CENABLE): Likewise.
31674 [IS_IN (libc)] (CENABLE): Likewise.
31675 [IS_IN (librt)] (CDISABLE): Likewise.
31676 [IS_IN (librt)] (CDISABLE): Likewise.
31677 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31678 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31680 (PSEUDO_END): Likewise.
31681 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31682 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31683 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31684 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31685 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31686 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31687 (CENABLE): Likewise.
31688 (CDISABLE): Likewise.
31689 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31690 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31692 (PSEUDO_END): Likewise.
31693 [IS_IN (libpthread)] (CENABLE): Likewise.
31694 [IS_IN (libpthread)] (CDISABLE): Likewise.
31695 [IS_IN (libc)] (CENABLE): Likewise.
31696 [IS_IN (libc)] (CENABLE): Likewise.
31697 [IS_IN (librt)] (CDISABLE): Likewise.
31698 [IS_IN (librt)] (CDISABLE): Likewise.
31699 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31700 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31702 (PSEUDO_END): Likewise.
31703 [IS_IN (libpthread)] (CENABLE): Likewise.
31704 [IS_IN (libpthread)] (CDISABLE): Likewise.
31705 [IS_IN (libc)] (CENABLE): Likewise.
31706 [IS_IN (libc)] (CENABLE): Likewise.
31707 [IS_IN (librt)] (CDISABLE): Likewise.
31708 [IS_IN (librt)] (CDISABLE): Likewise.
31709 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31710 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31712 (PSEUDO_END): Likewise.
31713 [IS_IN (libpthread)] (CENABLE): Likewise.
31714 [IS_IN (libpthread)] (CDISABLE): Likewise.
31715 [IS_IN (libc)] (CENABLE): Likewise.
31716 [IS_IN (libc)] (CENABLE): Likewise.
31717 [IS_IN (librt)] (CDISABLE): Likewise.
31718 [IS_IN (librt)] (CDISABLE): Likewise.
31719 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31720 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31722 (PSEUDO_END): Likewise.
31723 [IS_IN (libpthread)] (CENABLE): Likewise.
31724 [IS_IN (libpthread)] (CDISABLE): Likewise.
31725 [IS_IN (libc)] (CENABLE): Likewise.
31726 [IS_IN (libc)] (CENABLE): Likewise.
31727 [IS_IN (librt)] (CDISABLE): Likewise.
31728 [IS_IN (librt)] (CDISABLE): Likewise.
31729 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31730 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31732 (PSEUDO_END): Likewise.
31733 [IS_IN (libpthread)] (CENABLE): Likewise.
31734 [IS_IN (libpthread)] (CDISABLE): Likewise.
31735 [IS_IN (libc)] (CENABLE): Likewise.
31736 [IS_IN (libc)] (CENABLE): Likewise.
31737 [IS_IN (librt)] (CDISABLE): Likewise.
31738 [IS_IN (librt)] (CDISABLE): Likewise.
31739 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31740 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31742 (PSEUDO_END): Likewise.
31743 [IS_IN (libpthread)] (CENABLE): Likewise.
31744 [IS_IN (libpthread)] (CDISABLE): Likewise.
31745 [IS_IN (libc)] (CENABLE): Likewise.
31746 [IS_IN (libc)] (CENABLE): Likewise.
31747 [IS_IN (librt)] (CDISABLE): Likewise.
31748 [IS_IN (librt)] (CDISABLE): Likewise.
31749 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31750 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31752 (PSEUDO_END): Likewise.
31753 [IS_IN (libpthread)] (CENABLE): Likewise.
31754 [IS_IN (libpthread)] (CDISABLE): Likewise.
31755 [IS_IN (libc)] (CENABLE): Likewise.
31756 [IS_IN (libc)] (CENABLE): Likewise.
31757 [IS_IN (librt)] (CDISABLE): Likewise.
31758 [IS_IN (librt)] (CDISABLE): Likewise.
31759 (SINGLE_THREAD_P): Likewise.
31760 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31762 (PSEUDO_END): Likewise.
31763 [IS_IN (libpthread)] (CENABLE): Likewise.
31764 [IS_IN (libpthread)] (CDISABLE): Likewise.
31765 [IS_IN (libc)] (CENABLE): Likewise.
31766 [IS_IN (libc)] (CENABLE): Likewise.
31767 [IS_IN (librt)] (CDISABLE): Likewise.
31768 [IS_IN (librt)] (CDISABLE): Likewise.
31769 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31770 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31772 (PSEUDO_END): Likewise.
31773 [IS_IN (libpthread)] (CENABLE): Likewise.
31774 [IS_IN (libpthread)] (CDISABLE): Likewise.
31775 [IS_IN (libc)] (CENABLE): Likewise.
31776 [IS_IN (libc)] (CENABLE): Likewise.
31777 [IS_IN (librt)] (CDISABLE): Likewise.
31778 [IS_IN (librt)] (CDISABLE): Likewise.
31779 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31780 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31781 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31782 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31785 (PSEUDO_END): Likewise.
31786 [IS_IN (libpthread)] (CENABLE): Likewise.
31787 [IS_IN (libpthread)] (CDISABLE): Likewise.
31788 [IS_IN (libc)] (CENABLE): Likewise.
31789 [IS_IN (libc)] (CENABLE): Likewise.
31790 [IS_IN (librt)] (CDISABLE): Likewise.
31791 [IS_IN (librt)] (CDISABLE): Likewise.
31792 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31793 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31795 (PSEUDO_END): Likewise.
31796 [IS_IN (libpthread)] (CENABLE): Likewise.
31797 [IS_IN (libpthread)] (CDISABLE): Likewise.
31798 [IS_IN (libc)] (CENABLE): Likewise.
31799 [IS_IN (libc)] (CENABLE): Likewise.
31800 [IS_IN (librt)] (CDISABLE): Likewise.
31801 [IS_IN (librt)] (CDISABLE): Likewise.
31802 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31803 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31805 (PSEUDO_END): Likewise.
31806 [IS_IN (libpthread)] (CENABLE): Likewise.
31807 [IS_IN (libpthread)] (CDISABLE): Likewise.
31808 [IS_IN (libc)] (CENABLE): Likewise.
31809 [IS_IN (libc)] (CENABLE): Likewise.
31810 [IS_IN (librt)] (CDISABLE): Likewise.
31811 [IS_IN (librt)] (CDISABLE): Likewise.
31812 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31815 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31816 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31818 (PSEUDO_END): Likewise.
31819 [IS_IN (libpthread)] (CENABLE): Likewise.
31820 [IS_IN (libpthread)] (CDISABLE): Likewise.
31821 [IS_IN (libc)] (CENABLE): Likewise.
31822 [IS_IN (libc)] (CENABLE): Likewise.
31823 [IS_IN (librt)] (CDISABLE): Likewise.
31824 [IS_IN (librt)] (CDISABLE): Likewise.
31825 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31826 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31828 (PSEUDO_END): Likewise.
31829 [IS_IN (libpthread)] (CENABLE): Likewise.
31830 [IS_IN (libpthread)] (CDISABLE): Likewise.
31831 [IS_IN (libc)] (CENABLE): Likewise.
31832 [IS_IN (libc)] (CENABLE): Likewise.
31833 [IS_IN (librt)] (CDISABLE): Likewise.
31834 [IS_IN (librt)] (CDISABLE): Likewise.
31835 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31837 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31839 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31841 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31843 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31845 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31848 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31849 middle and outer with size_t instead of int. Repleace %d and
31850 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31851 "MAX (outer, nchars - 64)" to support unsigned outer and
31852 nchars. Also exit loop when outer == 0.
31854 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31856 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31857 * include/signal.h (__sigsuspend_nocancel): Likewise.
31858 * include/time.h (__nanosleep_nocancel): Likewise.
31859 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31860 * login/utmp_file.c: Include non cancellable syscall header.
31861 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31864 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31866 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31867 .byte sequences with AVX512F instructions.
31868 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31869 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31870 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31871 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31873 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31876 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31877 Steve Ellcey <sellcey@cavium.com>
31879 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31880 Use PTR_REG macro in cmp instruction.
31882 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31884 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31885 Change the return type of the ifunc resolver to match the return
31886 type of the target function.
31888 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31890 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31891 (preadv64): Likewise.
31892 (pwrite64(: Likewise.
31893 (pwritev64): Likewise.
31895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31896 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31897 (LOAD_ARGS_0): Likewise.
31898 (LOAD_ARGS_1): Likewise.
31899 (LOAD_ARGS_2): Likewise.
31900 (LOAD_ARGS_3): Likewise.
31901 (LOAD_ARGS_4): Likewise.
31902 (LOAD_ARGS_5): Likewise.
31903 (LOAD_ARGS_6): Likewise.
31904 (LOAD_REGS_0): Likewise.
31905 (LOAD_REGS_1): Likewise.
31906 (LOAD_REGS_2): Likewise.
31907 (LOAD_REGS_3): Likewise.
31908 (LOAD_REGS_4): Likewise.
31909 (LOAD_REGS_5): Likewise.
31910 (LOAD_REGS_6): Likewise.
31911 (ASM_ARGS_0): Likewise.
31912 (ASM_ARGS_1): Likewise.
31913 (ASM_ARGS_2): Likewise.
31914 (ASM_ARGS_3): Likewise.
31915 (ASM_ARGS_4): Likewise.
31916 (ASM_ARGS_5): Likewise.
31917 (ASM_ARGS_6): Likewise.
31918 (LOAD_ARGS_TYPES_1): Likewise.
31919 (LOAD_ARGS_TYPES_2): Likewise.
31920 (LOAD_ARGS_TYPES_3): Likewise.
31921 (LOAD_ARGS_TYPES_4): Likewise.
31922 (LOAD_ARGS_TYPES_5): Likewise.
31923 (LOAD_ARGS_TYPES_6): Likewise.
31924 (LOAD_REGS_TYPES_1): Likewise.
31925 (LOAD_REGS_TYPES_2): Likewise.
31926 (LOAD_REGS_TYPES_3): Likewise.
31927 (LOAD_REGS_TYPES_4): Likewise.
31928 (LOAD_REGS_TYPES_5): Likewise.
31929 (LOAD_REGS_TYPES_6): Likewise.
31930 (TYPEFY): New define.
31931 (ARGIFY): Likewise.
31932 (internal_syscall0): Likewise.
31933 (internal_syscall1): Likewise.
31934 (internal_syscall2): Likewise.
31935 (internal_syscall3): Likewise.
31936 (internal_syscall4): Likewise.
31937 (internal_syscall5): Likewise.
31938 (internal_syscall6): Likewise.
31939 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31940 (INTERNAL_SYSCALL_NCS): Remove define.
31941 (internal_syscall1): Add define.
31943 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31945 * math/w_remainder_compat.c: Remove duplicate inclusion of
31946 math-svid-compat.h.
31947 * math/w_remainderf_compat.c: Likewise.
31948 * math/w_remainderl_compat.c: Likewise.
31950 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31954 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31957 * math/tgmath.h (__floating_type): Simplify definitions.
31958 (__real_integer_type): New macro.
31959 (__complex_integer_type): Likewise.
31960 (__expr_is_real): Likewise.
31961 (__tgmath_real_type_sub): Update comment to describe handling of
31963 (__tgmath_complex_type_sub): New macro.
31964 (__tgmath_complex_type): Likewise.
31965 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31966 (__TGMATH_CF128): Use __expr_is_real.
31967 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31969 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31970 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31971 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31974 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31976 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31978 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31980 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31983 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31984 nanosleep_not_cancel with __nanosleep_nocancel.
31985 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31986 (__nanosleep_nocancel): New macro.
31987 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31989 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31991 (__nanosleep_nocancel): New prototype.
31993 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31994 pause_not_cancel with __pause_nocancel.
31995 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31996 (__pause_nocancel): New macro.
31997 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31999 (__pause_nocancel): New prototype.
32000 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32002 2017-08-22 Martin Sebor <msebor@redhat.com>
32004 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32005 to return a pointer to the same type as the target function.
32007 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32011 * include/printf.h (__printf_fphex): Add attribute_hidden.
32012 (__guess_grouping): New prototype.
32013 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32014 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32015 libc_hidden_proto and libc_hidden_def.
32016 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32017 (__vstrfmon_l): Remove the third argument passed to
32020 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32022 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32023 definition for issignaling that does not rely on __MATH_TG,
32024 since __MATH_TG uses __builtin_types_compatible_p, which is only
32025 available in C mode.
32026 (CFLAGS-test-math-issignaling.cc): New variable.
32027 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32028 * math/test-math-issignaling.cc: New test for C++ implementation
32029 of type-generic issignaling.
32030 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32031 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32032 options of test-math-issignaling on powerpc64le.
32034 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32036 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32038 (hidden_proto): Likewise.
32039 (hidden_tls_proto): Likewise.
32040 (__hidden_proto): Likewise.
32042 2017-08-22 Florian Weimer <fweimer@redhat.com>
32044 math: Statically link tests of internal functionality.
32045 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32047 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32048 (gmp-objs): Remove assignment.
32049 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32051 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32054 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32056 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32058 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32061 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32062 variable definitions above inclusion of ../Rules.
32064 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32066 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32067 case calling __builtin_unreachable.
32069 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32071 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32072 __waitpid_nocancel.
32073 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32074 (__waitpid_nocancel): New macro.
32075 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32077 (__waitpid_nocancel): Replace macro with a function.
32078 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32081 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32083 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32084 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32086 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32087 __writev_nocancel_nostatus.
32088 (write_call_graph): Likewise.
32089 (write_bb_counts): Likewise.
32090 * resolv/herror.c (herror): Likewise.
32091 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32093 (__writev_nocancel_nostatus): New macro.
32094 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32096 (__writev_nocancel_nostatus): New function.
32098 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32101 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32103 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32105 (hidden_proto): Likewise.
32106 (hidden_tls_proto): Likewise.
32107 (__hidden_proto): Likewise.
32110 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32111 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32120 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32121 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32122 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32123 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32124 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32125 GLIBC_2.0 sqrtl symbol.
32127 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32128 [__USE_MISC] (_LIB_VERSION): Likewise.
32129 [__USE_MISC] (struct exception): Likewise.
32130 [__USE_MISC] (matherr): Likewise.
32131 [__USE_MISC] (DOMAIN): Likewise.
32132 [__USE_MISC] (SING): Likewise.
32133 [__USE_MISC] (OVERFLOW): Likewise.
32134 [__USE_MISC] (UNDERFLOW): Likewise.
32135 [__USE_MISC] (TLOSS): Likewise.
32136 [__USE_MISC] (PLOSS): Likewise.
32137 [__USE_MISC] (HUGE): Likewise.
32138 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32139 * math/math-svid-compat.h: New file.
32140 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32142 * include/math.h [!_ISOMAC] (__matherr): Remove.
32143 * manual/arith.texi (FP Exceptions): Do not document matherr.
32144 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32145 (tests-internal): New variable.
32146 (install-lib): Do not add libieee.a.
32147 (non-lib.a): Likewise.
32148 (extra-objs): Do not add libieee.a and ieee-math.o.
32149 (CPPFLAGS-s_lib_version.c): Remove variable.
32150 ($(objpfx)libieee.a): Remove rule.
32151 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32152 * math/ieee-math.c: Remove.
32153 * math/libm-test-support.c (matherr): Remove.
32154 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32155 and license notices. Include <math-svid-compat.h> and
32157 (matherr): Undefine as macro. Use compat_symbol_reference.
32158 (_LIB_VERSION): Likewise.
32159 * math/test-matherr-2.c: New file.
32160 * math/test-matherr-3.c: Likewise.
32161 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32163 (__kernel_standard_f): Likewise.
32164 (__kernel_standard_l): Likewise.
32165 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32166 <math_private.h>. Include <math-svid-compat.h>.
32167 (_LIB_VERSION): Undefine as macro.
32168 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32169 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32170 [LIBM_SVID_COMPAT], use compat_symbol.
32171 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32172 <math_private.h>. Include <math-svid-compat.h>.
32173 (matherr): Undefine as macro.
32174 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32176 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32177 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32178 compat_symbol_reference.
32179 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32180 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32181 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32182 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32183 (MATHERR_D): Remove declaration.
32184 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32185 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32186 [LIBM_BUILD] (pmatherrf): Likewise.
32187 [LIBM_BUILD] (pmatherr): Likewise.
32188 [LIBM_BUILD] (pmatherrl): Likewise.
32189 (DOMAIN): Likewise.
32191 (OVERFLOW): Likewise.
32192 (UNDERFLOW): Likewise.
32195 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32196 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32198 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32199 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32201 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32202 * math/w_acos_compat.c: Likewise.
32203 * math/w_acosf_compat.c: Likewise.
32204 * math/w_acosh_compat.c: Likewise.
32205 * math/w_acoshf_compat.c: Likewise.
32206 * math/w_acoshl_compat.c: Likewise.
32207 * math/w_acosl_compat.c: Likewise.
32208 * math/w_asin_compat.c: Likewise.
32209 * math/w_asinf_compat.c: Likewise.
32210 * math/w_asinl_compat.c: Likewise.
32211 * math/w_atan2_compat.c: Likewise.
32212 * math/w_atan2f_compat.c: Likewise.
32213 * math/w_atan2l_compat.c: Likewise.
32214 * math/w_atanh_compat.c: Likewise.
32215 * math/w_atanhf_compat.c: Likewise.
32216 * math/w_atanhl_compat.c: Likewise.
32217 * math/w_cosh_compat.c: Likewise.
32218 * math/w_coshf_compat.c: Likewise.
32219 * math/w_coshl_compat.c: Likewise.
32220 * math/w_exp10_compat.c: Likewise.
32221 * math/w_exp10f_compat.c: Likewise.
32222 * math/w_exp10l_compat.c: Likewise.
32223 * math/w_exp2_compat.c: Likewise.
32224 * math/w_exp2f_compat.c: Likewise.
32225 * math/w_exp2l_compat.c: Likewise.
32226 * math/w_fmod_compat.c: Likewise.
32227 * math/w_fmodf_compat.c: Likewise.
32228 * math/w_fmodl_compat.c: Likewise.
32229 * math/w_hypot_compat.c: Likewise.
32230 * math/w_hypotf_compat.c: Likewise.
32231 * math/w_hypotl_compat.c: Likewise.
32232 * math/w_j0_compat.c: Likewise.
32233 * math/w_j0f_compat.c: Likewise.
32234 * math/w_j0l_compat.c: Likewise.
32235 * math/w_j1_compat.c: Likewise.
32236 * math/w_j1f_compat.c: Likewise.
32237 * math/w_j1l_compat.c: Likewise.
32238 * math/w_jn_compat.c: Likewise.
32239 * math/w_jnf_compat.c: Likewise.
32240 * math/w_jnl_compat.c: Likewise.
32241 * math/w_lgamma_main.c: Likewise.
32242 * math/w_lgamma_r_compat.c: Likewise.
32243 * math/w_lgammaf_main.c: Likewise.
32244 * math/w_lgammaf_r_compat.c: Likewise.
32245 * math/w_lgammal_main.c: Likewise.
32246 * math/w_lgammal_r_compat.c: Likewise.
32247 * math/w_log10_compat.c: Likewise.
32248 * math/w_log10f_compat.c: Likewise.
32249 * math/w_log10l_compat.c: Likewise.
32250 * math/w_log2_compat.c: Likewise.
32251 * math/w_log2f_compat.c: Likewise.
32252 * math/w_log2l_compat.c: Likewise.
32253 * math/w_log_compat.c: Likewise.
32254 * math/w_logf_compat.c: Likewise.
32255 * math/w_logl_compat.c: Likewise.
32256 * math/w_pow_compat.c: Likewise.
32257 * math/w_powf_compat.c: Likewise.
32258 * math/w_powl_compat.c: Likewise.
32259 * math/w_remainder_compat.c: Likewise.
32260 * math/w_remainderf_compat.c: Likewise.
32261 * math/w_remainderl_compat.c: Likewise.
32262 * math/w_scalb_compat.c: Likewise.
32263 * math/w_scalbf_compat.c: Likewise.
32264 * math/w_scalbl_compat.c: Likewise.
32265 * math/w_sinh_compat.c: Likewise.
32266 * math/w_sinhf_compat.c: Likewise.
32267 * math/w_sinhl_compat.c: Likewise.
32268 * math/w_sqrt_compat.c: Likewise.
32269 * math/w_sqrtf_compat.c: Likewise.
32270 * math/w_sqrtl_compat.c: Likewise.
32271 * math/w_tgamma_compat.c: Likewise.
32272 * math/w_tgammaf_compat.c: Likewise.
32273 * math/w_tgammal_compat.c: Likewise.
32274 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32275 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32276 * sysdeps/ieee754/k_standard.c: Likewise.
32277 * sysdeps/ieee754/k_standardf.c: Likewise.
32278 * sysdeps/ieee754/k_standardl.c: Likewise.
32279 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32280 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32281 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32282 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32283 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32284 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32285 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32286 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32287 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32294 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32295 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32297 2017-08-21 Florian Weimer <fweimer@redhat.com>
32300 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32301 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32302 Move before inclusion of ../Rules.
32304 2017-08-21 Florian Weimer <fweimer@redhat.com>
32307 * assert/assert.h (assert): Use static_cast (bool) for C++.
32308 Use the ternary operator in the warning branch for GNU C.
32309 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32310 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32311 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32312 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32313 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32315 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32318 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32319 (__syscall_clock_gettime): Add attribute_hidden.
32320 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32321 (__start_context): Likewise.
32323 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32325 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32327 (hidden_proto): Likewise.
32328 (hidden_tls_proto): Likewise.
32329 (__hidden_proto): Likewise.
32331 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32333 * include/libc-symbols.h (attribute_hidden): Enable hidden
32334 visibility in libc.a compiled with PIE.
32336 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32339 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32340 Add attribute_hidden.
32342 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32345 * Makerules (all-nonlib): Add $(others-extras).
32346 * catgets/Makefile (others-extras): New.
32347 * elf/Makefile (others-extras): Likewise.
32348 * nss/Makefile (others-extras): Likewise.
32350 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32353 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32354 * elf/dl-open.c: Include <libc-internal.h>.
32355 (__libc_multiple_libcs): Removed.
32356 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32358 * include/libc-internal.h (__libc_multiple_libcs): New.
32359 * misc/sbrk.c: Include <libc-internal.h>.
32360 (__libc_multiple_libcs): Removed.
32362 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32365 * grp/initgroups.c (__nss_group_database): Removed.
32366 (__nss_initgroups_database): Likewise.
32367 * nscd/gai.c (__nss_hosts_database): Likewise.
32368 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32369 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32370 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32371 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32372 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32373 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32375 * nss/nsswitch.c (__nss_database_custom): Define only if
32376 USE_NSCD is defined.
32377 (__nss_configure_lookup): Use __nss_database_custom only if
32378 USE_NSCD is defined.
32379 * nss/nsswitch.h (__nss_database_custom): Declare only if
32380 USE_NSCD is defined. Add attribute_hidden.
32381 (__nss_setent): Add attribute_hidden.
32382 (__nss_endent): Likewise.
32383 (__nss_getent_r): Likewise.
32384 (__nss_getent): Likewise.
32385 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32387 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32390 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32391 libc_hidden_proto and libc_hidden_def.
32393 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32396 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32397 Add libc_hidden_proto.
32398 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32399 Add libc_hidden_def.
32401 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32404 * gmon/Makefile (routines): Remove bb_init_func and
32406 (elide-routines.os): Removed.
32407 * gmon/bb_exit_func.c: Likewise.
32408 * gmon/bb_init_func.c: Likewise.
32409 * include/sys/gmon.h (__bb): Likewise.
32410 (__bb_init_func): Likewise.
32411 (__bb_exit_func): Likewise.
32412 * sysdeps/alpha/bb_init_func.S: Likewise.
32414 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32416 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32417 * include/setjmp.h (____longjmp_chk): Here. Add
32420 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32423 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32425 (__strspn_sse2): Likewise.
32427 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32429 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32430 (close_not_cancel_no_status): Likewise.
32431 (__close_nocancel): New macro.
32432 (__close_nocancel_nostatus): Likewise.
32433 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32435 (close_not_cancel): Likewise.
32436 (close_not_cancel_no_status): Likewise.
32437 (__close_nocancel): New prototype.
32438 (__close_nocancel_nostatus): New function.
32439 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32440 * catgets/open_catalog.c (__open_catalog): Replace
32441 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32442 * gmon/gmon.c (write_gmon): Likewise.
32443 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32444 * intl/loadmsgcat.c (close): Likewise.
32445 * io/ftw.c (open_dir_stream): Likewise.
32446 (ftw_startup): Likewise.
32447 * libio/fileops.c (_IO_file_open): Likewise.
32448 (_IO_file_close_mmap): Likewise.
32449 (_IO_file_close): Likewise.
32450 * libio/iopopen.c (_IO_dup2): Likewise.
32451 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32452 * locale/loadlocale.c (_nl_load_locale): Likewise.
32453 * login/utmp_file.c (pututline_file): Likewise.
32454 (endutent_file): Likewise.
32455 * misc/daemon.c (daemon): Likewise.
32456 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32457 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32458 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32459 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32460 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32461 * nscd/nscd_helper.c (open_socket): Likewise.
32462 (__nscd_open_socket): Likewise.
32463 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32464 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32465 (__nscd_innetgr): Likewise.
32466 * nss/nss_db/db-open.c (internal_setent): Likewise.
32467 * resolv/res-close.c (__res_iclose): Likewise.
32468 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32469 * sysdeps/posix/closedir.c (__closedir): Likewise.
32470 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32471 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32472 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32473 (opendir_tail): Likewise.
32474 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32475 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32476 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32477 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32478 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32479 (gethostid): Likewise.
32480 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32481 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32484 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32485 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32486 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32488 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32489 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32490 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32492 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32493 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32495 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32497 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32498 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32499 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32502 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32503 (openat_not_cancel_3): Likewise.
32504 (openat64_not_cancel_3): Likewise).
32505 (openat_not_cancel_3): Likewise).
32506 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32508 (openat_not_cancel_3): Likewise.
32509 (openat64_not_cancel): Likewise.
32510 (openat64_not_cancel_3): Likewise.
32511 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32512 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32513 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32514 __open{64}_nocancel.
32515 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32516 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32517 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32519 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32522 * include/argz.h (__argz_create_sep): New function prototype.
32523 (__argz_append): Likewise.
32524 (__argz_add): Likewise.
32525 (__argz_add_sep): Likewise.
32526 (__argz_delete): Likewise.
32527 (__argz_insert): Likewise.
32528 (__argz_replace): Likewise.
32529 * string/argz.h (__argz_create_sep): Removed.
32530 (__argz_append): Likewise.
32531 (__argz_add): Likewise.
32532 (__argz_add_sep): Likewise.
32533 (__argz_delete): Likewise.
32534 (__argz_insert): Likewise.
32535 (__argz_replace): Likewise.
32537 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32539 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32540 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32541 (GNU_PROPERTY_STACK_SIZE): Likewie.
32542 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32543 (GNU_PROPERTY_LOPROC): Likewise.
32544 (GNU_PROPERTY_HIPROC): Likewise.
32545 (GNU_PROPERTY_LOUSER): Likewise.
32546 (GNU_PROPERTY_HIUSER): Likewise.
32547 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32548 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32549 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32550 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32551 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32552 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32553 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32554 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32555 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32556 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32557 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32558 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32559 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32560 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32561 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32562 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32563 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32564 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32565 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32566 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32567 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32568 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32569 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32571 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32573 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32576 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32579 * math/math.h (isinf): Check if in C or C++ mode before using
32580 __builtin_types_compatible_p, since this is a C mode feature.
32582 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32584 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32585 (__write_nocancel): New macro.
32586 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32587 Rewrite as a function prototype.
32588 (write_not_cancel): Remove macro.
32589 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32590 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32591 (write_gmon): Likewise.
32592 * libio/fileops.c (_IO_new_file_write): Likewise.
32593 * login/utmp_file.c (pututline_file): Likewise.
32594 (updwtmp_file): Likewise.
32595 * stdio-common/psiginfo.c (psiginfo): Likewise.
32596 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32597 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32598 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32600 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32603 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32604 (__read_nocancel): New macro.
32605 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32607 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32609 (__read_nocancel): New prototype.
32610 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32611 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32612 with __read_nocancel.
32613 * intl/loadmsgcat.c (read): Likewise.
32614 * libio/fileops.c (_IO_file_read): Likewise.
32615 * locale/loadlocale.c (_nl_load_locale): Likewise.
32616 * login/utmp_file.c (getutent_r_file): Likewise.
32617 (internal_getut_r): Likewise.
32618 (getutline_r_file): Likewise.
32619 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32620 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32621 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32622 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32624 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32625 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32626 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32628 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32630 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32632 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32634 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32636 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32639 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32640 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32643 2017-08-17 DJ Delorie <dj@redhat.com>
32645 * bug17079.c: Update to new test harness.
32646 * test-digits-dots.c: Likewise.
32647 * test-netdb.c: Likewise.
32648 * tst-field.c: Likewise.
32649 * tst-nss-getpwent.c: Likewise.
32650 * tst-nss-static.c: Likewise.
32651 * tst-nss-test1.c: Likewise.
32652 * tst-nss-test2.c: Likewise.
32653 * tst-nss-test3.c: Likewise.
32654 * tst-nss-test4.c: Likewise.
32655 * tst-nss-test5.c: Likewise.
32657 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32659 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32660 (open_not_cancel_2): Likewise.
32661 (open_nocancel): New macro.
32662 (open64_nocancel): Likewise.
32663 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32664 (open_not_cancel_2): Likewise.
32665 (__open_nocancel): New prototype.
32666 (__open64_nocancel): Likewise.
32667 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32669 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32670 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32671 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32672 with __open_nocancel.
32673 * csu/check_fds.c (check_one_fd): Likewise.
32674 * gmon/gmon.c (write_gmon): Likewise.
32675 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32676 * intl/loadmsgcat.c (open): Likewise.
32677 * libio/fileops.c (_IO_file_open): Likewise.
32678 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32679 * locale/loadlocale.c (_nl_load_locale): Likewise.
32680 * login/utmp_file.c (setutent_file): Likewise.
32681 * misc/daemon.c (daemon): Likewise.
32682 * nss/nss_db/db-open.c (internal_setent): Likewise.
32683 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32684 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32685 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32686 (__opendir): Likewise.
32687 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32688 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32689 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32690 (gethostid): Likewise.
32691 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32692 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32695 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32696 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32697 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32699 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32701 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32703 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32705 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32707 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32709 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32710 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32712 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32714 * benchtests/bench-skeleton.c (main): Add support for
32715 latency benchmarking.
32716 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32718 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32720 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32721 the startup object.
32723 2017-08-17 Florian Weimer <fweimer@redhat.com>
32725 * include/sys/socket.h (__opensock): Remove internal_function.
32726 * socket/opensock.c (__opensock): Likewise.
32727 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32729 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32732 * signal/bits/types/__sigval_t.h: New file.
32733 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32734 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32735 and define sigval_t using __sigval_t.
32736 * include/bits/types/__sigval_t.h: New file.
32737 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32738 instead of <bits/types/__sigval_t.h>.
32739 (struct sigevent): Use __sigval_t instead of sigval_t.
32740 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32741 instead of <bits/types/__sigval_t.h>.
32742 (siginfo_t): Use __sigval_t instead of sigval_t.
32743 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32744 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32745 (struct sigevent): Use __sigval_t instead of sigval_t.
32746 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32747 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32748 (siginfo_t): Use __sigval_t instead of sigval_t.
32749 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32751 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32753 * NEWS: Remove "[Add new features here]" for 2.27.
32755 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32757 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32760 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32762 * NEWS: Mention x86-64 FMA optimization.
32764 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32767 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32769 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32770 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32771 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32773 2017-08-16 Andreas Schwab <schwab@suse.de>
32777 * elf/ldd.bash.in: Never run file directly.
32779 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32782 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32783 (L(SP_INF_0)): Likewise.
32785 2017-08-15 Florian Weimer <fweimer@redhat.com>
32787 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32790 2017-08-15 Florian Weimer <fweimer@redhat.com>
32792 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32793 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32794 BROKEN_THREAD_SIGNALS code.
32795 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32796 request_list): Remove caller_pid member used for
32797 BROKEN_THREAD_SIGNALS.
32798 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32799 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32800 Remove BROKEN_THREAD_SIGNALS support.
32801 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32802 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32804 2017-08-15 Florian Weimer <fweimer@redhat.com>
32806 * gmon/Makefile (tests): Add tst-gmon.
32807 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32809 (tests-special): Add tst-gmon-prof.out.
32810 (tst-gmon.out): Depend on clean-tst-gmon-data.
32811 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32812 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32813 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32815 * aclocal.m4 (GPROF): Set and substitute.
32816 * config.amke.in (GPROF): Set.
32817 * configure: Regenerate.
32819 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32821 * elf/elf.h A (NT_PPC_TAR): New macro.
32822 (NT_PPC_PPR): Likewise.
32823 (NT_PPC_DSCR): Likewise.
32824 (NT_PPC_EBB): Likewise.
32825 (NT_PPC_PMU): Likewise.
32826 (NT_PPC_TM_CGPR): Likewise.
32827 (NT_PPC_TM_CFPR): Likewise.
32828 (NT_PPC_TM_CVMX): Likewise.
32829 (NT_PPC_TM_CVSX): Likewise.
32830 (NT_PPC_TM_SPR): Likewise.
32831 (NT_PPC_TM_CTAR): Likewise.
32832 (NT_PPC_TM_CPPR): Likewise.
32833 (NT_PPC_TM_CDSCR): Likewise.
32835 2017-08-15 Florian Weimer <fweimer@redhat.com>
32837 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32838 regparm (2) instead of internal_function.
32839 (_MCOUNT_DECL): Adjust.
32841 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32843 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32844 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32846 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32848 * conform/data/sys/wait.h-data (si_value): Do not expect for
32851 2017-08-14 Florian Weimer <fweimer@redhat.com>
32854 NSS: Create stubs for accidentally exported lookup functions.
32855 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32856 Remove declaration.
32857 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32858 (ether_hostton): Call __nss_ethers_lookup2 instead.
32859 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32860 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32861 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32862 (setup): Call __nss_netgroup_lookup2 instead.
32863 * nss/Makefile (routines): Add compat-lookup.
32864 * nss/Versions (GLIBC_2.27): Add symbol version.
32865 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32866 (DB_COMPAT_FCT): Remove.
32867 * nss/compat-lookup.c: New file.
32868 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32869 from databases.def.
32870 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32871 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32872 (netname2user): Call __nss_publickey_lookup2 instead.
32873 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32874 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32877 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32878 Sergei Trofimovich <slyfox@inbox.ru>
32881 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32882 Rename to MMAP2_PAGE_UNIT.
32883 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32884 __OFF_T_MATCHES_OFF64_T is not defined.
32885 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32887 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32888 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32890 2017-08-14 Florian Weimer <fweimer@redhat.com>
32892 i386: Do not set internal_function.
32893 * config.h.in (USE_REGPARMS, internal_function): Remove.
32894 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32895 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32897 2017-08-14 Florian Weimer <fweimer@redhat.com>
32899 * elf/dl-init.c (_dl_init): Remove internal_function.
32900 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32901 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32903 2017-08-14 Florian Weimer <fweimer@redhat.com>
32905 * elf/rtld.c (_dl_start): Remove internal_function.
32906 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32909 2017-08-14 Florian Weimer <fweimer@redhat.com>
32911 * elf/dl-fini.c (_dl_fini): Remove internal_function
32912 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32914 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32916 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32917 (bit_cpu_SHSTK): Likewise.
32918 (index_cpu_IBT): Likewise.
32919 (index_cpu_SHSTK): Likewise.
32920 (reg_IBT): Likewise.
32921 (reg_SHSTK): Likewise.
32922 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32923 Handle index_cpu_IBT and index_cpu_SHSTK.
32925 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32928 * po/fr.po: Fix spelling mistake.
32930 2017-08-13 Florian Weimer <fweimer@redhat.com>
32932 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32933 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32934 (_dl_catch_error, _dl_receive_error): Likewise.
32935 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32936 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32937 (_dl_deallocate_tls): Likewise.
32938 * include/dlfcn.h (_dl_addr): Likewise.
32939 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32940 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32941 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32944 2017-08-13 Florian Weimer <fweimer@redhat.com>
32946 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32947 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32949 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32951 2017-08-13 Florian Weimer <fweimer@redhat.com>
32953 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32955 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32956 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32957 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32958 internal_function from _dl_make_stack_executable_hook member.
32959 (_dl_make_stack_executable): Remove internal_function.
32960 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32962 * sysdeps/unix/sysv/linux/dl-execstack.c
32963 (_dl_make_stack_executable): Likewise.
32965 2017-08-13 Florian Weimer <fweimer@redhat.com>
32967 * sysdeps/unix/sysv/linux/netlinkaccess.h
32968 (__netlink_assert_response): Remove internal_function.
32969 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32970 (__netlink_assert_response): Likewise.
32972 2017-08-13 Florian Weimer <fweimer@redhat.com>
32974 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32976 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32978 2017-08-13 Florian Weimer <fweimer@redhat.com>
32980 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32982 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32983 * inet/netgroup.h (__internal_setnetgrent)
32984 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32985 * inet/getnetgrent_r.c (__internal_setnetgrent)
32986 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32987 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32988 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32989 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32990 * nss/nsswitch.h (db_lookup_function): Likewise.
32992 2017-08-13 Florian Weimer <fweimer@redhat.com>
32994 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32995 Remove internal_function.
32996 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32997 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32998 message argument on the stack.
32999 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33002 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33004 Adapt test case data to the changes in the thousands
33008 * localedata/tst-langinfo.sh: Adapt test case data.
33009 * stdlib/tst-strfmon_l.c: Likewise.
33010 * stdlib/tst-strtod4.c: Likewise.
33011 * stdlib/tst-strtod5i.c: Likewise.
33013 2017-08-11 Florian Weimer <fweimer@redhat.com>
33016 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33017 Suppress pedantic warning resulting from statement expression.
33018 (__ASSERT_FUNCTION): Add missing __extension__.
33020 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33022 * benchtests/bench-memmove-large.c: Print output in JSON
33024 * benchtests/bench-memmove.c: Likewise.
33026 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33027 * benchtests/bench-memchr.c (do_one_test): Likewise.
33028 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33029 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33030 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33031 * benchtests/bench-memmove.c (do_one_test): Likewise.
33032 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33033 * benchtests/bench-memset.c (do_one_test): Likewise.
33034 * benchtests/bench-string.h (test_init): Remove memsets.
33036 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33039 (Computing the Width of an Integer Data Type): Rename section to
33040 "Width of an Integer Type". Remove inaccurate statement regarding
33041 lack of C language facilities for determining width of integer
33042 types, and reorder content to improve flow and context of
33045 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33047 * lang.texi (va_copy): Change standard from ISO to C99.
33048 (__va_copy): Add standard and header annotation.
33049 Update description for clarity of origins and current use.
33051 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33054 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33055 xssqrtqp requires operands to be in Vector Registers
33056 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33057 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33058 (__ieee754_sqrtf128): Likewise.
33060 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33062 * sysdeps/aarch64/memcmp.S (memcmp):
33063 Rewrite of optimized memcmp.
33065 2017-08-10 Florian Weimer <fweimer@redhat.com>
33067 Introduce ld.so exceptions.
33068 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33069 (_dl_exception_create, _dl_exception_create_format)
33070 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33071 (_dl_catch_exception): Declare.
33072 (_dl_catch_error): Update comment.
33073 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33074 errstring, malloced members with exception member.
33075 (_dl_out_of_memory): Remove.
33076 (fatal_error): New function, extracted from _dl_signal_error.
33077 (_dl_signal_exception, _dl_signal_cexception): New functions.
33078 (_dl_signal_error): Call _dl_exception_create to allocate an
33080 (_dl_catch_exception): New function, based on _dl_catch_error.
33081 (_dl_catch_error): Implement using _dl_catch_exception.
33082 * elf/dl-exception.c: New file.
33083 * elf/Makefile (dl-routines): Add dl-exception.
33084 (elide-routines.os): Likewise.
33085 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33086 _dl_exception_create_format, _dl_exception_free.
33087 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33088 _dl_signal_exception.
33089 * elf/dl-lookup.c (make_string): Remove.
33090 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33091 _dl_signal_cexception, _dl_exception_free.
33092 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33093 _dl_signal_exception.
33094 * elf/dl-sym.c (do_sym): Likewise.
33095 * elf/dl-version.c (make_string): Remove.
33096 (match_symbol): Use _dl_exception_create_format,
33097 _dl_signal_cexception, _dl_exception_free.
33098 (_dl_check_map_versions): Likewise.
33099 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33100 _dl_catch_exception.
33101 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33102 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33103 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33104 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33105 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33106 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33107 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33108 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33110 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33117 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33118 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33119 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33121 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33123 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33125 2017-08-10 Florian Weimer <fweimer@redhat.com>
33127 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33128 attribute_hidden, internal_function.
33129 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33132 2017-08-10 Florian Weimer <fweimer@redhat.com>
33134 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33135 function which calls __builtin_unreachable.
33137 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33139 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33140 Indian monetary formatting
33141 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33144 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33146 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33147 Fix typo in comment.
33150 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33151 PTRACE_SEIZE_DEVEL): Remove.
33152 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33153 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33154 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33155 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33156 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33158 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33160 * posix/bits/types.h (__qaddr_t): Remove.
33163 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33164 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33166 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33167 (ucontext_t): Use __ctx with uc_flags.
33168 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33169 (__ctxt): Likewise.
33170 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33172 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33173 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33175 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33176 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33178 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33180 (ucontext_t): Use __ctx with uc_flags.
33181 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33182 (ucontext_t): Use __ctx with uc_flags.
33183 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33184 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33185 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33186 (ucontext_t): Use __ctx with uc_flags.
33187 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33188 undefine further down.
33189 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33191 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33192 undefine further down.
33193 (ucontext_t): Use __ctx with uc_flags.
33194 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33195 undefine further down.
33196 (ucontext_t): Use __ctx with uc_flags.
33197 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33198 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33199 Rename uc_pad to __glibc_reserved1.
33200 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33201 undefine further down.
33202 (ucontext_t): Use __ctx with uc_flags.
33203 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33205 (ucontext_t): Use __ctx with uc_flags.
33206 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33207 __ctx with uc_flags.
33208 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33209 (ucontext_t): Use __ctx with uc_flags.
33210 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33211 __ctx with uc_flags.
33213 2017-08-09 Florian Weimer <fweimer@redhat.com>
33216 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33217 before early return.
33219 2017-08-09 Andreas Schwab <schwab@suse.de>
33222 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33226 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33227 tst-compat-forwarder.
33228 (modules-names): Add tst-compat-forwarder-mod.
33229 ($(objpfx)tst-compat-forwarder): Depend on
33230 $(objpfx)tst-compat-forwarder-mod.so.
33231 * nptl/tst-compat-forwarder.c: New file.
33232 * nptl/tst-compat-forwarder-mod.c: New file.
33234 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33236 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33239 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33240 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33242 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33244 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33245 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33246 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33247 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33249 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33252 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33255 * manual/setjmp.texi (getcontex): Document uc_stack value
33256 compatibility differences.
33258 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33260 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33261 (old_malloc_hook): Likewise.
33262 (old_memalign_hook): Likewise.
33263 (old_realloc_hook): Likewise.
33264 (struct hdr): Likewise.
33266 (freehook): Likewise.
33267 (mallochook): Likewise.
33268 (memalignhook): Likewise.
33269 (reallochook): Likewise.
33270 (mprobe): Likewise.
33271 * malloc/mtrace.c (mallwatch): Likewise.
33272 (tr_old_free_hook): Likewise.
33273 (tr_old_malloc_hook): Likewise.
33274 (tr_old_realloc_hook): Likewise.
33275 (tr_old_memalign_hook): Likewise.
33276 (tr_where): Likewise.
33277 (lock_and_info): Likewise.
33278 (tr_freehook): Likewise.
33279 (tr_mallochook): Likewise.
33280 (tr_reallochook): Likewise.
33281 (tr_memalignhook): Likewise.
33282 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33283 * misc/mmap.c (__mmap): Likewise.
33284 * misc/mmap64.c (__mmap64): Likewise.
33285 * misc/mprotect.c (__mprotect): Likewise.
33286 * misc/msync.c (msync): Likewise.
33287 * misc/munmap.c (__munmap): Likewise.
33288 * posix/posix_madvise.c (posix_madvise): Likewise.
33289 * socket/send.c (__send): Likewise.
33290 * socket/sendto.c (__sendto): Likewise.
33291 * socket/setsockopt.c (__setsockopt): Likewise.
33292 * string/memcmp.c (__ptr_t): Remove macro.
33293 (MEMCMP): Use void * instead of ptr_t.
33294 * string/memrchr.c (__ptr_t): Remove macro.
33295 (__memrchr): Use void * instead of ptr_t.
33296 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33297 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33298 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33299 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33300 * sysdeps/mach/msync.c (msync): Likewise.
33301 * sysdeps/mach/munmap.c (__munmap): Likewise.
33302 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33304 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33305 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33306 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33307 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33308 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33309 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33310 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33311 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33313 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33314 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33315 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33316 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33317 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33318 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33319 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33320 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33321 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33323 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33324 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33325 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33326 (MEMCMP): Use void * instead of ptr_t.
33327 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33328 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33330 2017-08-08 Florian Weimer <fweimer@redhat.com>
33332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33335 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33338 * csu/libc-tls.c: Include <startup.h> first.
33339 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33340 * elf/dl-tunables.c: Include <startup.h> first.
33341 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33342 * sysdeps/generic/startup.h: New file.
33343 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33344 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33345 (I386_USE_SYSENTER): New. Defined to 0.
33347 2017-08-08 Andreas Schwab <schwab@suse.de>
33350 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33351 * nptl/pt-system.c (system): Likewise.
33353 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33356 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33358 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33359 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33360 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33361 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33362 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33363 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33364 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33366 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33369 * bits/sigaction.h (struct sigaction): Define sa_handler and
33370 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33371 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33372 [__USE_XOPEN_EXTENDED].
33373 (SA_RESTART): Likewise.
33374 (SA_NODEFER): Likewise.
33375 (SA_RESETHAND): Likewise.
33376 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33377 (struct sigaction): Define sa_handler and sa_sigaction using union
33378 also for [__USE_XOPEN_EXTENDED].
33379 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33380 [__USE_XOPEN_EXTENDED].
33381 (SA_RESTART): Likewise.
33382 (SA_NODEFER): Likewise.
33383 (SA_RESETHAND): Likewise.
33384 * sysdeps/unix/sysv/linux/bits/sigaction.h
33385 (struct sigaction): Define sa_handler and sa_sigaction using union
33386 also for [__USE_XOPEN_EXTENDED].
33387 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33388 [__USE_XOPEN_EXTENDED].
33389 (SA_RESTART): Likewise.
33390 (SA_NODEFER): Likewise.
33391 (SA_RESETHAND): Likewise.
33392 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33393 (struct sigaction): Define sa_handler and sa_sigaction using union
33394 also for [__USE_XOPEN_EXTENDED].
33395 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33396 [__USE_XOPEN_EXTENDED].
33397 (SA_RESTART): Likewise.
33398 (SA_NODEFER): Likewise.
33399 (SA_RESETHAND): Likewise.
33400 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33401 (struct sigaction): Define sa_handler and sa_sigaction using union
33402 also for [__USE_XOPEN_EXTENDED].
33403 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33404 [__USE_XOPEN_EXTENDED].
33405 (SA_RESTART): Likewise.
33406 (SA_NODEFER): Likewise.
33407 (SA_RESETHAND): Likewise.
33408 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33409 (struct sigaction): Define sa_handler and sa_sigaction using union
33410 also for [__USE_XOPEN_EXTENDED].
33411 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33412 [__USE_XOPEN_EXTENDED].
33413 (SA_RESTART): Likewise.
33414 (SA_NODEFER): Likewise.
33415 (SA_RESETHAND): Likewise.
33416 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33417 (struct sigaction): Define sa_handler and sa_sigaction using union
33418 also for [__USE_XOPEN_EXTENDED].
33419 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33420 [__USE_XOPEN_EXTENDED].
33421 (SA_RESTART): Likewise.
33422 (SA_NODEFER): Likewise.
33423 (SA_RESETHAND): Likewise.
33424 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33425 (struct sigaction): Define sa_handler and sa_sigaction using union
33426 also for [__USE_XOPEN_EXTENDED].
33427 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33428 [__USE_XOPEN_EXTENDED].
33429 (SA_RESTART): Likewise.
33430 (SA_NODEFER): Likewise. Define directly rather than as alias.
33431 (SA_RESETHAND): Likewise.
33432 (SA_INTERRUPT): Define only for [__USE_MISC].
33433 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33434 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33436 (SA_STACK): Define only for [__USE_MISC].
33437 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33438 (struct sigaction): Define sa_handler and sa_sigaction using union
33439 also for [__USE_XOPEN_EXTENDED].
33440 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33441 [__USE_XOPEN_EXTENDED].
33442 (SA_RESTART): Likewise.
33443 (SA_NODEFER): Likewise.
33444 (SA_RESETHAND): Likewise.
33445 (SA_NOPTRACE): Define only for [__USE_MISC].
33447 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33448 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33449 (struct catalog_info): Likewise.
33450 * inet/htontest.c (lo): Likewise.
33452 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33453 * inet/inet_net.c (inet_network): Likewise.
33454 * inet/inet_netof.c (inet_netof): Likewise.
33455 * inet/rcmd.c (__ivaliduser): Likewise.
33456 (iruserok): Likewise.
33457 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33458 * locale/programs/locale-spec.c (locale_special): Likewise.
33459 * nis/nis_findserv.c (struct findserv_req): Likewise.
33460 (__nis_findfastest_with_timeout): Likewise.
33461 * nss/test-netdb.c (test_network): Likewise.
33462 * resolv/inet_neta.c (inet_neta): Likewise.
33463 * resolv/ns_date.c (ns_datetosecs): Likewise.
33464 (SECS_PER_DAY): Likewise.
33465 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33467 * resolv/res_comp.c (__putlong): Likewise.
33468 (__putshort): Likewise.
33469 (_getlong): Likewise.
33470 (_getshort): Likewise.
33471 * resolv/res_debug.c (p_time): Likewise.
33472 (precsize_ntoa): Likewise.
33473 (precsize_aton): Likewise.
33474 (latlon2ul): Likewise.
33475 (loc_aton): Likewise.
33476 (loc_ntoa): Likewise.
33477 * resolv/res_hconf.c (struct netaddr): Likewise.
33478 (_res_hconf_reorder_addrs): Likewise.
33479 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33480 (clnttcp_control): Likewise.
33481 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33482 (clntudp_control): Likewise.
33483 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33484 (clntunix_control): Likewise.
33485 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33486 * sunrpc/rpc/auth.h (union des_block): Likewise.
33487 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33488 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33489 (xdrrec_create): Likewise.
33490 (xdrrec_endofrecord): Likewise.
33491 (flush_out): Likewise.
33492 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33493 (xdrstdio_putlong): Likewise.
33494 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33497 * misc/sys/cdefs.h (__long_double_t): Remove.
33498 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33499 instead of __long_double_t,
33500 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33502 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33504 * benchtests/scripts/compare_strings.py: Avoid display error when
33505 running on a text terminal.
33507 * benchtests/scripts/compare_strings.py (main): Add an
33508 optional -base option.
33509 (process_results): New argument base_func.
33511 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33513 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33514 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33516 2017-08-07 Andreas Schwab <schwab@suse.de>
33518 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33519 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33520 * intl/Makefile ($(objpfx)tst-gettext.out)
33521 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33522 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33523 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33524 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33525 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33526 * posix/Makefile ($(objpfx)globtest.out)
33527 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33528 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33529 ($(objpfx)tst-printf.out): Likewise.
33530 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33531 ($(objpfx)tst-setcontext3.out): Likewise.
33533 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33535 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33536 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33537 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33538 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33539 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33541 (CFLAGS-doasin-fma.c): New.
33542 (CFLAGS-dosincos-fma.c): Likewise.
33543 (CFLAGS-e_asin-fma.c): Likewise.
33544 (CFLAGS-e_atan2-fma.c): Likewise.
33545 (CFLAGS-e_exp-fma.c): Likewise.
33546 (CFLAGS-e_log-fma.c): Likewise.
33547 (CFLAGS-e_pow-fma.c): Likewise.
33548 (CFLAGS-halfulp-fma.c): Likewise.
33549 (CFLAGS-mpa-fma.c): Likewise.
33550 (CFLAGS-mpatan-fma.c): Likewise.
33551 (CFLAGS-mpatan2-fma.c): Likewise.
33552 (CFLAGS-mpexp-fma.c): Likewise.
33553 (CFLAGS-mplog-fma.c): Likewise.
33554 (CFLAGS-mpsqrt-fma.c): Likewise.
33555 (CFLAGS-mptan-fma.c): Likewise.
33556 (CFLAGS-s_atan-fma.c): Likewise.
33557 (CFLAGS-sincos32-fma.c): Likewise.
33558 (CFLAGS-slowexp-fma.c): Likewise.
33559 (CFLAGS-slowpow-fma.c): Likewise.
33560 (CFLAGS-s_sin-fma.c): Likewise.
33561 (CFLAGS-s_tan-fma.c): Likewise.
33562 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33563 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33564 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33565 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33566 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33567 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33568 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33569 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33570 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33571 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33572 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33573 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33574 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33575 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33576 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33577 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33578 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33579 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33581 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33582 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33583 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33584 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33585 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33586 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33587 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33588 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33589 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33590 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33591 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33592 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33594 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33596 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33597 (min_of_type_f): New macro.
33598 (min_of_type_): Likewise.
33599 (min_of_type_l): Likewise.
33600 (min_of_type_f128): Likewise.
33601 (min_of_type): Define using __MATH_TG and taking an expression
33603 (math_check_force_underflow): Pass expression instead of type to
33605 (math_check_force_underflow_nonneg): Likewise.
33607 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33609 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33610 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33611 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33613 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33616 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33617 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33618 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33619 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33620 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33621 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33622 memmove_chk-nonshared and memset_chk-nonshared
33623 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33624 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33625 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33626 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33627 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33628 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33629 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33630 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33631 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33632 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33633 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33634 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33635 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33636 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33637 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33638 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33639 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33640 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33641 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33642 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33643 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33644 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33645 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33646 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33647 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33648 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33649 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33650 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33651 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33652 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33653 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33654 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33655 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33656 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33657 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33658 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33659 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33660 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33661 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33662 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33663 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33664 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33665 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33666 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33667 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33668 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33669 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33670 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33671 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33672 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33673 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33674 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33675 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33676 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33677 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33678 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33679 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33680 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33681 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33682 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33683 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33684 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33685 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33686 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33687 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33688 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33689 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33690 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33691 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33692 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33693 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33694 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33695 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33696 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33697 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33698 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33699 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33700 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33701 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33702 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33703 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33704 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33705 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33706 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33707 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33708 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33709 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33710 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33711 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33712 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33713 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33714 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33715 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33716 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33717 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33718 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33719 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33720 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33721 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33722 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33723 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33724 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33725 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33726 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33727 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33728 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33729 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33730 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33732 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33734 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33735 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33736 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33737 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33738 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33739 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33740 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33741 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33742 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33743 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33744 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33745 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33746 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33747 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33748 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33749 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33750 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33751 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33752 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33753 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33754 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33755 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33756 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33757 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33758 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33759 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33760 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33761 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33762 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33763 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33764 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33765 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33766 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33767 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33768 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33769 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33770 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33771 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33772 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33773 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33774 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33775 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33776 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33777 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33778 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33779 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33780 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33781 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33782 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33783 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33784 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33785 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33786 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33787 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33788 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33789 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33790 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33791 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33792 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33794 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33795 Don't include <sysdep.h> nor <init-arch.h>.
33796 (_ZGVbN2v_cos): Removed.
33797 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33799 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33800 Don't include <sysdep.h> nor <init-arch.h>.
33801 (_ZGVdN4v_cos): Removed.
33802 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33804 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33805 Don't include <sysdep.h> nor <init-arch.h>.
33806 (_ZGVeN8v_cos): Removed.
33807 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33809 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33810 Don't include <sysdep.h> nor <init-arch.h>.
33811 (_ZGVbN2v_exp): Removed.
33812 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33814 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33815 Don't include <sysdep.h> nor <init-arch.h>.
33816 (_ZGVdN4v_exp): Removed.
33817 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33819 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33820 Don't include <sysdep.h> nor <init-arch.h>.
33821 (_ZGVeN8v_exp): Removed.
33822 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33824 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33825 Don't include <sysdep.h> nor <init-arch.h>.
33826 (_ZGVbN2v_log): Removed.
33827 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33829 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33830 Don't include <sysdep.h> nor <init-arch.h>.
33831 (_ZGVdN4v_log): Removed.
33832 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33834 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33835 Don't include <sysdep.h> nor <init-arch.h>.
33836 (_ZGVeN8v_log): Removed.
33837 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33839 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33840 Don't include <sysdep.h> nor <init-arch.h>.
33841 (_ZGVbN2vv_pow): Removed.
33842 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33844 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33845 Don't include <sysdep.h> nor <init-arch.h>.
33846 (_ZGVdN4vv_pow): Removed.
33847 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33849 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33850 Don't include <sysdep.h> nor <init-arch.h>.
33851 (_ZGVeN8vv_pow): Removed.
33852 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33854 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33855 Don't include <sysdep.h> nor <init-arch.h>.
33856 (_ZGVbN2v_sin): Removed.
33857 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33859 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33860 Don't include <sysdep.h> nor <init-arch.h>.
33861 (_ZGVbN4v_sin): Removed.
33862 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33864 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33865 Don't include <sysdep.h> nor <init-arch.h>.
33866 (_ZGVbN8v_sin): Removed.
33867 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33869 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33870 Don't include <sysdep.h> nor <init-arch.h>.
33871 (_ZGVbN2vvv_sincos): Removed.
33872 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33874 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33875 Don't include <sysdep.h> nor <init-arch.h>.
33876 (_ZGVdN4vvv_sincos): Removed.
33877 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33879 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33880 Don't include <sysdep.h> nor <init-arch.h>.
33881 (_ZGVeN8vvv_sincos): Removed.
33882 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33884 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33885 Don't include <sysdep.h> nor <init-arch.h>.
33886 (_ZGVeN16v_cosf): Removed.
33887 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33889 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33890 Don't include <sysdep.h> nor <init-arch.h>.
33891 (_ZGVbN4v_cosf): Removed.
33892 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33894 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33895 Don't include <sysdep.h> nor <init-arch.h>.
33896 (_ZGVdN8v_cosf): Removed.
33897 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33899 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33900 Don't include <sysdep.h> nor <init-arch.h>.
33901 (_ZGVeN16v_expf): Removed.
33902 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33904 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33905 Don't include <sysdep.h> nor <init-arch.h>.
33906 (_ZGVbN4v_expf): Removed.
33907 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33909 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33910 Don't include <sysdep.h> nor <init-arch.h>.
33911 (_ZGVdN8v_expf): Removed.
33912 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33914 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33915 Don't include <sysdep.h> nor <init-arch.h>.
33916 (_ZGVeN16v_logf): Removed.
33917 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33919 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33920 Don't include <sysdep.h> nor <init-arch.h>.
33921 (_ZGVbN4v_logf): Removed.
33922 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33924 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33925 Don't include <sysdep.h> nor <init-arch.h>.
33926 (_ZGVdN8v_logf): Removed.
33927 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33929 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33930 Don't include <sysdep.h> nor <init-arch.h>.
33931 (_ZGVeN16vv_powf): Removed.
33932 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33934 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33935 Don't include <sysdep.h> nor <init-arch.h>.
33936 (_ZGVbN4vv_powf): Removed.
33937 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33939 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33940 Don't include <sysdep.h> nor <init-arch.h>.
33941 (_ZGVdN8vv_powf): Removed.
33942 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33944 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33945 Don't include <sysdep.h> nor <init-arch.h>.
33946 (_ZGVeN16vvv_sincosf): Removed.
33947 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33949 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33950 Don't include <sysdep.h> nor <init-arch.h>.
33951 (_ZGVbN4vvv_sincosf): Removed.
33952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33954 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33955 Don't include <sysdep.h> nor <init-arch.h>.
33956 (_ZGVdN8vvv_sincosf): Removed.
33957 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33959 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33960 Don't include <sysdep.h> nor <init-arch.h>.
33961 (_ZGVeN16v_sinf): Removed.
33962 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33964 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33965 Don't include <sysdep.h> nor <init-arch.h>.
33966 (_ZGVbN4v_sinf): Removed.
33967 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33969 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33970 Don't include <sysdep.h> nor <init-arch.h>.
33971 (_ZGVdN8v_sinf): Removed.
33973 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33975 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33976 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33977 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33978 s_rint-sse4_1 and s_rintf-sse4_1.
33979 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33980 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33981 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33982 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33983 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33984 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33985 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33986 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33987 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33988 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33989 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33990 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33992 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33993 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33994 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33995 (__ceilf): Removed.
33996 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33997 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33998 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33999 (__floor): Removed.
34000 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34001 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34002 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34003 (__floorf): Removed.
34004 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34005 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34006 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34007 (__nearbyint): Removed.
34008 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34009 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34010 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34011 (__nearbyintf): Removed.
34012 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34013 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34014 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34016 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34017 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34018 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34019 (__rintf): Removed.
34021 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34023 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34024 SHARED. Avoid dynamic relocation against main in static PIE.
34026 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34029 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34030 (LDFLAGS-tst-prelink): Likewise.
34032 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34034 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34035 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34036 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34037 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34038 (INTERNAL_SYSCALL_NCS): Likewise.
34039 (LOADARGS_1): Likewise.
34040 (LOADARGS_5): Likewise.
34041 (RESTOREARGS_1): Likewise.
34042 (RESTOREARGS_5): Likewise.
34044 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34046 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34047 (MEMPCPY_SYMBOL): Likewise.
34048 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34049 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34052 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34053 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34055 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34056 (__hidden_ver1): Don't use in libc.a.
34057 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34058 (__mempcpy): Don't create a weak alias in libc.a.
34059 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34061 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34062 (__hidden_ver1): Don't use in libc.a.
34064 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34066 * config.make.in (have-insert): New.
34067 * configure.ac (libc_cv_insert): New. Set to yes if linker
34068 supports INSERT in linker script.
34069 (AC_SUBST(libc_cv_insert): New.
34070 * configure: Regenerated.
34071 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34072 if $(have-insert) == yes.
34074 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34076 * elf/Makefile (tests): Add vismain only if
34077 $(have-protected-data) == yes.
34078 (tests-pie): Likewise.
34080 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34083 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34084 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34086 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34089 * sysdeps/i386/i586/memset.S
34090 (__memset_zero_constant_len_parameter): Removed.
34091 * sysdeps/i386/i686/memset.S
34092 (__memset_zero_constant_len_parameter): Likewise.
34093 * sysdeps/i386/i686/multiarch/memset_chk.S
34094 (__memset_zero_constant_len_parameter): Likewise.
34095 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34098 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34100 * stdlib/getentropy.c (getentropy): Change return type to int.
34102 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34104 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34106 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34108 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34110 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34111 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34113 (ieee_float_shape_type): Likewise.
34114 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34115 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34116 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34117 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34118 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34119 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34120 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34121 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34122 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34124 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34125 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34126 (__ieee754_yn): Likewise.
34127 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34128 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34129 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34131 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34132 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34133 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34134 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34135 (__erfc): Likewise.
34136 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34137 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34138 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34139 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34140 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34141 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34143 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34144 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34145 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34146 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34147 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34148 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34149 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34150 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34151 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34152 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34153 (__issignaling): Likewise.
34154 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34155 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34156 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34158 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34159 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34160 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34161 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34163 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34165 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34166 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34167 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34168 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34169 (__erfcf): Likewise.
34170 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34171 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34172 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34173 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34175 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34176 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34178 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34179 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34180 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34181 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34182 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34183 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34184 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34185 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34187 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34189 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34191 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34192 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34194 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34196 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34197 (__ieee754_ynl): Likewise.
34198 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34199 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34201 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34203 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34204 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34205 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34207 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34208 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34209 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34210 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34211 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34212 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34213 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34214 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34216 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34217 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34218 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34220 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34221 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34222 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34223 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34224 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34227 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34233 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34234 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34235 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34236 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34237 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34238 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34239 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34241 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34243 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34244 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34246 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34247 (__ieee754_remainderl): Likewise.
34248 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34249 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34250 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34251 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34253 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34256 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34257 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34258 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34259 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34260 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34261 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34263 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34264 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34265 (__ieee754_y0l): Likewise.
34268 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34269 (__ieee754_y1l): Likewise.
34272 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34273 (__ieee754_ynl): Likewise.
34274 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34275 (__ieee754_lgammal_r): Likewise.
34276 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34278 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34279 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34280 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34281 (__erfcl): Likewise.
34282 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34283 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34285 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34286 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34287 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34288 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34289 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34290 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34291 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34293 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34294 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34295 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34296 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34297 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34299 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34300 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34302 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34303 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34304 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34305 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34306 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34308 2017-08-03 Florian Weimer <fweimer@redhat.com>
34311 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34312 on memory allocation failure.
34314 2017-08-03 Alan Modra <amodra@gmail.com>
34316 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34317 tst-tlsopt-powerpc.c with function name change and no test harness.
34318 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34319 Call tls_get_addr_opt_test.
34320 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34321 (modules-names): Add mod-tlsopt-powerpc.
34322 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34323 (tst-tlsopt-powerpc): Depend on .so.
34324 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34325 define. Expand use in TLS_GD and TLS_LD.
34327 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34329 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34331 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34333 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34336 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34337 comparing size with that of double.
34338 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34339 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34340 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34341 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34342 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34343 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34344 unsigned __int128 types.
34346 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34348 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34349 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34350 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34351 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34352 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34354 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34356 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34358 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34360 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34362 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34363 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34364 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34365 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34366 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34368 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34370 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34373 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34374 bit-field expressions passed to sizeof or typeof.
34375 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34376 (__TGMATH_F128): Likewise.
34377 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34378 (__TGMATH_CF128): Likewise.
34379 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34380 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34381 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34382 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34383 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34384 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34385 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34386 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34387 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34388 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34389 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34390 (__TGMATH_UNARY_IMAG): Likewise.
34391 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34392 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34393 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34395 (define_vars_for_type): Handle bit_field type specially.
34396 (Tests.__init__): Declare structure with bit-field element.
34398 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34401 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34402 (MEMCPY_CHK): Define only if SHARED is defined.
34403 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34405 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34408 See ChangeLog.18 for earlier changes.