1 2019-05-09 Mike Crowe <mac@mcrowe.com>
3 * nptl/tst-abstime.c: Use libsupport.
5 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
6 small bug where only tv.tv_usec was checked which could cause an
7 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
10 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
13 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
14 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
16 * nptl/tst-cond11.c: Use libsupport.
18 * support/timespec.h: New file. Provide timespec helper functions
19 along with macros in the style of those in check.h.
20 * support/timespec.c: New file. Implement check functions declared
21 in support/timespec.h.
22 * support/timespec-add.c: New file from gnulib containing
23 timespec_add implementation that handles overflow.
24 * support/timespec-sub.c: New file from gnulib containing
25 timespec_sub implementation that handles overflow.
26 * support/README: Mention timespec.h.
28 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
31 * nptl/Makefile: Move tst-eintr1 to xtests.
33 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
37 (round_mode): Add definition for TRUNC.
38 * sysdeps/powerpc/fpu/s_trunc.c: New file.
39 * sysdeps/powerpc/fpu/s_truncf.c: New file.
40 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
41 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
44 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
46 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
48 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
50 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
52 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
54 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
56 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
58 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
59 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
60 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
61 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
62 s_truncf-power5+, and s_truncf-ppc64.
63 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
64 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
66 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
67 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
68 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
69 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
71 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
73 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
74 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
75 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
76 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
77 s_truncf-power5+, and s_truncf-ppc64.
78 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
80 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
81 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
83 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
84 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
85 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
86 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
87 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
89 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
91 (round_mode): Add definition for ROUND.
92 (round_to_integer_float): Likewise.
93 * sysdeps/powerpc/fpu/s_round.c: New file.
94 * sysdeps/powerpc/fpu/s_roundf.c: New file.
95 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
96 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
97 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
99 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
101 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
103 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
105 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
107 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
109 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
111 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
113 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
114 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
115 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
116 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
117 s_roundf-power5+, and s_roundf-ppc64.
118 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
119 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
121 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
123 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
124 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
126 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
129 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
131 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
132 s_roundf-power5+, and s_roundf-ppc64.
133 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
135 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
136 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
138 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
139 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
140 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
141 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
142 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
144 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
146 (round_mode): Add definition for FLOOR.
147 * sysdeps/powerpc/fpu/s_floor.c: New file.
148 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
149 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
150 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
167 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
168 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
169 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
170 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
171 s_floorf-power5+, and s_floorf-ppc64.
172 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
173 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
175 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
177 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
178 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
180 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
183 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
185 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
186 s_floorf-power5+, and s_floorf-ppc64.
187 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
195 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
196 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
197 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
198 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
200 2019-05-08 Mike Crowe <mac@mcrowe.com>
202 * support/xclock_gettime.c (xclock_gettime): New file. Provide
203 clock_gettime wrapper for use in tests that fails the test rather
204 than returning failure.
206 * support/xtime.h: New file to declare xclock_gettime.
208 * support/Makefile: Add xclock_gettime.c.
210 * support/README: Mention xtime.h.
212 2019-05-08 Florian Weimer <fweimer@redhat.com>
214 malloc/tst-mallocfork2: Use process-shared barriers.
215 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
216 (signal_count, sigusr1_sender_pid): Remove.
217 (iterations): Define constant.
218 (shared): New variable.
219 (sigusr1_received): Update comment.
220 (sigusr1_handler): Do not send SIGSTOP to the sender process.
221 (signal_sender): Optional use barriers to avoid sending signals
222 during irrelevant times.
223 (do_it): Initialize variable shared. Use xfork for error
224 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
225 the iteration count, independent of signal delivery. Check for
226 deadlocks in fork. Introduce barriers for reducing signal
227 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
228 replaced by the barriers. Count signals during fork/free/malloc
230 * malloc/Makefile (tst-mallocfork): Link with libpthread.
232 2019-05-07 Joseph Myers <joseph@codesourcery.com>
234 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
236 (clock_adjtime64) New syscall.
237 (clock_getres_time64) Likewise.
238 (clock_gettime64) Likewise.
239 (clock_nanosleep_time64) Likewise.
240 (clock_settime64) Likewise.
241 (futex_time64) Likewise.
242 (io_pgetevents_time64) Likewise.
243 (io_uring_enter) Likewise.
244 (io_uring_register) Likewise.
245 (io_uring_setup) Likewise.
246 (mq_timedreceive_time64) Likewise.
247 (mq_timedsend_time64) Likewise.
248 (pidfd_send_signal) Likewise.
249 (ppoll_time64) Likewise.
250 (pselect6_time64) Likewise.
251 (recvmmsg_time64) Likewise.
252 (rt_sigtimedwait_time64) Likewise.
253 (sched_rr_get_interval_time64) Likewise.
254 (semtimedop_time64) Likewise.
255 (timer_gettime64) Likewise.
256 (timer_settime64) Likewise.
257 (timerfd_gettime64) Likewise.
258 (timerfd_settime64) Likewise.
259 (utimensat_time64) Likewise.
261 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
264 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
266 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
267 __memmove_thunderx2 to the list of implementations
268 * sysdeps/aarch64/multiarch/memmove.c: Likewise
269 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
270 (__memmove_thunderx2): Rewritten using SIMD ld/st
271 (__memcpy_thunderx2): Fixed handling overlapping cases.
272 Used ldp/stp instead of ldr/str if possible. Made loops
275 2019-05-03 Florian Weimer <fweimer@redhat.com>
277 * misc/tst-tsearch.c (walk_tree): Add more error checking.
279 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
282 * elf/tst-pldd.c (in_str_list): New function.
283 (do_test): Add default names for ld and libc as one option.
285 2019-05-02 Florian Weimer <fweimer@redhat.com>
287 misc: Add twalk_r function.
288 * include/search.h (__twalk_r): Declare.
289 * manual/examples/twalk.c: New file.
290 * manual/search.texi (Tree Search Function): Document twalk_r.
291 * misc/Versions (2.30): Export twalk_r.
292 (GLIBC_PRIVATE): Export __twalk_r.
293 * misc/search.h [__USE_GNU] (twalk_r): Declare.
294 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
295 (twalk_r): Add weak alias.
296 * misc/tst-tsearch.c (struct walk_trace_element): Define.
297 (walk_trace): New variable.
298 (struct twalk_with_twalk_r_closure): Define.
299 (twalk_with_twalk_r_action): New function.
300 (twalk_with_twalk_r): Likewise.
301 (walk_action): Call walk_trace_add.
302 (walk_tree_with): Rename from walk_tree. Add walk argument.
303 (walk_tree): New function.
304 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
305 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
307 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
309 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
310 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
311 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
312 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
313 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
314 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
316 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
318 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
320 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
321 (GLIBC_2.30): Likewise.
322 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
323 (GLIBC_2.30): Likewise.
324 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
325 (GLIBC_2.30): Likewise.
326 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
327 (GLIBC_2.30): Likewise.
328 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
331 (GLIBC_2.30): Likewise.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
333 (GLIBC_2.30): Likewise.
334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
335 (GLIBC_2.30): Likewise.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
337 (GLIBC_2.30): Likewise.
338 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
340 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
342 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
344 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
345 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
347 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
349 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
351 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
354 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
356 Make mktime etc. compatible with __time64_t
357 Keep these functions compatible with Gnulib while adding
358 __time64_t support. The basic idea is to move private API
359 declarations from include/time.h to time/mktime-internal.h, since
360 the former file cannot easily be shared with Gnulib whereas the
362 Also, do some other minor cleanup while in the neighborhood.
363 * include/time.h: Include stdbool.h, time/mktime-internal.h.
364 (__mktime_internal): Move this prototype to time/mktime-internal.h,
365 since Gnulib needs it.
366 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
367 Move these macros to time/mktime-internal.h, since Gnulib needs them.
368 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
369 (in_time_t_range): New static function.
370 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
371 so that glibc users are not tempted to use __time64_t.
372 * time/mktime-internal.h: Rewrite so that it does both glibc
373 and Gnulib work. Include time.h if not _LIBC.
374 (mktime_offset_t) [!_LIBC]: Define for gnulib.
375 (__time64_t): New type or macro, moved here from
377 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
378 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
380 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
381 New macros, taken from GNulib.
382 (__mktime_internal): New prototype, moved here from include/time.h.
383 * time/mktime.c (mktime_min, mktime_max, convert_time)
384 (ranged_convert, __mktime_internal, __mktime64):
385 * time/timegm.c (__timegm64):
386 Use __time64_t, not time_t.
387 * time/mktime.c: Stop worrying about whether time_t is floating-point.
388 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
390 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
391 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
394 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
396 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
398 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
401 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
402 from `-Wmaybe-uninitialized'.
403 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
405 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
407 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
409 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
410 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
411 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
412 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
413 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
415 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
432 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
434 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
435 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
437 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
440 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
441 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
443 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
446 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
448 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
449 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
450 s_ceilf-power5+, and s_ceilf-ppc64.
451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
456 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
457 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
458 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
459 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
461 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
462 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
463 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
465 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
467 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
468 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
469 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
470 (sem_getvalue): Likewise.
472 2019-04-26 Florian Weimer <fweimer@redhat.com>
474 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
475 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
477 2019-04-26 Florian Weimer <fweimer@redhat.com>
479 Makeconfig: Move -Wl,-rpath-link options before library references.
480 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
481 (link-libc): Remove $(link-libc-rpath-link).
483 2019-04-25 Florian Weimer <fweimer@redhat.com>
485 * Makeconfig (+link-pie-before-libc): Remove $(CC).
486 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
487 (+link-static-before-libc): Remove $(CC).
488 (+link-static, +link-static-tests): Add $(CC).
489 (+link-before-libc): Remove $(CC).
490 (+link, +link-pie, +link-pie-printers): Add $(CC).
492 2019-04-26 Florian Weimer <fweimer@redhat.com>
494 * Makeconfig (+link-pie-before-libc): Remove $(CC).
495 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
496 (+link-static-before-libc): Remove $(CC).
497 (+link-static, +link-static-tests): Add $(CC).
498 (+link-before-libc): Remove $(CC).
499 (+link, +link-pie, +link-pie-printers): Add $(CC).
501 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
504 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
506 2019-04-25 Florian Weimer <fweimer@redhat.com>
508 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
509 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
510 (bench-link-targets): New variable.
511 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
513 2019-04-25 Florian Weimer <fweimer@redhat.com>
515 Also enable BIND_NOW for programs if --enable-bind-now.
516 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
517 (+link-pie): Use $(link-extra-flags).
518 (+link-static): Likewise.
519 [! $(build-pie-default)] (+link): Likewise.
520 * manual/install.texi (Configuring and compiling): Update
521 --enable-bind-now description.
522 * INSTALL: Regenerated.
524 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
526 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
527 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
529 2019-04-24 Mike Frysinger <vapier@gentoo.org>
532 * malloc/Makefile (others): Add memusagestat.
533 ($(objpfx)memusagestat): Delete rule.
534 (LDLIBS-memusagestat): New variable.
536 2019-04-24 Florian Weimer <fweimer@redhat.com>
538 * locale/Makefile (tests-special): Guard setting by
539 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
540 to run while cross-compiling.
542 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
545 * elf/Makefile (tests-container): Add tst-pldd.
546 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
547 (E(find_maps)): Avoid use alloca, use default read file operations
548 instead of explicit LFS names, and fix infinite loop.
549 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
550 (get_process_info): Use _Static_assert instead of assert, use default
551 directory operations instead of explicit LFS names, and free some
553 * elf/tst-pldd.c: New file.
555 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
557 * malloc/arena.c (do_set_mallopt_check): Removed.
559 2019-04-23 Florian Weimer <fweimer@redhat.com>
561 locale: Add LOCPATH diagnostics to the locale program.
562 * locale/programs/locale.c (setlocale_failed): New variable.
563 (try_setlocale): New function.
564 (quote_string): Likewise.
565 (setlocale_diagnostics): Likewise.
566 (main): Call try_setlocale instead of setlocale. Call
567 setlocale_diagnostics.
568 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
569 (tst-locale-locpath.out): New target.
570 * locale/tst-locale-locpath.sh: New file.
572 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
574 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
577 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
580 * malloc/hooks.c (malloc_check, realloc_check): Use
581 __builtin_add_overflow on overflow check and adapt to
582 checked_request2size change.
583 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
584 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
585 allocation size to PTRDIFF_MAX.
586 (REQUEST_OUT_OF_RANGE): Remove macro.
587 (checked_request2size): Change to inline function and limit maximum
588 requested size to PTRDIFF_MAX.
589 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
590 maximum allocation size to PTRDIFF_MAX.
591 (_mid_memalign): Use _int_memalign call for overflow check.
592 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
593 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
594 limit maximum requested size to PTRDIFF_MAX.
595 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
596 valloc, pvalloc): Add __attribute_alloc_size__.
597 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
598 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
599 larger than PTRDIFF_MAX.
600 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
601 around tests of malloc with negative sizes.
602 * malloc/tst-posix_memalign.c (do_test): Likewise.
603 * malloc/tst-pvalloc.c (do_test): Likewise.
604 * malloc/tst-valloc.c (do_test): Likewise.
605 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
606 with resulting size allocation larger than PTRDIFF_MAX with
608 (reallocarray_nowarn): New function.
609 * NEWS: Mention the malloc function semantic change.
611 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
613 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
614 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
616 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
617 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
618 * sysdeps/powerpc/fpu/s_fma.c: New file.
619 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
621 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
622 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
624 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
625 the magic flag store.
626 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
628 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
630 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
631 Remove rt_sigreturn call.
633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
634 Remove rt_sigreturn call.
635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
640 * support/Makefile (libsupport-routines): Add support_subprocess,
641 xposix_spawn, xposix_spawn_file_actions_addclose, and
642 xposix_spawn_file_actions_adddup2.
643 (tst-support_capture_subprocess-ARGS): New rule.
644 * support/capture_subprocess.h (support_capture_subprogram): New
646 * support/support_capture_subprocess.c (support_capture_subprocess):
647 Refactor to use support_subprocess and support_capture_poll.
648 (support_capture_subprogram): New function.
649 * support/tst-support_capture_subprocess.c (write_mode_to_str,
650 str_to_write_mode, test_common, parse_int, handle_restart,
651 do_subprocess, do_subprogram, do_multiple_tests): New functions.
652 (do_test): Add support_capture_subprogram tests.
653 * support/subprocess.h: New file.
654 * support/support_subprocess.c: Likewise.
655 * support/xposix_spawn.c: Likewise.
656 * support/xposix_spawn_file_actions_addclose.c: Likewise.
657 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
658 * support/xspawn.h: Likewise.
660 2019-04-17 Mike Gerow <gerow@google.com>
662 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
665 2019-04-11 Florian Weimer <fweimer@redhat.com>
667 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
668 domain with empty string.
669 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
671 2019-04-11 Florian Weimer <fweimer@redhat.com>
673 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
675 (alloc_buffer_next): Change return type to non-const. Update
678 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
680 * manual/time.texi (Formatting Calendar Time): Add missing percent
681 sign to conversion specifier.
683 2019-04-09 Carlos O'Donell <carlos@redhat.com>
684 Kwok Cheung Yeung <kcy@codesourcery.com>
687 * malloc/mtrace.c: Define prototypes for all hooks.
688 (set_default_hooks): New function.
689 (set_trace_hooks): Likewise.
690 (save_default_hooks): Likewise.
691 (tr_freehook): Use new s*_hooks functions.
692 (tr_mallochook): Likewise.
693 (tr_reallochook): Likewise.
694 (tr_memalignhook): Likewise.
696 (muntrace): Likewise.
698 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
700 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
701 (generic_stpcpy): New function.
702 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
703 (generic_stpncpy): New function.
704 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
705 (generic_strcat): New function.
706 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
707 (generic_strcpy): New function.
708 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
709 (STUPID_STRNCAT): Remove function.
710 (generic_strncat): New function.
711 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
712 (STUPID_STRNCPY): Remove function.
713 (generic_strncpy): New function.
714 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
715 (generic_strnlen): New function.
716 (memchr_strnlen): New function.
717 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
718 (memchr_strlen): Likewise.
720 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
722 * benchtests/bench-strstr.c (input): Add realistic input text.
723 (stupid_strstr): Remove function.
724 (basic_strstr): Add function.
725 (twoway_strstr): Add function.
726 (do_one_test): Add result checking.
727 (do_test): Use new input text. Remove accidental early matches.
728 (test_main): Improve range of tests, reduce unaligned cases.
730 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
732 * benchtests/bench-memmem.c (simple_memmem): Remove function.
733 (basic_memmem): Add function.
734 (twoway_memmem): Add function.
736 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
738 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
739 * benchtests/bench-malloc-thread.c: Likewise.
740 * benchtests/bench-skeleton.c: Likewise.
741 * benchtests/bench-strtod.c: Likewise.
742 * benchtests/bench-timing.h: Likewise.
744 2019-04-08 Florian Weimer <fweimer@redhat.com>
746 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
748 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
749 RES_INSECURE2 security checks.
750 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
751 RES_INSECURE2 handling.
753 2019-04-08 Florian Weimer <fweimer@redhat.com>
755 resolv: Remove support for RES_USE_INET6 and the inet6 option.
756 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
757 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
759 * resolv/Makefile (tests): Remove tst-res_use_inet6.
760 (tests-internal): Update justification for tst-resolv-res_init,
761 tst-resolv-res_init-thread.
762 (tst-res_use_inet6): Remove target.
763 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
764 * resolv/res_debug.c (p_option): Remove "inet6" support.
765 * resolv/res_init.c (res_setoptions): Likewise.
766 * resolv/res_use_inet6.h: Remove file.
767 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
769 (res_use_inet6): Always return false.
770 * resolv/resolv.h (RES_USE_INET6): Remove definition.
771 * resolv/resolv_context.h: Adjust file comment.
772 (struct resolv_context): Update comment on __next field.
773 (__resolv_context_put): Update comment.
774 * resolv/tst-res_use_inet6.c: Remove file.
775 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
777 (test_cases): Adjust test case.
778 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
779 (thread_byname2_af_inet6): Use old byname_inet6 code.
780 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
781 (gai): Remove do_inet6 argument.
782 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
783 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
784 (thread_gai_unspec_inet6): Remove functions.
785 (do_test): Adjust thread_funcs.
786 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
788 (gaih_inet): Do not disable RES_USE_INET6 flag.
790 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
792 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
793 and remove redundant code.
795 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
797 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
799 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
807 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
808 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
809 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
810 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
811 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
813 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
815 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
818 Remove wcsrchr optimizations.
819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
821 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
824 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
826 * sysdeps/powerpc/power6/wcschr.c: Remove file.
827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
829 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
834 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
835 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
836 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
837 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
838 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
840 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
842 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
845 Remove wcschr optimizations.
846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
848 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
851 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
853 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
861 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
862 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
863 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
864 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
865 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
867 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
869 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
872 Remove wcscpy optimizations.
873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
875 * include/loop_unroll.h: New file.
876 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
877 besides generic implementation.
879 2019-04-03 DJ Delorie <dj@redhat.com>
881 * time/tst-strftime3.c (tm_to_printed): Disable warning about
882 snprintf truncating output.
884 2019-04-02 DJ Delorie <dj@redhat.com>
886 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
889 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
892 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
894 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
895 (mkreftable): Add rules for the new Japanese era and the new dates.
897 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
898 Rafal Luzynski <digitalfreak@lingonborough.com>
900 * time/tst-strftime2.c (date_t): Explicitly define the type.
901 (dates): Use natural month and year numbers to express a date.
902 (is_before): New function to compare dates.
903 (mkreftable): Minor improvements to simplify maintenance.
904 (do_test): Reflect the changes in dates array.
907 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
908 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
909 * time/tst-strftime2.c (locales): Likewise.
910 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
911 2010-04-01, and 2011-04-01.
912 (mkreftable): Add rules for the new locales and the new dates.
914 2019-04-01 Carlos O'Donell <carlos@redhat.com>
916 * localedata/locales/ja_JP: Add comments to era entries.
918 2019-04-01 DJ Delorie <dj@redhat.com>
921 * time/strptime_l.c (%Ey): Fix fencepost error.
922 * time/tst-strftime3.c: New.
923 * time/Makefile (tests): Add tst-strftime3.
925 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
927 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
928 conditional branch to DIVBYZERO. Fix unwind info.
929 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
930 excb after conditional branch to $powerof2. Add missing unop
931 instructions and .align directives and reorder instructions to
934 2019-04-01 Richard Henderson <rth@twiddle.net>
936 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
938 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
941 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
943 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
944 $libc_cv_riscv_float_abi in `test' invocation.
945 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
947 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
949 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
951 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
953 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
954 (_GET_SI_FPSCR): Likewise.
955 (_SET_SI_FPSCR): Likewise.
957 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
959 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
961 (signbit): Use builtin for clang 3.3.
962 (isinf): Use builtin for clang 3.7.
964 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
966 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
968 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
970 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
973 2019-03-25 Mike Crowe <mac@mcrowe.com>
975 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
976 pthread_rwlock_timedrdlock with calls to
977 pthread_rwlock_timedwrlock to ensure that the latter is tested
978 too. Use new function name in diagnostic messages too.
980 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
981 (do_test) Use libsupport test macros rather than hand-coded
982 conditionals and error messages. Ensure that sem_init returns zero
983 rather than not -1. Use <support/test-driver.c> rather than
986 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
987 test macros rather than hand-coded conditionals and error messages.
988 Use <support/test-driver.c> rather than test-skeleton.c.
990 2019-03-25 Joseph Myers <joseph@codesourcery.com>
992 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
994 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
995 (NT_MIPS_MSA): Likewise.
997 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
999 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1000 * benchtests/README: Update description.
1001 * benchtests/bench-timing.h: Default to hp-timing.
1002 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1003 HP_TIMING_PRINT): Remove.
1004 (HP_TIMING_NOW): Add generic implementation.
1005 (hp_timing_t): Change to uint64_t.
1007 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1009 * nptl/descr.h: Likewise.
1010 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1011 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1012 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1013 Abstract hp-timing usage with RTLD_* macros.
1014 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1015 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1016 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1017 HP_TIMING_NONAVAIL): Likewise.
1018 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1020 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1021 HP_SMALL_TIMING_AVAIL): Likewise.
1022 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1023 HP_SMALL_TIMING_AVAIL): Likewise.
1024 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1025 HP_SMALL_TIMING_AVAIL): Likewise.
1026 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1027 HP_SMALL_TIMING_AVAIL): Likewise.
1028 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1030 * sysdeps/generic/hp-timing-common.h: Update comment with
1031 HP_TIMING_AVAIL removal.
1033 * include/random-bits.h: New file.
1034 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1035 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1037 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1038 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1041 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1042 * rt/Makefile (clock-routines): Remove get_clockfreq.
1043 * rt/get_clockfreq.c: Remove file.
1044 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1045 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1046 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1048 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1050 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1051 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1052 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1053 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1054 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1056 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1057 pthread_clock_settime.
1058 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1059 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1060 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1061 * elf/rtld.c (_dl_start_final): Likewise.
1062 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1063 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1065 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1066 (_dl_cpuclock_offset): Remove.
1067 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1068 cpuclock_offset_ununsed.
1069 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1070 cpuclock_offset set.
1071 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1072 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1073 * nptl/pthread_clock_gettime.c: Remove file.
1074 * nptl/pthread_clock_settime.c: Likewise.
1075 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1076 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1077 and CLOCK_PROCESS_CPUTIME_ID support.
1078 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1079 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1080 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1081 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1082 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1084 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1086 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1088 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1089 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1090 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1092 * sysdeps/s390/memmem-arch13.S: New file.
1093 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1094 if it is only used as fallback.
1095 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1096 * sysdeps/s390/multiarch/ifunc-impl-list.c
1097 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1099 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1101 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1102 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1103 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1105 * sysdeps/s390/multiarch/ifunc-impl-list.c
1106 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1107 * sysdeps/s390/strstr-arch13.S: New file.
1108 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1109 if it is only used as fallback.
1110 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1112 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1114 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1115 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1116 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1117 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1119 * sysdeps/s390/multiarch/ifunc-impl-list.c
1120 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1121 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1122 S390_IS_ARCH13_MIE3): New defines.
1124 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1126 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1127 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1128 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1129 * sysdeps/s390/configure: Regenerated.
1131 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1133 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1134 Add vxe2, vxp, dflt, sort flags.
1135 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1136 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1138 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1139 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1140 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1141 HWCAP_S390_DFLT): Define.
1143 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1146 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1147 of compiler warning.
1148 * locale/programs/ld-collate.c (collate_output): Likewise.
1150 2019-03-21 DJ Delorie <dj@redhat.com>
1153 * iconv/iconvconfig.c (write_output): Replace floating point math
1154 with integer math to avoid imprecise results.
1155 * locale/programs/ld-collate.c (collate_output): Likewise.
1157 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1159 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1160 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1162 2019-03-20 mansayk <6688000@gmail.com>
1165 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1166 (abday): Likewise, but remove the trailing dots.
1168 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1170 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1172 (HWCAP_PACA): Likewise.
1173 (HWCAP_PACG): Likewise.
1174 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1176 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1178 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1180 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1183 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1185 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1187 (old_getpagesize): New syscall.
1189 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1192 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1193 * localedata/locales/cmn_TW (era): Likewise.
1194 * localedata/locales/hak_TW (era): Likewise.
1195 * localedata/locales/lzh_TW (era): Likewise.
1196 * localedata/locales/nan_TW (era): Likewise.
1198 2019-03-14 Florian Weimer <fweimer@redhat.com>
1200 Remove obsolete, never-implemented XSI STREAMS declarations.
1201 * manual/terminal.texi (Allocation): Remove portability note and
1203 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1205 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1206 * sysdeps/unix/inet/Subdirs (streams): Remove.
1207 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1208 (conformtest-headers-UNIX98): Likewise.
1209 (conformtest-headers-XOPEN2K): Likewise.
1210 (conformtest-headers-POSIX2008): Likewise.
1211 * posix/compat-streams.c: New file.
1212 * posix/Makefile (routines): Add it.
1213 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1214 getpmsg, isastream, putmsg, putpmsg.
1215 (GLIBC_2.30): New section.
1216 * bits/stropts.h: Remove file.
1217 * bits/xtitypes.h: Likewise.
1218 * conform/data/stropts.h-data: Likewise.
1219 * include/stropts.h: Likewise.
1220 * include/sys/stropts.h: Likewise.
1221 * include/xtitypes.h: Likewise.
1222 * streams/Makefile: Likewise.
1223 * streams/fattach.c: Likewise.
1224 * streams/fdetach.c: Likewise.
1225 * streams/getmsg.c: Likewise.
1226 * streams/getpmsg.c: Likewise.
1227 * streams/isastream.c: Likewise.
1228 * streams/putmsg.c: Likewise.
1229 * streams/putpmsg.c: Likewise.
1230 * streams/stropts.h: Likewise.
1231 * streams/sys/stropts.h: Likewise.
1232 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1233 * sysdeps/s390/bits/xtitypes.h: Likewise.
1234 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1235 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1236 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1237 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1238 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1239 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1240 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1241 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1242 * sysdeps/x86/bits/xtitypes.h: Likewise.
1244 2019-03-14 Florian Weimer <fweimer@redhat.com>
1246 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1248 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1249 but not with libnss_files.
1250 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1252 2019-03-14 Zack Weinberg <zackw@panix.com>
1254 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1255 Specify encoding="utf-8" when opening headers to check.
1257 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1259 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1261 (Context.checkout_tar): Handle variable major version for Linux
1264 2019-03-13 Florian Weimer <fweimer@redhat.com>
1267 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1269 2019-03-13 Zack Weinberg <zackw@panix.com>
1271 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1273 * include/inttypes.h: Adjust to match.
1274 * include/stdint.h: New wrapper.
1276 2019-03-13 Zack Weinberg <zackw@panix.com>
1278 * scripts/check-obsolete-constructs.py: New test script.
1279 * scripts/check-installed-headers.sh: Remove tests for
1280 obsolete typedefs, superseded by check-obsolete-constructs.py.
1281 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1282 as a special test. Update commentary.
1283 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1284 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1286 * posix/sys/types.h (__u_intN_t): Remove.
1287 (u_int8_t): Typedef using __uint8_t.
1288 (u_int16_t): Typedef using __uint16_t.
1289 (u_int32_t): Typedef using __uint32_t.
1290 (u_int64_t): Typedef using __uint64_t.
1292 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1294 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1296 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1297 Ignore types other than AT_HWCAP.
1298 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1299 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1301 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1302 in the case of falling back to generic output mechanism.
1303 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1306 2019-03-12 Florian Weimer <fweimer@redhat.com>
1308 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1310 2019-03-12 Florian Weimer <fweimer@redhat.com>
1313 resolv: Enable full ICMP errors for UDP DNS sockets
1314 * resolv/res_enable_icmp.c: New file.
1315 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1316 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1317 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1320 2019-03-11 Mao Han <han_mao@c-sky.com>
1322 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1323 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1325 2019-03-11 Mao Han <han_mao@c-sky.com>
1327 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1328 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1329 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1331 2019-03-11 Mao Han <han_mao@c-sky.com>
1333 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1335 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1338 2019-03-11 Mao Han <han_mao@c-sky.com>
1340 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1341 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1344 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1347 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1348 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1350 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1351 * localedata/unicode-gen/PropList.txt: Likewise.
1352 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1353 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1354 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1355 * localedata/charmaps/UTF-8: Regenerate.
1356 * localedata/locales/i18n_ctype: Likewise.
1357 * localedata/locales/tr_TR: Likewise.
1358 * localedata/locales/translit_circle: Likewise.
1359 * localedata/locales/translit_cjk_compat: Likewise.
1360 * localedata/locales/translit_combining: Likewise.
1361 * localedata/locales/translit_compat: Likewise.
1362 * localedata/locales/translit_font: Likewise.
1363 * localedata/locales/translit_fraction: Likewise.
1365 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1367 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1368 than after operators.
1369 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1370 (setitimer_locked): Likewise.
1371 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1372 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1373 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1374 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1375 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1376 (PPC_CPU_SUPPORTED): Likewise.
1377 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1378 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1379 (stat_overflow): Likewise.
1380 (statfs_overflow): Likewise.
1381 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1382 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1383 (eq_ttyname_r): Likewise.
1384 (run_chroot_tests): Likewise.
1386 2019-03-07 Florian Weimer <fweimer@redhat.com>
1388 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1391 2019-03-07 Martin Liska <mliska@suse.cz>
1393 * math/Makefile: Change location where math-vector-fortran.h is
1395 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1396 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1397 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1398 * scripts/check-installed-headers.sh: Skip Fortran header files.
1399 * scripts/check-wrapper-headers.py: Likewise.
1401 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1403 * nptl/nptl-init.c (__have_futex_clock_realtime,
1404 __have_futex_clock_realtime): Remove definition.
1405 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1406 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1407 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1408 __ASSUME_FUTEX_CLOCK_REALTIME support.
1409 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1410 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1411 * sysdeps/unix/sysv/linux/kernel-features.h
1412 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1413 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1416 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1418 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1419 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1420 __GI___wcscpy and wcscpy.
1422 2019-03-04 Florian Weimer <fweimer@redhat.com>
1424 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1426 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1429 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1431 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1432 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1434 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1437 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1438 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1440 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1442 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1444 (do_test): Likewise.
1445 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1446 (do_test_call_varg): Likewise.
1447 (do_test_call_rarg): Likewise.
1448 * sysdeps/ieee754/ldbl-opt/Makefile
1449 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1451 ($(objpfx)tst-nldbl-warn.c): New rule.
1452 ($(objpfx)tst-nldbl-error.c): Likewise.
1453 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1456 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1459 * include/bits/error-ldbl.h: New file.
1460 * include/error.h: Include stdarg.h. Declare internal functions
1461 __error_internal and __error_at_line_internal.
1462 * misc/Makefile (headers): Add bits/error-ldbl.h.
1463 * misc/bits/error-ldbl.h: New file.
1464 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1465 avoid the inclusion of bits/error.h.
1466 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1467 and __nldbl_error_at_line.
1468 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1469 (__nldbl_error, __ndlbl_error_at_line): New functions.
1470 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1471 Redirect error and error_at_line.
1472 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1481 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1482 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1483 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1485 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1488 * include/bits/err-ldbl.h: New file.
1489 * include/err.h: Add prototypes for the internal functions:
1490 __vwarnx_internal and __vwarn_internal.
1491 * misc/Makefile (headers): Add bits/err-ldbl.h.
1492 * misc/bits/err-ldbl.h: New file.
1493 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1494 defined, i.e.: when -mlong-double-64 is in use.
1495 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1496 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1497 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1498 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1499 (VA_CALL): New macro.
1500 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1501 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1503 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1504 declare prototypes for the new functions.
1505 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1514 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1515 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1516 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1518 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1520 * sysdeps/ieee754/ldbl-opt/Makefile
1521 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1522 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1523 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1525 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1528 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1529 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1530 * argp/bits/argp-ldbl.h: New file.
1531 * include/argp.h: Include stdarg.h. Add prototypes for internal
1532 functions: __argp_error_internal and __argp_failure_internal.
1533 * include/bits/argp-ldbl.h: New file.
1534 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1535 __nldbl_argp_error and __nldbl_argp_failure.
1536 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1537 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1538 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1539 Redirect argp_error and argp_failure calls.
1540 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1549 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1550 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1551 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1553 2019-03-01 Florian Weimer <fweimer@redhat.com>
1556 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1557 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1558 code, to avoid creating an ABI tag note.
1559 (modules-names-nobuild): Add tst-big-note-lib.
1561 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1563 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1564 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1566 2019-03-01 Florian Weimer <fweimer@redhat.com>
1569 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1570 (__netlink_assert_response): Add additional missing newlines.
1572 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1574 * sysdeps/powerpc/powerpc32/dl-machine.c
1575 (__elf_machine_fixup_plt): Use space before '('.
1576 (__process_machine_rela): Likewise.
1577 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1579 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1581 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1583 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1584 (pattern): Likewise.
1586 (check_result): Likewise.
1587 (check_excepts): Likewise.
1588 (check_op): Likewise.
1589 (fail_xr): Likewise.
1590 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1591 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1593 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1596 (__makecontext): Likewise.
1597 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1600 2019-02-28 Florian Weimer <fweimer@redhat.com>
1603 elf: Add test with a local IFUNC resolver.
1604 * elf/ifuncmain9.c: New file.
1605 * elf/ifuncmain9pic.c: Likewise.
1606 * elf/ifuncmain9picstatic.c: Likewise.
1607 * elf/ifuncmain9pie.c: Likewise.
1608 * elf/ifuncmain9static.c: Likewise.
1609 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1610 ifuncmain9static, ifuncmain9picstatic.
1611 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1612 Add ifuncmain9, ifuncmain9pic.
1613 * elf/Makefile [multi-arch && build-shared && have-fpie]
1614 (ifunc-pie-tests): Add ifuncmain9pie.
1615 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1616 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1617 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1619 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1621 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1622 * configure: Regenerated.
1623 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1625 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1628 symbol as __wcspcy instead of wcscpy.
1630 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1632 * include/stdio.h (__renameat2): New hidden prototype.
1633 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1634 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1635 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1636 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1638 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1640 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1643 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1644 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1645 * benchtests/bench-strlen.c (do_test): Likewise.
1646 (test_main): Likewise.
1647 * catgets/gencat.c (read_old): Likewise.
1648 * elf/cache.c (load_aux_cache): Likewise.
1649 * iconvdata/bug-iconv8.c (do_test): Likewise.
1650 * math/test-tgmath-ret.c (do_test): Likewise.
1651 * nis/nis_call.c (rec_dirsearch): Likewise.
1652 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1653 * nptl/tst-audit-threads.c (do_test): Likewise.
1654 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1655 * nss/nss_test1.c (init): Likewise.
1656 * nss/test-netdb.c (test_hosts): Likewise.
1657 * posix/execvpe.c (maybe_script_execute): Likewise.
1658 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1659 * stdio-common/tst-printf.c (do_test): Likewise.
1660 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1661 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1662 * stdlib/qsort.c (STACK_SIZE): Likewise.
1663 * stdlib/test-canon.c (do_test): Likewise.
1664 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1665 * string/memcmp.c (OPSIZ): Likewise.
1666 * string/test-strcpy.c (do_test): Likewise.
1667 (do_random_tests): Likewise.
1668 * string/test-strlen.c (do_test): Likewise.
1669 (test_main): Likewise.
1670 * string/test-strrchr.c (do_test): Likewise.
1671 (do_random_tests): Likewise.
1672 * string/tester.c (test_memrchr): Likewise.
1673 (test_memchr): Likewise.
1674 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1675 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1676 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1677 (read_encoded_value_with_base): Likewise.
1678 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1679 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1680 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1681 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1682 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1683 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1685 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1687 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1688 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1689 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1691 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1693 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1695 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1697 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1698 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1699 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1700 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1701 * time/test_time.c (main): Likewise.
1703 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1705 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1707 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1710 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1713 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1715 * include/wchar.h (__wcscpy): New prototype.
1716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1717 (__wcscpy): Route internal symbol to generic implementation.
1718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1719 Add internal __wcscpy alias.
1720 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1721 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1722 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1723 * wcsmbs/wcscpy.c (wcscpy): Add
1724 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1725 use generic implementation.
1726 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1728 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1731 * sysdeps/m68k/wcpcpy.c: Remove file.
1732 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1734 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1736 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1737 than after operators.
1738 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1739 * sysdeps/mach/hurd/getcwd.c
1740 (__hurd_canonicalize_directory_name_internal): Likewise.
1741 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1742 (pthread_mutex_consistent): Likewise.
1743 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1745 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1746 (__pthread_mutex_transfer_np): Likewise.
1747 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1748 (__pthread_mutex_unlock): Likewise.
1749 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1750 (mtx_owned_p): Likewise.
1751 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1752 (pthread_mutexattr_getrobust): Likewise.
1753 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1754 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1756 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1757 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1758 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1759 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1760 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1762 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1764 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1766 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1767 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1768 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1769 (____longjmp_chk): Likewise.
1770 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1773 (INTERNAL_SYSCALL): Likewise.
1774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1775 (INTERNAL_SYSCALL): Likewise.
1776 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1777 (__get_clockfreq_via_cpuinfo): Likewise.
1779 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1781 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1782 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1783 (WORD_COPY_BWD): Likewise.
1784 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1785 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1787 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1788 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1790 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1792 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1794 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1795 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1796 rather than after operators.
1797 * elf/cache.c (print_cache): Likewise.
1798 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1799 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1800 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1801 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1802 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1803 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1804 (reauth_proc): Likewise.
1805 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1806 (__file_name_split_at): Likewise.
1807 (__directory_name_split_at): Likewise.
1808 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1809 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1810 * iconv/gconv_dl.c (do_print): Likewise.
1811 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1812 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1813 * locale/setlocale.c (new_composite_name): Likewise.
1814 * malloc/memusagestat.c (main): Likewise.
1815 * misc/fstab.c (fstab_convert): Likewise.
1816 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1818 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1819 (getgrent_next_file): Likewise.
1820 (internal_getgrnam_r): Likewise.
1821 (internal_getgrgid_r): Likewise.
1822 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1824 (internal_getgrent_r): Likewise.
1825 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1826 (getpwent_next_nss): Likewise.
1827 (getpwent_next_file): Likewise.
1828 (internal_getpwnam_r): Likewise.
1829 (internal_getpwuid_r): Likewise.
1830 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1832 (getspent_next_nss): Likewise.
1833 (internal_getspnam_r): Likewise.
1834 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1835 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1836 * string/strchr.c (STRCHR): Likewise.
1837 * string/strchrnul.c (STRCHRNUL): Likewise.
1838 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1839 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1840 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1841 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1842 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1844 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1845 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1846 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1847 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1848 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1849 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1850 (open_file): Likewise.
1851 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1852 (pthread_mutexattr_setprotocol): Likewise.
1853 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1854 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1855 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1856 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1857 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1859 (elf_machine_rela): Likewise.
1860 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1861 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1862 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1863 * sysdeps/posix/rename.c (rename): Likewise.
1864 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1865 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1866 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1867 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1868 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1869 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1870 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1872 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1874 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1875 * time/tzfile.c (__tzfile_compute): Likewise.
1877 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1879 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1880 rather than after operators.
1881 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1882 * crypt/md5.c (md5_finish_ctx): Likewise.
1883 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1884 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1885 * elf/cache.c (load_aux_cache): Likewise.
1886 * elf/dl-load.c (open_verify): Likewise.
1887 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1888 * elf/readelflib.c (process_elf_file): Likewise.
1889 * elf/rtld.c (dl_main): Likewise.
1890 * elf/sprof.c (generate_call_graph): Likewise.
1891 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1892 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1893 * hurd/dtable.c (reauth_dtable): Likewise.
1894 * hurd/getdport.c (__getdport): Likewise.
1895 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1896 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1897 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1899 * hurd/hurdioctl.c (fioctl): Likewise.
1900 * hurd/hurdselect.c (_hurd_select): Likewise.
1901 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1902 (STOPSIGS): Likewise.
1903 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1904 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1905 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1906 * hurd/msgportdemux.c (msgport_server): Likewise.
1907 * hurd/setauth.c (_hurd_setauth): Likewise.
1908 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1909 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1910 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1911 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1912 * login/tst-utmp.c (do_check): Likewise.
1913 (simulate_login): Likewise.
1914 * mach/lowlevellock.h (lll_lock): Likewise.
1915 (lll_trylock): Likewise.
1916 * math/test-fenv.c (ALL_EXC): Likewise.
1917 * math/test-fenvinline.c (ALL_EXC): Likewise.
1918 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1919 * nis/nis_call.c (__do_niscall3): Likewise.
1920 * nis/nis_callback.c (cb_prog_1): Likewise.
1921 * nis/nis_defaults.c (searchaccess): Likewise.
1922 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1923 * nis/nis_ismember.c (internal_ismember): Likewise.
1924 * nis/nis_local_names.c (nis_local_principal): Likewise.
1925 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1926 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1928 * nis/ypclnt.c (yp_match): Likewise.
1929 (yp_first): Likewise.
1930 (yp_next): Likewise.
1931 (yp_master): Likewise.
1932 (yp_order): Likewise.
1933 * nscd/hstcache.c (cache_addhst): Likewise.
1934 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1935 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1936 (internal_getpwuid_r): Likewise.
1937 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1938 * posix/glob.h (__GLOB_FLAGS): Likewise.
1939 * posix/regcomp.c (peek_token): Likewise.
1940 (peek_token_bracket): Likewise.
1941 (parse_expression): Likewise.
1942 * posix/regexec.c (sift_states_iter_mb): Likewise.
1943 (check_node_accept_bytes): Likewise.
1944 * posix/tst-spawn3.c (do_test): Likewise.
1945 * posix/wordexp-test.c (testit): Likewise.
1946 * posix/wordexp.c (parse_tilde): Likewise.
1947 (exec_comm): Likewise.
1948 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1949 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1950 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1951 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1952 * stdio-common/tst-fileno.c (do_test): Likewise.
1953 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1954 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1955 * stdlib/strtod_l.c (round_and_return): Likewise.
1956 (____STRTOF_INTERNAL): Likewise.
1957 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1958 * string/strcspn.c (STRCSPN): Likewise.
1959 * string/test-memmem.c (simple_memmem): Likewise.
1960 * termios/tcsetattr.c (tcsetattr): Likewise.
1961 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1962 * time/asctime.c (asctime_internal): Likewise.
1963 * time/strptime_l.c (__strptime_internal): Likewise.
1964 * time/sys/time.h (timercmp): Likewise.
1965 * time/tzfile.c (__tzfile_compute): Likewise.
1967 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1970 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1972 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1974 * argp/argp-help.c (__argp_error_internal): New function,
1975 renamed from __argp_error, but that takes a 'mode_flags'
1976 parameter to control the format of long double parameters.
1977 (__argp_error): Converted into a call __argp_error_internal.
1978 (__argp_failure_internal): New function, renamed from
1979 __argp_failure, but that takes a 'mode_flags' parameter.
1980 (__argp_failure): Converted into a call __argp_failure_internal.
1981 * misc/err.c (__vwarnx_internal): New function, renamed from
1982 vwarnx, but that takes a 'mode_flags' parameter.
1983 (vwarnx): Converted into a call to __vwarnx_internal.
1984 (__vwarn_internal): New function, renamed from vwarn, but that
1985 takes a 'mode_flags' parameter.
1986 (vwarn): Converted into a call to __vwarn_internal.
1987 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1988 call to __vfxprintf with 'mode_flags'.
1989 (__error_internal): New function, renamed from error, but that
1990 takes a 'mode_flags' parameter.
1991 (error): Converted into a call to __error_internal.
1992 (__error_at_line_internal): New function, renamed from
1993 error_at_line, but that takes a 'mode_flags' parameter.
1994 (error_at_line): Converted into a call to
1995 __error_at_line_internal.
1996 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1997 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2000 2019-02-20 Martin Liska <mliska@suse.cz>
2002 * math/Makefile: Install math-vector-fortran.h.
2003 * bits/math-vector-fortran.h: New file.
2004 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2006 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2008 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2009 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2011 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2013 * nptl/pthread_mutex_trylock.c: Fix comment.
2015 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2017 * nptl/pthread_tryjoin.c: Fix comment.
2019 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2023 after R_SPARC_H34 case.
2025 2019-02-18 Florian Weimer <fweimer@redhat.com>
2027 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2028 (getanswer): Do not call Dprintf.
2029 (res_gethostbyname2_context): Likewise.
2030 (res_gethostbyaddr_context): Likewise.
2032 2019-02-18 Florian Weimer <fweimer@redhat.com>
2034 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2036 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2038 * libio/stdfiles.c: Update comment.
2039 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2040 set _IO_stdin, _IO_stdout, _IO_stderr.
2041 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2042 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2044 (_IO_deallocate_file): New inline function.
2045 * libio/iolibio.h (_IO_vprintf): Remove definition.
2046 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2047 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2048 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2050 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2051 __builtin_expect. Use _IO_legacy_file.
2053 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2055 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2056 Initialize ctid with a known value and remove update of ctid
2058 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2059 as assumed current value of ctid_ptr.
2061 2019-02-16 Florian Weimer <fweimer@redhat.com>
2063 Check that non-sysdeps headers have wrapper headers.
2064 * scripts/check-wrapper-headers.py: New file.
2065 * Makefile (tests-special): Add check-wrapper-headers.out.
2066 (check-wrapper-headers.out): New target.
2067 * Rules (tests-special): Add check-wrapper-headers.out.
2068 (check-wrapper-headers.out): New target.
2070 2019-02-16 Florian Weimer <fweimer@redhat.com>
2072 Add missing header wrappers under include/.
2073 * include/ar.h: New file.
2074 * include/bits/mqueue2.h: Likewise.
2075 * include/bits/stdio.h: Likewise.
2076 * include/bits/stdio2.h: Likewise.
2077 * include/fstab.h: Likewise.
2078 * include/fts.h: Likewise.
2079 * include/lastlog.h: Likewise.
2080 * include/netinet/icmp6.h: Likewise.
2081 * include/netinet/igmp.h: Likewise.
2082 * include/netinet/ip6.h: Likewise.
2083 * include/re_comp.h: Likewise.
2084 * include/regexp.h: Likewise.
2085 * include/rpcsvc/bootparam.h: Likewise.
2086 * include/rpcsvc/yp_prot.h: Likewise.
2087 * include/sys/random.h: Likewise.
2088 * include/sys/stropts.h: Likewise.
2089 * include/sys/ttychars.h: Likewise.
2090 * include/sys/vfs.h: Likewise.
2091 * include/wait.h: Likewise.
2093 2019-02-16 Florian Weimer <fweimer@redhat.com>
2095 * nptl_db/proc_service.h: Move to ...
2096 * sysdeps/nptl/proc_service.h: ... here.
2097 * nptl_db/thread_db.h: Move to ...
2098 * sysdeps/nptl/thread_db.h: ... here.
2099 * nptl/descr.h: Include <thread_db.h>.
2101 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2103 * io/Makefile (tests): Add tst-lockf.
2104 * io/lockf.c (lockf): Use __fcntl and only define for
2105 !__OFF_T_MATCHES_OFF64_T.
2106 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2107 __OFF_T_MATCHES_OFF64_T case.
2108 * io/tst-lockf.c: New file.
2109 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2110 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2111 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2112 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2113 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2115 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2116 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2117 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2119 2019-02-15 Florian Weimer <fweimer@redhat.com>
2122 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2123 pd->result after the thread descriptor has been freed.
2125 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2127 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2128 from function return type.
2130 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2132 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2134 * scripts/test_printers_common.py: Set TERM to a known harmless
2137 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2139 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2140 (xdr_u_int): Likewise.
2141 (xdr_enum): Likewise.
2142 (xdr_bytes): Reword fall-through comment.
2143 (xdr_string): Likewise.
2145 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2148 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2149 (tests): Add tst-join8 tst-join9.
2150 * nptl/lll_timedwait_tid.c: Remove file.
2151 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2152 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2153 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2154 * nptl/pthread_join_common.c (timedwait_tid): New function.
2155 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2157 * nptl/tst-join5.c (thread_join): New function.
2158 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2160 * nptl/tst-join8.c: New file.
2161 * nptl/tst-join9.c: Likewise.
2162 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2163 lll_futex_timed_wait_cancel): Add generic macros.
2164 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2166 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2167 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2168 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2169 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2171 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2173 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2174 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2175 (lll_futex_timed_wait_cancel): New macro.
2177 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2179 * benchtests/Makefile: Add malloc-simple benchmark.
2180 * benchtests/bench-malloc-simple.c: New benchmark.
2182 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2184 * benchtests/bench-memmove.c (do_one_test): Remove unused
2187 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2191 2019-01-13 Jim Wilson <jimw@sifive.com>
2194 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2195 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2197 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2199 * nptl/Makefile (tests): Add tst-unwind-thread.
2200 (CFLAGS-tst-unwind-thread.c): Define.
2201 * nptl/tst-unwind-thread.c: New file.
2202 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2205 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2207 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2209 * nis/nis_call.c (__do_niscall3): Likewise.
2211 * catgets/gencat.c (normalize_line): Use braces around empty
2213 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2214 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2215 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2216 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2217 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2218 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2219 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2222 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2225 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2227 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2228 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2229 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2230 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2231 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2232 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2233 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2234 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2235 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2236 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2237 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2238 * benchtests/bench-bcopy.c: Delete file.
2239 * benchtests/bench-bzero.c: Likewise.
2240 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2241 (simple_memccpy): Remove.
2242 (generic_memccpy): Add function.
2243 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2244 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2245 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2246 (generic_mempcpy): Add new function.
2247 * benchtests/bench-memset.c (simple_bzero): Remove.
2248 (builtin_bzero): Remove.
2249 (builtin_memset): Remove.
2250 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2251 (generic_rawmemchr): Add new function.
2253 2019-02-12 Florian Weimer <fweimer@redhat.com>
2255 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2257 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2260 * elf/Makefile (tests): Add tst-audit13.
2261 (modules-names): Add tst-audit13mod1.
2262 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2264 * elf/tst-audit13.c: New file.
2265 * elf/tst-audit13mod1.c: Likewise.
2267 2019-02-12 Florian Weimer <fweimer@redhat.com>
2270 * elf/rtld.c (unload_audit_module): New function.
2271 (report_audit_module_load_error): Likewise.
2272 (load_audit_module): Likewise. Extracted from dl_main. Call
2273 _dl_close if the laversion symbol cannot be found. Use early
2274 returns for error handling. Add malloc error check. Check for a
2275 zero return value from la_version. Remove spurious comment about
2276 static TLS initialization. Remove useless casts.
2277 (notify_audit_modules_of_loaded_object): New function. Extracted
2279 (load_audit_module): Likewise.
2280 (dl_main): Call load_audit_modules.
2282 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2284 * elf/dl-exception.c (_dl_exception_create_format): Add
2285 fall-through comments.
2286 * elf/ldconfig.c (parse_conf_include): Likewise.
2287 * elf/rtld.c (print_statistics): Likewise.
2288 * locale/programs/charmap.c (parse_charmap): Likewise.
2289 * misc/mntent_r.c (__getmntent_r): Likewise.
2290 * posix/wordexp.c (parse_arith): Likewise.
2291 (parse_backtick): Likewise.
2292 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2293 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2296 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2298 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2299 Use float instead of double.
2301 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2303 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2305 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2307 * sysdeps/powerpc/bits/mathinline.h: Remove.
2309 2019-02-08 Florian Weimer <fweimer@redhat.com>
2311 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2312 * math/bits/math-finite.h: Move to ...
2313 * bits/math-finite.h: ... here.
2315 2019-02-08 Florian Weimer <fweimer@redhat.com>
2317 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2318 * bits/unistd_ext.h: here.
2320 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2323 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2324 * nss/tst-nss-files-hosts-long.c: New file.
2325 * nss/tst-nss-files-hosts-long.root: New directory.
2326 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2327 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2329 2019-02-08 Florian Weimer <fweimer@redhat.com>
2331 * include/bits/unistd_ext.h: Remove file.
2332 * posix/bits/unistd_ext.h: Move to ...
2333 * sysdeps/generic/bits/unistd_ext.h: ... here.
2335 2019-02-08 Florian Weimer <fweimer@redhat.com>
2337 * include/bits/unistd_ext.h: New file.
2339 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2341 * time/tst-strftime2.c: Use array_length macros instead of magic
2344 2019-02-08 Florian Weimer <fweimer@redhat.com>
2347 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2349 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2350 locking if the new do_locking argument is true.
2351 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2352 __run_fork_handlers.
2354 2019-02-08 Florian Weimer <fweimer@redhat.com>
2357 Linux: Add gettid system call wrapper.
2358 * posix/Makefile (headers): Add bits/unistd_ext.h.
2359 * posix/bits/unistd_ext.h: New file.
2360 * posix/unistd.h: Include it.
2361 * manual/process.texi (Process Identification): Document gettid.
2362 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2363 tst-gettid, tst-gettid-kill.
2364 (tst-gettid): Link with $(shared-thread-library).
2365 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2366 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2367 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2368 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2369 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2370 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2372 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2374 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2375 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2377 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2379 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2381 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2383 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2385 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2387 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2389 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2390 (GLIBC_2.30): Likewise.
2391 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2392 (GLIBC_2.30): Likewise.
2393 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2394 (GLIBC_2.30): Likewise.
2395 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2396 (GLIBC_2.30): Likewise.
2397 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2400 (GLIBC_2.30): Likewise.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2402 (GLIBC_2.30): Likewise.
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2404 (GLIBC_2.30): Likewise.
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2406 (GLIBC_2.30): Likewise.
2407 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2409 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2411 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2413 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2418 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2420 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2422 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2424 2019-02-08 Florian Weimer <fweimer@redhat.com>
2426 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2427 compatibility symbols.
2429 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2432 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2433 Add compiler barriers and comments.
2435 2019-02-07 Florian Weimer <fweimer@redhat.com>
2437 * include/array_length.h (array_length): Do not use a statement
2438 expression and _Static_assert, so that array_length can be used at
2439 file scope and as a constant expression.
2441 2019-02-07 Florian Weimer <fweimer@redhat.com>
2443 * support/xdlfcn.h (xdlmopen): Declare.
2444 * support/xdlmopen.c: New file.
2445 * support/Makefile (libsupport-routines): Add xdlmopen.
2447 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2449 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2450 before return type, without separate inline.
2451 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2452 * elf/dl-tunables.h (tunable_is_name): Likewise.
2453 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2454 (do_set_top_pad): Likewise.
2455 (do_set_mmap_threshold): Likewise.
2456 (do_set_mmaps_max): Likewise.
2457 (do_set_mallopt_check): Likewise.
2458 (do_set_perturb_byte): Likewise.
2459 (do_set_arena_test): Likewise.
2460 (do_set_arena_max): Likewise.
2461 (do_set_tcache_max): Likewise.
2462 (do_set_tcache_count): Likewise.
2463 (do_set_tcache_unsorted_limit): Likewise.
2464 * nis/nis_subr.c (count_dots): Likewise.
2465 * nptl/allocatestack.c (advise_stack_range): Likewise.
2466 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2468 (reduce_sincos): Likewise.
2469 (do_sincos): Likewise.
2470 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2471 (do_set_elision_enable): Likewise.
2472 (TUNABLE_CALLBACK_FNDECL): Likewise.
2474 2019-02-06 Florian Weimer <fweimer@redhat.com>
2476 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2477 (xdlsym): Use dlerror to detect a NULL symbol.
2479 2019-02-06 Florian Weimer <fweimer@redhat.com>
2481 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2483 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2485 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2487 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2489 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2491 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2492 __wmemcmp and weak alias to wmemcmp.
2494 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2497 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2498 TLS_TCB_AT_TP tls variant.
2499 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2500 Add alignment checks.
2501 * support/Makefile (libsupport-routines): Add xposix_memalign and
2503 * support/support.h: Add xposix_memalign.
2504 * support/xthread.h: Add xpthread_attr_setstack.
2505 * support/xposix_memalign.c: New File.
2506 * support/xpthread_attr_setstack.c: Likewise.
2508 2019-02-05 Florian Weimer <fweimer@redhat.com>
2511 arm: Use "nr" constraint for Systemtap probes, to avoid the
2512 compiler using memory operands for constants, due to the "o"
2513 alternative in the default "nor" constraint.
2514 * include/stap-probe.h [USE_STAP_PROBE]: Include
2515 <stap-probe-machine.h>
2516 * sysdeps/generic/stap-probe-machine.h: New file.
2517 * sysdeps/arm/stap-probe-machine.h: Likewise.
2519 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2521 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2522 with 0, not tcache->entries[tc_idx].
2524 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2527 2019-02-04 Andreas Schwab <schwab@suse.de>
2531 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2532 looking up collating elements match against (wide) character
2533 sequence instead of name. Correct alignment adjustment.
2534 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2535 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2536 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2537 (LOCALES): Add cs_CZ.ISO-8859-2.
2538 * posix/tst-fnmatch4.c: New file.
2539 * posix/tst-fnmatch5.c: New file.
2540 * include/wchar.h (__wmemcmp): Declare.
2541 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2542 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2543 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2544 * sysdeps/s390/wmemcmp.c: Likewise.
2546 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2550 * NEWS: Updated for CVE-2019-7309.
2551 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2552 upper 32 bits of RDX register for x32. Use unsigned Jcc
2553 instructions, instead of signed.
2554 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2555 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2557 2019-02-04 Florian Weimer <fweimer@redhat.com>
2559 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2560 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2561 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2563 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2564 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2565 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2566 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2568 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2570 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2572 (posix_spawn_file_actions_addopen): Likewise.
2573 (posix_spawn_file_actions_addclose): Likewise.
2574 (posix_spawn_file_actions_adddup2): Likewise.
2575 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2577 (posix_spawn_file_actions_addfchdir_np): Likewise.
2579 2019-02-04 David Newall <glibc@davidnewall.com>
2581 elf: Implement --preload option for the dynamic linker.
2582 * elf/rtld.c (preloadarg): New variable.
2583 (handle_preload_list): Pass through “where” argument to
2585 (dl_main): Handle "--preload" and add second call to
2586 handle_preload_list.
2587 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2588 (tst-rtld-preload-OBJS): Set variable.
2589 (tst-rtld-preload.out): New target.
2590 * elf/tst-rtld-preload.sh: New file.
2592 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2594 * Makefile (testrun.sh): Exit in case of incorrect argument.
2596 2019-02-04 Florian Weimer <fweimer@redhat.com>
2598 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2601 2019-02-03 Florian Weimer <fweimer@redhat.com>
2603 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2604 implicit overflow checks.
2606 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2608 * stdlib/isomac.c: Include <unistd.h>.
2610 2019-02-03 Florian Weimer <fweimer@redhat.com>
2612 * include/time.h (__tzfile_default): Use int, not long int, for
2614 * time/tzfile.c (struct ttinfo): Change type of the offset member
2616 (__tzfile_read): Remove useless cast.
2617 (__tzfile_default): Adjust prototype.
2618 * time/tzset.c (tz_rule): Change type of the offset member to int.
2619 (parse_offset): Change the type of the sign variable to int.
2621 2019-02-03 Florian Weimer <fweimer@redhat.com>
2624 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2625 * libio/getchar.c (getchar): Likewise.
2626 * libio/getchar_u.c (getchar_unlocked): Likewise.
2627 * libio/getwchar.c (getwchar): Likewise.
2628 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2629 * libio/iogets.c (_IO_gets): Likewise.
2630 * libio/vscanf.c (_IO_vscanf): Likewise.
2631 * libio/vwscanf.c (__vwscanf): Likewise.
2632 * libio/tst-bz24153.c: New file.
2633 * libio/Makefile (tests): Add it.
2635 2019-02-02 Florian Weimer <fweimer@redhat.com>
2638 * manual/resource.texi (Basic Scheduling Functions): Add
2639 portability note. Change process to task throughout the section.
2640 Remove incorrect comment about sched_yield as it affects
2641 tasks/threads, not entire processes.
2642 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2643 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2645 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2647 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2648 * configure: Regenerated.
2649 * manual/install.texi (Tools for Compilation): Update minimum GCC
2651 * INSTALL: Regenerated.
2653 2019-02-01 Florian Weimer <fweimer@redhat.com>
2655 * support/support_test_compare_string.c
2656 (support_test_compare_string): Use "string" in error message.
2657 * support/tst-test_compare_string.c (do_test): Adjust.
2659 2019-02-01 Florian Weimer <fweimer@redhat.com>
2661 * support/support_format_address_family.c
2662 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2664 2019-02-01 Florian Weimer <fweimer@redhat.com>
2666 * manual/socket.texi (Internet Address Formats): Clarify the byte
2667 order of struct sockaddr_in, struct sockaddr_in6. Document
2668 sin6_flowinfo and sin6_scope_id.
2670 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2672 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2673 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2674 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2675 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2676 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2677 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2679 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2681 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2682 [!MEMCHR](MEMCHR): Set to __memchr.
2683 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2684 Add memchr_generic and memchr_nosimd.
2685 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2686 (__libc_ifunc_impl_list): Add memchr ifuncs.
2687 * sysdeps/aarch64/multiarch/memchr.c: New file.
2688 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2689 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2691 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2693 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2695 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2696 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2697 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2698 Add IS_EMAG check for ifunc dispatch.
2699 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2700 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2702 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2704 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2705 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2707 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2710 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2712 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2714 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2716 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2717 syscall-template file.
2719 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2720 Torvald Riegel <triegel@redhat.com>
2721 Rik Prohaska <prohaska7@gmail.com>
2724 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2725 tst-rwlock-trywrlock-stall.
2726 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2727 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2728 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2729 Set __wrphase_fute to 1 only if we started the write phase.
2730 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2731 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2732 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2733 * support/xpthread_rwlock_destroy.c: New file.
2734 * support/xthread.h: Declare xpthread_rwlock_destroy.
2736 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2738 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2741 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2744 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2745 * libio/fileops.c (_IO_new_file_underflow): Likewise
2746 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2747 * libio/putchar.c (putchar): Likewise.
2748 * libio/putchar_u.c (putchar_unlocked): Likewise.
2749 * libio/putwchar.c (putchar): Likewise.
2750 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2751 * libio/tst-bz24051.c: New test.
2752 * libio/Makefile (tests): Add tst-bz24051
2754 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2757 regex: fix read overrun [BZ #24114]
2758 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2759 https://debbugs.gnu.org/34140
2760 * posix/regexec.c (proceed_next_node):
2761 Do not read past end of input buffer.
2763 2019-01-31 Florian Weimer <fweimer@redhat.com>
2766 * nss/nss_files/files-alias.c (get_next_alias): Handle
2767 continuation line without newline at the end.
2768 * nss/tst-nss-files-alias-truncated.c: New file.
2769 * nss/Makefile [$(build-shared)] (tests): Add
2770 tst-nss-files-alias-truncated.
2771 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2772 * support/namespace.h (struct support_chroot_configuration): Add
2774 (struct support_chroot): Add path_aliases member.
2775 * support/support_chroot.c (support_chroot_create): Handle
2777 (support_chroot_free): Free path_aliases.
2779 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2781 * version.h (RELEASE): Set to "development".
2782 (VERSION): Set to "2.29.9000".
2783 * NEWS: Add section for 2.30.
2785 * version.h (RELEASE): Set to "stable".
2786 (VERSION): Set to "2.29".
2787 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2789 * NEWS: Add the list of bugs fixed in 2.29.
2790 * manual/contrib.texi: Update contributors list with some more
2792 * manual/install.texi: Update latest versions of packages
2794 * INSTALL: Regenerated.
2796 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2798 * po/be.po: Update translations.
2799 * po/bg.po: Likewise.
2800 * po/ca.po: Likewise.
2801 * po/cs.po: Likewise.
2802 * po/da.po: Likewise.
2803 * po/de.po: Likewise.
2804 * po/el.po: Likewise.
2805 * po/eo.po: Likewise.
2806 * po/es.po: Likewise.
2807 * po/fi.po: Likewise.
2808 * po/fr.po: Likewise.
2809 * po/gl.po: Likewise.
2810 * po/hr.po: Likewise.
2811 * po/hu.po: Likewise.
2812 * po/ia.po: Likewise.
2813 * po/id.po: Likewise.
2814 * po/it.po: Likewise.
2815 * po/ja.po: Likewise.
2816 * po/ko.po: Likewise.
2817 * po/lt.po: Likewise.
2818 * po/nb.po: Likewise.
2819 * po/nl.po: Likewise.
2820 * po/pl.po: Likewise.
2821 * po/pt_BR.po: Likewise.
2822 * po/ru.po: Likewise.
2823 * po/rw.po: Likewise.
2824 * po/sk.po: Likewise.
2825 * po/sl.po: Likewise.
2826 * po/sv.po: Likewise.
2827 * po/tr.po: Likewise.
2828 * po/uk.po: Likewise.
2829 * po/vi.po: Likewise.
2830 * po/zh_CN.po: Likewise.
2831 * po/zh_TW.po: Likewise.
2833 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2836 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2837 of $f3 register on $y_is_neg path.
2839 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2842 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2843 sigaltstack.ss_flags.
2845 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2848 * manual/time.texi (strftime): Document "%Ey".
2849 * time/strftime_l.c (__strftime_internal): Set the default width
2850 padding with zero of "%Ey" to 2.
2853 * manual/time.texi (strftime): Document "%EC" and "%EY".
2854 * time/Makefile (tests): Add tst-strftime2.
2855 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2856 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2857 override padding for "%Ey".
2858 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2859 "%Ey" in the subformat as if decorated with that flag.
2860 * time/tst-strftime2.c: New file.
2862 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2864 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2868 * elf/Makefile (tests): Add tst-audit13.
2869 (modules-names): Add tst-audit13mod1.
2870 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2872 * elf/rtld.c (dl_main): Handle invalid audit module version.
2873 * elf/tst-audit13.c: New file.
2874 * elf/tst-audit13mod1.c: Likewise.
2876 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2878 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2879 returned by __hurd_at_flags.
2880 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2881 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2882 directly instead of __hurd_file_name_lookup.
2884 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2886 * scripts/build-many-glibcs.py (Context.checkout): Default
2887 binutils version to 2.32 branch.
2889 2019-01-21 Florian Weimer <fweimer@redhat.com>
2893 resolv: Reject trailing characters in host names
2894 * include/arpa/inet.h (__inet_aton_exact): Declare.
2895 (inet_aton): Remove hidden prototype. No longer used internally.
2896 * nscd/gai.c (__inet_aton): Do not define.
2897 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2898 * nss/digits_dots.c (__inet_aton): Likewise.
2899 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2900 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2901 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2902 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2903 (tst-resolv-trailing): Likewise.
2904 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2906 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2907 Make static. Add endp parameter.
2908 (__inet_aton_exact): New function.
2909 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2910 (__inet_addr): Call inet_aton_end.
2911 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2912 not just IPv6. Call __inet_aton_exact.
2913 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2914 (tests): Make const. Add additional test cases with trailing
2916 (do_test): Use array_length.
2917 * resolv/tst-inet_aton_exact.c: New file.
2918 * resolv/tst-resolv-trailing.c: Likewise.
2919 * resolv/tst-resolv-nondecimal.c: Likewise.
2920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2922 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2926 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2927 Clear the upper 32 bits of RSI register.
2928 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2929 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2930 and tst-size_t-wcsnlen.
2931 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2932 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2934 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2938 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2939 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2940 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2941 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2942 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2944 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2948 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2950 * sysdeps/x86_64/strcmp.S: Likewise.
2951 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2952 tst-size_t-strncmp and tst-size_t-wcsncmp.
2953 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2954 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2955 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2957 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2961 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2962 RDX_LP for length. Clear the upper 32 bits of RDX register.
2963 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2964 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2965 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2966 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2968 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2972 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2973 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2974 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2975 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2977 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2982 length. Clear the upper 32 bits of RDX register.
2983 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2984 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2986 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2988 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2990 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2992 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2996 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2997 length. Clear the upper 32 bits of RDX register.
2998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2999 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3000 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3002 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3003 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3005 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3009 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3010 upper 32 bits of RDX register.
3011 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3012 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3014 * sysdeps/x86_64/x32/test-size_t.h: New file.
3015 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3016 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3018 2019-01-18 Florian Weimer <fweimer@redhat.com>
3021 resolv: Do not send queries for non-host-names in nss_dns.
3022 * resolv/nss_dns/dns-host.c (check_name): New function.
3023 (_nss_dns_gethostbyname2_r): Use it.
3024 (_nss_dns_gethostbyname_r): Likewise.
3025 (_nss_dns_gethostbyname4_r): Likewise.
3027 2019-01-21 Florian Weimer <fweimer@redhat.com>
3029 * resolv/inet_addr.c: Reformat to GNU style.
3030 (__inet_addr, __inet_aton): Update comment.
3032 2019-01-18 Florian Weimer <fweimer@redhat.com>
3034 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3035 ("malloc: Use current (C11-style) atomics for fastbin access").
3036 This commit introduces a substantial performance regression on
3038 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3039 (REMOVE_FB): Define.
3040 (_int_malloc): Use it and reindent.
3041 (_int_free): Use CAS loop with
3042 catomic_compare_and_exchange_val_rel.
3043 (malloc_consolidate): Use atomic_exchange_acq.
3046 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3048 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3050 (LDFLAGS-tst-minsigstksz-2): Likewise.
3051 (LDFLAGS-tst-minsigstksz-3): Likewise.
3052 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3053 (LDFLAGS-tst-minsigstksz-4): Likewise.
3055 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3057 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3060 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3062 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3064 2019-01-16 Zack Weinberg <zackw@panix.com>
3066 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3067 (xget_sigstack_location): New test support functions.
3068 * support/xsigstack.c: New file, implementing them.
3069 * support/tst-xsigstack.c: New test for them.
3070 * support/Makefile: Update.
3072 * signal/tst-minsigstksz-1.c
3073 * signal/tst-minsigstksz-2.c
3074 * signal/tst-minsigstksz-3.c
3075 * signal/tst-minsigstksz-3a.c
3076 * signal/tst-minsigstksz-4.c: New tests.
3077 * signal/Makefile: Run them.
3079 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3081 * po/libc.pot: Regenerate.
3083 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3085 * math/libm-test-fma.inc (fma_test_data): Set
3086 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3088 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3090 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3091 (do_test): Changed __vector __int128_t to __vector unsigned int.
3093 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3096 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3097 stpcpy-avx2 and stpncpy-avx2.
3098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3099 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3100 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3102 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3103 ifunc-strcpy.h}: rename header for a more generic name.
3104 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3105 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3106 AVX unaligned load is fast and vzeroupper is preferred.
3107 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3108 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3109 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3110 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3111 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3112 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3114 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3116 * argp/argp-help.c: Fix typo in comment.
3117 * misc/sys/cdefs.h: Likewise.
3118 * posix/regexec.c (sift_states_iter_mb): Likewise.
3119 * socket/sockatmark.c: Likewise.
3120 * socket/sys/socket.h: Likewise.
3121 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3122 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3123 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3125 * sysdeps/unix/sockatmark.c: Likewise.
3126 * time/strptime_l.c: Likewise.
3128 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3130 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3131 missing space after the cast of "_NL_CURRENT".
3133 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3135 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3136 ifdef to fix read of VSCR.
3137 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3138 tst-ucontext-ppc64-vscr.c to test list.
3139 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3141 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3143 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3146 2019-01-09 Jim Wilson <jimw@sifive.com>
3148 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3150 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3152 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3153 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3154 __memcpy_falkor for ares.
3155 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3157 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3160 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3163 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3164 4_FP_W_TYPEs are used for IEEE quad precision.
3165 * soft-fp/extendhftf2.c: Likewise.
3166 * soft-fp/extendsftf2.c: Likewise.
3167 * soft-fp/extendxftf2.c: Likewise.
3168 * soft-fp/trunctfdf2.c: Likewise.
3169 * soft-fp/trunctfhf2.c: Likewise.
3170 * soft-fp/trunctfsf2.c: Likewise.
3171 * soft-fp/trunctfxf2.c: Likewise.
3172 * sysdeps/alpha/ots_cvttx.c: Likewise.
3173 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3174 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3175 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3176 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3177 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3178 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3179 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3180 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3181 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3182 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3183 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3184 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3185 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3186 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3187 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3188 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3189 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3191 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3194 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3195 code with -fmath-errno.
3196 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3197 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3198 * string/test-strerror-errno.c: New file.
3200 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3203 * localedata/locales/en_US (date_fmt): Add, set to
3204 "%a %d %b %Y %r %Z".
3206 2019-01-07 Florian Weimer <fweimer@redhat.com>
3209 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3210 instead of @var{errno}.
3211 (Parsing of Integers): Likewise.
3212 (Parsing of Floats): Likewise.
3213 * manual/filesys.texi (Working with Directory Trees): Likewise.
3214 (Temporary Files): Likewise.
3215 * manual/job.texi (Terminal Access Functions): Likewise.
3216 * manual/llio.texi (Synchronizing I/O): Likewise.
3217 * manual/math.texi (SVID Random): Likewise.
3218 * manual/message.texi (The catgets Functions): Likewise.
3219 (Translation with gettext): Likewise.
3220 (Locating gettext catalog): Likewise.
3221 (Charset conversion in gettext): Likewise.
3222 * manual/nss.texi (NSS Module Function Internals): Likewise.
3223 * manual/search.texi (Hash Search Function): Likewise.
3224 * manual/setjmp.texi (System V contexts): Likewise.
3225 * manual/time.texi (Sleeping): Likewise.
3226 * manual/users.texi (Lookup User): Likewise.
3227 (Lookup Group): Likewise.
3229 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3231 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3234 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3237 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3238 __builtin_unreachable for default case in switch.
3239 (__ieee754_yn): Likewise.
3240 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3241 (__ieee754_ynl): Likewise.
3242 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3243 (__ieee754_ynl): Likewise.
3244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3245 (__ieee754_ynl): Likewise.
3247 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3249 * manual/maint.texi: Use @{ and @}.
3251 2019-01-04 Florian Weimer <fweimer@redhat.com>
3253 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3255 (do_in_chroot_1): Call it.
3257 Improve error reporting in case it is not possible to create a
3258 collision for the PTY name required by the test.
3260 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3262 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3263 lll_wait_tid with timeout.
3264 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3265 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3266 futex_reltimed_wait_cancelable for cancelabla mode.
3267 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3268 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3270 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3271 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3272 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3273 SYSCALL_CANCEL_NCS): New macro.
3274 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3275 (lll_timedwait_tid): Remove macro.
3276 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3278 (lll_timedwait_tid): Likewise.
3279 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3281 (lll_timedwait_tid): Likewise.
3282 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3284 (lll_timedwait_tid): Likewise.
3285 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3286 Use INTERNAL_SYSCALL_CANCEL.
3287 * sysdeps/unix/sysv/linux/futex-internal.h
3288 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3289 instead of __pthread_{enable,disable}_asynccancel.
3290 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3291 (lll_futex_wait_cancel): New macro.
3293 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3294 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3296 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3297 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3299 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3300 in backtrace analysis.
3301 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3303 (tf_send): Likewise.
3305 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3306 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3307 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3308 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3309 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3310 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3311 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3312 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3313 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3314 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3315 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3316 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3318 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3319 tst-cancel-wrappers.sh.
3320 (generated): Remove tst-cancel-wrappers.out.
3321 (tst-cancel-wrappers.out): Remove rule.
3322 * nptl/tst-cancel-wrappers.sh: Remove file.
3324 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3326 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3327 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3330 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3333 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3334 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3335 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3336 close-on-exec reset for adddup2 file action.
3337 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3339 2019-01-03 Zack Weinberg <zackw@panix.com>
3341 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3342 parameter. Only use deprecated scanf when __USE_GNU is defined
3343 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3344 than 201103L, whichever is relevant for the language being compiled.
3346 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3347 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3348 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3349 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3350 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3354 * libio/iovswscanf.c
3359 * stdio-common/fscanf.c
3360 * stdio-common/scanf.c
3361 * stdio-common/vfscanf.c
3362 * stdio-common/vfwscanf.c
3363 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3364 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3365 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3366 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3367 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3368 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3369 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3370 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3371 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3372 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3373 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3374 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3375 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3376 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3377 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3379 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3380 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3381 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3383 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3384 with a preprocessor macro.
3386 * stdio-common/bug21.c, stdio-common/scanf14.c:
3387 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3388 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3389 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3390 to xscanf, xfscanf, xsscanf.
3392 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3393 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3394 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3395 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3397 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3398 override feature selection macros or provide definitions of u_char etc.
3399 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3400 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3401 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3404 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3407 bits/termios-misc.h.
3408 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3409 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3410 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3411 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3412 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3413 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3415 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3417 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3418 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3419 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3420 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3422 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3423 (sysdep_headers): Add termios-misc.h.
3425 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3426 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3427 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3431 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3432 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3433 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3434 TCSAFLUSH): Move to termios-tcflow.h.
3435 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3436 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3437 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3438 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3442 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3443 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3444 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3445 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3446 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3447 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3448 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3449 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3451 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3452 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3453 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3454 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3458 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3459 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3460 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3461 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3462 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3464 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3465 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3466 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3467 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3472 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3473 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3474 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3475 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3476 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3477 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3478 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3479 __MAX_BAUD): Move to termios-baud.h.
3480 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3481 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3482 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3483 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3484 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3486 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3488 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3489 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3490 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3491 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3492 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3493 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3495 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3496 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3498 [USE_MISC] (XTABS): Likewise.
3499 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3500 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3501 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3502 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3504 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3506 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3507 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3508 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3509 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3510 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3511 IUTF8): Move to termios-c_iflag.h.
3512 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3513 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3514 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3515 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3517 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3519 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3520 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3521 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3522 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3523 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3524 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3525 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3526 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3527 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3528 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3529 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3530 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3532 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3533 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3534 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3535 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3538 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3540 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3542 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3544 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3546 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3548 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3549 _HAVE_C_OSPEED): Define.
3550 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3551 _HAVE_C_OSPEED): Likewise.
3552 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3553 _HAVE_C_OSPEED): Likewise.
3554 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3555 (cfsetospeed): Check for define value instead of existence.
3556 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3557 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3558 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3559 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3560 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3563 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3565 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3566 (TIOCSER_TEMT): Likewise.
3567 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3568 (TEOCSER_TEMT): Likewise.
3570 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3573 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3575 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3577 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3579 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3581 * sysdeps/htl/pt-barrierattr-setpshared.c
3582 (pthread_barrierattr_setpshared): Add stub warning.
3583 * sysdeps/htl/pt-condattr-setpshared.c
3584 (pthread_condattr_setpshared): Likewise.
3585 * sysdeps/htl/pt-mutexattr-setpshared.c
3586 (pthread_mutexattr_setpshared): Likewise.
3587 * sysdeps/htl/pt-rwlockattr-setpshared.c
3588 (pthread_rwlockattr_setpshared): Likewise.
3589 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3590 (pthread_mutexattr_setpshared): Likewise.
3592 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3594 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3595 constants to match with Linux 4.20.
3597 * sysdeps/mips/mips32/libm-test-ulps: Update.
3598 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3600 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3603 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3604 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3605 than __typeof (...) for the a_ptr variable.
3607 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3609 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3610 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3611 * libio/Makefile (tests): Add tst-sprintf-ub and
3613 (CFLAGS-tst-sprintf-ub.c): New variable.
3614 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3615 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3616 destination buffer and check for overflows in fortified mode.
3617 * libio/libioP.h (PRINTF_CHK): New macro.
3618 * libio/tst-sprintf-chk-ub.c: New file.
3619 * libio/tst-sprintf-ub.c: Likewise.
3621 2019-01-02 Florian Weimer <fweimer@redhat.com>
3624 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3627 2019-01-02 Florian Weimer <fweimer@redhat.com>
3629 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3631 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3633 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3636 * sysdeps/unix/sysv/linux/netpacket/packet.h
3637 (PACKET_IGNORE_OUTGOING): New macro.
3639 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3642 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3644 (riscv_flush_icache): New syscall.
3646 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3647 trailing whitespace removed.
3648 * scripts/config.guess: Update to version 2019-01-01.
3649 * scripts/config.sub: Update to version 2019-01-01.
3650 * scripts/move-if-change: Update from gnulib.
3652 * NEWS: Update copyright dates.
3653 * catgets/gencat.c (print_version): Likewise.
3654 * csu/version.c (banner): Likewise.
3655 * debug/catchsegv.sh: Likewise.
3656 * debug/pcprofiledump.c (print_version): Likewise.
3657 * debug/xtrace.sh (do_version): Likewise.
3658 * elf/ldconfig.c (print_version): Likewise.
3659 * elf/ldd.bash.in: Likewise.
3660 * elf/pldd.c (print_version): Likewise.
3661 * elf/sotruss.sh: Likewise.
3662 * elf/sprof.c (print_version): Likewise.
3663 * iconv/iconv_prog.c (print_version): Likewise.
3664 * iconv/iconvconfig.c (print_version): Likewise.
3665 * locale/programs/locale.c (print_version): Likewise.
3666 * locale/programs/localedef.c (print_version): Likewise.
3667 * login/programs/pt_chown.c (print_version): Likewise.
3668 * malloc/memusage.sh (do_version): Likewise.
3669 * malloc/memusagestat.c (print_version): Likewise.
3670 * malloc/mtrace.pl: Likewise.
3671 * manual/libc.texinfo: Likewise.
3672 * nptl/version.c (banner): Likewise.
3673 * nscd/nscd.c (print_version): Likewise.
3674 * nss/getent.c (print_version): Likewise.
3675 * nss/makedb.c (print_version): Likewise.
3676 * posix/getconf.c (main): Likewise.
3677 * scripts/test-installation.pl: Likewise.
3678 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3680 * All files with FSF copyright notices: Update copyright dates
3681 using scripts/update-copyrights.
3682 * locale/programs/charmap-kw.h: Regenerated.
3683 * locale/programs/locfile-kw.h: Likewise.
3685 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3687 * timezone/zdump.c: Update from tzcode 2018i.
3688 * timezone/zic.c: Likewise.
3690 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3692 regex: improve Gnulib port to AIX
3693 From the glibc point of view, this removes duplicate macro
3694 definitions and is obviously safe.
3695 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3696 * posix/regex_internal.h:
3697 (__attribute__, __attribute_warn_unused_result__):
3698 Remove; already defined elsewhere.
3700 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3703 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3704 copying operation. (ncopies had the wrong type, resulting in an
3705 integer wraparound and too few elements being copied.)
3707 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3710 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3711 <asm/syscalls.h> exists with __has_include__ before including it.
3713 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3715 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3718 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3720 * hurd/lookup-retry: Include <unistd.h>.
3721 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3722 Release it on return. Handle "pid" magical lookup retry.
3724 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3727 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3728 (t_fmt_ampm): Likewise.
3729 * localedata/locales/aa_ER (t_fmt): Likewise.
3730 (t_fmt_ampm): Likewise.
3731 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3732 (t_fmt_ampm): Likewise.
3733 * localedata/locales/aa_ET (t_fmt): Likewise.
3734 (t_fmt_ampm): Likewise.
3735 * localedata/locales/am_ET (t_fmt): Likewise.
3736 (t_fmt_ampm): Likewise.
3737 * localedata/locales/byn_ER (t_fmt): Likewise.
3738 (t_fmt_ampm): Likewise.
3739 * localedata/locales/om_ET (t_fmt): Likewise.
3740 (t_fmt_ampm): Likewise.
3741 * localedata/locales/sid_ET (t_fmt): Likewise.
3742 (t_fmt_ampm): Likewise.
3743 * localedata/locales/so_DJ (t_fmt): Likewise.
3744 (t_fmt_ampm): Likewise.
3745 * localedata/locales/so_ET (t_fmt): Likewise.
3746 (t_fmt_ampm): Likewise.
3747 * localedata/locales/so_SO (t_fmt): Likewise.
3748 (t_fmt_ampm): Likewise.
3749 * localedata/locales/ti_ER (t_fmt): Likewise.
3750 (t_fmt_ampm): Likewise.
3751 * localedata/locales/ti_ET (t_fmt): Likewise.
3752 (t_fmt_ampm): Likewise.
3753 * localedata/locales/tig_ER (t_fmt): Likewise.
3754 (t_fmt_ampm): Likewise.
3755 * localedata/locales/wal_ET (t_fmt): Likewise.
3756 (t_fmt_ampm): Likewise.
3758 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3759 * localedata/locales/ar_IN (t_fmt): Likewise.
3760 * localedata/locales/bhb_IN (t_fmt): Likewise.
3761 * localedata/locales/bho_IN (t_fmt): Likewise.
3762 * localedata/locales/bi_VU (t_fmt): Likewise.
3763 * localedata/locales/bn_BD (t_fmt): Likewise.
3764 * localedata/locales/bn_IN (t_fmt): Likewise.
3765 * localedata/locales/brx_IN (t_fmt): Likewise.
3766 * localedata/locales/doi_IN (t_fmt): Likewise.
3767 * localedata/locales/en_HK (t_fmt): Likewise.
3768 (t_fmt_ampm): Likewise.
3769 * localedata/locales/en_IN (t_fmt): Likewise.
3770 * localedata/locales/en_PH (t_fmt): Likewise.
3771 * localedata/locales/gu_IN (t_fmt): Likewise.
3772 * localedata/locales/hi_IN (t_fmt): Likewise.
3773 * localedata/locales/hif_FJ (t_fmt): Likewise.
3774 * localedata/locales/hne_IN (t_fmt): Likewise.
3775 * localedata/locales/kn_IN (t_fmt): Likewise.
3776 * localedata/locales/kok_IN (t_fmt): Likewise.
3777 * localedata/locales/ks_IN (t_fmt): Likewise.
3778 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3779 * localedata/locales/mag_IN (t_fmt): Likewise.
3780 * localedata/locales/mai_IN (t_fmt): Likewise.
3781 * localedata/locales/mjw_IN (t_fmt): Likewise.
3782 * localedata/locales/ml_IN (t_fmt): Likewise.
3783 * localedata/locales/mni_IN (t_fmt): Likewise.
3784 * localedata/locales/mr_IN (t_fmt): Likewise.
3785 * localedata/locales/ms_MY (t_fmt): Likewise.
3786 * localedata/locales/pa_IN (t_fmt): Likewise.
3787 * localedata/locales/raj_IN (t_fmt): Likewise.
3788 * localedata/locales/sa_IN (t_fmt): Likewise.
3789 * localedata/locales/sat_IN (t_fmt): Likewise.
3790 * localedata/locales/sd_IN (t_fmt): Likewise.
3791 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3792 * localedata/locales/tcy_IN (t_fmt): Likewise.
3793 * localedata/locales/the_NP (t_fmt): Likewise.
3794 * localedata/locales/to_TO (t_fmt): Likewise.
3795 * localedata/locales/ur_IN (t_fmt): Likewise.
3797 * localedata/locales/hif_FJ (d_t_fmt): Set to
3798 "%A %d %b %Y %I:%M:%S %p".
3799 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3801 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3802 * localedata/locales/ar_BH (t_fmt): Likewise.
3803 * localedata/locales/ar_DZ (t_fmt): Likewise.
3804 * localedata/locales/ar_EG (t_fmt): Likewise.
3805 * localedata/locales/ar_IQ (t_fmt): Likewise.
3806 * localedata/locales/ar_JO (t_fmt): Likewise.
3807 * localedata/locales/ar_KW (t_fmt): Likewise.
3808 * localedata/locales/ar_LB (t_fmt): Likewise.
3809 * localedata/locales/ar_LY (t_fmt): Likewise.
3810 * localedata/locales/ar_OM (t_fmt): Likewise.
3811 * localedata/locales/ar_QA (t_fmt): Likewise.
3812 * localedata/locales/ar_SD (t_fmt): Likewise.
3813 * localedata/locales/ar_SS (t_fmt): Likewise.
3814 * localedata/locales/ar_SY (t_fmt): Likewise.
3815 * localedata/locales/ar_TN (t_fmt): Likewise.
3816 * localedata/locales/ar_YE (t_fmt): Likewise.
3818 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3819 (t_fmt_ampm): Likewise.
3820 * localedata/locales/gez_ET (t_fmt): Likewise.
3821 (t_fmt_ampm): Likewise.
3823 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3824 (t_fmt_ampm): Likewise.
3825 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3827 * localedata/locales/zh_HK (t_fmt):
3828 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3830 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3831 because this locale does not use the 12-hour clock.
3832 (t_fmt): Set to "%Z %H:%M:%S".
3833 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3835 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3836 because this locale does not use the 12-hour clock.
3837 (t_fmt): Set to "%H:%M:%S %Z".
3838 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3840 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3841 because this locale does not use the 12-hour clock.
3842 (t_fmt): Set to "%T".
3843 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3844 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3846 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3847 because this locale does not use the 12-hour clock.
3848 (t_fmt): Set to "%H:%M:%S %Z".
3849 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3851 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3852 because this locale does not use the 12-hour clock.
3853 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3854 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3856 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3860 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3861 (t_fmt_ampm): Likewise.
3862 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3863 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3864 (d_fmt): Set to "%-d.%-m.%y".
3866 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3868 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3869 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3870 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3872 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3873 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3874 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3876 * support/blob_repeat.c (check_mul_overflow_size_t,
3877 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3879 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3881 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3883 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3885 regex: simplify Gnulib port
3886 This simplifies the code, by removing stuff intended for porting
3887 to Gnulib but no longer needed there.
3888 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3889 uses of libc_hidden_def, weak_alias.
3890 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3891 _Restrict_ except for public-facing headers.
3892 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3893 Remove; already defined elsewhere.
3894 * posix/regex.c, posix/regex_internal.h:
3895 Use __GNUC_PREREQ instead of rolling our own.
3896 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3898 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3900 * benchtests/bench-strlen.c (generic_strlen): New function.
3901 (memchr_strlen): New function.
3903 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3905 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3906 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3907 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3909 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3911 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3913 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3915 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3916 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3917 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3918 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3919 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3920 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3921 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3923 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3926 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3927 PLT reference in libc.so.
3928 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3929 _Q_lltoq and _Q_qtod PLT references in libc.so.
3931 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3933 * benchtests/bench-memchr.c: Cleanup defines.
3934 * benchtests/bench-memcmp.c: Likewise.
3935 * benchtests/bench-memset.c: Likewise.
3936 * benchtests/bench-memset-large.c: Likewise.
3937 * benchtests/bench-memset-walk.c: Likewise.
3938 * benchtests/bench-stpcpy.c: Likewise.
3939 * benchtests/bench-stpncpy.c: Likewise.
3940 * benchtests/bench-strcat.c: Likewise.
3941 * benchtests/bench-strchr.c: Likewise.
3942 * benchtests/bench-strcmp.c: Likewise.
3943 * benchtests/bench-strcpy.c: Likewise.
3944 * benchtests/bench-strcspn.c: Likewise.
3945 * benchtests/bench-string.h: Likewise.
3946 * benchtests/bench-strlen.c: Likewise.
3947 * benchtests/bench-strncat.c: Likewise.
3948 * benchtests/bench-strncmp.c: Likewise.
3949 * benchtests/bench-strncpy.c: Likewise.
3950 * benchtests/bench-strnlen.c: Likewise.
3951 * benchtests/bench-strpbrk.c: Likewise.
3952 * benchtests/bench-strrchr.c: Likewise.
3953 * benchtests/bench-strspn.c: Likewise.
3955 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3957 * stdlib/longlong.h: Update from GCC.
3960 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3961 * configure: Regenerated.
3962 * manual/install.texi (Tools for Compilation): Update minimum GCC
3964 * INSTALL: Regenerated.
3966 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3968 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3970 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3972 * malloc/malloc.c (mremap_chunk): Additional checks.
3974 2018-12-21 Mao Han <han_mao@c-sky.com>
3976 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3977 * scripts/build-many-glibcs.py: Add C-SKY targets.
3978 * sysdeps/csky/Implies: New file.
3979 * sysdeps/csky/Makefile: Likewise.
3980 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3981 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3982 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3983 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3984 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3985 * sysdeps/csky/abiv2/memmove.S: Likewise.
3986 * sysdeps/csky/abiv2/memset.S: Likewise.
3987 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3988 * sysdeps/csky/abiv2/start.S: Likewise.
3989 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3990 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3991 * sysdeps/csky/abiv2/strlen.S: Likewise.
3992 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3993 * sysdeps/csky/abort-instr.h: Likewise.
3994 * sysdeps/csky/atomic-machine.h: Likewise.
3995 * sysdeps/csky/bits/endian.h: Likewise.
3996 * sysdeps/csky/bits/fenv.h: Likewise.
3997 * sysdeps/csky/bits/link.h: Likewise.
3998 * sysdeps/csky/bits/setjmp.h: Likewise.
3999 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4000 * sysdeps/csky/bsd-setjmp.S: Likewise.
4001 * sysdeps/csky/configure: Likewise.
4002 * sysdeps/csky/configure.ac: Likewise.
4003 * sysdeps/csky/dl-machine.h: Likewise.
4004 * sysdeps/csky/dl-procinfo.c: Likewise.
4005 * sysdeps/csky/dl-procinfo.h: Likewise.
4006 * sysdeps/csky/dl-sysdep.h: Likewise.
4007 * sysdeps/csky/dl-tls.h: Likewise.
4008 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4009 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4010 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4011 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4012 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4013 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4014 * sysdeps/csky/fpu/fegetround.c: Likewise.
4015 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4016 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4017 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4018 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4019 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4020 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4021 * sysdeps/csky/fpu/fesetround.c: Likewise.
4022 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4023 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4024 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4025 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4026 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4027 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4028 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4029 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4030 * sysdeps/csky/fpu_control.h: Likewise.
4031 * sysdeps/csky/gccframe.h: Likewise.
4032 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4033 * sysdeps/csky/ldsodefs.h: Likewise.
4034 * sysdeps/csky/libc-tls.c: Likewise.
4035 * sysdeps/csky/linkmap.h: Likewise.
4036 * sysdeps/csky/machine-gmon.h: Likewise.
4037 * sysdeps/csky/memusage.h: Likewise.
4038 * sysdeps/csky/nofpu/Implies: Likewise.
4039 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4040 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4041 * sysdeps/csky/nptl/Makefile: Likewise.
4042 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4043 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4044 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4045 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4046 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4047 * sysdeps/csky/nptl/tls.h: Likewise.
4048 * sysdeps/csky/preconfigure: Likewise.
4049 * sysdeps/csky/sfp-machine.h: Likewise.
4050 * sysdeps/csky/sotruss-lib.c: Likewise.
4051 * sysdeps/csky/stackinfo.h: Likewise.
4052 * sysdeps/csky/sysdep.h: Likewise.
4053 * sysdeps/csky/tininess.h: Likewise.
4054 * sysdeps/csky/tst-audit.h: Likewise.
4055 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4056 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4057 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4058 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4059 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4060 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4061 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4062 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4063 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4064 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4065 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4066 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4067 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4068 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4069 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4070 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4071 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4072 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4073 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4074 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4075 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4076 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4077 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4078 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4079 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4080 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4081 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4082 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4083 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4084 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4085 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4086 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4087 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4088 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4089 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4090 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4091 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4092 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4093 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4094 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4095 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4096 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4097 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4098 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4100 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4102 * include/time.h (__difftime64): Add.
4103 * time/difftime.c (subtract): convert to 64-bit time.
4104 * time/difftime.c (__difftime64): Add.
4105 * time/difftime.c (__difftime): Wrap around __difftime64.
4107 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4109 * manual/examples/add.c: Remove redundant "if not".
4110 * manual/examples/argp-ex1.c: Likewise.
4111 * manual/examples/argp-ex2.c: Likewise.
4112 * manual/examples/argp-ex3.c: Likewise.
4113 * manual/examples/argp-ex4.c: Likewise.
4114 * manual/examples/atexit.c: Likewise.
4115 * manual/examples/db.c: Likewise.
4116 * manual/examples/dir.c: Likewise.
4117 * manual/examples/dir2.c: Likewise.
4118 * manual/examples/execinfo.c: Likewise.
4119 * manual/examples/filecli.c: Likewise.
4120 * manual/examples/filesrv.c: Likewise.
4121 * manual/examples/fmtmsgexpl.c: Likewise.
4122 * manual/examples/genpass.c: Likewise.
4123 * manual/examples/inetcli.c: Likewise.
4124 * manual/examples/inetsrv.c: Likewise.
4125 * manual/examples/isockad.c: Likewise.
4126 * manual/examples/longopt.c: Likewise.
4127 * manual/examples/memopen.c: Likewise.
4128 * manual/examples/memstrm.c: Likewise.
4129 * manual/examples/mkdirent.c: Likewise.
4130 * manual/examples/mkfsock.c: Likewise.
4131 * manual/examples/mkisock.c: Likewise.
4132 * manual/examples/mygetpass.c: Likewise.
4133 * manual/examples/pipe.c: Likewise.
4134 * manual/examples/popen.c: Likewise.
4135 * manual/examples/rprintf.c: Likewise.
4136 * manual/examples/search.c: Likewise.
4137 * manual/examples/select.c: Likewise.
4138 * manual/examples/setjmp.c: Likewise.
4139 * manual/examples/sigh1.c: Likewise.
4140 * manual/examples/sigusr.c: Likewise.
4141 * manual/examples/stpcpy.c: Likewise.
4142 * manual/examples/strdupa.c: Likewise.
4143 * manual/examples/strftim.c: Likewise.
4144 * manual/examples/subopt.c: Likewise.
4145 * manual/examples/swapcontext.c: Likewise.
4146 * manual/examples/termios.c: Likewise.
4147 * manual/examples/testopt.c: Likewise.
4148 * manual/examples/testpass.c: Likewise.
4149 * manual/examples/timeval_subtract.c: Likewise.
4151 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4153 * sysdeps/x86/fpu/math_private.h: New file.
4154 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4156 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4161 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4163 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4164 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4165 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4166 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4168 (_dl_show_auxv): Give a special treatment to
4169 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4170 and AT_L3_CACHEGEOMETRY.
4171 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4172 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4173 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4174 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4176 2018-12-19 Andreas Schwab <schwab@suse.de>
4178 * nscd/connections.c (check_use): Don't abort on invalid len.
4180 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4182 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4183 values in the 64bit value cases.
4185 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4191 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4197 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4200 (__gmtime64_r): Add.
4202 (__gmtime64_r): Add.
4203 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4209 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4212 (__localtime64_r): Add.
4214 (__localtime64_r): Add.
4215 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4217 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4219 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4220 kernel_sigction definition.
4222 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4224 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4226 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4227 __syscall_rt_sigaction.
4228 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4229 (kernel_sigaction): Use Linux generic defintion.
4231 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4232 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4233 (__syscall_rt_sigaction): Remove implementation.
4234 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4236 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4237 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4238 INTERNAL_SYSCALL): Remove definitions.
4239 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4240 action and signal set size.
4241 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4242 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4244 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4245 James Clarke <jrtc27@jrtc27.com>
4248 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4249 Define if SA_RESTORER is defined.
4250 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4251 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4253 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4254 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4256 (HAS_SA_RESTORER): Define.
4257 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4258 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4259 (HAS_SA_RESTORER): Define.
4260 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4261 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4262 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4263 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4264 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4266 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4268 * sysdeps/unix/sysv/linux/kernel-features.h
4269 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4270 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4271 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4272 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4273 (__ASSUME_ST_INO_64_BIT): Likewise.
4274 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4275 <kernel-features.h>.
4276 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4277 Remove conditional code.
4278 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4279 <kernel-features.h>.
4280 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4281 Remove conditional code.
4282 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4283 <kernel-features.h>.
4284 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4285 Remove conditional code.
4286 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4287 <kernel-features.h>.
4288 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4289 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4291 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4293 * sysdeps/s390/multiarch/ifunc-resolve.h
4294 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4295 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4296 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4297 Delete macro definition.
4298 (s390_libc_ifunc_init): Rename to
4299 s390_libc_ifunc_expr_stfle_init.
4300 * sysdeps/s390/bzero: Use
4301 s390_libc_ifunc_expr_stfle_init instead of
4302 s390_libc_ifunc_init.
4303 * sysdeps/s390/memcmp.c: Likewise.
4304 * sysdeps/s390/memcpy.c: Likewise.
4305 * sysdeps/s390/mempcpy.c: Likewise.
4306 * sysdeps/s390/memset.c: Likewise.
4308 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4310 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4311 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4313 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4315 * sysdeps/s390/multiarch/Makefile
4316 (sysdep_routines): Remove wmemcmp variants.
4317 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4318 * sysdeps/s390/multiarch/ifunc-impl-list.c
4319 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4320 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4321 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4322 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4323 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4324 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4325 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4326 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4328 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4330 * sysdeps/s390/multiarch/Makefile
4331 (sysdep_routines): Remove wmemset variants.
4332 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4333 * sysdeps/s390/multiarch/ifunc-impl-list.c
4334 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4335 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4336 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4337 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4338 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4339 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4340 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4341 * sysdeps/s390/ifunc-wmemset.h: New file.
4343 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4345 * sysdeps/s390/multiarch/Makefile
4346 (sysdep_routines): Remove wmemchr variants.
4347 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4348 * sysdeps/s390/multiarch/ifunc-impl-list.c
4349 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4350 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4351 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4352 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4353 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4354 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4355 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4356 * sysdeps/s390/ifunc-wmemchr.h: New file.
4358 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4360 * sysdeps/s390/multiarch/Makefile
4361 (sysdep_routines): Remove wcscspn variants.
4362 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4363 * sysdeps/s390/multiarch/ifunc-impl-list.c
4364 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4365 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4366 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4367 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4368 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4369 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4370 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4371 * sysdeps/s390/ifunc-wcscspn.h: New file.
4373 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4375 * sysdeps/s390/multiarch/Makefile
4376 (sysdep_routines): Remove wcspbrk variants.
4377 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4378 * sysdeps/s390/multiarch/ifunc-impl-list.c
4379 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4380 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4381 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4382 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4383 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4384 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4385 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4386 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4388 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4390 * sysdeps/s390/multiarch/Makefile
4391 (sysdep_routines): Remove wcsspn variants.
4392 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4393 * sysdeps/s390/multiarch/ifunc-impl-list.c
4394 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4395 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4396 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4397 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4398 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4399 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4400 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4401 * sysdeps/s390/ifunc-wcsspn.h: New file.
4403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4405 * sysdeps/s390/multiarch/Makefile
4406 (sysdep_routines): Remove wcsrchr variants.
4407 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4408 * sysdeps/s390/multiarch/ifunc-impl-list.c
4409 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4410 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4411 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4412 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4413 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4414 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4415 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4416 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4418 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4420 * sysdeps/s390/multiarch/Makefile
4421 (sysdep_routines): Remove wcschrnul variants.
4422 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4423 * sysdeps/s390/multiarch/ifunc-impl-list.c
4424 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4425 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4426 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4427 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4428 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4429 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4430 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4431 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4433 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4435 * sysdeps/s390/multiarch/Makefile
4436 (sysdep_routines): Remove wcschr variants.
4437 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4438 * sysdeps/s390/multiarch/ifunc-impl-list.c
4439 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4440 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4441 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4442 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4443 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4444 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4445 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4446 * sysdeps/s390/ifunc-wcschr.h: New file.
4448 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4450 * sysdeps/s390/multiarch/Makefile
4451 (sysdep_routines): Remove wcsncmp variants.
4452 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4453 * sysdeps/s390/multiarch/ifunc-impl-list.c
4454 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4455 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4456 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4457 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4458 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4459 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4460 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4461 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4463 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4465 * sysdeps/s390/multiarch/Makefile
4466 (sysdep_routines): Remove wcscmp variants.
4467 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4468 * sysdeps/s390/multiarch/ifunc-impl-list.c
4469 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4470 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4471 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4472 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4473 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4474 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4475 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4476 * sysdeps/s390/ifunc-wcscmp.h: New file.
4478 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4480 * sysdeps/s390/multiarch/Makefile
4481 (sysdep_routines): Remove wcsncat variants.
4482 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4483 * sysdeps/s390/multiarch/ifunc-impl-list.c
4484 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4485 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4486 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4487 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4488 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4489 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4490 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4491 * sysdeps/s390/ifunc-wcsncat.h: New file.
4493 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4495 * sysdeps/s390/multiarch/Makefile
4496 (sysdep_routines): Remove wcscat variants.
4497 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4498 * sysdeps/s390/multiarch/ifunc-impl-list.c
4499 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4500 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4501 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4502 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4503 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4504 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4505 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4506 * sysdeps/s390/ifunc-wcscat.h: New file.
4508 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4510 * sysdeps/s390/multiarch/Makefile
4511 (sysdep_routines): Remove wcpncpy variants.
4512 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4513 * sysdeps/s390/multiarch/ifunc-impl-list.c
4514 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4515 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4516 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4517 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4518 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4519 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4520 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4521 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4523 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4525 * sysdeps/s390/multiarch/Makefile
4526 (sysdep_routines): Remove wcsncpy variants.
4527 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4528 * sysdeps/s390/multiarch/ifunc-impl-list.c
4529 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4530 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4531 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4532 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4533 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4534 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4535 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4536 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4538 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4540 * sysdeps/s390/multiarch/Makefile
4541 (sysdep_routines): Remove wcpcpy variants.
4542 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4543 * sysdeps/s390/multiarch/ifunc-impl-list.c
4544 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4545 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4546 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4547 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4548 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4549 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4550 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4551 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4553 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4555 * sysdeps/s390/multiarch/Makefile
4556 (sysdep_routines): Remove wcscpy variants.
4557 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4558 * sysdeps/s390/multiarch/ifunc-impl-list.c
4559 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4560 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4561 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4562 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4563 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4564 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4565 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4566 * sysdeps/s390/ifunc-wcscpy.h: New file.
4568 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4570 * sysdeps/s390/multiarch/Makefile
4571 (sysdep_routines): Remove wcsnlen variants.
4572 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4573 * sysdeps/s390/multiarch/ifunc-impl-list.c
4574 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4575 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4576 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4577 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4578 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4579 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4580 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4581 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4583 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4585 * sysdeps/s390/multiarch/Makefile
4586 (sysdep_routines): Remove wcslen variants.
4587 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4588 * sysdeps/s390/multiarch/ifunc-impl-list.c
4589 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4590 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4591 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4592 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4593 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4594 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4595 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4596 * sysdeps/s390/ifunc-wcslen.h: New file.
4598 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4600 * sysdeps/s390/multiarch/Makefile
4601 (sysdep_routines): Remove memrchr variants.
4602 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4603 * sysdeps/s390/multiarch/ifunc-impl-list.c
4604 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4605 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4606 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4607 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4608 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4609 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4610 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4611 * sysdeps/s390/ifunc-memrchr.h: New file.
4613 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4615 * sysdeps/s390/multiarch/Makefile
4616 (sysdep_routines): Remove memccpy variants.
4617 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4618 * sysdeps/s390/multiarch/ifunc-impl-list.c
4619 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4620 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4621 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4622 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4623 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4624 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4625 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4626 * sysdeps/s390/ifunc-memccpy.h: New file.
4628 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4630 * sysdeps/s390/multiarch/Makefile
4631 (sysdep_routines): Remove rawmemchr variants.
4632 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4633 * sysdeps/s390/multiarch/ifunc-impl-list.c
4634 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4635 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4636 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4637 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4638 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4639 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4640 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4641 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4643 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4645 * sysdeps/s390/multiarch/Makefile
4646 (sysdep_routines): Remove memchr variants.
4647 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4648 * sysdeps/s390/multiarch/ifunc-impl-list.c
4649 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4650 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4651 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4652 * sysdeps/s390/multiarch/memchr.c: Move to ...
4653 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4654 * sysdeps/s390/ifunc-memchr.h: New file.
4655 * sysdeps/s390/s390-64/memchr.S: Move to ...
4656 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4657 for 31/64bit and ifunc handling.
4658 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4659 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4660 * sysdeps/s390/s390-32/memchr.S: Likewise.
4662 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4664 * sysdeps/s390/multiarch/Makefile
4665 (sysdep_routines): Remove strcspn variants.
4666 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4667 * sysdeps/s390/multiarch/ifunc-impl-list.c
4668 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4669 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4670 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4671 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4672 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4673 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4674 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4675 * sysdeps/s390/ifunc-strcspn.h: New file.
4677 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4679 * sysdeps/s390/multiarch/Makefile
4680 (sysdep_routines): Remove strpbrk variants.
4681 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4682 * sysdeps/s390/multiarch/ifunc-impl-list.c
4683 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4684 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4685 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4686 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4687 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4688 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4689 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4690 * sysdeps/s390/ifunc-strpbrk.h: New file.
4692 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4694 * sysdeps/s390/multiarch/Makefile
4695 (sysdep_routines): Remove strspn variants.
4696 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4697 * sysdeps/s390/multiarch/ifunc-impl-list.c
4698 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4699 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4700 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4701 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4702 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4703 * sysdeps/s390/multiarch/strspn.c: Move to ...
4704 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4705 * sysdeps/s390/ifunc-strspn.h: New file.
4707 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4709 * sysdeps/s390/multiarch/Makefile
4710 (sysdep_routines): Remove strrchr variants.
4711 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4712 * sysdeps/s390/multiarch/ifunc-impl-list.c
4713 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4714 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4715 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4716 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4717 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4718 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4719 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4720 * sysdeps/s390/ifunc-strrchr.h: New file.
4722 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4724 * sysdeps/s390/multiarch/Makefile
4725 (sysdep_routines): Remove strchrnul variants.
4726 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4727 * sysdeps/s390/multiarch/ifunc-impl-list.c
4728 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4729 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4730 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4731 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4732 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4733 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4734 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4735 * sysdeps/s390/ifunc-strchrnul.h: New file.
4737 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4739 * sysdeps/s390/multiarch/Makefile
4740 (sysdep_routines): Remove strchr variants.
4741 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4742 * sysdeps/s390/multiarch/ifunc-impl-list.c
4743 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4744 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4745 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4746 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4747 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4748 * sysdeps/s390/multiarch/strchr.c: Move to ...
4749 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4750 * sysdeps/s390/ifunc-strchr.h: New file.
4752 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4754 * sysdeps/s390/multiarch/Makefile
4755 (sysdep_routines): Remove strncmp variants.
4756 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4757 * sysdeps/s390/multiarch/ifunc-impl-list.c
4758 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4759 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4760 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4761 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4762 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4763 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4764 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4765 * sysdeps/s390/ifunc-strncmp.h: New file.
4767 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4769 * sysdeps/s390/multiarch/Makefile
4770 (sysdep_routines): Remove strcmp variants.
4771 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4772 * sysdeps/s390/multiarch/ifunc-impl-list.c
4773 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4774 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4775 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4776 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4777 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4778 * sysdeps/s390/ifunc-strcmp.h: New file.
4779 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4780 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4781 for 31/64bit and ifunc handling.
4782 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4783 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4784 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4786 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4788 * sysdeps/s390/multiarch/Makefile
4789 (sysdep_routines): Remove strncat variants.
4790 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4791 * sysdeps/s390/multiarch/ifunc-impl-list.c
4792 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4793 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4794 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4795 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4796 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4797 * sysdeps/s390/multiarch/strncat.c: Move to ...
4798 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4799 * sysdeps/s390/ifunc-strncat.h: New file.
4801 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4803 * sysdeps/s390/multiarch/Makefile
4804 (sysdep_routines): Remove strcat variants.
4805 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4806 * sysdeps/s390/multiarch/ifunc-impl-list.c
4807 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4808 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4809 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4810 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4811 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4812 * sysdeps/s390/multiarch/strcat.c: Move to ...
4813 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4814 * sysdeps/s390/ifunc-strcat.h: New file.
4816 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4818 * sysdeps/s390/multiarch/Makefile
4819 (sysdep_routines): Remove stpncpy variants.
4820 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4821 * sysdeps/s390/multiarch/ifunc-impl-list.c
4822 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4823 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4824 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4825 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4826 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4827 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4828 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4829 * sysdeps/s390/ifunc-stpncpy.h: New file.
4831 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4833 * sysdeps/s390/multiarch/Makefile
4834 (sysdep_routines): Remove strncpy variants.
4835 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4836 * sysdeps/s390/multiarch/ifunc-impl-list.c
4837 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4838 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4839 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4840 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4841 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4842 * sysdeps/s390/ifunc-strncpy.h: New file.
4843 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4844 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4845 and adjust ifunc handling.
4846 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4847 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4848 and adjust ifunc handling.
4849 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4850 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4852 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4854 * sysdeps/s390/multiarch/Makefile
4855 (sysdep_routines): Remove stpcpy variants.
4856 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4857 * sysdeps/s390/multiarch/ifunc-impl-list.c
4858 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4859 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4860 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4861 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4862 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4863 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4864 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4865 * sysdeps/s390/ifunc-stpcpy.h: New file.
4867 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4869 * sysdeps/s390/multiarch/Makefile
4870 (sysdep_routines): Remove strcpy variants.
4871 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4872 * sysdeps/s390/multiarch/ifunc-impl-list.c
4873 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4874 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4875 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4876 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4877 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4878 * sysdeps/s390/ifunc-strcpy.h: New file.
4879 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4880 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4881 for 31/64bit and ifunc handling.
4882 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4883 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4884 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4888 * sysdeps/s390/multiarch/Makefile
4889 (sysdep_routines): Remove strnlen variants.
4890 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4891 * sysdeps/s390/multiarch/ifunc-impl-list.c
4892 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4893 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4894 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4895 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4896 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4897 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4898 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4899 * sysdeps/s390/ifunc-strnlen.h: New file.
4901 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4903 * sysdeps/s390/multiarch/Makefile
4904 (sysdep_routines): Remove strlen variants.
4905 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4906 * sysdeps/s390/multiarch/ifunc-impl-list.c
4907 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4908 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4909 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4910 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4911 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4912 * sysdeps/s390/multiarch/strlen.c: Move to ...
4913 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4914 * sysdeps/s390/ifunc-strlen.h: New file.
4916 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4918 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4919 * sysdeps/s390/multiarch/ifunc-impl-list.c
4920 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4921 * sysdeps/s390/ifunc-memmem.h: New file.
4922 * sysdeps/s390/memmem.c: Likewise.
4923 * sysdeps/s390/memmem-c.c: Likewise.
4924 * sysdeps/s390/memmem-vx.c: Likewise.
4926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4928 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4929 * sysdeps/s390/multiarch/ifunc-impl-list.c
4930 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4931 * sysdeps/s390/ifunc-strstr.h: New file.
4932 * sysdeps/s390/strstr.c: Likewise.
4933 * sysdeps/s390/strstr-c.c: Likewise.
4934 * sysdeps/s390/strstr-vx.c: Likewise.
4936 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4938 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4939 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4940 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4941 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4943 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4944 * sysdeps/s390/memmove-c.c: New file.
4945 * sysdeps/s390/memmove.c: Likewise.
4946 * sysdeps/s390/multiarch/ifunc-impl-list.c
4947 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4949 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4951 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4952 * sysdeps/s390/configure.ac: Add check for z13 support.
4953 * sysdeps/s390/configure: Regenerated.
4955 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4957 * sysdeps/s390/memcopy.h: New file.
4959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4961 * sysdeps/s390/s390-32/bcopy.S: Remove.
4962 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4964 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4966 * sysdeps/s390/ifunc-memcpy.h: New File.
4967 * sysdeps/s390/memcpy.S: Move to ...
4968 * sysdeps/s390/memcpy-z900.S ... here.
4969 Move implementations from memcpy-s390x.s to here.
4970 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4971 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4972 Remove memcpy/mempcpy variants.
4973 * sysdeps/s390/Makefile (sysdep_routines):
4974 Add memcpy/mempcpy variants.
4975 * sysdeps/s390/multiarch/ifunc-impl-list.c
4976 (__libc_ifunc_impl_list): Adjust ifunc variants for
4978 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4980 * sysdeps/s390/memcpy.c: ... here.
4981 Adjust ifunc variants for memcpy.
4982 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4983 * sysdeps/s390/mempcpy.c: ... here.
4984 Adjust ifunc variants for mempcpy.
4985 * sysdeps/s390/mempcpy.S: Delete file.
4987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4989 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4990 * sysdeps/s390/memcpy.S: ... here.
4991 Adjust to be usable for 31/64bit.
4992 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4993 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4994 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4995 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4996 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4997 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4998 Adjust to be usable for 31/64bit.
4999 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5000 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5001 * sysdeps/s390/multiarch/memcpy.c: ... here.
5002 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5004 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5006 * sysdeps/s390/ifunc-memcmp.h: New File.
5007 * sysdeps/s390/memcmp.S: Move to ...
5008 * sysdeps/s390/memcmp-z900.S ... here.
5009 Move implementations from memcmp-s390x.s to here.
5010 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5011 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5012 Remove memcmp variants.
5013 * sysdeps/s390/Makefile (sysdep_routines):
5014 Add memcmp variants.
5015 * sysdeps/s390/multiarch/ifunc-impl-list.c
5016 (__libc_ifunc_impl_list): Adjust ifunc variants for
5018 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5020 * sysdeps/s390/memcmp.c: ... here.
5021 Adjust ifunc variants for memcmp.
5023 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5025 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5026 * sysdeps/s390/memcmp.S: ... here.
5027 Adjust to be usable for 31/64bit.
5028 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5029 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5030 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5032 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5033 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5034 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5035 Adjust to be usable for 31/64bit.
5036 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5037 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5038 * sysdeps/s390/multiarch/memcmp.c: ... here.
5039 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5041 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5043 * sysdeps/s390/s390-32/bzero.S: Delete file.
5044 * sysdeps/s390/s390-64/bzero.S: Likewise.
5045 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5046 * sysdeps/s390/bzero.c: New file.
5047 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5048 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5049 * sysdeps/s390/multiarch/ifunc-impl-list.c
5050 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5054 * sysdeps/s390/ifunc-memset.h: New File.
5055 * sysdeps/s390/memset.S: Move to ...
5056 * sysdeps/s390/memset-z900.S ... here.
5057 Move implementations from memset-s390x.s to here.
5058 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5059 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5060 Remove memset variants.
5061 * sysdeps/s390/Makefile (sysdep_routines):
5062 Add memset variants.
5063 * sysdeps/s390/multiarch/ifunc-impl-list.c
5064 (__libc_ifunc_impl_list): Adjust ifunc variants for
5066 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5068 * sysdeps/s390/memset.c: ... here.
5069 Adjust ifunc variants for memset.
5071 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5073 * sysdeps/s390/s390-64/memset.S: Move to ...
5074 * sysdeps/s390/memset.S: ... here.
5075 Adjust to be usable for 31/64bit.
5076 * sysdeps/s390/s390-32/memset.S: Delete File.
5077 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5078 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5080 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5081 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5082 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5083 Adjust to be usable for 31/64bit.
5084 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5085 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5086 * sysdeps/s390/multiarch/memset.c: ... here.
5087 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5091 * sysdeps/s390/multiarch/ifunc-resolve.h
5092 (s390_libc_ifunc_init, s390_libc_ifunc,
5093 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5097 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5098 * sysdeps/s390/configure.ac: Add check for z10 support.
5099 * sysdeps/s390/configure: Regenerated.
5101 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5103 * sysdeps/i386/atomic-machine.h: Merged with ...
5104 * sysdeps/x86_64/atomic-machine.h: To ...
5105 * sysdeps/x86/atomic-machine.h: This. New file.
5107 2018-12-18 Florian Weimer <fweimer@redhat.com>
5109 Rewrite locale/gen-translit.pl in Python.
5110 * locale/Makefile (generated): Add C-translit.h.
5111 (before-compile): Add $(objpfx)C-translit.h.
5112 (C-translit.h): Move to $(objpfx). Create target directory.
5113 Build using Python script.
5114 * locale/gen-translit.py: New file.
5115 * locale/gen-translit.pl: Remove file.
5116 * locale/C-translit.h.in: Change comment character to '#' for
5117 easier parsing without a C preprocessor.
5118 * locale/C-translit.h: Remove generated file.
5119 * manual/install.texi (Tools for Compilation): Do not mention
5121 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5122 Remove locale/C-translit.h.
5123 * scripts/update-copyrights: Likewise.
5124 * INSTALL: Regenerate.
5126 2018-12-18 Florian Weimer <fweimer@redhat.com>
5129 * localedata/locales/bi_VU: Remove executable bit from file.
5131 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5134 (__localtime64): Add.
5135 * manual/maint.texi: Document Y2038 symbol handling.
5137 (__localtime64): Add.
5138 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5140 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5142 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5145 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5146 to allow extra macros from first or second sources.
5147 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5148 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5149 (tests-special): Add $(objpfx)tst-mman-consts.out.
5150 ($(objpfx)tst-mman-consts.out): New makefile target.
5152 2018-12-17 Mao Han <han_mao@c-sky.com>
5154 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5155 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5156 without stat64 system call support.
5157 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5158 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5159 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5160 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5161 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5162 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5163 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5164 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5165 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5166 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5167 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5169 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5171 regex: fix storage-exhaustion error
5173 * posix/regexec.c (get_subexp):
5174 Do not continue if storage is exhausted.
5176 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5178 regex: fix heap-use-after-free error
5180 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5181 https://debbugs.gnu.org/32592
5182 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5183 call extend_buffers which reallocates the re_string_t internal buffer.
5184 Local variable 'buf' was not updated in such case, resulting in
5186 * posix/regexec.c (get_subexp): Update 'buf' after call to
5189 2018-12-15 Florian Weimer <fweimer@redhat.com>
5191 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5192 (minimum_stride_size): Use it.
5193 (support_blob_repeat_allocate): Likewise.
5195 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5197 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5202 2018-12-14 Florian Weimer <fweimer@redhat.com>
5204 * manual/process.texi (Process Creation Concepts): Remove
5205 documentation of process (ID) lifetime. List more process
5206 creation functions. Reference Process Identification section.
5207 (Process Identification): Add information about process ID
5208 lifetime. Describe Linux thread/task IDs.
5209 * manual/signal.texi (Signaling Another Process): Mention that the
5210 signal is always sent to the process.
5212 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5214 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5215 and tst-ldbl-efgcvt.
5216 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5217 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5218 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5219 (fcvt_tests, output_error, output_r_error, do_test): Use the
5220 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5221 select the type of floating-point variables and arguments; to
5222 produce extra tests for double and conversion specifiers for
5223 printf; and to set the names of called functions.
5224 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5225 in tst-efgcvt-template.c.
5226 * misc/tst-ldbl-efgcvt.c: Likewise.
5228 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5230 * nss/Makefile (tst-nss-test3.out): New rule.
5232 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5234 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5237 2018-12-13 fanjinke <fanjinke@hygon.cn>
5239 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5242 2018-12-13 Andreas Schwab <schwab@suse.de>
5245 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5246 (__pthread_rwlock_rdlock_full): Update expected value for
5247 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5248 * nptl/tst-rwlock-pwn.c: New file.
5249 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5251 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5253 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5256 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5258 * benchtests/scripts/compare_bench.py (do_compare): write to
5259 stderr in casestat is not present.
5260 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5261 stderr in case timings field is not present. Also string showing
5262 the output filename goes into the stderr.
5264 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5266 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5267 and ZeroDivisorError exceptions.
5268 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5269 argument to loop through user provided statistics.
5270 * benchtests/scripts/compare_bench.py (main): Include the --stats
5273 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5275 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5278 2018-12-12 Florian Weimer <fweimer@redhat.com>
5280 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5281 clause to copyright header.
5283 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5286 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5287 registers saved in the stack frame.
5288 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5289 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5291 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5293 * include/bits/monetary-ldbl.h: New file.
5294 * include/bits/printf-ldbl.h: Likewise.
5295 * include/bits/stdio-ldbl.h: Likewise.
5296 * include/bits/stdlib-ldbl.h: Likewise.
5297 * include/bits/syslog-ldbl.h: Likewise.
5298 * include/bits/wchar-ldbl.h: Likewise.
5300 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5302 * libio/libio.h: Remove redirection for _IO_vfprintf.
5304 2018-12-11 Andreas Schwab <schwab@suse.de>
5306 * Makerules: Remove all references to abilist-pattern.
5307 (update-all-abi): Simplify find expression.
5309 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5312 * math/auto-libm-test-in: Add new test case.
5313 * math/auto-libm-test-out-pow: Regenerated.
5314 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5316 2018-12-10 DJ Delorie <dj@redhat.com>
5319 * support/test-container.c: Move postclean step to before we
5322 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5324 * scripts/gen-as-const.py (main): Handle --python option.
5325 * scripts/gen-py-const.awk: Remove.
5326 * Makerules (py-const-script): Use gen-as-const.py.
5327 ($(py-const)): Likewise.
5328 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5329 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5330 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5331 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5332 ~PTHREAD_MUTEX_NO_ELISION_NP.
5333 * manual/README.pretty-printers: Update reference to
5336 * scripts/glibcextract.py: New file.
5337 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5338 or tempfile. Import glibcexctract.
5339 (compute_c_consts): Remove. Moved to glibcextract.py.
5340 (gen_test): Update reference to compute_c_consts.
5342 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5343 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5344 * sysdeps/unix/sysv/linux/Makefile
5345 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5346 Redirect stderr as well as stdout.
5348 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5351 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5352 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5353 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5354 ALWAYS_USE_VSYSCALL.
5355 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5356 ALWAYS_USE_VSYSCALL.
5357 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5358 ALWAYS_USE_VSYSCALL.
5360 2018-12-10 Florian Weimer <fweimer@redhat.com>
5363 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5364 offset instead of count for clarity. Fix typo in comment.
5365 (__old_getdents64): Keep track of previous offset. Use it to call
5367 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5368 that d_off is never zero.
5370 2018-12-10 Andreas Schwab <schwab@suse.de>
5372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5373 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5375 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5376 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5378 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5380 * timezone/private.h: Update from tzcode 2018g.
5381 * timezone/tzfile.h: Likewise.
5382 * timezone/tzselect.ksh: Likewise.
5383 * timezone/zdump.c: Likewise.
5384 * timezone/zic.c: Likewise.
5386 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5389 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5390 (do_test): Adjust buffer size and fix format.
5392 2018-12-07 DJ Delorie <dj@redhat.com>
5395 * malloc/tst-tcfree3.c: New.
5396 * malloc/Makefile: Add it.
5398 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5400 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5402 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5404 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5405 used as a mask for the mode argument of __vfscanf_internal and
5406 __vfwscanf_internal.
5407 * stdio-common/vfscanf-internal.c
5408 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5409 (__strtof128_internal): Define to __wcstof128_internal.
5410 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5411 __strtof128_internal or __wcstof128_internal when the format of
5412 long double is the same as _Float128.
5414 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5416 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5417 * posix/confstr.c (confstr): Rename to __confstr.
5418 (__confstr): Add hidden def.
5419 (confstr): Add weak alias for __confstr.
5420 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5423 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5425 * NEWS: Mention getcpu.
5426 * include/sched.h (__getcpu): New libc_hidden_proto.
5427 * manual/resource.texi: Document getcpu.
5428 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5429 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5430 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5431 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5432 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5433 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5434 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5435 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5436 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5437 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5438 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5439 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5440 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5442 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5443 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5444 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5453 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5454 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5455 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5456 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5457 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5458 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5459 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5460 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5461 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5462 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5463 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5466 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5468 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5470 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5472 2018-12-07 Florian Weimer <fweimer@redhat.com>
5475 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5476 * posix/Versions (GLIBC_2.29): Export
5477 posix_spawn_file_actions_addfchdir_np.
5478 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5479 * posix/spawn_faction_destroy.c
5480 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5481 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5482 and the field action.fchdir_action.
5483 * posix/tst-spawn-chdir.c (add_chdir): New function.
5484 (do_test): Add do_fchdir loop. Call add_chdir.
5485 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5486 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5487 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5488 posix_spawn_file_actions_addfchdir_np.
5489 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5491 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5493 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5494 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5496 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5498 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5500 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5502 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5504 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5506 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5507 (GLIBC_2.29): Likewise.
5508 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5509 (GLIBC_2.29): Likewise.
5510 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5511 (GLIBC_2.29): Likewise.
5512 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5513 (GLIBC_2.29): Likewise.
5514 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5517 (GLIBC_2.29): Likewise.
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5519 (GLIBC_2.29): Likewise.
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5521 (GLIBC_2.29): Likewise.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5523 (GLIBC_2.29): Likewise.
5524 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5526 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5528 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5530 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5531 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5533 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5535 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5537 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5540 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5542 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5543 trailing whitespace removed.
5544 * scripts/config.guess: Update to version 2018-11-28.
5545 * scripts/config.sub: Update to version 2018-11-28.
5546 * scripts/install-sh: Update to version 2018-03-11.20.
5547 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5548 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5550 2018-12-07 Florian Weimer <fweimer@redhat.com>
5554 * inet/tst-if_index-long.c: New file.
5555 * inet/Makefile (tests): Add tst-if_index-long.
5557 2018-12-07 Florian Weimer <fweimer@redhat.com>
5559 * support/check.h (support_record_failure_is_failed): Declare.
5560 * support/descriptors.h: New file.
5561 * support/support_descriptors.c: Likewise.
5562 * support/tst-support_descriptors.c: Likewise.
5563 * support/support_record_failure.c
5564 (support_record_failure_is_failed): New function.
5565 * support/Makefile (libsupport-routines): Add support_descriptors.
5566 (tests): Add tst-support_descriptors.
5568 2018-12-05 Zack Weinberg <zackw@panix.com>
5569 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5571 * stdio-common/vfprintf-internal.c
5572 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5573 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5574 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5575 and __no_long_double.
5576 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5577 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5578 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5579 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5580 and __nldbl_*syslog* functions.
5581 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5582 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5583 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5584 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5585 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5586 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5587 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5588 (__nldbl_vwprintf, __nldbl_wprintf):
5589 Directly call the appropriate __v*printf_internal routine, passing
5590 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5592 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5593 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5594 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5595 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5596 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5597 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5598 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5599 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5600 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5601 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5602 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5603 (__nldbl_syslog, __nldbl_vsyslog):
5604 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5605 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5607 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5610 2018-12-05 Zack Weinberg <zackw@panix.com>
5611 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5614 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5615 Moved here from debug/vsprintf_chk.c.
5616 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5617 and completion logic for the strfile to match exactly what
5618 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5619 _IO_str_init_static_internal instead of maxlen-1.
5620 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5621 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5622 __vsprintf_internal.
5624 * debug/vsprintf_chk.c (__vsprintf_chk)
5625 * debug/sprintf_chk.c (__sprintf_chk):
5626 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5627 'flags' argument is positive, and slen as maxlen. No need to lock
5628 the FILE and/or construct a temporary FILE. Minimize and normalize
5629 header inclusions and variable names. Do not libc_hidden_def anything.
5631 * debug/asprintf_chk.c (__asprintf_chk)
5632 * debug/dprintf_chk.c (__dprintf_chk)
5633 * debug/fprintf_chk.c (__fprintf_chk)
5634 * debug/fwprintf_chk.c (__fwprintf_chk)
5635 * debug/printf_chk.c (__printf_chk)
5636 * debug/snprintf_chk.c (__snprintf_chk)
5637 * debug/swprintf_chk.c (__swprintf_chk)
5638 * debug/vasprintf_chk.c (__vasprintf_chk)
5639 * debug/vdprintf_chk.c (__vdprintf_chk)
5640 * debug/vfprintf_chk.c (__vfprintf_chk)
5641 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5642 * debug/vprintf_chk.c (__vprintf_chk)
5643 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5644 * debug/vswprintf_chk.c (__vswprintf_chk)
5645 * debug/vwprintf_chk.c (__vwprintf_chk)
5646 * debug/wprintf_chk.c (__wprintf_chk):
5647 Directly call the corresponding vxxprintf_internal function, passing
5648 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5649 the FILE and/or construct a temporary FILE. Minimize and normalize
5650 header inclusions and variable names. Do not libc_hidden_def anything.
5652 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5653 __obstack_vprintf_internal.
5654 (__obstack_vprintf_chk): Convert into a wrapper that calls
5655 __obstack_vprintf_internal (these two functions already had the
5656 same code) and move to new file...
5657 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5659 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5660 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5661 * debug/Makefile (routines): Add vobprintf_chk.
5663 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5664 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5665 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5666 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5667 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5668 (__nldbl___obstack_vfprintf_chk):
5669 Directly call the corresponding vxxprintf_internal function,
5670 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5671 duplicate comparison of slen with 0 or maxlen from the corresponding
5672 non-__nldbl function.
5674 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5675 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5676 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5677 Remove libc_hidden_proto.
5679 * stdio-common/vfprintf-internal.c
5680 (__vfprintf_internal, __vfwprintf_internal):
5681 Do not check _IO_FLAGS2_FORTIFY.
5682 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5683 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5684 a comment explaining why it has the maxlen argument.
5685 (_IO_acquire_lock_clear_flags2_fct): Remove.
5686 (_IO_acquire_lock_clear_flags2): Remove.
5687 (_IO_release_lock): Remove conditional statement which will
5689 (_IO_acquire_lock): Remove variable which is now unused.
5690 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5691 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5693 * stdio-common/Makefile (tests): Add tst-bz11319 and
5694 tst-bz11319-fortify2.
5695 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5696 * stdio-common/tst-bz11319-fortify2.c: New file.
5697 * stdio-common/tst-bz11319.c: Likewise.
5699 2018-12-05 Zack Weinberg <zackw@panix.com>
5700 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5702 * misc/syslog.c: Include libioP.h, not iolibio.h.
5703 (__vsyslog_internal): New function with the former body of
5704 __vsyslog_chk; takes mode_flags argument same as
5705 __v*printf_internal. Call __vfprintf_internal directly.
5707 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5708 Remove libc_hidden_def.
5709 (__syslog, __syslog_chk): Use __vsyslog_internal.
5710 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5712 * include/sys/syslog.h: Add multiple inclusion guard.
5713 Add prototype for __vsyslog_internal.
5714 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5716 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5717 Use __vsyslog_internal.
5719 2018-12-05 Zack Weinberg <zackw@panix.com>
5720 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5722 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5723 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5724 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5726 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5727 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5729 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5730 Include wctype.h here if COMPILE_WPRINTF is defined.
5731 Define __vfprintf_internal or __vfwprintf_internal, depending
5733 Temporarily, on entry to this function, update mode_flags
5734 according to the environmental settings corresponding to
5735 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5736 Throughout, check mode_flags instead of __ldbl_is_dbl and
5737 _IO_FLAGS2_FORTIFY on the destination FILE.
5738 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5739 Include vfprintf-internal.c. Don't include wctype.h.
5740 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5741 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5743 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5744 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5746 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5748 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5749 and add mode_flags argument; use __vfprintf_internal.
5750 (__vdprintf): New function. Alias vdprintf to this.
5751 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5752 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5753 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5754 (__obstack_printf): Use __obstack_printf_internal.
5755 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5756 public aliases __vsnprintf and vsnprintf.
5757 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5759 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5760 public aliases _IO_vsprintf and vsprintf.
5761 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5762 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5763 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5764 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5765 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5767 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5768 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5769 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5770 * stdio-common/printf.c: Use __vfprintf_internal.
5772 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5773 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5774 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5776 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5777 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5778 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5779 __vfwprintf_internal.
5781 * libio/libio.h: Remove libc_hidden_proto and declaration for
5783 Remove declaration of _IO_vfwprintf.
5784 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5786 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5788 * include/stdio.h: Add prototype for __vasprintf.
5789 (__vsnprintf): Remove declaration, because there are no more
5791 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5792 declaration, because there are no more internal calls.
5794 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5795 __vsnprintf_internal, instead of _IO_vsnprintf.
5796 * argp/argp-help.c (__argp_error, __argp_failure): Use
5797 __vasprintf_internal, instead of _IO_vasprintf.
5798 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5799 redefine, because there are no more internal calls.
5801 2018-12-05 Zack Weinberg <zackw@panix.com>
5802 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5804 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5805 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5806 Include libio/strfile.h instead of libioP.h.
5807 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5808 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5809 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5810 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5811 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5812 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5813 necessary. Do not set __no_long_double. Normalize variable names.
5814 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5815 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5816 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5817 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5818 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5819 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5820 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5821 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5822 Do not set __no_long_double. Normalize variable names.
5824 2018-12-05 Zack Weinberg <zackw@panix.com>
5825 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5827 * stdio-common/isoc99_scanf.c
5828 * stdio-common/isoc99_fscanf.c
5829 * stdio-common/isoc99_sscanf.c
5830 * stdio-common/isoc99_vscanf.c
5831 * stdio-common/isoc99_vfscanf.c
5832 * stdio-common/isoc99_vsscanf.c
5833 * wcsmbs/isoc99_wscanf.c
5834 * wcsmbs/isoc99_fwscanf.c
5835 * wcsmbs/isoc99_swscanf.c
5836 * wcsmbs/isoc99_vwscanf.c
5837 * wcsmbs/isoc99_vfwscanf.c
5838 * wcsmbs/isoc99_vswscanf.c:
5839 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5840 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5841 No need to lock and unlock the FILE passed to that function.
5843 * stdio-common/vfscanf-internal.c
5844 (__vfscanf_internal, __vfwscanf_internal):
5845 Don't look at _IO_FLAGS2_SCANF_STD.
5846 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5847 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5848 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5850 2018-12-05 Zack Weinberg <zackw@panix.com>
5851 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5853 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5854 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5855 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5856 * libio/strfile.h: Add multiple inclusion guard.
5857 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5859 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5860 consistency with the other version of this file.
5861 (ldbl_compat_symbol): New macro.
5862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5865 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5866 Define __vfscanf_internal or __vfwscanf_internal, depending on
5867 COMPILE_WSCANF; don't define any other public symbols.
5868 Remove errval and code to set errp.
5869 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5870 as the mode_flags argument.
5871 (encode_error, conv_error, input_error): Don't set errval.
5872 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5873 Include vfscanf-internal.c.
5874 * stdio-common/vfscanf.c: New file defining the public entry
5875 point vfscanf, which calls __vfscanf_internal.
5876 * stdio-common/vfwscanf.c: New file defining the public entry
5877 point vfwscanf, which calls __vfwscanf_internal.
5879 * stdio-common/iovfscanf.c: New file.
5880 * stdio-common/iovfwscanf.c: Likewise.
5882 * stdio-common/Makefile (routines): Add vfscanf-internal,
5883 vfwscanf-internal, iovfscanf, iovfwscanf.
5884 * stdio-common/Versions: Mention GLIBC_2.29, so that
5885 it can be used in SHLIB_COMPAT expressions.
5886 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5887 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5888 Call __vfscanf_internal, instead of _IO_vfscanf.
5889 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5891 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5894 * libio/iovsscanf.c: Clean up includes, when possible. Use
5895 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5896 __vfscanf_internal or __vfwscanf_internal directly.
5897 * libio/iovswscanf.c: Likewise.
5898 * libio/swscanf.c: Likewise.
5899 * libio/vscanf.c: Likewise.
5900 * libio/vwscanf.c: Likewise.
5901 * libio/wscanf.c: Likewise.
5902 * stdio-common/isoc99_fscanf.c: Likewise.
5903 * stdio-common/isoc99_scanf.c: Likewise.
5904 * stdio-common/isoc99_sscanf.c: Likewise.
5905 * stdio-common/isoc99_vfscanf.c: Likewise.
5906 * stdio-common/isoc99_vscanf.c: Likewise.
5907 * stdio-common/isoc99_vsscanf.c: Likewise.
5908 * stdio-common/scanf.c: Likewise.
5909 * stdio-common/sscanf.c: Likewise.
5910 * wcsmbs/isoc99_fwscanf.c: Likewise.
5911 * wcsmbs/isoc99_swscanf.c: Likewise.
5912 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5913 * wcsmbs/isoc99_vswscanf.c: Likewise.
5914 * wcsmbs/isoc99_vwscanf.c: Likewise.
5915 * wcsmbs/isoc99_wscanf.c: Likewise.
5917 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5920 (__tz_compute): Replace time_t with __time64_t.
5921 (__tz_convert): Replace time_t* with __time64_t.
5922 (__offtime): Replace time_t* with __time64_t.
5924 (__gmtime_r): Adjust call to __tz_convert.
5927 (__localtime_r): Likewise.
5928 (localtime): Likewise.
5929 * time/offtime.c: Replace time_t with __time64_t.
5930 * time/tzset.c: Likewise.
5932 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5934 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5935 dynamic linker unless [$(run-built-tests) = yes].
5937 2018-12-03 DJ Delorie <dj@delorie.com>
5939 * support/test-container.c (check_for_unshare_hints): New.
5940 (main): Call it if unshare fails. Add support for "su" scriptlet
5943 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5945 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5946 'START' to indicate that start text should be output.
5947 (gen_test): Likewise.
5948 (main): Generate 'START' for first symbol or '--' line, or at end
5949 of input if not previously generated.
5951 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5954 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5955 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5956 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5957 ALWAYS_USE_VSYSCALL.
5959 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5962 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5965 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5968 * locale/programs/localedef.c: Declare boolean hard_links default true.
5969 (options): Add --no-hard-links option.
5970 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5971 * locale/programs/localedef.h: Declare prototype for hard_links.
5972 * locale/programs/locfile.c (write_locale_data): Don't use hard
5973 links if hard_links is false.
5975 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5977 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5979 (__cache_sysconf): Likewise.
5980 (init_cacheinfo): Likewise.
5981 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5982 populate COMMON_CPUID_INDEX_80000007 and
5983 COMMON_CPUID_INDEX_80000008.
5984 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5985 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5986 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5987 (init_cpu_features): Use _Static_assert on
5988 index_arch_Fast_Unaligned_Load.
5989 __get_cpuid_registers and __get_arch_feature. Updated for
5990 cpu_features_basic. Set stepping in cpu_features.
5991 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5992 (FEATURE_INDEX_2): New.
5993 (FEATURE_INDEX_MAX): Changed to enum.
5994 (COMMON_CPUID_INDEX_D_ECX_1): New.
5995 (COMMON_CPUID_INDEX_80000007): Likewise.
5996 (COMMON_CPUID_INDEX_80000008): Likewise.
5997 (cpuid_registers): Likewise.
5998 (cpu_features_basic): Likewise.
5999 (CPU_FEATURE_USABLE): Likewise.
6000 (bit_arch_XXX_Usable): Likewise.
6001 (cpu_features): Use cpuid_registers and cpu_features_basic.
6002 (bit_arch_XXX): Reweritten.
6003 (bit_cpu_XXX): Likewise.
6004 (index_cpu_XXX): Likewise.
6005 (reg_XXX): Likewise.
6006 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6008 (CHECK_CPU_FEATURE): New.
6009 (CHECK_CPU_FEATURE_USABLE): Likewise.
6010 (cpu_kinds): Likewise.
6011 (do_test): Print vendor, family, model and stepping. Check
6012 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6013 (TEST_FUNCTION): Removed.
6014 Include <support/test-driver.c> instead of
6015 "../../test-skeleton.c".
6016 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6017 Check POPCNT instead of POPCOUNT.
6018 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6020 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6022 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6023 there is no element in `consts'.
6025 2018-12-01 Florian Weimer <fweimer@redhat.com>
6027 * support/support_capture_subprocess.c
6028 (support_capture_subprocess): Check that pipe descriptors have
6029 expected values. Close original pipe descriptors in subprocess.
6031 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6034 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6035 attr with __pthread_default_barrierattr.
6036 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6037 attr with __pthread_default_condattr.
6038 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6039 attr with __pthread_default_mutexattr.
6040 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6041 attr with __pthread_default_rwlockattr.
6043 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6045 * manual/tunables.texi (POSIX Thread Tunables): New node.
6046 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6047 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6048 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6049 __pthread_tunables_init.
6050 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6051 (max_adaptive_count): Define.
6052 * nptl/pthread_mutex_conf.c: New file.
6053 * nptl/pthread_mutex_conf.h: New file.
6054 * sysdeps/generic/adaptive_spin_count.h: New file.
6055 * sysdeps/nptl/dl-tunables.list: New file.
6056 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6057 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6058 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6061 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6064 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6065 * stdlib/on_exit.c (__on_exit): Likewise.
6066 * stdlib/Makefile (tests): Add tst-bz20544.
6067 * stdlib/tst-bz20544.c: New test.
6069 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6072 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6073 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6076 2018-11-30 Florian Weimer <fweimer@redhat.com>
6078 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6079 Extend error logging.
6080 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6083 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6085 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6086 __sigismember instead of sigismember.
6087 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6088 cancel_handler): New definitions.
6089 (do_system): Use posix_spawn instead of fork and execl and remove
6091 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6092 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6093 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6094 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6095 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6096 * sysdeps/unix/sysv/linux/system.c: Likewise.
6100 * NEWS: Add new semantic for atfork with popen and system.
6101 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6104 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6107 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6108 modification order when accessing reloc_result->addr.
6109 * include/link.h (reloc_result): Add field init.
6110 * nptl/Makefile (tests): Add tst-audit-threads.
6111 (modules-names): Add tst-audit-threads-mod1 and
6112 tst-audit-threads-mod2.
6113 Add rules to build tst-audit-threads.
6114 * nptl/tst-audit-threads-mod1.c: New file.
6115 * nptl/tst-audit-threads-mod2.c: Likewise.
6116 * nptl/tst-audit-threads.c: Likewise.
6117 * nptl/tst-audit-threads.h: Likewise.
6119 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6121 * scripts/gen-as-const.py: New file.
6122 * scripts/gen-as-const.awk: Remove.
6123 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6125 ($(objpfx)test-as-const-%.c): Likewise.
6127 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6129 * elf/dl-exception.c: Include <_itoa.h>.
6131 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6133 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6134 returned by __f_setlk.
6136 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6137 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6139 * elf/Makefile (tests-internal): Add tst-create_format1.
6140 * elf/dl-exception.c (_dl_exception_create_format): Support
6142 * elf/tst-create_format1.c: New file.
6144 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6146 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6147 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6149 * argp/argp-help.c (__argp_failure): Likewise.
6151 2018-11-29 Mao Han <han_mao@c-sky.com>
6153 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6154 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6155 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6156 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6157 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6158 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6159 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6160 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6161 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6162 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6163 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6164 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6165 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6166 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6167 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6168 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6169 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6170 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6171 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6172 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6173 (R_CKCORE_TLS_TPOFF32): New defines.
6175 2018-11-29 Florian Weimer <fweimer@redhat.com>
6177 * posix/Makefile (before-compile): Remove testcases.h and
6179 (generated): Add testcases.h and ptestcases.h.
6180 (testcases.h, ptestcases.h): Move to $(objpfx).
6181 (runtests.o): Add dependency on testcases.h.
6182 (runptests.o): Add dependency on ptestcases.h.
6183 * posix/testcases.h, posix/ptestcases.h: Remove files.
6184 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6185 not touch posix/testcases.h and posix/ptestcases.h.
6187 2018-11-28 Florian Weimer <fweimer@redhat.com>
6189 support: Add signal support to support_capture_subprocess_check.
6190 * support/capture_subprocess.h (support_capture_subprocess_check):
6191 Adjust comment and rename parameter.
6192 * support/support_capture_subprocess_check.c
6193 (print_actual_status): New function.
6194 (support_capture_subprocess_check): Support negative
6195 status_or_signal. Call print_actual_status.
6196 * support/tst-support_capture_subprocess.c (do_test): Call
6197 support_capture_subprocess_check.
6198 * libio/tst-vtables-common.c (termination_status)
6199 (init_termination_status): Remove.
6200 (check_for_termination): Adjust support_capture_subprocess_check
6202 (do_test): Remove call to init_termination_status.
6204 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6206 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6207 source directory instead of a copy.
6208 (CommandList.create_copy_dir): Remove.
6210 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6212 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6214 2018-11-28 Florian Weimer <fweimer@redhat.com>
6216 * support/support.h (support_quote_string): Do not use str
6219 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6221 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6222 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6224 2018-11-27 Florian Weimer <fweimer@redhat.com>
6226 * support/support.h (support_quote_string): Declare.
6227 * support/support_quote_string.c: New file.
6228 * support/tst-support_quote_string.c: Likewise.
6229 * support/Makefile (libsupport-routines): Add
6230 support_quote_string.
6231 (tests): Add tst-support_quote_string.
6233 2018-11-27 Florian Weimer <fweimer@redhat.com>
6237 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6238 descriptor leak in case of ENODEV error.
6240 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6243 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6244 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6247 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6249 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6250 Error for unknown lines.
6252 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6254 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6255 Touch additional files.
6257 2018-11-26 Florian Weimer <fweimer@redhat.com>
6260 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6263 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6266 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6267 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6268 SHARED. Include sysdep.h.
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6270 ALWAYS_USE_VSYSCALL.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6272 ALWAYS_USE_VSYSCALL.
6274 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6277 * nptl/Makefile (tests-static): Add tst-cond11-static.
6279 * nptl/tst-cond11-static.c: New File.
6280 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6281 tst-affinity-static.
6283 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6285 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6286 (USE_VSYSCALL): Likewise.
6287 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6288 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6290 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6295 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6298 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6299 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6302 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6304 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6305 (tst-cet-legacy-1a-ARGS): New.
6306 ($(objpfx)tst-cet-legacy-1a): New target.
6307 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6309 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6311 * conform/conformtest.py (CompileSubTest.__init__): Set
6312 self.run_early to False.
6313 (ExecuteSubTest.__init__): Likewise.
6314 (HeaderTests.run): Try running all non-optional, non-XFAILed
6315 compilation tests in a single execution of the compiler.
6317 * conform/conformtest.py (CompileSubTest): New class.
6318 (ExecuteSubTest): Likewise.
6319 (ElementTest.run): Rename to gen_subtests. Append tests to
6320 self.subtests instead of running them.
6321 (ConstantTest.run): Likewise.
6322 (SymbolTest.run): Likewise.
6323 (TypeTest.run): Likewise.
6324 (TagTest.run): Likewise.
6325 (FunctionTest.run): Likewise.
6326 (VariableTest.run): Likewise.
6327 (MacroFunctionTest.run): Likewise.
6328 (MacroStrTest.run): Likewise.
6329 (HeaderTests.handle_test_line): Generate subtests for tests.
6330 (HeaderTests.run): Run subtests for tests.
6332 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6334 * math/Versions (GLIBC_2.29): Add pow.
6335 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6337 * math/w_pow.c: New file.
6338 * sysdeps/i386/fpu/w_pow.c: New file.
6339 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6340 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6341 and add necessary aliases.
6342 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6343 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6344 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6345 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6346 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6347 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6348 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6349 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6350 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6351 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6352 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6353 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6354 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6355 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6356 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6361 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6362 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6363 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6364 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6365 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6366 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6367 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6368 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6370 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6371 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6372 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6374 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6376 * math/Versions (GLIBC_2.29): Add log2.
6377 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6379 * math/w_log2.c: New file.
6380 * sysdeps/i386/fpu/w_log2.c: New file.
6381 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6382 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6383 and add necessary aliases.
6384 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6385 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6386 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6387 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6388 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6389 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6390 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6391 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6392 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6393 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6394 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6395 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6396 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6397 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6398 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6403 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6404 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6405 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6406 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6407 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6408 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6409 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6411 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6413 * math/Versions (GLIBC_2.29): Add log.
6414 * math/w_log_compat.c (__log_compat): Change to versioned compat
6416 * math/w_log.c: New file.
6417 * sysdeps/i386/fpu/w_log.c: New file.
6418 * sysdeps/ia64/fpu/e_log.S: Update.
6419 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6420 and add necessary aliases.
6421 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6422 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6423 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6424 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6425 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6426 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6427 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6428 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6429 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6430 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6431 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6432 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6433 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6434 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6435 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6440 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6441 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6442 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6443 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6444 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6445 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6446 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6447 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6449 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6450 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6451 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6452 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6454 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6456 * math/Versions (GLIBC_2.29): Add exp and exp2.
6457 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6458 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6459 * math/w_exp_compat.c (__exp_compat): Likewise.
6460 * math/w_exp.c: New file.
6461 * math/w_exp2.c: New file.
6462 * sysdeps/i386/fpu/w_exp.c: New file.
6463 * sysdeps/i386/fpu/w_exp2.c: New file.
6464 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6465 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6466 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6467 and add necessary aliases.
6468 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6469 and add necessary aliases.
6470 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6471 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6472 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6473 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6474 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6475 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6476 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6477 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6478 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6479 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6480 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6481 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6482 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6483 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6484 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6485 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6486 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6491 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6492 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6493 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6494 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6495 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6496 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6497 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6498 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6499 (__ieee754_exp): Rename to __exp.
6500 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6501 (__ieee754_exp): Rename to __exp.
6502 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6503 (__ieee754_exp): Rename to __exp.
6504 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6506 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6508 2018-11-20 DJ Delorie <dj@redhat.com>
6510 * malloc/malloc.c (tcache_entry): Add key field.
6511 (tcache_put): Set it.
6512 (tcache_get): Likewise.
6513 (_int_free): Check for double free in tcache.
6514 * malloc/tst-tcfree1.c: New.
6515 * malloc/tst-tcfree2.c: New.
6516 * malloc/Makefile: Run the new tests.
6517 * manual/probes.texi: Document memory_tcache_double_free probe.
6519 * dlfcn/dlerror.c (check_free): Prevent double frees.
6521 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6523 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6525 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6527 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6528 in tests. Use names for format arguments.
6529 (ConstantTest.run): Likewise.
6530 (SymbolTest.run): Likewise.
6531 (TypeTest.run): Likewise.
6532 (TagTest.run): Likewise.
6533 (FunctionTest.run): Likewise.
6534 (VariableTest.run): Likewise.
6535 (MacroFunctionTest.run): Likewise.
6536 (MacroStrTest.run): Likewise.
6537 (HeaderTests.__init__): Set self.num_tests.
6538 (HeaderTests.handle_test_line): Set test.num. Increment
6541 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6543 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6544 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6547 2018-11-19 Mao Han <han_mao@c-sky.com>
6549 * scripts/config.guess: Update to version 2018-08-29.
6550 * scripts/config.sub: Update to version 2018-08-29.
6552 2018-11-19 Florian Weimer <fweimer@redhat.com>
6554 support: Print timestamps in timeout handler.
6555 * support/support_test_main.c (print_timestamp): New function.
6556 (signal_handler): Use it to print the termination time and the
6557 time of the last write to standard output.
6559 2018-11-16 Zack Weinberg <zackw@panix.com>
6560 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6562 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6563 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6565 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6566 and add flags argument. Check flags instead of __ldbl_is_dbl when
6567 deciding whether to set is_long_double.
6568 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6569 passing zero for flags argument.
6570 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6572 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6573 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6574 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6575 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6576 variable names. Remove libc_hidden_def/libc_hidden_proto from
6577 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6578 longer called from within the library.
6579 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6580 for __nldbl___vstrfmon_l, declare it explicitly.
6582 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6584 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6586 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6588 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6589 F_SETLK64, F_SETLKW64, respectively.
6590 * sysdeps/mach/hurd/f_setlk.c: New file.
6591 * sysdeps/mach/hurd/f_setlk.h: New file.
6592 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6594 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6595 (__libc_fcntl): Move non-flock operations to...
6596 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6597 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6599 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6601 mktime: DEBUG_MKTIME cleanup
6602 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6603 And it’s no longer needed now that glibc and Gnulib both have
6604 their own testing mechanisms for mktime.
6605 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6607 mktime: fix non-EOVERFLOW errno handling
6609 mktime was not properly reporting failures when the underlying
6610 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6611 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6612 The problem could happen on non-glibc platforms, with Gnulib.
6613 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6614 (tm_diff): ... this simpler function, which does not change errno.
6615 All callers changed to deal with errno themselves.
6616 (ranged_convert, __mktime_internal): Return failure immediately if
6617 the underlying function reports any failure other than EOVERFLOW.
6618 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6621 mktime: fix bug with Y2038 DST transition
6623 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6624 mishandle a DST transition that jumps over the Y2038 boundary.
6625 No such DST transitions are known so this is only a theoretical
6626 bug, but we might as well do things right.
6628 mktime: make more room for overflow
6630 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6631 This is so that we can add tm_diff results to a previous guess,
6632 which will be useful in a later patch.
6634 mktime: simplify offset guess
6636 * time/mktime.c (__mktime_internal): Omit excess precision.
6638 mktime: new test for mktime failure
6640 Based on a test suggested by Albert Aribaud in:
6641 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6642 * time/Makefile (tests): Add bug-mktime4.
6643 * time/bug-mktime4.c: New file.
6645 mktime: fix EOVERFLOW bug
6647 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6648 Include libc-config.h, not config.h, for __set_errno.
6649 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6651 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6653 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6654 __attribute_copy__ to copy attributes from name. Drop static qualifier
6655 to avoid warnings about leaf attribute not having effect on static
6658 2018-11-13 Florian Weimer <fweimer@redhat.com>
6660 * malloc/malloc.c (fastbin_push_entry): New function.
6661 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6662 (REMOVE_FB): Remove macro.
6663 (_int_malloc): Use fastbin_pop_entry and reindent.
6664 (_int_free): Use fastbin_push_entry.
6665 (malloc_consolidate): Use atomic_exchange_acquire.
6667 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6669 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6670 alias attribute, not with strong_alias.
6672 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6673 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6674 with additional parameter thread.
6675 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6676 in terms of __hidden_ver2.
6677 (hidden_tls_def): New macro.
6678 (libc_hidden_tls_def): Likewise.
6679 (rtld_hidden_tls_def): Likewise.
6680 (libm_hidden_tls_def): Likewise.
6681 (libmvec_hidden_tls_def): Likewise.
6682 (libresolv_hidden_tls_def): Likewise.
6683 (librt_hidden_tls_def): Likewise.
6684 (libdl_hidden_tls_def): Likewise.
6685 (libnss_files_hidden_tls_def): Likewise.
6686 (libnsl_hidden_tls_def): Likewise.
6687 (libnss_nisplus_hidden_tls_def): Likewise.
6688 (libutil_hidden_tls_def): Likewise.
6689 (libutil_hidden_tls_def): Likweise.
6690 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6691 libc_hidden_tls_def.
6692 (__sim_disabled_exceptions_thread): Likewise.
6693 (__sim_round_mode_thread): Likewise.
6695 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6696 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6697 copy attributes from name.
6699 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6701 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6702 Use __attribute_copy__ to copy attributes from name.
6704 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6705 with __hidden_ver1 call.
6706 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6707 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6708 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6709 (__cosf): Do not declare here.
6710 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6711 (__sincosf): Do not declare here.
6712 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6713 (__sinf): Do not declare here.
6715 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6716 (__BIG_ENDIAN): Likewise.
6717 (__BYTE_ORDER): Likewise.
6718 (strong_alias): Likewise.
6719 (_strong_alias): Likewise.
6721 2018-11-12 Florian Weimer <fweimer@redhat.com>
6723 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6724 function. Move after the definition of in_smallbin_range. Do not
6725 use __builtin_expect for paths that lead to a noreturn function.
6726 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6727 because it is unclear whether this is in fact an unlikely
6729 (_int_malloc, _int_free): Adjust.
6730 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6732 * malloc/arena.c (heap_trim): Likewise.
6734 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6736 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6737 it, free it if needed.
6738 (reauthenticate): Test and use ccwdir.
6739 (child_init_port): In non-resetids case, test and use ccwdir.
6740 (child_chdir): New nested function to set ccwdir.
6741 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6742 * hurd/hurd/port.h (_hurd_port_move): New function.
6743 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6744 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6745 * hurd/Versions (_hurd_port_move): Export function.
6746 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6748 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6749 of dtablesize for allocating dtable_cloexec.
6751 2018-11-09 Martin Sebor <msebor@redhat.com>
6753 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6754 it's already defined.
6755 (_strong_alias): Use __attribute_copy__.
6756 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6757 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6758 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6759 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6760 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6761 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6762 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6763 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6764 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6765 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6766 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6767 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6768 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6769 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6770 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6771 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6772 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6773 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6774 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6776 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6778 * misc/tst-efgcvt.c: Include support/check.h and
6779 support/test-driver.c. Do not include test-skeleton.c.
6780 (error_count): Remove.
6781 (output_error): Replace increments to error_count with calls to
6782 support_record_failure.
6783 (output_r_error): Likewise.
6784 (special): Likewise.
6785 (do_test): Unconditionally return zero.
6786 (TEST_FUNCTION): Remove.
6788 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6790 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6792 ($(linknamespace-header-tests)): Likewise.
6794 * conform/conformtest.py: New file.
6795 * conform/conformtest.pl: Remove.
6796 * conform/GlibcConform.pm: Likewise.
6797 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6798 (KEYWORDS_C99): Likewise.
6799 (KEYWORDS): Likewise.
6800 * conform/Makefile ($(conformtest-header-tests)): Use
6801 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6802 option. Use --header instead of --headers.
6803 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6805 * conform/data/spawn.h-data: Likewise.
6806 * conform/data/fcntl.h-data (openat): Add space after function
6808 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6809 (wcscasecmp_l): Likewise.
6810 * conform/data/termios.h-data (c_cc): Add space after element
6813 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6815 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6816 instead of manually comparing and reporting mismatching strings.
6817 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6818 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6820 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6822 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6823 __ASSUME_SOCKETCALL.
6824 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6825 (__ASSUME_SOCKETCALL): Remove.
6826 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6827 (__ASSUME_SOCKETCALL): Likewise.
6828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6829 (__ASSUME_SOCKETCALL): Likewise.
6830 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6831 (__ASSUME_SOCKETCALL): Likewise.
6832 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6833 (__ASSUME_SOCKETCALL): Likewise.
6834 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6835 (__ASSUME_SOCKETCALL): Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6837 (__ASSUME_SOCKETCALL): Likewise.
6839 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6842 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6843 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6844 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6845 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6846 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6849 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6852 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6854 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6857 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6858 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6859 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6860 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6862 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6864 * support/support_test_compare_string.c
6865 (support_test_compare_string): Fix printf format.
6867 2018-11-07 Florian Weimer <fweimer@redhat.com>
6869 Implement TEST_COMPARE_STRING.
6870 * support/check.h (TEST_COMPARE_STRING): Define.
6871 (support_test_compare_string): Declare.
6872 * support/Makefile (libsupport-routines): Add
6873 support_test_compare_string.
6874 (tests): Add tst-test_compare_string.
6875 * support/support_test_compare_string.c: New file.
6876 * support/tst-test_compare_string.c: Likewise.
6878 2018-11-07 Andreas Schwab <schwab@suse.de>
6881 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6882 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6885 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6888 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6889 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6890 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6891 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6894 2018-11-06 Florian Weimer <fweimer@redhat.com>
6897 * posix/Makefile (routines): Add spawn_faction_addchdir.
6898 (tests): Add tst-spawn-chdir.
6899 * posix/Versions (GLIBC_2.29): Add
6900 posix_spawn_file_actions_addchdir_np.
6901 * posix/spawn_faction_addchdir.c: New file.
6902 * posix/spawn_faction_destroy.c
6903 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6904 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6905 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6907 * posix/tst-spawn-chdir.c: New file.
6908 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6909 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6910 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6911 posix_spawn_file_actions_addchdir_np.
6912 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6914 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6916 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6917 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6919 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6921 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6923 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6925 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6927 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6929 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6930 (GLIBC_2.29): Likewise.
6931 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6932 (GLIBC_2.29): Likewise.
6933 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6934 (GLIBC_2.29): Likewise.
6935 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6936 (GLIBC_2.29): Likewise.
6937 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6940 (GLIBC_2.29): Likewise.
6941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6942 (GLIBC_2.29): Likewise.
6943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6944 (GLIBC_2.29): Likewise.
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6946 (GLIBC_2.29): Likewise.
6947 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6949 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6951 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6953 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6954 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6956 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6958 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6960 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6963 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6965 * misc/Makefile (tests): Add tst-ldbl-error.
6966 * misc/tst-ldbl-error.c: New file.
6968 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6970 * misc/Makefile (tests): Add tst-ldbl-warn.
6971 * misc/tst-ldbl-warn.c: New file.
6973 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6975 * argp/Makefile (tests): Add tst-ldbl-argp.
6976 * argp/tst-ldbl-argp.c: New file.
6978 2018-11-05 Arjun Shankar <arjun@redhat.com>
6980 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6981 __gconv_path_elem and call __gconv_get_path unconditionally.
6983 2018-11-05 Andreas Schwab <schwab@suse.de>
6986 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6987 creating the first helper thread failed.
6989 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6991 * sysdeps/mach/hurd/msync.c: New file.
6993 2018-11-02 Florian Weimer <fweimer@redhat.com>
6995 * support/shell-container.c (copy_func): Call
6996 support_copy_file_range instead of copy_file_range to support
6997 cross-device copies.
6999 2018-11-02 Florian Weimer <fweimer@redhat.com>
7001 * support/test-container.c: Include <libc-pointer-arith.h> for
7004 2018-11-01 Zong Li <zong@andestech.com>
7006 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7007 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7008 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7009 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7011 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7012 variable to avoid overlap arguments.
7014 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7016 * posix/bug-regex22.c (main): Use puts with distinct error
7017 messages for unexpected success of re_compile_pattern, not printf
7018 with NULL argument to %s.
7020 * stdio-common/bug22.c: Include <libc-diag.h>.
7021 (do_test): Disable -Wformat-overflow= warnings around fprintf
7022 calls outputting more than INT_MAX characters.
7023 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7024 around printf call with NULL %s argument.
7027 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7028 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7030 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7031 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7032 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7033 (__ASSUME_SENDTO_SYSCALL): Likewise.
7034 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7035 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7037 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7038 (__ASSUME_CONNECT_SYSCALL): Likewise.
7039 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7040 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7041 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7043 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7045 [__LINUX_KERNEL_VERSION >= 0x040400]
7046 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7047 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7050 (setsockopt): Likewise.
7052 2018-11-01 Fredrik Noring <noring@nocrew.org>
7054 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7055 with the ISA override.
7057 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7059 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7062 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7064 * manual/errno.texi (EIEIO): Document how translators should
7065 translate the error message.
7066 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7067 printing trailing whitespaces refused by git.
7068 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7069 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7070 * hurd/Makefile (user-interfaces): Add pci.
7072 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7074 * conform/linknamespace.py: New file.
7075 * conform/linknamespace.pl: Remove file.
7076 * conform/Makefile ($(linknamespace-header-tests)): Use
7077 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7080 2018-10-30 Florian Weimer <fweimer@redhat.com>
7082 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7085 2018-10-30 Florian Weimer <fweimer@redhat.com>
7087 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7089 2018-10-30 Florian Weimer <fweimer@redhat.com>
7091 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7092 support_blob_repeat.
7094 2018-10-30 Florian Weimer <fweimer@redhat.com>
7096 Avoid spurious test failures in stdlib/test-bz22786.
7097 * support/Makefile (libsupport-routines): Add blob_repeat.
7098 (tests): Add tst-support_blob_repeat.
7099 * support/blob_repeat.h: New file.
7100 * support/blob_repeat.c: Likewise.
7101 * support/tst-support_blob_repeat.c: Likewise.
7102 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7103 support_blob_repeat_allocate.
7105 2018-10-30 Andreas Schwab <schwab@suse.de>
7108 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7109 Don't use tail call.
7110 * elf/tst-unwind-main.c: New file.
7111 * elf/Makefile (tests): Add tst-unwind-main.
7112 (CFLAGS-tst-unwind-main.c): Define.
7114 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7117 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7119 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7121 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7123 * conform/glibcconform.py: Do not import shutil.
7124 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7127 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7128 critic_missing for versions before 3.4.
7129 * configure: Regenerated.
7130 * manual/install.texi (Tools for Compilation): Document
7131 requirement for Python to build glibc.
7132 * INSTALL: Regenerated.
7133 * Rules [PYTHON]: Make code unconditional.
7134 * benchtests/Makefile [PYTHON]: Likewise.
7135 * conform/Makefile [PYTHON]: Likewise.
7136 * manual/Makefile [PYTHON]: Likewise.
7137 * math/Makefile [PYTHON]: Likewise.
7139 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7141 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7142 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7143 answer to interrupt_operation, return EIEIO instead of EINTR.
7144 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7145 _hurd_intr_rpc_msg_about_to global point to start of controlled
7146 assembly snippet. Make it check canceled flag.
7147 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7148 the _hurd_intr_rpc_msg_about_to point.
7149 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7150 issue, remove cancel flag check.
7152 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7154 * scripts/build-many-glibcs.py: Remove compatibility for missing
7155 os.cpu_count and re.fullmatch.
7157 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7160 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7161 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7162 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7164 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7166 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7169 2018-10-25 Florian Weimer <fweimer@redhat.com>
7173 XFAIL siginfo_t si_band conform test on sparc64.
7174 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7175 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7176 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7177 (conformtest-xfail-conds): Add sparc64-linux.
7178 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7180 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7182 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7184 * elf/elf.h (NT_MIPS_DSP): New macro.
7185 (NT_MIPS_FP_MODE): Likewise.
7187 2018-10-25 Zong Li <zong@andestech.com>
7189 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7190 name by adding the file extension (.so).
7192 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7194 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7195 (test-xfail-ISO11/threads.h/linknamespace,
7196 test-xfail-ISO11/threads.h/conform): Add.
7198 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7200 * math/gen-libm-test.py: Import os.
7201 (ALL_FLOATS_MANUAL): New constant.
7202 (ALL_FLOATS_SUFFIX): Likewise.
7203 (Ulps.all_functions): New function.
7204 (real_all_ulps): Likewise.
7205 (generate_err_table_sub): Likewise.
7206 (generate_err_table): Likewise.
7207 (main): Handle -s and -m options.
7208 * manual/libm-err-tab.pl: Remove.
7209 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7210 instead of libm-err-tab.pl.
7211 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7213 * manual/install.texi (Tools for Compilation): Document
7214 requirement for Python to build manual.
7215 * INSTALL: Regenerated.
7217 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7219 * bits/time64.h: New file.
7220 * include/time.h: Replace internal_time_t with __time64_t.
7221 * posix/bits/types (__time64_t): Add.
7222 * stdlib/Makefile: Add bits/time64.h to includes.
7223 * time/tzfile.c: Replace internal_time_t with __time64_t.
7225 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7227 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7228 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7229 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7230 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7231 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7233 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7234 * posix/spawn_faction_addclose.c
7235 (__posix_spawn_file_actions_addclose): Add hidden definition.
7236 * posix/spawn_faction_adddup2.c
7237 (__posix_spawn_file_actions_adddup2): Likewise.
7238 * posix/spawn_faction_destroy.c
7239 (__posix_spawn_file_actions_destroy): Likewise.
7240 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7242 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7243 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7244 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7246 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7247 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7250 2018-10-24 Andreas Schwab <schwab@suse.de>
7253 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7255 * elf/cache.c (print_cache): Likewise.
7257 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7259 * bits/timesize.h: New file.
7260 * stdlib/Makefile (headers): Add bits/timesize.h.
7261 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7262 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7263 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7264 (__SEM_PAD_AFTER_TIME): Likewise.
7265 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7266 (__SHM_PAD_AFTER_TIME): Likewise.
7267 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7268 (__MSQ_PAD_BEFORE_TIME): Likewise.
7269 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7270 (__SEM_PAD_BEFORE_TIME): Likewise.
7271 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7272 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7273 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7274 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7275 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7276 (__MSQ_PAD_BEFORE_TIME): Likewise.
7277 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7278 (__SEM_PAD_BEFORE_TIME): Likewise.
7279 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7280 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7282 (__MSQ_PAD_BEFORE_TIME): Likewise.
7283 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7284 (__SEM_PAD_BEFORE_TIME): Likewise.
7285 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7286 (__SHM_PAD_BEFORE_TIME): Likewise.
7287 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7288 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7289 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7291 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7293 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7294 USE_RDTSCP is defined.
7295 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7296 USE_RDTSCP is defined.
7298 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7300 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7304 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7305 independently of other flags.
7307 2018-10-23 Florian Weimer <fweimer@redhat.com>
7309 * time/tst-mktime2.c (N_STRINGS): Remove.
7310 (set_timezone): New function.
7311 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7312 (mktime_test1): Report localtime failure and check errno value.
7314 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7315 (do_test): Remove alarm call. Use set_timezone and array_length.
7317 2018-10-23 Andreas Schwab <schwab@suse.de>
7319 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7320 (__start_context): Use END instead of PSEUDO_END.
7322 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7324 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7327 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7331 * wcsmbs/c32rtomb.c: New file.
7332 * wcsmbs/mbrtoc32.c: Likewise.
7333 * wcsmbs/tst-c32-state.c: Likewise.
7334 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7335 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7336 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7337 (tests): Add tst-c32-state.
7338 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7341 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7343 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7344 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7346 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7349 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7350 pair and return 0 in that case, and use saved character to
7351 interpret following character.
7352 * wcsmbs/tst-c16-surrogate.c: New file.
7353 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7354 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7355 Depend on $(gen-locales)
7357 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7360 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7361 (struct siginfo_t): Use correct type for si_band.
7363 2018-10-19 Florian Weimer <fweimer@redhat.com>
7366 * resource/bits/types/struct_rusage.h (struct rusage): Update
7367 comment on struct. Remove extraneous field comment.
7369 2018-10-18 David S. Miller <davem@davemloft.net>
7371 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7372 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7373 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7374 sysdep_routines in subdir elf.
7375 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7376 version for __vdso_clock_gettime.
7377 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7379 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7380 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7382 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7384 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7386 * sysdeps/i386/init-arch.h: Removed.
7387 * sysdeps/i386/i586/init-arch.h: Likewise.
7388 * sysdeps/i386/i686/init-arch.h: Likewise.
7389 * sysdeps/i386/i686/hp-timing.h: Likewise.
7390 * sysdeps/x86_64/hp-timing.h: Likewise.
7391 * sysdeps/i386/isa.h: New file.
7392 * sysdeps/i386/i586/isa.h: Likewise.
7393 * sysdeps/i386/i686/isa.h: Likewise.
7394 * sysdeps/x86_64/isa.h: Likewise.
7395 * sysdeps/x86/hp-timing.h: New file.
7396 * sysdeps/x86/init-arch.h: Include <isa.h>.
7398 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7400 * math/libm-test-pow.inc (pow_test_data): Do not allow
7401 divide-by-zero exception for pow(+/- 0, -Inf).
7403 2018-10-17 Zack Weinberg <zackw@panix.com>
7405 * manual/job.texi (Job Control is Optional): Remove node, as
7406 job control has not been optional in quite some time.
7407 (Job Control): Mention briefly that systems older than
7408 POSIX.1-2001 might not support job control.
7409 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7410 defined on systems conforming to POSIX.1-2001.
7412 2018-10-17 Arjun Shankar <arjun@redhat.com>
7415 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7417 * (__gconv_read_conf): Mark function static.
7418 * (once): New static variable.
7419 * (__gconv_load_conf): New function.
7420 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7421 * iconv/gconv_db.c (once): Remove static variable.
7422 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7424 * (__gconv_find_transform): Likewise.
7425 * iconv/tst-iconv-mt.c: New test.
7426 * iconv/Makefile: Add tst-iconv_mt.
7428 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7432 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7433 (shmatt_t): Define as __syscall_ulong_t.
7434 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7435 and [__SHM_PAD_AFTER_TIME].
7436 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7437 Define shm_segsz and associated padding based on
7438 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7439 Use __syscall_ulong_t instead of unsigned long int.
7440 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7442 [__USE_MISC] (struct shm_info): Likewise.
7443 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7444 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7445 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7446 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7447 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7448 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7449 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7450 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7451 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7452 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7453 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7457 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7458 (SHMLBA): Remove macro.
7459 (__getpagesize): Remove function declaration.
7460 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7462 (SHMLBA): Remove macro.
7463 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7465 (SHMLBA): Remove macro.
7466 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7468 (SHMLBA): Remove macro.
7469 (__getpagesize): Remove function declaration.
7470 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7472 (SHMLBA): Remove macro.
7473 (__getshmlba): Remove function declaration.
7474 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7475 (SHMLBA): Remove macro.
7476 (__getpagesize): Remove function declaration.
7477 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7478 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7479 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7480 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7481 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7482 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7483 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7484 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7485 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7486 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7488 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7491 * nptl/tst-mutex10.c: New File.
7492 * nptl/Makefile (tests): Add tst-mutex10.
7493 (tst-mutex10-ENV): New variable.
7494 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7495 Ensure that elision path is used if elision is available.
7496 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7498 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7500 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7501 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7502 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7503 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7505 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7506 (__pthread_mutex_cond_lock_adjust): Likewise.
7507 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7509 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7510 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7511 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7512 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7514 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7515 Use atomic_load_relaxed and atomic_store_relaxed.
7516 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7517 Use atomic_store_relaxed.
7519 2018-10-17 Andreas Schwab <schwab@suse.de>
7521 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7522 * crypt/badsalttest.c (TIMEOUT): Likewise.
7523 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7524 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7525 * io/test-lfs.c (TIMEOUT): Likewise.
7526 * libio/tst-atime.c (TIMEOUT): Likewise.
7527 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7528 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7529 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7530 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7531 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7532 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7533 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7534 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7535 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7536 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7537 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7538 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7539 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7540 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7541 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7542 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7543 * nptl/tst-once2.c (TIMEOUT): Likewise.
7544 * nptl/tst-once3.c (TIMEOUT): Likewise.
7545 * nptl/tst-once4.c (TIMEOUT): Likewise.
7546 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7547 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7548 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7549 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7550 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7551 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7552 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7553 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7554 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7555 * posix/tst-chmod.c (TIMEOUT): Likewise.
7556 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7557 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7558 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7559 * posix/tst-regex2.c (TIMEOUT): Likewise.
7560 * posix/tst-waitid.c (TIMEOUT): Likewise.
7561 * rt/tst-aio.c (TIMEOUT): Likewise.
7562 * rt/tst-aio10.c (TIMEOUT): Likewise.
7563 * rt/tst-aio4.c (TIMEOUT): Likewise.
7564 * rt/tst-aio5.c (TIMEOUT): Likewise.
7565 * rt/tst-aio6.c (TIMEOUT): Likewise.
7566 * rt/tst-aio64.c (TIMEOUT): Likewise.
7567 * rt/tst-aio7.c (TIMEOUT): Likewise.
7568 * rt/tst-aio9.c (TIMEOUT): Likewise.
7569 * rt/tst-clock.c (TIMEOUT): Likewise.
7570 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7571 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7572 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7573 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7574 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7575 * rt/tst-timer4.c (TIMEOUT): Likewise.
7576 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7577 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7578 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7579 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7580 * time/tst-ftime.c (TIMEOUT): Likewise.
7581 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7583 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7585 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7586 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7589 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7593 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7594 instead of <bits/wordsize.h>.
7595 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7596 and [__SEM_PAD_AFTER_TIME].
7597 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7598 __syscall_ulong_t instead of unsigned long int.
7599 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7600 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7601 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7602 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7603 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7604 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7605 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7606 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7607 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7608 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7609 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7611 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7613 regex: simplify by using intprops.h
7615 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7616 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7617 intprops.h defines them.
7619 regex: __builtin_expect → __glibc_unlikely
7621 This refactoring was prompted by a problem when the regex code is
7622 used as part of Gnulib and when the builder’s compiler does not grok
7623 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7624 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7625 Although this refactoring does not fix the problem directly,
7626 we might as well have Gawk use the now-preferred glibc style for when
7627 __builtin_expect is unavailable.
7628 * posix/regex_internal.h (BE): Remove.
7629 All uses replaced by __glibc_unlikely or __glibc_likely.
7631 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7635 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7636 instead of <bits/wordsize.h>.
7637 (msgqnum_t): Define as __syscall_ulong_t.
7638 (msglen_t): Likewise.
7639 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7640 and [__MSQ_PAD_AFTER_TIME].
7641 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7642 __syscall_ulong_t instead of unsigned long int.
7643 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7644 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7645 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7646 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7647 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7648 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7649 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7650 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7651 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7652 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7653 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7655 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7657 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7658 (struct shmid_ds): Condition padding after time fields on
7660 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7661 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7662 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7664 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7665 (struct semid_ds): Condition padding after time fields on
7667 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7668 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7669 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7670 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7672 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7673 (struct msqid_ds): Condition padding after time fields on
7675 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7676 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7677 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7678 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7680 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7682 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7684 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7686 * libio/tst-readline.c (TIMEOUT): Define.
7688 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7690 mktime fix for Gnulib + coreutils
7692 This fix affects only Gnulib. Problem discovered when
7693 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7695 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7696 Do not define since it is not used. Defining an unused static
7697 function prompts a warning from GCC when Coreutils is configured
7698 with --enable-gcc-warnings.
7700 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7702 * benchtests/scripts/compare_bench.py (main): set float type on
7705 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7708 * localedata/locales/kl_GL (mon): Update, the relative case.
7709 (alt_mon): Add, fill with month names in the nominative case.
7710 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7711 (d_fmt): Set to "%b %d %Y".
7713 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7715 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7716 <bits/mman-linux.h>.
7717 (PROT_READ): Don't define here.
7718 (PROT_WRITE): Likewise.
7719 (PROT_EXEC): Likewise.
7720 (PROT_NONE): Likewise.
7721 (PROT_GROWSDOWN): Likewise.
7722 (PROT_GROWSUP): Likewise.
7723 (MAP_SHARED): Likewise.
7724 (MAP_PRIVATE): Likewise.
7725 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7726 [__USE_MISC] (MAP_FILE): Likewise.
7727 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7728 [__USE_MISC] (MAP_ANON): Likewise.
7729 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7730 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7731 (MCL_CURRENT): Likewise.
7732 (MCL_FUTURE): Likewise.
7733 (MCL_ONFAULT): Likewise.
7734 [__USE_MISC] (MADV_NORMAL): Likewise.
7735 [__USE_MISC] (MADV_RANDOM): Likewise.
7736 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7737 [__USE_MISC] (MADV_WILLNEED): Likewise.
7738 [__USE_MISC] (MADV_DONTNEED): Likewise.
7739 [__USE_MISC] (MADV_FREE): Likewise.
7740 [__USE_MISC] (MADV_REMOVE): Likewise.
7741 [__USE_MISC] (MADV_DONTFORK): Likewise.
7742 [__USE_MISC] (MADV_DOFORK): Likewise.
7743 [__USE_MISC] (MADV_HWPOISON): Likewise.
7744 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7745 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7746 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7747 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7748 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7749 (__MAP_ANONYMOUS): New macro.
7750 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7751 <bits/mman-linux.h> inclusion.
7752 (MAP_FIXED): Likewise.
7753 (MS_SYNC): Likewise.
7754 (MS_ASYNC): Likewise.
7755 (MS_INVALIDATE): Likewise.
7756 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7757 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7758 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7759 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7760 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7761 [__USE_MISC] (MADV_DODUMP): Likewise.
7762 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7763 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7766 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7768 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7769 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7770 Add test-nldbl-redirect.
7771 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7772 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7773 $(objpfx)libnldbl_nonshared.a.
7775 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7777 * support/support.h (support_objdir_elf_ldso): New variable.
7778 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7779 * support/Makefile (CFLAGS-support_paths.c): Add definition
7780 for OBJDIR_ELF_LDSO_PATH.
7781 * support/test-container.c (main): Search for the ld.so
7782 which is also used by the testsuite.
7784 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7787 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7788 should be "sap" rather than "sab".
7789 (day): Fix spelling of Sunday, should be "sapaat" rather than
7792 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7794 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7796 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7799 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7800 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7801 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7803 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7805 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7807 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7809 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7811 (CFLAGS-elision-unlock.c): Likewise.
7812 (CFLAGS-elision-timed.c): Likewise.
7813 (CFLAGS-elision-trylock.c): Likewise.
7814 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7816 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7819 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7820 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7821 new fd_to_filename interface.
7822 * libio/freopen64.c (freopen64): Likewise.
7823 * libio/tst-memstream.h: New file.
7824 * libio/tst-memstream4.c: Likewise.
7825 * libio/tst-wmemstream4.c: Likewise.
7826 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7827 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7828 and remove internal dynamic allocation.
7830 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7832 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7833 (MREMAP_MAYMOVE): Do not define here.
7834 [__USE_GNU] (MREMAP_FIXED): Likewise.
7835 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7836 (MREMAP_MAYMOVE): Define here instead.
7837 [__USE_GNU] (MREMAP_FIXED): Likewise.
7838 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7839 (MREMAP_MAYMOVE): Remove.
7840 [__USE_GNU] (MREMAP_FIXED): Likewise.
7842 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7844 * math/fromfp.h: Do not include <math_private.h>.
7845 * math/s_cacosh_template.c: Likewise.
7846 * math/s_casin_template.c: Likewise.
7847 * math/s_casinh_template.c: Likewise.
7848 * math/s_ccos_template.c: Likewise.
7849 * math/s_cproj_template.c: Likewise.
7850 * math/s_fdim_template.c: Likewise.
7851 * math/s_fmaxmag_template.c: Likewise.
7852 * math/s_fminmag_template.c: Likewise.
7853 * math/s_iseqsig_template.c: Likewise.
7854 * math/s_ldexp_template.c: Likewise.
7855 * math/s_nextdown_template.c: Likewise.
7856 * math/w_log1p_template.c: Likewise.
7857 * math/w_scalbln_template.c: Likewise.
7858 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7859 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7860 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7861 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7862 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7863 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7864 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7865 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7866 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7867 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7868 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7869 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7870 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7871 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7872 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7873 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7874 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7875 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7876 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7877 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7878 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7879 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7880 * sysdeps/ieee754/k_standardf.c: Likewise.
7881 * sysdeps/ieee754/k_standardl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7883 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7884 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7890 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7891 * sysdeps/ieee754/s_signgam.c: Likewise.
7892 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7893 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7894 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7895 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7896 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7897 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7898 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7899 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7900 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7901 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7902 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7903 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7904 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7905 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7906 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7907 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7908 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7909 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7910 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7911 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7912 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7913 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7914 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7915 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7916 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7917 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7918 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7919 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7920 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7921 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7922 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7923 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7924 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7925 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7926 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7927 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7928 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7930 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7932 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7935 * sysdeps/i386/dl-cet.c: Removed.
7936 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7938 (_dl_runtime_profile_shstk): Likewise.
7939 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7940 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7942 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7945 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7946 do_test_with_invalid_iov): New tests.
7947 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7948 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7949 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7951 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7952 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7953 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7955 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7957 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7958 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7959 (MATH_REDIRECT_BINARY_ARGS): New macro.
7960 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7961 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7962 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7964 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7966 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7967 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7968 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7969 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7970 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7977 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7978 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7983 * sysdeps/generic/math_private_calls.h
7984 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7985 Do not declare and define as an inline function.
7986 * math/divtc3.c (__divtc3): Use copysign functions instead of
7987 __copysign variants.
7988 * math/multc3.c (__multc3): Likewise.
7989 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7990 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7991 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7992 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7994 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7995 (__ieee754_yn): Likewise.
7996 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7997 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7998 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7999 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8000 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8002 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8009 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8010 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8012 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8013 (__ieee754_ynf): Likewise.
8014 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8015 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8016 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8017 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8019 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8020 (__ieee754_ynl): Likewise.
8021 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8022 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8023 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8026 (__ieee754_ynl): Likewise.
8027 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8030 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8032 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8034 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8035 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8036 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8037 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8038 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8040 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8041 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8042 using MATH_REDIRECT.
8043 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8045 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8048 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8049 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8050 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8051 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8056 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8057 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8058 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8059 (round): Redirect to __round.
8060 (__roundl): Call round instead of __round.
8061 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8063 [_ARCH_PWR5X] (__roundf): Likewise.
8064 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8065 functions instead of __round variants.
8066 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8067 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8069 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8071 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8073 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8074 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8076 (__ieee754_expl): Call roundl instead of __roundl.
8078 2018-09-27 Andreas Schwab <schwab@suse.de>
8081 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8082 (do_test): Make st1 static.
8084 2018-09-26 Andreas Schwab <schwab@suse.de>
8087 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8088 * elf/Makefile (tests): Add tst-unwind-ctor.
8089 (modules-names): Add tst-unwind-ctor-lib.
8090 ($(objpfx)tst-unwind-ctor): Depend on
8091 $(objpfx)tst-unwind-ctor-lib.so.
8093 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8095 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8096 file. Most contents moved from ....
8097 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8098 and include <bits/mman-map-flags-generic.h>.
8099 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8100 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8101 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8102 <bits/mman-map-flags-generic.h>.
8103 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8104 macros defined in <bits/mman-map-flags-generic.h>.
8105 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8106 <bits/mman-map-flags-generic.h>.
8107 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8108 defined in <bits/mman-map-flags-generic.h>.
8110 2018-09-26 Andreas Schwab <schwab@suse.de>
8112 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8115 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8116 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8117 Fangrui Song <maskray@google.com>
8120 * config.make.in (have-textrel_ifunc): New define.
8121 * configure.ac: Add check if linker supports textrel relocation with
8123 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8125 (CFLAGS-tst-ifunc-textrel.c): New rule.
8126 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8127 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8128 * elf/tst-ifunc-textrel.c: New file.
8130 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8132 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8133 <bits/procfs-prregset.h>.
8134 (prgregset_t): Define using __prgregset_t.
8135 (prfpregset_t): Define using __prfpregset_t.
8136 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8137 (sysdep_headers): Add bits/procfs-prregset.h.
8138 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8139 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8140 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8141 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8143 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8144 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8145 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8147 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8148 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8149 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8150 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8151 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8152 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8153 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8154 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8155 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8156 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8157 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8158 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8159 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8160 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8161 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8162 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8163 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8164 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8165 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8166 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8167 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8168 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8169 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8170 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8172 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8173 AArch64 version. Include <bits/procfs.h>.
8174 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8175 (sysdep_headers): Add bits/procfs.h.
8176 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8177 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8178 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8179 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8180 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8181 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8182 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8183 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8184 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8185 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8186 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8187 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8188 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8189 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8190 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8191 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8192 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8194 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8196 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8199 2018-09-25 Arjun Shankar <arjun@redhat.com>
8201 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8202 (__gconv_max_path_elem_len): Likewise.
8203 (__gconv_nmodules): Likewise.
8204 (__gconv_get_path): Likewise.
8205 (path_elem): Move to ...
8206 * iconv/gconv_conf.c: ... here.
8207 (__gconv_get_path): Mark function static.
8208 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8209 * iconv/gconv_open.c: ... here.
8211 2018-09-24 Andreas Schwab <schwab@suse.de>
8213 * scripts/haveversions.awk: New file.
8214 * Makerules ($(common-objpfx)Versions.def)
8215 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8216 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8218 * Makeconfig ($(common-objpfx)Versions.def)
8219 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8220 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8222 ($(common-objpfx)Versions.mk): New rule. Include it.
8223 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8224 Emit error if build-obsolete-nsl = yes.
8225 * manual/install.texi (Configuring and compiling): Describe
8226 --enable-obsolete-nsl as unavaiable after version 2.28.
8227 * INSTALL: Regenerate.
8229 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8231 * NEWS: Add note about new TLE support on powerpc64le.
8232 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8233 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8235 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8236 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8237 * sysdeps/powerpc/powerpc32/sysdep.h,
8238 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8239 ABORT_TRANSACTION): Remove macros.
8240 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8241 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8242 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8244 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8245 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8247 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8249 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8252 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8253 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8254 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8255 which is the same as in it_IT.
8256 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8257 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8259 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8261 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8262 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8263 using MATH_REDIRECT.
8264 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8266 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8268 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8270 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8276 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8277 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8278 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8279 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8280 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8281 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8282 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8284 (ceil): Redirect to __ceil.
8285 (floor): Redirect to __floor.
8286 (trunc): Redirect to __trunc.
8287 (__truncl): Call trunc instead of __trunc.
8288 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8290 [_ARCH_PWR5X] (__truncf): Likewise.
8291 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8292 trunc functions instead of __trunc variants.
8293 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8295 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8297 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8299 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8302 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8303 [__i586__ || __pentium__].
8304 [__i486__]: Handle explicitly.
8305 (HAS_CPUID): Define to 1 if above macros are undefined.
8306 (HAS_I586): Likewise.
8307 (HAS_I686): Likewise.
8309 2018-09-20 Florian Weimer <fweimer@redhat.com>
8311 * misc/tst-gethostid.c: New file.
8312 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8313 (tst-gethostid): Link with -ldl.
8315 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8317 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8318 value from gethostbyname_r.
8320 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8322 * stdlib/tst-setcontext9.c (f1): Rename to...
8324 (f1b): New function implementing lower half of f1 in alternate stack.
8326 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8328 Fix mktime localtime offset confusion
8330 * include/time.h (__mktime_internal): The localtime offset is now
8331 of type long int instead of time_t. This is the longstanding type
8332 in glibc, and it is more than enough to represent difference
8333 between localtime and gmtime even if it is 32 bits and time_t is
8334 64. Changing it now will let us avoid an unnecessary change when
8335 time_t is widened to 64 bits on 32-bit platforms.
8336 * time/mktime-internal.h (mktime_offset_t): Now long int.
8338 Merge mktime, timegm from upstream Gnulib
8339 [BZ #23603][BZ #16346]
8340 This fixes some obscure problems with integer overflow.
8341 Although it looks scary, it is almost all a byte-for-byte copy
8342 from Gnulib, and the Gnulib code has been tested reasonably well.
8343 * include/intprops.h: New file, copied from Gnulib.
8344 * include/verify.h, time/mktime-internal.h:
8345 New tiny files, simplified from Gnulib.
8346 * time/mktime.c: Copy from Gnulib. This has the following changes:
8347 Do not include config.h if DEBUG_MKTIME is nonzero.
8348 Include stdbool.h, intprops.h, verify.h.
8349 Include string.h only if needed.
8350 Include stdlib.h on MS-Windows.
8351 Include mktime-internal.h.
8352 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8353 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8354 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8355 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8356 simplify later conditionals; default the others to zero. Use
8357 these conditionals to express only the code needed on the current
8358 platform. In uses of these conditionals, explicitly spell out how
8359 _LIBC affects things, so it’s easier to review from a glibc
8361 (WRAPV): Remove; no longer needed now that we have
8362 systematic overflow checking.
8363 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8364 compartmentalize tzset issues. Move system-dependent tzsettish
8365 code here from mktime.
8366 (verify): Remove; now done by verify.h. All uses changed.
8367 (long_int): Use a more-conservative definition, to avoid
8369 (SHR): Remove, replacing with ...
8370 (shr): New function, which means we needn’t worry about side
8371 effects in args, and conversion analysis is simpler.
8372 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8373 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8374 (time_t_avg, time_t_add_ok): Remove.
8375 (mktime_min, mktime_max): New constants.
8376 (leapyear, isdst_differ): Use bool for booleans.
8377 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8378 Use long_int, not time_t, for mktime differences.
8379 (long_int_avg): New function, replacing time_t_avg.
8380 INT_ADD_WRAPV replaces time_t_add_ok.
8381 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8383 (convert_time): New function.
8384 (ranged_convert): Use it.
8385 (__mktime_internal): Last arg now points to mktime_offset_t, not
8386 time_t. All uses changed. This is a no-op on glibc, where
8387 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8388 offset guess. Directly check for integer overflow instead of
8389 using a heuristic that works only 99.9...% of the time.
8390 Access *OFFSET only once, to avoid an unlikely race if the
8391 compiler delays a load and if this cascades into a signed integer
8393 (mktime): Move tzsettish code to my_tzset, and move
8394 localtime_offset to within mktime so that it doesn’t
8395 need a separate ifdef.
8396 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8397 instead of localtime.
8398 * time/timegm.c: Copy from Gnulib. This has the following changes:
8399 Include mktime-internal.h.
8400 [!_LIBC]: Include config.h and time.h. Do not include
8401 timegm.h or time_r.h. Make __mktime_internal a macro,
8402 and include mktime-internal.h to get its declaration.
8403 (timegm): Temporary is now mktime_offset_t, not time_t.
8404 This affects only Gnulib.
8406 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8409 * string/test-strstr.c (pr23637): New function.
8410 (test_main): Add tests with longer needles.
8411 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8412 * string/strstr.c (AVAILABLE): Likewise.
8414 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8416 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8418 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8420 * NEWS: Mention pow improvements.
8421 * math/Makefile (type-double-routines): Add e_pow_log_data.
8422 * sysdeps/generic/math_private.h (__exp1): Remove.
8423 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8424 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8425 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8427 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8428 (exp_inline): Remove.
8429 (__ieee754_exp): Only single double input is handled.
8430 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8431 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8432 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8433 (__pow_log_data): Define.
8434 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8435 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8436 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8437 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8439 (CFLAGS-e_pow-fma4.c): Likewise.
8441 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8443 Simplify tzfile fstat failure code
8445 * time/tzfile.c (__tzfile_read): Simplify slightly.
8447 Fix tzfile low-memory assertion failure
8449 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8450 when registering time zone abbreviations.
8452 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8454 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8455 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8456 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8457 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8458 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8459 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8460 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8461 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8462 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8464 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8466 (__ceill): Call ceil instead of __ceil.
8467 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8469 (__floorl): Call floor instead of __floor.
8471 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8473 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8474 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8475 using MATH_REDIRECT.
8476 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8478 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8481 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8482 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8483 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8484 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8485 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8490 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8491 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8494 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8495 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8496 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8498 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8499 functions instead of __ceil variants.
8500 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8501 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8503 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8505 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8506 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8508 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8509 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8512 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8514 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8515 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8516 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8517 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8518 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8519 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8520 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8521 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8522 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8523 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8524 (ILL_BADIADDR): Remove constant.
8525 (TRAP_BRANCH): Likewise.
8526 (TRAP_HWBKPT): Likewise.
8528 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8531 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8532 Remove [_MIPS_SIM = _ABIN32] conditional case.
8533 (struct elf_prpsinfo): Likewise.
8536 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8537 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8538 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8540 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8541 elf_prpsinfo): Likewise.
8542 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8543 elf_prpsinfo): Likewise.
8544 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8547 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8548 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8549 using MATH_REDIRECT.
8550 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8552 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8553 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8554 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8555 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8558 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8559 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8562 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8563 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8564 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8565 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8566 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8567 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8568 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8569 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8570 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8573 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8575 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8576 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8577 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8578 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8580 * math/e_scalbf.c (invalid_fn): Likewise.
8581 * math/e_scalbl.c (invalid_fn): Likewise.
8582 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8584 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8586 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8587 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8590 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8592 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8594 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8595 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8597 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8598 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8600 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8601 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8602 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8603 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8604 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8605 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8606 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8607 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8608 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8609 && !NO_MATH_REDIRECT] (floor): Likewise.
8610 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8612 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8615 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8616 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8617 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8619 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8624 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8625 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8628 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8629 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8630 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8632 [_ARCH_PWR5X] (__floorf): Likewise.
8633 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8635 [__SSE4_1__] (__floorf): Likewise.
8636 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8637 instead of __floor variants.
8638 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8639 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8640 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8641 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8642 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8643 * math/w_tgamma_compat.c (__tgamma): Likewise.
8644 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8645 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8646 * math/w_tgammal_compat.c (__tgammal): Likewise.
8647 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8650 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8651 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8652 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8653 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8655 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8656 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8658 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8659 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8662 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8664 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8665 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8666 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8667 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8668 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8669 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8671 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8673 * elf/Makefile (modules-names-tests): New variable.
8675 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8677 * NEWS: Mention log2 improvements.
8678 * math/Makefile (type-double-routines): Add e_log2_data.
8679 * sysdeps/i386/fpu/e_log2_data.c: New file.
8680 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8681 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8682 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8683 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8684 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8685 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8687 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8689 * NEWS: Mention log improvement.
8690 * math/Makefile (type-double-routines): Add e_log_data.
8691 * sysdeps/i386/fpu/e_log_data.c: New file.
8692 * sysdeps/ia64/fpu/e_log_data.c: New file.
8693 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8694 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8695 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8696 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8697 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8698 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8700 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8701 Xuepeng Guo <xuepeng.guo@intel.com>
8704 * sysdeps/i386/start.S: Include <sysdep.h>
8705 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8706 enabled. Add cfi_undefined (eip).
8708 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8710 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8712 (EXTRACT_WORDS64): Likewise.
8713 (INSERT_WORDS64): Likewise.
8714 (GET_FLOAT_WORD): Likewise.
8715 (SET_FLOAT_WORD): Likewise.
8717 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8719 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8720 build, but not for second build if --full-gcc. Use
8721 --enable-languages=all for second build if --full-gcc.
8722 (get_parser): Add --full-gcc option.
8723 (main): Update call to Context.
8725 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8728 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8729 Single Quotation Mark).
8730 (thousands_sep): Likewise.
8731 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8732 * localedata/locales/it_IT (thousands_sep): Use ".".
8733 (grouping): Use "3;3".
8735 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8737 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8738 x86_64 and i686 configs using --enable-obsolete-rpc
8739 --enable-obsolete-nsl.
8741 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8743 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8745 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8747 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8748 Increment size of new_argv by one.
8750 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8753 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8754 * localedata/locales/ar_IN (d_fmt): Likewise.
8755 * localedata/locales/bhb_IN (d_fmt): Likewise.
8756 * localedata/locales/bho_IN (d_fmt): Likewise.
8757 * localedata/locales/bn_BD (d_fmt): Likewise.
8758 * localedata/locales/bn_IN (d_fmt): Likewise.
8759 * localedata/locales/doi_IN (d_fmt): Likewise.
8760 * localedata/locales/gu_IN (d_fmt): Likewise.
8761 * localedata/locales/hi_IN (d_fmt): Likewise.
8762 * localedata/locales/hne_IN (d_fmt): Likewise.
8763 * localedata/locales/kn_IN (d_fmt): Likewise.
8764 * localedata/locales/mag_IN (d_fmt): Likewise.
8765 * localedata/locales/mai_IN (d_fmt): Likewise.
8766 * localedata/locales/mjw_IN (d_fmt): Likewise.
8767 * localedata/locales/ml_IN (d_fmt): Likewise.
8768 * localedata/locales/mni_IN (d_fmt): Likewise.
8769 * localedata/locales/mr_IN (d_fmt): Likewise.
8770 * localedata/locales/pa_IN (d_fmt): Likewise.
8771 * localedata/locales/raj_IN (d_fmt): Likewise.
8772 * localedata/locales/sat_IN (d_fmt): Likewise.
8773 * localedata/locales/sd_IN (d_fmt): Likewise.
8774 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8775 * localedata/locales/ta_IN (d_fmt): Likewise.
8776 * localedata/locales/ta_LK (d_fmt): Likewise.
8777 * localedata/locales/tcy_IN (d_fmt): Likewise.
8778 * localedata/locales/ur_IN (d_fmt): Likewise.
8780 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8781 * localedata/locales/ks_IN (d_fmt): Likewise.
8782 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8784 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8785 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8786 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8787 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8789 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8791 * NEWS: Mention exp and exp2 improvements.
8792 * math/Makefile (libm-support): Remove t_exp.
8793 (type-double-routines): Add math_err and e_exp_data.
8794 * sysdeps/aarch64/libm-test-ulps: Update.
8795 * sysdeps/arm/libm-test-ulps: Update.
8796 * sysdeps/i386/fpu/e_exp_data.c: New file.
8797 * sysdeps/i386/fpu/math_err.c: New file.
8798 * sysdeps/i386/fpu/t_exp.c: Remove.
8799 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8800 * sysdeps/ia64/fpu/math_err.c: New file.
8801 * sysdeps/ia64/fpu/t_exp.c: Remove.
8802 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8803 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8804 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8806 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8807 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8808 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8809 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8810 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8811 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8812 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8813 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8814 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8815 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8819 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8821 * sysdeps/alpha/fpu/math_private.h: Remove.
8823 * sysdeps/generic/math_private.h
8824 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8825 Move this inline function ....
8826 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8827 * include/math.h [!_ISOMAC]: To here....
8829 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8831 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8833 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8834 * include/fenv.h [!_ISOMAC]: ... to here.
8835 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8836 (feraiseexcept): Likewise.
8837 * math/fromfp.h: Do not include <fenv_private.h>.
8838 * math/s_cexp_template.c: Likewise.
8839 * math/s_csin_template.c: Likewise.
8840 * math/s_csinh_template.c: Likewise.
8841 * math/s_ctan_template.c: Likewise.
8842 * math/s_ctanh_template.c: Likewise.
8843 * math/s_iseqsig_template.c: Likewise.
8844 * math/w_acos_compat.c: Likewise.
8845 * math/w_acosf_compat.c: Likewise.
8846 * math/w_acosl_compat.c: Likewise.
8847 * math/w_asin_compat.c: Likewise.
8848 * math/w_asinf_compat.c: Likewise.
8849 * math/w_asinl_compat.c: Likewise.
8850 * math/w_j0_compat.c: Likewise.
8851 * math/w_j0f_compat.c: Likewise.
8852 * math/w_j0l_compat.c: Likewise.
8853 * math/w_j1_compat.c: Likewise.
8854 * math/w_j1f_compat.c: Likewise.
8855 * math/w_j1l_compat.c: Likewise.
8856 * math/w_jn_compat.c: Likewise.
8857 * math/w_jnf_compat.c: Likewise.
8858 * math/w_log10_compat.c: Likewise.
8859 * math/w_log10f_compat.c: Likewise.
8860 * math/w_log10l_compat.c: Likewise.
8861 * math/w_log2_compat.c: Likewise.
8862 * math/w_log2f_compat.c: Likewise.
8863 * math/w_log2l_compat.c: Likewise.
8864 * math/w_log_compat.c: Likewise.
8865 * math/w_logf_compat.c: Likewise.
8866 * math/w_logl_compat.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8872 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8873 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8874 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8875 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8876 * sysdeps/ieee754/k_standardl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8890 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8894 * math/w_ilogb_template.c: Include <fenv.h> instead of
8896 * math/w_llogb_template.c: Likewise.
8897 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8898 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8900 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8902 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8903 * math/fromfp.h: Include <fenv_private.h>.
8904 * math/math-narrow.h: Likewise.
8905 * math/s_cexp_template.c: Likewise.
8906 * math/s_csin_template.c: Likewise.
8907 * math/s_csinh_template.c: Likewise.
8908 * math/s_ctan_template.c: Likewise.
8909 * math/s_ctanh_template.c: Likewise.
8910 * math/s_iseqsig_template.c: Likewise.
8911 * math/w_acos_compat.c: Likewise.
8912 * math/w_acosf_compat.c: Likewise.
8913 * math/w_acosl_compat.c: Likewise.
8914 * math/w_asin_compat.c: Likewise.
8915 * math/w_asinf_compat.c: Likewise.
8916 * math/w_asinl_compat.c: Likewise.
8917 * math/w_ilogb_template.c: Likewise.
8918 * math/w_j0_compat.c: Likewise.
8919 * math/w_j0f_compat.c: Likewise.
8920 * math/w_j0l_compat.c: Likewise.
8921 * math/w_j1_compat.c: Likewise.
8922 * math/w_j1f_compat.c: Likewise.
8923 * math/w_j1l_compat.c: Likewise.
8924 * math/w_jn_compat.c: Likewise.
8925 * math/w_jnf_compat.c: Likewise.
8926 * math/w_llogb_template.c: Likewise.
8927 * math/w_log10_compat.c: Likewise.
8928 * math/w_log10f_compat.c: Likewise.
8929 * math/w_log10l_compat.c: Likewise.
8930 * math/w_log2_compat.c: Likewise.
8931 * math/w_log2f_compat.c: Likewise.
8932 * math/w_log2l_compat.c: Likewise.
8933 * math/w_log_compat.c: Likewise.
8934 * math/w_logf_compat.c: Likewise.
8935 * math/w_logl_compat.c: Likewise.
8936 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8937 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8938 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8939 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8964 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8965 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8966 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8967 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8968 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8969 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8970 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8971 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8972 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8973 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8974 * sysdeps/ieee754/k_standardl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9000 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9005 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9006 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9011 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9012 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9013 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9014 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9015 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9016 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9017 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9018 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9019 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9020 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9021 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9022 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9023 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9024 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9025 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9026 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9027 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9028 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9029 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9030 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9031 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9032 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9033 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9034 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9035 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9036 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9037 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9038 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9039 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9040 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9041 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9042 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9043 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9044 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9045 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9047 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9050 * include/stdio.h (__libc_fatal): Mention newline in comment.
9051 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9052 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9054 * nss/nsswitch.c (__nss_next2): Likewise.
9055 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9056 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9057 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9058 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9059 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9060 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9061 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9062 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9063 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9064 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9065 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9066 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9067 (__netlink_assert_response): Likewise.
9069 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9071 * conform/glibcconform.py: New file.
9072 * conform/list-header-symbols.py: Likewise.
9073 * conform/list-header-symbols.pl: Remove.
9074 * conform/Makefile (tests-special): Only add linknamespace tests
9076 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9078 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9081 * support/Makefile (libsupport-routines): Add
9082 support_copy_file_range and xcopy_file_range.
9083 * support/support.h: Include <sys/types.h>.
9084 (support_copy_file_range): New prototype.
9085 * support/support_copy_file_range.c: New file. Copied and
9086 modified from io/copy_file_range-compat.c.
9087 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9088 instead of copy_file_range.
9089 * support/xcopy_file_range.c: New file.
9090 * support/xunistd.h (xcopy_file_range): New prototype.
9092 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9094 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9095 xpthread_create and xpthread_join.
9097 2018-08-30 Florian Weimer <fweimer@redhat.com>
9099 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9101 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9103 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9106 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9108 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9109 and minus_oflow as non-finite.
9111 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9113 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9114 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9115 moved to fenv_private.h except for ...
9116 (TOINT_INTRINSICS): Kept in math_private.h.
9117 (roundtoint): Likewise.
9118 (converttoint): Likewise.
9119 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9120 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9121 * sysdeps/arm/math_private.h: Remove.
9122 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9124 * sysdeps/generic/math_private.h: ... this file. Include
9125 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9126 Include <fenv_private.h>. Remove functions and macros moved to
9128 * sysdeps/i386/fpu/math_private.h: Remove.
9129 * sysdeps/mips/math_private.h: Move to ....
9130 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9131 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9132 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9133 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9134 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9135 * sysdeps/powerpc/fpu/math_private.h: Do not include
9137 * sysdeps/riscv/rvf/math_private.h: Move to ....
9138 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9139 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9141 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9142 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9143 * sysdeps/sparc/fpu/math_private.h: Remove.
9144 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9145 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9146 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9148 * sysdeps/x86_64/fpu/math_private.h: Do not include
9149 <sysdeps/i386/fpu/fenv_private.h>.
9151 2018-08-28 Florian Weimer <fweimer@redhat.com>
9154 * posix/tst-regcomp-truncated.c: New file.
9155 * posix/Makefile (tests): Add it.
9156 (tst-regcomp-truncated.out): Depend on generated locales.
9158 2018-08-28 Florian Weimer <fweimer@redhat.com>
9160 * support/test-container.c (main): Treat unshare failure with
9161 EPERM as an unsupported test.
9163 2018-08-28 Florian Weimer <fweimer@redhat.com>
9166 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9167 * nscd/netgroupcache.c
9168 (addgetnetgrentX): Add tofreep parameter. Do not free
9169 heap-allocated buffer.
9170 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9171 (addgetnetgrentX_ignore): New function.
9172 (addgetnetgrent): Call it.
9173 (readdgetnetgrent): Likewise.
9175 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9177 * string/memmem.c: Use memcmp for first match.
9179 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9182 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9184 2018-08-27 DJ Delorie <dj@redhat.com>
9186 * support/Makefile (others): Don't list programs explicitly as a
9187 dependency of "others".
9189 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9191 * sysdeps/generic/math-tests-trap-force.h: New file.
9192 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9193 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9194 * sysdeps/powerpc/math-tests.h: Remove file.
9195 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9197 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9198 Torvald Riegel <triegel@redhat.com>
9201 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9202 Update r to include the set wake-request flag if waiters are
9203 remaining after spinning.
9205 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9207 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9209 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9212 regex: fix uninitialized memory access
9213 I introduced this bug into gnulib in commit
9214 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9215 eventually it was merged into glibc. The bug was found by
9216 project-repo <bugs@feusi.co> and reported here:
9217 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9218 Diagnosis and draft fix reported by Assaf Gordon here:
9219 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9220 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9221 * posix/regex_internal.c (build_wcs_upper_buffer):
9222 Fix bug when mbrtowc returns 0.
9224 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9226 * po/be.po: Update translation.
9228 2018-08-24 DJ Delorie <dj@delorie.com>
9230 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9233 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9236 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9237 create temporary files in source tree.
9239 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9241 * sysdeps/generic/math-tests-trap.h: New file.
9242 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9243 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9244 * sysdeps/aarch64/math-tests.h: Remove file.
9245 * sysdeps/arm/math-tests.h: Likewise.
9246 * sysdeps/riscv/math-tests.h: Likewise.
9247 * sysdeps/aarch64/math-tests-trap.h: New file.
9248 * sysdeps/arm/math-tests-trap.h: Likewise.
9249 * sysdeps/riscv/math-tests-trap.h: Likewise.
9251 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9253 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9254 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9255 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9256 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9257 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9258 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9262 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9263 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9264 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9265 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9266 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9267 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9268 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9269 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9270 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9272 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9274 * sysdeps/generic/math-tests-exceptions.h: New file.
9275 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9276 (EXCEPTION_TESTS_float): Do not define here.
9277 (EXCEPTION_TESTS_double): Likewise.
9278 (EXCEPTION_TESTS_long_double): Likewise.
9279 (EXCEPTION_TESTS_float128): Likewise.
9280 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9282 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9283 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9284 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9285 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9286 * sysdeps/mips/math-tests.h: Likewise.
9287 * sysdeps/nios2/math-tests.h: Likewise.
9288 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9289 (EXCEPTION_TESTS_float): Do not define here.
9290 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9291 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9292 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9294 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9296 * NEWS: Move optimized sinf entry to 2.29.
9298 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9300 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9302 2018-08-22 DJ Delorie <dj@redhat.com>
9304 * Makefile (testroot.pristine): New rules to initialize the
9305 test-in-container "testroot".
9306 * Makerules (all-testsuite): Add tests-container.
9307 * Rules (tests-expected): Add tests-container.
9308 (binaries-all-tests): Likewise.
9309 (tests-container): New, run these tests in the testroot container.
9310 * support/Makefile (others): Add *-container, support_paths.c,
9311 xmkdirp, and links-dso-program.
9312 * support/links-dso-program-c.c: New.
9313 * support/links-dso-program.cc: New.
9314 * support/test-container.c: New.
9315 * support/shell-container.c: New.
9316 * support/echo-container.c: New.
9317 * support/true-container.c: New.
9318 * support/xmkdirp.c: New.
9319 * support/xsymlink.c: New.
9320 * support/support_paths.c: New.
9321 * support/support.h: Add support paths prototypes.
9322 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9324 * nss/tst-nss-test3.c: Convert to test-in-container.
9325 * nss/tst-nss-test3.root/: New.
9327 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9329 regex: port Gnulib code to z/OS POSIX environment
9330 Problem reported by Arnold Robbins in:
9331 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9332 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9335 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9337 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9338 (ROUNDING_TESTS_double): Remove.
9339 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9340 (ROUNDING_TESTS_double): Remove.
9341 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9342 (ROUNDING_TESTS_double): Remove.
9343 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9344 (ROUNDING_TESTS_float): Remove.
9345 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9346 (ROUNDING_TESTS_float): Remove.
9347 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9348 (ROUNDING_TESTS_float): Remove.
9349 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9351 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9352 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9354 * sysdeps/generic/math-tests-rounding.h: New file.
9355 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9356 (ROUNDING_TESTS_float): Do not define here.
9357 (ROUNDING_TESTS_double): Likewise.
9358 (ROUNDING_TESTS_long_double): Likewise.
9359 (ROUNDING_TESTS_float128): Likewise.
9360 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9361 (ROUNDING_TESTS_double): Undefine before defining.
9362 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9363 (ROUNDING_TESTS_double): Undefine before defining.
9364 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9365 (ROUNDING_TESTS_double): Undefine before defining.
9366 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9367 (ROUNDING_TESTS_float): Undefine before defining.
9368 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9369 (ROUNDING_TESTS_float): Undefine before defining.
9370 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9371 (ROUNDING_TESTS_float): Undefine before defining.
9372 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9373 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9375 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9376 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9377 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9378 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9379 (ROUNDING_TESTS_float): Do not define here.
9380 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9381 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9382 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9383 (ROUNDING_TESTS_float): Likewise.
9384 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9385 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9386 * sysdeps/mips/math-tests.h [__mips_soft_float]
9387 (ROUNDING_TESTS_float): Likewise.
9388 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9389 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9390 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9391 (ROUNDING_TESTS_double): Likewise.
9392 (ROUNDING_TESTS_long_double): Likewise.
9394 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9396 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9397 (PF_XDP): New macro.
9398 (AF_XDP): New macro.
9399 (SOL_XDP): New macro.
9401 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9403 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9404 (TCP_INQ): Likewise.
9405 (TCP_CM_INQ): Likewise.
9406 (TCP_REPAIR_ON): Likewise.
9407 (TCP_REPAIR_OFF): Likewise.
9408 (TCP_REPAIR_OFF_NO_WP): Likewise.
9409 (struct tcp_zerocopy_receive): New type.
9411 2018-08-21 Florian Weimer <fweimer@redhat.com>
9413 * support/support.h (support_descriptor_supports_holes): Declare.
9414 * support/Makefile (libsupport-routines): Add
9415 support_descriptor_supports_holes.
9416 * support/support_descriptor_supports_holes.c: New file.
9417 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9418 and stop testing if holes are not supported.
9419 * io/test-lfs.c (do_prepare): Likewise.
9420 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9422 * timezone/tst-tzset.c (create_tz_file): Likewise.
9423 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9425 (do_prepare): Set it.
9426 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9428 2018-08-21 Florian Weimer <fweimer@redhat.com>
9431 * Makeconfig (+cflags): Do not sort (and deduplicate).
9433 2018-08-21 Florian Weimer <fweimer@redhat.com>
9435 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9436 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9438 2018-08-20 Florian Weimer <fweimer@redhat.com>
9440 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9441 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9443 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9445 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9446 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9447 and ssi_arch members.
9449 * elf/elf.c (NT_VMCOREDD): New macro.
9450 (AT_MINSIGSTKSZ): Likewise.
9452 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9455 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9456 s_cosf-ppc64 and s_cosf-power8.
9457 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9458 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9459 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9460 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9467 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9468 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9470 2018-08-17 Florian Weimer <fweimer@redhat.com>
9472 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9474 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9476 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9478 2018-08-16 Florian Weimer <fweimer@redhat.com>
9480 * configure.ac: Add --with-nonshared-cflags option.
9481 * config.make.in (extra-nonshared-cflags): Set variable.
9482 * Makeconfig (CFLAGS-.oS): Use it.
9483 * manual/install.texi (Configuring and compiling): Document
9484 --with-nonshared-cflags.
9485 * configure: Regenerate.
9486 * INSTALL: Likewise.
9488 2018-08-16 Florian Weimer <fweimer@redhat.com>
9490 * Makeconfig (ASFLAGS): Always append required assembler flags.
9492 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9494 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9495 (malloc_consolidate): Likewise.
9497 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9499 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9501 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9503 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9506 * benchtests/bench-strlen.c: Print performance numbers in json.
9508 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9510 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9511 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9512 only for little endian.
9513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9514 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9515 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9516 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9517 Add check for little endian.
9518 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9519 (__strcmp_power9): Add check for little endian.
9520 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9521 Add check for little endian.
9522 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9523 (__strncmp_power9): Add check for little endian.
9524 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9525 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9526 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9527 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9528 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9530 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9532 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9533 [!STRLEN](STRLEN): Set to __strlen.
9534 * sysdeps/aarch64/multiarch/strlen.c: New file.
9535 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9536 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9537 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9538 (__libc_ifunc_impl_list): Add strlen.
9539 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9540 strlen_generic and strlen_asimd.
9542 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9544 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9545 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9546 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9548 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9552 2018-08-14 Florian Weimer <fweimer@redhat.com>
9555 * include/stdio.h (__vfxprintf): Declare.
9556 * stdio-common/fxprintf.c (__vfxprintf): New function.
9557 (__fxprintf): Call it.
9558 * misc/err.c (convert_and_print): Remove function.
9559 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9560 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9561 * misc/Makefile (tests): Add tst-warn-wide.
9562 * misc/tst-warn-wide.c: New file.
9564 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9565 Szabolcs Nagy <szabolcs.nagy@arm.com>
9567 * NEWS: Mention sinf, cosf, sincosf.
9568 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9569 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9570 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9571 constants rather than including generic sincosf.h.
9572 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9573 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9574 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9575 (reduced_cos): Remove.
9576 (sinf_poly): New function.
9577 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9579 2018-08-14 Florian Weimer <fweimer@redhat.com>
9583 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9584 processing, bail out if no room, and close the stream before
9586 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9587 (tst-nss-files-alias-leak): Link with libdl.
9588 (tst-nss-files-alias-leak.out): Depend on nss_files.
9590 * nss/tst-nss-files-alias-leak.c: New file.
9592 2018-08-14 Florian Weimer <fweimer@redhat.com>
9594 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9595 server_user, stat_user.
9597 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9599 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9601 (io_pgetevents): New syscall.
9604 * manual/install.texi (Configuring and compiling): Do not list
9605 tools used for testing pretty printers here.
9606 (Tools for Compilation): List Python, PExpect and GDB here.
9607 Update descriptions of uses of Perl and Python.
9608 * INSTALL: Regenerate.
9610 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9613 2018-08-13 Florian Weimer <fweimer@redhat.com>
9615 * misc/error.c (error): Add missing va_end call.
9616 (error_at_line): Likewise.
9618 2018-08-13 Florian Weimer <fweimer@redhat.com>
9620 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9622 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9624 * benchtests/scripts/benchout.schema.json (properties): Add
9627 * benchtests/bench-skeleton.c (main): Add duration and
9628 iterations attributes.
9630 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9632 regex: Gnulib unibyte RRI uses bytes not chars
9633 Adjust the non-glibc code to agree with what Gawk needs for
9634 rational range interpretation (RRI) for regular expression ranges.
9635 In unibyte locales, Gawk wants ranges to use the underlying byte
9636 rather than the character code point. This change does not affect
9638 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9639 In unibyte locales, use the byte value rather than
9640 running it through btowc.
9642 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9644 * sysdeps/generic/math-tests-snan.h: New file.
9645 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9646 (SNAN_TESTS_float): Do not define here.
9647 (SNAN_TESTS_double): Likewise.
9648 (SNAN_TESTS_long_double): Likewise.
9649 (SNAN_TESTS_float128): Likewise.
9650 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9651 * sysdeps/i386/fpu/math-tests.h: Remove file.
9652 * sysdeps/ia64/math-tests-snan.h: New file.
9653 * sysdeps/ia64/math-tests.h: Remove file.
9654 * sysdeps/x86/math-tests.h: Likewise.
9655 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9657 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9658 Szabolcs Nagy <szabolcs.nagy@arm.com>
9660 * math/Makefile: Add s_sincosf_data.c.
9661 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9662 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9663 (sincosf_poly): Likewise.
9664 (reduce_small): Likewise.
9665 (reduce_large): Likewise.
9666 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9667 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9668 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9669 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9671 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9672 Szabolcs Nagy <szabolcs.nagy@arm.com>
9674 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9675 (converttoint): Use lround.
9676 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9677 document the semantics when TOINT_INTRINSICS is set.
9678 (converttoint): Likewise.
9679 (TOINT_RINT): Remove.
9680 (TOINT_SHIFT): Remove.
9681 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9684 2018-08-10 Florian Weimer <fweimer@redhat.com>
9687 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9689 (__old_getdents64): Use getdents64. Convert entries without
9691 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9692 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9693 tst-readdir64-compat.
9695 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9697 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9700 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9702 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9703 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9704 code to s390x-mcount.h and #include it.
9705 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9706 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9709 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9711 * stdlib/Versions: Remove __fentry__.
9712 * sysdeps/i386/Versions: Add __fentry__.
9713 * sysdeps/x86_64/Versions: Add __fentry__.
9715 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9717 * sysdeps/s390/Makefile: Register the new tests.
9718 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9719 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9720 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9721 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9722 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9723 * sysdeps/s390/tst-dl-runtime.c: New file.
9725 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9727 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9730 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9732 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9735 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9737 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9740 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9742 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9745 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9747 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9748 Use symbolic offsets for stack variables.
9750 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9752 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9753 Use symbolic offsets for stack variables.
9755 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9757 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9758 Use symbolic offsets for stack variables.
9760 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9762 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9763 Use symbolic offsets for stack variables.
9765 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9767 * math/gen-libm-test.py: New file.
9768 * math/gen-libm-test.pl: Remove.
9769 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9770 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9772 ($(libm-test-c-noauto-obj)): Likewise.
9773 ($(libm-test-c-auto-obj)): Likewise.
9774 ($(libm-test-c-narrow-obj)): Likewise.
9775 (regen-ulps): Likewise.
9776 * math/README.libm-test: Update references to gen-libm-test.pl.
9777 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9778 referencing gen-libm-test.pl.
9779 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9780 * math/libm-test-support.c: Likewise.
9781 * math/libm-test-support.h: Likewise.
9782 * sysdeps/generic/libm-test-ulps: Likewise.
9784 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9786 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9789 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9791 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9792 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9794 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9796 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9798 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9799 __pthread_setspecific): Add hidden proto.
9800 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9801 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9803 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9805 * benchtests/bench-string.h (buf1_size, buf2_size): New
9807 (init_sizes): New function.
9808 (test_init): Use it.
9809 (alloc_buf, exit_error): New functions.
9810 (alloc_bufs): Use ALLOC_BUF.
9811 (realloc_bufs): Remove.
9812 * benchtests/bench-memcmp.c (do_test): Adjust.
9813 * benchtests/bench-memset-large.c (do_test): Likewise.
9814 * benchtests/bench-memset-walk.c (do_test): Likewise.
9815 * benchtests/bench-memset.c (do_test): Likewise.
9816 * benchtests/bench-strncmp.c (do_test): Likewise.
9818 2018-08-06 Andreas Schwab <schwab@suse.de>
9820 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9821 of CONST_THREAD_AREA.
9823 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9825 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9826 (STATE_SAVE_MASK): Likewise.
9827 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9828 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9829 (STATE_SAVE_MASK): Likewise.
9830 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9831 instead of <cpu-features.h>.
9833 2018-08-03 DJ Delorie <dj@redhat.com>
9835 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9836 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9838 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9840 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9842 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9844 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9845 * math/libm-test-logb.inc (logb_test_data): Likewise.
9847 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9849 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9850 * string/strstr.c (AVAILABLE): Likewise.
9852 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9854 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9856 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9857 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9858 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9860 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9862 * po/be.po: Update translation.
9864 * po/be.po: Update translation.
9866 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9868 * sysdeps/x86/cpu-features-offsets.sym
9869 (rtld_global_ro_offsetof): Removed.
9870 (CPU_FEATURES_SIZE): Likewise.
9871 (CPUID_OFFSET): Likewise.
9872 (CPUID_SIZE): Likewise.
9873 (CPUID_EAX_OFFSET): Likewise.
9874 (CPUID_EBX_OFFSET): Likewise.
9875 (CPUID_ECX_OFFSET): Likewise.
9876 (CPUID_EDX_OFFSET): Likewise.
9877 (FAMILY_OFFSET): Likewise.
9878 (MODEL_OFFSET): Likewise.
9879 (FEATURE_OFFSET): Likewise.
9880 (FEATURE_SIZ): Likewise.
9881 (COMMON_CPUID_INDEX_1): Likewise.
9882 (COMMON_CPUID_INDEX_7): Likewise.
9883 (FEATURE_INDEX_1): Likewise.
9884 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9886 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9888 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9889 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9890 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9891 (install-locales): Depend on install-locale-archive.
9892 (install-locale-archive): Define.
9893 (install-locale-files): Define.
9894 (build-one-locale): Define macro.
9895 * manual/install.texi (Running make install): Document.
9896 * manual/INSTALL: Regenerate.
9898 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9900 * benchtests/scripts/compare_strings.py: Import traceback.
9901 (parse_file): Pretty-print error.
9903 * NEWS: Mention the change.
9904 * elf/dl-tunables.list: Rename tune namespace to cpu.
9905 * sysdeps/powerpc/dl-tunables.list: Likewise.
9906 * sysdeps/x86/dl-tunables.list: Likewise.
9907 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9909 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9910 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9911 * manual/README.tunables: Likewise.
9912 * manual/tunables.texi: Likewise.
9913 * sysdeps/powerpc/cpu-features.c: Likewise.
9914 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9915 (init_cpu_features): Likewise.
9916 * sysdeps/x86/cpu-features.c: Likewise.
9917 * sysdeps/x86/cpu-features.h: Likewise.
9918 * sysdeps/x86/cpu-tunables.c: Likewise.
9919 * sysdeps/x86_64/Makefile: Likewise.
9920 * sysdeps/x86/dl-cet.c: Likewise.
9922 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9925 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9926 [__mips_hard_float].
9927 (FE_UNDERFLOW): Likewise.
9928 (FE_OVERFLOW): Likewise.
9929 (FE_DIVBYZERO): Likewise.
9930 (FE_INVALID): Likewise.
9931 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9932 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9933 (FE_UPWARD): Likewise.
9934 (FE_DOWNWARD): Likewise.
9935 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9936 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9937 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9938 [__mips_hard_float].
9939 (FP_ROUNDMODE): Likewise.
9940 (FP_RND_NEAREST): Likewise.
9941 (FP_RND_ZERO): Likewise.
9942 (FP_RND_PINF): Likewise.
9943 (FP_RND_MINF): Likewise.
9944 (FP_EX_INVALID): Likewise.
9945 (FP_EX_OVERFLOW): Likewise.
9946 (FP_EX_UNDERFLOW): Likewise.
9947 (FP_EX_DIVZERO): Likewise.
9948 (FP_EX_INEXACT): Likewise.
9949 (FP_INIT_ROUNDMODE): Likewise.
9950 * sysdeps/mips/nofpu/fesetenv.c: New file.
9951 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9953 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9955 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9956 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9957 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9958 conditional on [FE_UPWARD].
9960 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9962 regex: fix memory leak in Gnulib
9963 Problem and fix reported by Assaf Gordon in:
9964 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9965 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9966 range_ends members too, as they are defined in 'struct
9967 re_charset_t' even if not _LIBC. This affects only Gnulib.
9969 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9971 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9973 (get_common_indices): This.
9974 (init_cpu_features): Updated.
9976 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9978 * sysdeps/generic/math-tests-snan-payload.h: New file.
9979 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9980 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9981 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9982 * sysdeps/generic/math-tests.h: Include
9983 <math-tests-snan-payload.h>.
9984 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9985 * sysdeps/hppa/math-tests.h: Remove file.
9986 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9987 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9988 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9991 * sysdeps/generic/math-tests-snan-cast.h: New file.
9992 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9993 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9994 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9995 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9997 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9999 * version.h (RELEASE): Set to "development".
10000 (VERSION): Set to "2.28.9000".
10001 * NEWS (2.29): New section.
10003 * version.h (RELEASE): Set to "stable".
10004 (VERSION): Set to "2.28".
10005 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10006 * NEWS: Add the list of bugs fixed in 2.28.
10008 * po/ca.po: Update to latest version.
10009 * po/cs.po: Likewise
10010 * po/da.po: Likewise
10011 * po/el.po: Likewise
10012 * po/eo.po: Likewise
10013 * po/es.po: Likewise
10014 * po/fi.po: Likewise
10015 * po/fr.po: Likewise
10016 * po/gl.po: Likewise
10017 * po/hu.po: Likewise
10018 * po/ia.po: Likewise
10019 * po/id.po: Likewise
10020 * po/it.po: Likewise
10021 * po/ja.po: Likewise
10022 * po/ko.po: Likewise
10023 * po/lt.po: Likewise
10024 * po/nb.po: Likewise
10025 * po/nl.po: Likewise
10026 * po/pt_BR.po: Likewise
10027 * po/ru.po: Likewise
10028 * po/rw.po: Likewise
10029 * po/sk.po: Likewise
10030 * po/sl.po: Likewise
10031 * po/tr.po: Likewise
10032 * po/zh_CN.po: Likewise
10033 * po/zh_TW.po: Likewise
10035 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10037 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10039 (init): ... before initializing libpthread.
10041 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10042 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10043 (__mach_setup_tls): ... new function.
10044 (mach_setup_tls): New alias.
10045 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10046 __mach_setup_thread.
10047 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10048 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10049 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10050 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10052 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10054 * manual/install.texi: Update versions.
10055 * INSTALL: Regenerate.
10057 * manual/contrib.texi (Contributors): Update contributions.
10059 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10061 * po/be.po: Update translations.
10063 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10065 * sysdeps/sh/libm-test-ulps: Update.
10067 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10069 * po/bg.po: Update translations.
10070 * po/de.po: Likewise.
10071 * po/hr.po: Likewise.
10072 * po/pt_BR.po: Likewise.
10073 * po/sv.po: Likewise.
10074 * po/vi.po: Likewise.
10076 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10079 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10080 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10081 (CFLAGS-tst-cet-property-1.o): New.
10082 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10083 ($(objpfx)tst-cet-property-2): Likewise.
10084 ($(objpfx)tst-cet-property-2.out): Likewise.
10085 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10086 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10087 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10088 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10089 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10091 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10094 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10096 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10098 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10099 __sbrk): Do not set attribute_hidden.
10100 * sysdeps/mach/hurd/not-errno.h: New file.
10101 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10102 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10104 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10106 * po/uk.po: Update translations.
10107 * po/cs.po: Likewise.
10108 * po/pl.po: Likewise.
10110 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10112 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10113 parse beyond the note end.
10115 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10117 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10118 kernel does not support OFD locks.
10119 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10121 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10123 * sysdeps/mach/hurd/Versions (libc): Make __access and
10124 __access_noerrno external so they can override the ld symbols.
10125 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10126 __writev, __open64, __access_noerrno extern so they can be overrided.
10127 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10128 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10130 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10132 * po/libc.pot: Regenerate.
10134 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10136 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10138 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10141 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10143 (init_cpu_features): Call get_extended_indices for both Intel
10145 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10146 Remove "for AMD" comment.
10148 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10151 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10152 COMMON_CPUID_INDEX_80000001.
10154 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10156 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10157 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10159 2018-07-26 Florian Weimer <fweimer@redhat.com>
10161 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10162 aliases for symbols not in the implementation namespace.
10164 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10167 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10168 lowercase in LATIN script.
10169 * localedata/Makefile (test-input): Add en_US.UTF-8.
10170 * localedata/en_US.UTF-8.in: New file.
10171 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10172 and restore old tests.
10173 * posix/tst-regexloc.c (do_test): Add back range expression test.
10175 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10177 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10179 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10181 * nptl/threads.h: Move to ...
10182 * sysdeps/nptl/threads.h: ... here.
10183 * sysdeps/hurd/stdc-predef.h: New file.
10185 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10187 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10188 tst-cet-setcontext-1 if CET is enabled.
10189 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10190 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10192 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10194 * include/threads.h: Move to ...
10195 * sysdeps/nptl/threads.h: ... here.
10196 * sysdeps/htl/threads.h: New file.
10197 * conform/Makefile (linknamespace-libs-ISO11): Use
10198 static-thread-library instead of linking libpthread.
10199 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10201 2018-07-25 Florian Weimer <fweimer@redhat.com>
10203 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10204 nanoseconds into seconds.
10205 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10206 (do_test): Likewise.
10207 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10208 (do_test): Likewise. Avoid nanosecond overflow and spurious
10209 timeouts due to system load.
10210 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10211 (child_wait): Increment it.
10212 (do_test): Wait as long as necessary until all expected threads
10215 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10216 H.J. Lu <hongjiu.lu@intel.com>
10218 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10220 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10221 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10222 (__push___start_context): New.
10223 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10225 (__getcontext): Record the current shadow stack base. Save the
10226 caller's shadow stack pointer and base.
10227 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10228 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10229 (__push___start_context): New prototype.
10230 (__makecontext): Call __push___start_context to allocate a new
10231 shadow stack, push __start_context onto the new stack as well
10232 as the new shadow stack.
10233 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10235 (__setcontext): Restore the target shadow stack.
10236 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10238 (__swapcontext): Record the current shadow stack base. Save
10239 the caller's shadow stack pointer and base. Restore the target
10241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10242 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10243 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10245 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10247 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10248 tst-setcontext8 and tst-setcontext9.
10249 * stdlib/tst-setcontext6.c: New file.
10250 * stdlib/tst-setcontext7.c: Likewise.
10251 * stdlib/tst-setcontext8.c: Likewise.
10252 * stdlib/tst-setcontext9.c: Likewise.
10254 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10256 * stdlib/Makefile ((tests): Add tst-setcontext5.
10257 * stdlib/tst-setcontext5.c: New file.
10259 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10261 * stdlib/Makefile (tests): Add tst-setcontext4.
10262 * stdlib/tst-setcontext4.c: New file.
10264 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10266 * stdlib/Makefile (tests): Add tst-swapcontext1.
10267 * stdlib/tst-swapcontext1.c: New test.
10269 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10271 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10272 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10273 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10274 and tst-cet-legacy-4c.
10275 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10276 and tst-cet-legacy-mod-4.
10277 (CFLAGS-tst-cet-legacy-2.c): New.
10278 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10279 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10280 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10281 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10282 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10283 ($(objpfx)tst-cet-legacy-1): Likewise.
10284 ($(objpfx)tst-cet-legacy-2): Likewise.
10285 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10286 ($(objpfx)tst-cet-legacy-2a): Likewise.
10287 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10288 ($(objpfx)tst-cet-legacy-4): Likewise.
10289 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10290 ($(objpfx)tst-cet-legacy-4a): Likewise.
10291 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10292 (tst-cet-legacy-4a-ENV): Likewise.
10293 ($(objpfx)tst-cet-legacy-4b): Likewise.
10294 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10295 (tst-cet-legacy-4b-ENV): Likewise.
10296 ($(objpfx)tst-cet-legacy-4c): Likewise.
10297 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10298 (tst-cet-legacy-4c-ENV): Likewise.
10299 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10300 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10301 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10302 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10303 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10304 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10305 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10306 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10307 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10308 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10309 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10311 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10313 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10314 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10316 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10317 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10320 2018-07-25 Andreas Schwab <schwab@suse.de>
10323 * locale/weightwc.h (findidx): Handle the case where usrc is a
10324 prefix of cp but one character too short.
10326 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10328 * NEWS: Add ISO C threads addition.
10330 2018-07-24 Florian Weimer <fweimer@redhat.com>
10332 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10333 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10334 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10337 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10339 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10340 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10341 <sys/prctl.h> and <asm/prctl.h>.
10342 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10343 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10345 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10346 ARCH_CET_LEGACY_BITMAP.
10347 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10348 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10349 * sysdeps/x86/libc-start.c: Include <startup.h>.
10351 2018-07-24 Florian Weimer <fweimer@redhat.com>
10353 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10354 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10356 2018-07-24 Rical Jasan <rj@2c3t.io>
10357 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10358 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10361 * manual/debug.texi: Update adjacent chapter name.
10362 * manual/probes.texi: Likewise.
10363 * manual/threads.texi (ISO C Threads): New section.
10364 (POSIX Threads): Convert to a section.
10366 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10367 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10370 * nptl/Makefile (tests): Add new test files.
10371 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10372 * nptl/tst-cnd-basic.c: Likewise.
10373 * nptl/tst-cnd-broadcast.c: Likewise.
10374 * nptl/tst-cnd-timedwait.c: Likewise.
10375 * nptl/tst-mtx-basic.c: Likewise.
10376 * nptl/tst-mtx-recursive.c: Likewise.
10377 * nptl/tst-mtx-timedlock.c: Likewise.
10378 * nptl/tst-mtx-trylock.c: Likewise.
10379 * nptl/tst-thrd-basic.c: Likewise.
10380 * nptl/tst-thrd-detach.c: Likewise.
10381 * nptl/tst-thrd-sleep.c: Likewise.
10382 * nptl/tst-tss-basic.c: Likewise.
10384 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10387 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10388 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10390 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10393 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10394 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10395 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10396 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10397 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10398 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10399 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10400 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10401 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10409 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10410 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10411 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10412 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10413 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10414 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10415 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10416 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10417 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10418 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10419 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10420 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10421 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10423 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10424 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10425 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10426 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10427 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10428 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10430 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10433 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10434 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10441 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10446 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10447 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10448 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10451 * conform/data/threads.h-data (thread_local): New macro.
10452 (TSS_DTOR_ITERATIONS): Likewise.
10454 (tss_dtor_t): Likewise.
10455 (tss_create): New function.
10456 (tss_get): Likewise.
10457 (tss_set): Likewise.
10458 (tss_delete): Likewise.
10459 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10460 tss_get, and tss_set objects.
10461 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10462 * nptl/tss_create.c: New file.
10463 * nptl/tss_delete.c: Likewise.
10464 * nptl/tss_get.c: Likewise.
10465 * nptl/tss_set.c: Likewise.
10466 * sysdeps/nptl/threads.h (thread_local): New define.
10467 (TSS_DTOR_ITERATIONS): Likewise.
10468 (tss_t): New typedef.
10469 (tss_dtor_t): Likewise.
10470 (tss_create): New prototype.
10471 (tss_get): Likewise.
10472 (tss_set): Likewise.
10473 (tss_delete): Likewise.
10476 * conform/data/threads.h-data (cnd_t): New type.
10477 (cnd_init): New function.
10478 (cnd_signal): Likewise.
10479 (cnd_broadcast): Likewise.
10480 (cnd_wait): Likewise.
10481 (cnd_timedwait): Likewise.
10482 (cnd_destroy): Likewise.
10483 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10484 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10486 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10487 * nptl/cnd_broadcast.c: New file.
10488 * nptl/cnd_destroy.c: Likewise.
10489 * nptl/cnd_init.c: Likewise.
10490 * nptl/cnd_signal.c: Likewise.
10491 * nptl/cnd_timedwait.c: Likewise.
10492 * nptl/cnd_wait.c: Likewise.
10493 * sysdeps/nptl/threads.h (cnd_t): New type.
10494 (cnd_init): New prototype.
10495 (cnd_signa): Likewise.
10496 (cnd_broadcast): Likewise.
10497 (cnd_wait): Likewise.
10498 (cnd_timedwait): Likewise.
10499 (cnd_destroy): Likewise.
10502 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10503 (once_flag): New type.
10504 (call_once): New function.
10505 * nptl/Makefile (libpthread-routines): Add call_once object.
10506 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10507 * nptl/call_once.c: New file.
10508 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10509 (once_flag): New type.
10510 (call_once): New prototype.
10513 * conform/data/threads.h-data (mtx_plain): New constant.
10514 (mtx_recursive): Likewise.
10515 (mtx_timed): Likewise.
10517 (mtx_init): New function.
10518 (mtx_lock): Likewise.
10519 (mtx_timedlock): Likewise.
10520 (mtx_trylock): Likewise.
10521 (mtx_unlock): Likewise.
10522 (mtx_destroy): Likewise.
10523 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10524 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10525 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10526 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10527 * nptl/mtx_destroy.c: New file.
10528 * nptl/mtx_init.c: Likewise.
10529 * nptl/mtx_lock.c: Likewise.
10530 * nptl/mtx_timedlock.c: Likewise.
10531 * nptl/mtx_trylock.c: Likewise.
10532 * nptl/mtx_unlock.c: Likewise.
10533 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10534 (mtx_recursive): Likewise.
10535 (mtx_timed): Likewise.
10537 (mtx_init): New prototype.
10538 (mtx_lock): Likewise.
10539 (mtx_timedlock): Likewise.
10540 (mtx_trylock): Likewise.
10541 (mtx_unlock): Likewise.
10542 (mtx_destroy): Likewise.
10545 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10546 (linknamespace-libs-ISO11): Add libpthread.a.
10547 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10549 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10550 * nptl/Makefile (headers): Add threads.h.
10551 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10552 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10554 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10555 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10556 thrd_join, thrd_sleep, and thrd_yield symbols.
10557 * nptl/descr.h (struct pthread): Add c11 field.
10558 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10559 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10560 routine with expected function prototype.
10561 (__pthread_create_2_1): Add C11 threads check based on attribute
10563 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10564 * nptl/thrd_create.c: New file.
10565 * nptl/thrd_current.c: Likewise.
10566 * nptl/thrd_detach.c: Likewise.
10567 * nptl/thrd_equal.c: Likewise.
10568 * nptl/thrd_exit.c: Likewise.
10569 * nptl/thrd_join.c: Likewise.
10570 * nptl/thrd_priv.h: Likewise.
10571 * nptl/thrd_sleep.c: Likewise.
10572 * nptl/thrd_yield.c: Likewise.
10573 * include/threads.h: Likewise.
10575 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10577 * bits/indirect-return.h: New file.
10578 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10579 * sysdeps/x86/bits/indirect-return.h: Likewise.
10580 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10581 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10582 (swapcontext): Add __INDIRECT_RETURN.
10583 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10584 (prepare_test_buffer): Use it.
10586 2018-07-24 Andreas Schwab <schwab@suse.de>
10589 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10590 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10592 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10594 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10595 Redefine if shadow stack is enabled.
10596 (SYSCALL_ERROR_LABEL): Likewise.
10597 (__vfork): Pop shadow stack and jump back to to caller directly
10598 when shadow stack is in use.
10599 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10600 Redefine if shadow stack is enabled.
10601 (SYSCALL_ERROR_LABEL): Likewise.
10602 (__vfork): Pop shadow stack and jump back to to caller directly
10603 when shadow stack is in use.
10605 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10607 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10610 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10613 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10615 * scripts/build-many-glibcs.py (Context.checkout): Default
10616 binutils version to 2.31 branch.
10618 2018-07-20 Zong Li <zong@andestech.com>
10620 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10621 URL of gcc's tarball.
10623 2018-07-20 Florian Weimer <fweimer@redhat.com>
10626 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10627 not compare an extra byte after the end of the weights.
10629 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10631 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10633 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10635 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10636 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10637 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10638 list of libraries whose stack executability is expected.
10639 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10640 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10642 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10643 libc.so libpthread.so.
10645 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10647 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10649 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10651 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10653 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10655 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10657 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10658 library to improve command line parsing.
10659 (__main__): make schema file as optional parameter (--schema),
10660 defaulting to benchtests/scripts/benchout.schema.json.
10661 (main): move out of the parsing stuff to __main_ and leave it
10662 only as caller of main comparison functions.
10664 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10666 * NEWS: Add a note for Intel CET status.
10667 * manual/install.texi: Likewise.
10668 * INSTALL: Regenerated.
10670 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10673 * localedata/locales/oc_FR (mon): Rename to...
10674 (alt_mon): This, then update October (typo fix).
10675 (mon): New content (genitive case, month names preceded by
10679 * localedata/locales/oc_FR (abday): Update all items.
10680 (day): Update Wednesday and Saturday (typo fixes).
10681 (abmon): Update all items, except May.
10682 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10683 (LC_IDENTIFICATION): Bump the revision number and date.
10684 Keep the "category" entries in alphabetic order.
10685 (LC_ADDRESS): Remove no longer needed comment.
10686 (LC_COLLATE): Use “copy "ca_ES"”.
10687 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10690 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10692 * grp/tst_fgetgrent.c: Include <unistd.h>.
10693 (main): Use mkstemp instead of tmpnam.
10694 * io/test-utime.c (main): Likewise.
10695 * posix/annexc.c (macrofile): Change to modifiable array.
10696 (main): Remove macrofile here.
10697 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10699 (check_header): Do not remove macrofile here.
10700 * posix/bug-getopt1.c: Include <stdlib.h>.
10701 (do_test): Use mkstemp instead of tmpnam.
10702 * posix/bug-getopt2.c: Include <stdlib.h>.
10703 (do_test): Use mkstemp instead of tmpnam.
10704 * posix/bug-getopt3.c: Include <stdlib.h>.
10705 (do_test): Use mkstemp instead of tmpnam.
10706 * posix/bug-getopt4.c: Include <stdlib.h>.
10707 (do_test): Use mkstemp instead of tmpnam.
10708 * posix/bug-getopt5.c: Include <stdlib.h>.
10709 (do_test): Use mkstemp instead of tmpnam.
10710 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10711 (main): Use mkstemp instead of tmpnam.
10712 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10713 (main): Use mkstemp instead of tmpnam.
10714 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10715 (main): use mkstemp instead of tmpnam.
10716 * stdlib/isomac.c (macrofile): Change to modifiable array.
10717 (main): Remove macrofile here.
10718 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10720 (check_header): Do not remove macrofile here.
10722 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10724 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10725 glibc.tune.x86_shstk.
10727 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10729 * NEWS: Mention --enable-cet.
10730 * manual/install.texi: Document --enable-cet.
10731 * INSTALL: Regenerated.
10733 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10735 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10736 Add _CET_NOTRACK before indirect jump to jump table.
10738 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10740 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10741 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10744 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10746 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10747 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10750 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10752 * sysdeps/i386/i686/multiarch/strcpy-sse2.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/memcpy-ssse3.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/memcpy-ssse3-rep.S
10765 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10767 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10769 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10771 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10772 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10775 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10777 * sysdeps/i386/i686/multiarch/memset-sse2.S
10778 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10781 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10783 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10784 indirect jump to jump table.
10786 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10789 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10791 (MEMCPY): Likewise.
10793 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10795 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10796 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10798 (MEMCPY): Likewise.
10800 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10802 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10803 _CET_NOTRACK before indirect jump to jump table.
10805 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10808 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10811 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10813 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10814 indirect jump to jump table.
10816 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10819 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10820 (LOCALES): Likewise.
10821 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10822 * localedata/locales/sah_RU: New file.
10823 * localedata/sah_RU.UTF-8.in: New file.
10825 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10827 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10829 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10830 _CET_ENDBR to indirect jump targets and adjust jump destination
10832 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10834 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10835 _CET_ENDBR to indirect jump targets and adjust jump destination
10837 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10839 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10840 _CET_ENDBR to indirect jump targets and adjust jump destination
10843 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10845 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10848 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10850 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10852 (_dl_tlsdesc_undefweak): Likewise.
10853 (_dl_tlsdesc_dynamic): Likewise.
10854 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10855 (_dl_tlsdesc_resolve_rel): Likewise.
10856 (_dl_tlsdesc_resolve_rela): Likewise.
10857 (_dl_tlsdesc_resolve_hold): Likewise.
10858 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10859 (_dl_tlsdesc_undefweak): Likewise.
10860 (_dl_tlsdesc_dynamic): Likewise.
10861 (_dl_tlsdesc_resolve_rela): Likewise.
10862 (_dl_tlsdesc_resolve_hold): Likewise.
10864 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10866 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10868 * sysdeps/x86_64/crti.S (_init): Likewise.
10871 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10874 * localedata/locales/os_RU (mon): Rename to...
10876 (mon): Import from CLDR (genitive case).
10878 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10880 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10881 cet-tunables.h> when CET is enabled.
10883 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10886 * configure.ac: Add --enable-cet.
10887 * configure: Regenerated.
10888 * elf/Makefille (all-built-dso): Add a comment.
10889 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10890 Include <dl-prop.h>.
10891 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10893 * elf/dl-open.c: Include <dl-prop.h>.
10894 (dl_open_worker): Call _dl_open_check.
10895 * elf/rtld.c: Include <dl-prop.h>.
10896 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10898 * sysdeps/generic/dl-prop.h: New file.
10899 * sysdeps/i386/dl-cet.c: Likewise.
10900 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10901 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10902 * sysdeps/x86/cet-tunables.h: Likewise.
10903 * sysdeps/x86/check-cet.awk: Likewise.
10904 * sysdeps/x86/configure: Likewise.
10905 * sysdeps/x86/configure.ac: Likewise.
10906 * sysdeps/x86/dl-cet.c: Likewise.
10907 * sysdeps/x86/dl-procruntime.c: Likewise.
10908 * sysdeps/x86/dl-prop.h: Likewise.
10909 * sysdeps/x86/libc-start.h: Likewise.
10910 * sysdeps/x86/link_map.h: Likewise.
10911 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10913 (_dl_runtime_profile): Likewise.
10914 (_dl_runtime_resolve_shstk): New.
10915 (_dl_runtime_profile_shstk): Likewise.
10916 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10918 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10919 (CFLAGS-.os): Likewise.
10920 (CFLAGS-.op): Likewise.
10921 (CFLAGS-.oS): Likewise.
10922 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10924 (tests-special): Add $(objpfx)check-cet.out.
10925 (cet-built-dso): New.
10926 (+$(cet-built-dso:=.note)): Likewise.
10927 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10928 ($(objpfx)check-cet.out): New.
10929 (generated): Add check-cet.out.
10930 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10932 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10933 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10934 (init_cpu_features): Call get_cet_status to check CET status
10935 and update dl_x86_feature_1 with CET status. Call
10936 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10937 (set_x86_shstk). Disable and lock CET in libc.a.
10938 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10939 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10940 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10941 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10942 (_CET_ENDBR): Define if not defined.
10943 (ENTRY): Add _CET_ENDBR.
10944 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10946 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10948 (_dl_runtime_profile): Likewise.
10950 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10953 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10954 restore r2 on longjmp.
10955 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10957 Added rules to build test tst-setjmp-bug21895-static.
10958 Added module setjmp-bug21895 and rules to build a shared object from it.
10959 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10960 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10962 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10964 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10965 * benchtests/bench-strstr.c: Likewise.
10966 * string/memmem.c (FASTSEARCH): Define.
10967 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10968 Add support for FASTSEARCH.
10969 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10970 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10971 (FASTSEARCH): Define.
10972 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10973 * string/test-strstr.c: Likewise.
10975 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10977 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10978 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10980 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10981 H.J. Lu <hongjiu.lu@intel.com>
10983 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10984 (__longjmp): Restore shadow stack pointer if shadow stack is
10985 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10986 isn't defined for __longjmp_cancel.
10987 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10988 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10989 and SHADOW_STACK_POINTER_OFFSET is defined.
10990 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10991 (setjmp): Save shadow stack pointer if shadow stack is enabled
10992 and SHADOW_STACK_POINTER_OFFSET is defined.
10993 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10994 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10995 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10996 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10998 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10999 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11000 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11001 Remove jmp_buf-ssp.sym.
11002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11004 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11005 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11006 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11008 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11009 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11010 (__longjmp): Restore shadow stack pointer if shadow stack is
11011 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11012 isn't defined for __longjmp_cancel.
11013 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11014 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11015 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11017 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11020 * nptl/pthread_create.c: Include <tls-setup.h>.
11021 (__pthread_create_2_1): Call tls_setup_tcbhead.
11022 * sysdeps/generic/tls-setup.h: New file.
11023 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11024 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11025 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11027 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11029 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11030 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11031 (X86_FEATURE_1_SHSTK): Likewise.
11032 (CET_ENABLED): Likewise.
11033 (IBT_ENABLED): Likewise.
11034 (SHSTK_ENABLED): Likewise.
11036 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11039 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11040 (LOCALES): Likewise.
11041 * localedata/dsb_DE.UTF-8.in: New file.
11042 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11044 2018-07-12 Florian Weimer <fweimer@redhat.com>
11046 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11047 __mprotect, not mprotect.
11049 2018-07-11 Florian Weimer <fweimer@redhat.com>
11051 * io/Makefile (headers): Add bits/statx.h.
11053 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11055 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11056 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11058 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11059 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11062 2018-07-10 Florian Weimer <fweimer@redhat.com>
11064 * io/Makefile (routines): Add statx.
11065 (tests-internal): Add tst-statx.
11066 * io/Versions (GLIBC_2.28): Export statx.
11067 * io/bits/statx.h: New file.
11068 * io/sys/stat.h [__USE_GNU]: Include it.
11069 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11070 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11072 * io/statx.c: New file.
11073 * io/statx_generic.: Likewise.
11074 * io/tst-statx.: Likewise.
11075 * include/bits/statx.h: Likewise.
11076 * sysdeps/unix/sysv/linux/kernel-features.h
11077 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11078 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11079 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11080 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11082 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11083 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11084 * sysdeps/unix/sysv/linux/statx.c: New file.
11085 * manual/filesys.texi: Note that statx is undocumented.
11086 * sysdeps/**/libc*.abilist: Update.
11088 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11090 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11091 a kernel issue which lead to test failure in some cases.
11093 2018-07-10 Florian Weimer <fweimer@redhat.com>
11096 * posix/regexec.c (check_node_accept_bytes): When comparing
11097 weights, do not compare an extra byte after the end of the
11100 2018-07-10 Florian Weimer <fweimer@redhat.com>
11102 * libio/readline.c: Fix copyright year.
11103 * libio/tst-readline.c Likewise.
11104 * nss/tst-nss-files-hosts-getent.c: Likewise.
11106 2018-07-06 Florian Weimer <fweimer@redhat.com>
11109 * nss/nss_files/files-XXX.c (internal_getent): Use
11110 __libc_readline_unlocked. Seek back to the start of the line if
11111 parsing failes with ERANGE.
11112 (get_contents_ret, get_contents): Remove.
11113 * nss/tst-nss-files-hosts-getent.c: New file.
11114 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11115 (tst-nss-files-hosts-getent): Link with -ldl.
11117 2018-07-06 Florian Weimer <fweimer@redhat.com>
11119 * include/stdio.h (__libc_readline_unlocked): Declare.
11120 (__ftello64, __fseeko64): Declare aliases.
11121 * libio/readline.c: New file.
11122 * libio/tst-readline.c: Likewise.
11123 (routines): Add readline.
11124 (tests-internal): Add tst-readlime.
11125 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11126 __libc_readline_unlocked.
11127 * libio/fseeko.c (__fseeko): Rename from fseeko.
11128 (fseeko): Add alias.
11129 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11130 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11131 (fseeko64): Add alias.
11132 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11133 * libio/ftello64.c (__ftello64): Rename from ftello64.
11134 (ftello64): Add alias.
11136 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11138 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11141 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11143 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11144 Use dl_hwcap without masking.
11145 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11146 Remove HWCAP_CPUID.
11148 2018-07-06 Florian Weimer <fweimer@redhat.com>
11150 * conform/conformtest.pl (checknamespace): Escape literal braces
11151 in regular expressions.
11153 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11155 * sysdeps/x86/cpu-features.c (get_common_indeces):
11156 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11157 * sysdeps/x86/cpu-features.c (init_cpu_features):
11158 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11160 2018-07-05 Florian Weimer <fweimer@redhat.com>
11162 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11164 (CFLAGS-elf-init.oS): Likewise.
11166 2018-07-05 Florian Weimer <fweimer@redhat.com>
11167 Carlos O'Donell <carlos@redhat.com>
11169 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11170 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11171 with stack protector enabled because there is no risk of infinite
11174 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11178 * libc-abis (ABSOLUTE): New ABI.
11179 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11180 * NEWS: Mention the new ABI.
11182 2018-07-05 Florian Weimer <fweimer@redhat.com>
11185 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11186 (RENAME_WHITEOUT): Define.
11187 [__USE_GNU] (renameat2): Declare.
11188 * stdio-common/Makefile (routines): Add renameat2.
11189 (tests): Add tst-renameat2.
11190 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11191 * stdio-common/renameat2.c: New file.
11192 * stdio-common/tst-renameat2.c: Likewise.
11193 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11194 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11196 * sysdeps/unix/sysv/linux/kernel-features.h
11197 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11198 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11199 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11201 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11202 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11203 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11204 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11205 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11206 * include/stdio.h (__renameat): Add alias for renameat.
11207 * stdio-common/renameat.c (__renameat): Rename from renameat.
11208 Add hidden definition and alias.
11209 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11210 * sysdeps/mach/hurd/renameat.c: Likewise.
11211 * sysdeps/**/libc*.abilist: Add renameat2.
11213 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11215 * posix/bug-regex33.c: Fix build after regex sync.
11217 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11220 * localedata/tst-langinfo-setlocale.c: New file.
11221 * localedata/tst-langinfo-setlocale-static.c: New file.
11222 * localedata/tst-langinfo-newlocale.c: New file.
11223 * localedata/tst-langinfo-newlocale-static.c: New file.
11224 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11225 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11226 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11227 (tests-static): Remove tst-langinfo-static. Add
11228 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11229 (tests-special): Remove $(objpfx)tst-langinfo.out,
11230 $(objpfx)tst-langinfo-static.out. Add
11231 $(objpfx)tst-langinfo-setlocale.out,
11232 $(objpfx)tst-langinfo-newlocale.out,
11233 $(objpfx)tst-langinfo-setlocale-static.out,
11234 $(objpfx)tst-langinfo-newlocale-static.out.
11235 ($(objpfx)tst-langinfo.out): Remove.
11236 ($(objpfx)tst-langinfo-static.out): Remove.
11237 ($(objpfx)tst-langinfo-newlocale.out): New target.
11238 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11239 (test-xfail-tst-langinfo-newlocale-static): Add.
11240 ($(objpfx)tst-langinfo-setlocale.out): New target.
11241 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11242 * localedata/tst-langinfo.c: Call test_locale.
11243 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11246 2018-07-04 Florian Weimer <fweimer@redhat.com>
11248 testrun.sh: Implement --tool=strace, --tool=valgrind
11249 * Makefile (testrun-script): Define variable.
11250 (testrun.sh): Use variable.
11251 * manual/install.texi (Tools for Compilation): make 4.0 or later
11253 * configure.ac: Check for make 4.0 or later.
11254 * INSTALL: Regenerate.
11255 * configure: Likewise.
11257 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11263 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11264 * posix/PCRE.tests: Remove invalid test.
11265 * posix/bug-regex28.c: Fix expected values for used syntax.
11266 * posix/bug-regex37.c: New file.
11267 * posix/bug-regex38.c: Likewise.
11268 * posix/regcomp.c: Sync with gnulib.
11269 * posix/regex.c: Likewise.
11270 * posix/regex.h: Likewise.
11271 * posix/regex_internal.c: Likewise.
11272 * posix/regex_internal.h: Likewise.
11273 * posix/regexec.c: Likewise.
11275 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11278 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11279 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11280 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11281 * localedata/unicode-gen/PropList.txt: likewise.
11282 * localedata/unicode-gen/UnicodeData.txt: likewise.
11283 * localedata/charmaps/UTF-8: Regenerate.
11284 * localedata/locales/i18n_ctype: likewise.
11285 * localedata/locales/tr_TR: likewise.
11286 * localedata/locales/translit_circle: likewise.
11287 * localedata/locales/translit_cjk_compat: likewise.
11288 * localedata/locales/translit_combining: likewise.
11289 * localedata/locales/translit_compat: likewise.
11290 * localedata/locales/translit_font: likewise.
11291 * localedata/locales/translit_fraction: likewise.
11293 2018-07-03 Florian Weimer <fweimer@redhat.com>
11296 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11297 * stdio-common/tst-printf.sh: Adjust expected output.
11298 * LICENSES: Update.
11300 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11302 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11305 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11307 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11308 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11309 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11310 * stdio-common/tst-printfsz-islongdouble.c: New file.
11311 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11312 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11313 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11314 [subdir == stdio-common] (tests-internal): Add
11315 test-printf-size-ieee128, and test-printf-size-ibm128.
11316 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11317 (CFLAGS-test-printf-size-ibm128.c): New variables.
11318 [subdir == stdio-common] (tests-special): Add
11319 $(objpfx)test-printf-size-ieee128.out and
11320 $(objpfx)test-printf-size-ibm128.out.
11321 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11322 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11323 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11324 __printf_sizeieee128.
11325 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11327 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11329 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11332 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11334 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11335 (exp2f_inline): Likewise.
11336 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11337 (__math_uflowf): Likewise.
11338 (__math_may_uflowf): Likewise.
11339 (__math_divzerof): Likewise.
11340 (__math_invalidf): Likewise.
11341 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11342 (__math_oflowf): Likewise.
11343 (__math_uflowf): Likewise.
11344 (__math_may_uflowf): Likewise.
11345 (__math_divzerof): Likewise.
11346 (__math_invalidf): Likewise.
11348 2018-06-29 DJ Delorie <dj@redhat.com>
11349 Carlos O'Donell <carlos@redhat.com>
11352 * include/libc-symbols.h: Comment the freeres framework.
11353 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11354 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11355 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11356 * dlfcn/dlerror.c: Include libc-symbols.h
11357 (__dlerror_main_freeres): New function.
11358 * dlfcn/dlfreeres.c: New file.
11359 * dlfcn/sdlfreeres.c: New file.
11360 * include/dlfcn.h: Declare __dlerror_main_freeres.
11361 * malloc/set-freeres.c: Declare __libdl_freeres, and
11362 __libpthread_freeres.
11363 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11364 the releavant libraries are loaded.
11365 * malloc/thread-freeres.c: Add comments.
11366 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11367 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11368 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11369 (__free_stacks): Rename to...
11370 (free_stacks): ...this. Mark static.
11371 (queue_stack): Call free_stacks.
11372 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11373 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11374 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11375 ptr_freeres element from struct.
11376 (pthread_functions): Remove .ptr_freeres from struct initializer.
11377 [SHARED] (nptl_freeres): Remove.
11378 * nptl/nptlfreeres.c: New file.
11380 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11381 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11383 (__free_stacks): Rename to...
11384 (__nptl_stacks_freeres): ...this.
11385 (__shm_directory_freeres): Declare.
11386 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11387 (__nptl_unwind_freeres): ...this.
11388 * resolv/res-close.c: Add comment.
11389 * resolv/resolv_conf.c: Include libc-symbols.h.
11390 * string/strerror_l.c: Include libc-symbols.h.
11391 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11392 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11393 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11394 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11396 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11398 * stdlib/tst-strfmon_l.c: Add tests for long double.
11400 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11403 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11404 * localedata/locales/dsb_DE: New file.
11406 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11409 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11411 (alt_mon): New entry, import from CLDR (nominative case).
11413 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11416 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11418 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11420 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11421 Use vector registers.
11423 * sysdeps/aarch64/multiarch/memmove_falkor.S
11424 (__memcpy_falkor): Use vector registers.
11426 2018-06-29 Martin Sebor <msebor@redhat.com>
11428 * manual/stdio.texi (Customizing Printf): Mention interaction
11429 with GCC built-ins.
11431 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11434 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11435 `st_value' is 0 if `st_shndx' is SHN_ABS.
11436 * elf/tst-absolute-zero.c: New file.
11437 * elf/tst-absolute-zero-lib.c: New file.
11438 * elf/tst-absolute-zero-lib.lds: New file.
11439 * elf/Makefile (tests): Add `tst-absolute-zero'.
11440 (modules-names): Add `tst-absolute-zero-lib'.
11441 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11442 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11443 ($(objpfx)tst-absolute-zero: New dependency.
11445 2018-06-29 Zack Weinberg <zackw@panix.com>
11447 * configure.ac: New command-line option --disable-crypt.
11448 Force --disable-nss-crypt when --disable-crypt is given, with a
11449 warning if it was explicitly enabled.
11450 * configure: Regenerate.
11451 * config.make.in: New boolean substitution variable $(build-crypt).
11452 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11453 when $(build-crypt).
11454 * manual/install.texi: Document --disable-crypt.
11455 * INSTALL: Regenerate.
11457 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11458 which is never set.
11459 * conform/Makefile: Only include libcrypt.a in
11460 linknamespace-libs-xsi and linknamespace-libs-XPG4
11461 when $(build-crypt).
11462 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11463 USE_CRYPT to 1 when $(build-crypt).
11464 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11465 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11466 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11468 2018-06-29 Zack Weinberg <zackw@panix.com>
11470 * crypt/crypt.h, posix/unistd.h: Update comments and
11471 prototypes for crypt and crypt_r.
11473 * manual/crypt.texi (Cryptographic Functions): New initial
11475 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11476 (Unpredictable Bytes): Improve initial exposition. Clarify error
11477 behavior of getentropy and getrandom.
11478 * manual/examples/genpass.c: Generate a salt using getentropy
11479 instead of the current time. Use hash $5$ (SHA-2-256).
11480 * manual/examples/testpass.c: Demonstrate validation against
11481 hashes generated with three different one-way functions.
11483 * manual/intro.texi: crypt.texi does not need an overview
11486 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11487 * manual/terminal.texi: Consistently refer to "passphrases"
11488 * instead of "passwords", and to the "user database" instead
11489 * of the "password database".
11490 * manual/users.texi: Similarly. Add notes about how actual
11491 passphrase hashes are now stored in the shadow database.
11492 Remove 20-year-old junk todo note.
11494 2018-06-29 Zack Weinberg <zackw@panix.com>
11496 * manual/crypt.texi: Use a normal top-level @node declaration.
11497 Move most of the introductory text to the 'crypt' section.
11498 Move the example programs below the @deftypefun for 'crypt_r'.
11499 Move the 'getpass' section...
11500 * manual/terminal.texi: ...here.
11502 2018-06-29 Zack Weinberg <zackw@panix.com>
11503 Florian Weimer <fweimer@redhat.com>
11505 * posix/unistd.h: Do not declare encrypt.
11506 (_XOPEN_CRYPT): Remove macro definition.
11507 (crypt): Declare only for _USE_MISC.
11508 * stdlib/stdlib.h: Do not declare setkey.
11509 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11510 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11512 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11513 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11514 into compat symbols. Don't define initial_perm if it's not
11516 * crypt/cert.c: Link explicitly with the expected versions for
11517 setkey and encrypt. If they are not available at all, mark
11518 the test as unsupported.
11520 * sunrpc/des_crypt.c: Unconditionally block linkage with
11521 cbc_crypt and ecb_crypt for new binaries.
11522 * sunrpc/des_soft.c: Unconditionally block linkage with
11523 des_setparity for new binaries.
11525 * manual/crypt.texi: Remove the entire "DES Encryption"
11526 section. Also remove the paragraph talking about FIPS 140-2
11527 from the introduction.
11528 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11529 of libgcrypt for "real" encryption, not DES.
11530 * manual/conf.texi (Constants for Sysconf): Mention that
11531 _XOPEN_CRYPT is no longer impelemented.
11533 * conform/data/unistd.h-data: Remove crypt function declaration.
11535 2018-06-29 Florian Weimer <fweimer@redhat.com>
11538 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11539 (disallow_malloc_check): Remove variable.
11540 (__malloc_check_init): Adjust.
11541 (malloc_set_state): Update comment.
11542 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11545 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11548 * localedata/locales/ast_ES (mon): Rename to...
11550 (mon): Import from CLDR (genitive case).
11552 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11553 Jakub Sitnicki <jkbs@redhat.com>
11556 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11557 on NLM_F_DUMP_INTR.
11559 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11561 * manual/llio.texi: Remove spurious space.
11563 2018-06-28 Florian Weimer <fweimer@redhat.com>
11566 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11569 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11571 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11572 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11573 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11574 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11575 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11576 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11577 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11579 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11582 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11583 Copy and null-terminate entries that are not terminated, in
11584 addition to empty ones.
11586 2018-06-27 Florian Weimer <fweimer@redhat.com>
11589 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11590 (extend_alloca_account): Remove.
11591 * manual/stdio.texi (Variable Arguments Output): Update comment.
11593 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11595 * nptl/sockperf.c: Remove file.
11597 2018-06-27 Florian Weimer <fweimer@redhat.com>
11600 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11601 scratch_buffer instead of extend_alloca.
11603 2018-06-27 Florian Weimer <fweimer@redhat.com>
11606 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11607 scratch_buffer instead of extend_alloca. Update comments.
11609 2018-06-27 Florian Weimer <fweimer@redhat.com>
11612 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11613 instead of extend_alloca.
11615 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11618 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11619 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11621 * scripts/test-installation.pl: Put temporary files in build
11622 directory, not /tmp.
11623 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11624 (CFLAGS-bug4.c): Likewise.
11625 (CFLAGS-bug5.c): Likewise.
11626 (CFLAGS-test-fseek.c): Likewise.
11627 (CFLAGS-test-popen.c): Likewise.
11628 (CFLAGS-test_rdwr.c): Likewise.
11629 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11631 * stdio-common/bug4.c (main): Likewise.
11632 * stdio-common/bug5.c (main): Likewise.
11633 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11634 * stdio-common/test-popen.c (do_test): Likewise.
11635 * stdio-common/test_rdwr.c (main): Likewise.
11637 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11639 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11640 (sem_open): Set sem.newsem.pad to zero for valgrind.
11642 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11645 * NEWS: Mention fcntl64 addition.
11646 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11647 * login/utmp_file.c: Likewise.
11648 * sysdeps/posix/fdopendir.c: Likewise.
11649 * sysdeps/posix/opendir.c: Likewise.
11650 * sysdeps/unix/pt-fcntl.c: Likewise.
11651 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11652 __fcntl64_nocancel_adjusted): New prototype.
11653 (__fcntl_nocancel_adjusted): Remove prototype.
11654 * io/Makefile (routines): Add fcntl64.
11655 (CFLAGS-fcntl64.c): New rule.
11656 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11657 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11658 * io/fcntl.h (fcntl64): Add prototype and redirect if
11659 __USE_FILE_OFFSET64 is defined.
11660 * io/fcntl64.c: New file.
11661 * manual/llio.text: Add a note for which commands fcntl acts a
11662 cancellation point.
11663 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11664 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11665 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11667 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11668 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11670 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11671 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11672 to __fcntl64_nocancel.
11673 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11674 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11675 to __fcntl64_nocancel.
11676 * sysdeps/generic/not-cancel.h: Likewise.
11677 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11678 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11679 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11680 (fcntl64): New symbol.
11681 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11692 fcntl64): Likewise.
11693 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11695 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11706 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11710 2018-06-26 Florian Weimer <fweimer@redhat.com>
11712 Run thread shutdown functions in an explicit order.
11713 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11715 (__libc_thread_freeres): Call thread shutdown functions
11717 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11718 * include/string.h (__strerror_thread_freeres): Declare.
11719 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11720 arena_thread_freeres. No longer static. Remove thread shutdown
11722 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11724 * resolv/res-close.c (__res_thread_freeres): Renamed from
11725 res_thread_freeres. No longer static. Remove thread shutdown
11727 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11728 * resolv/resolv_conf.c (freeres): Remove incorrect section
11729 attribute and use libc_freeres_fn.
11730 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11731 strerror_thread_freeres. No longer static. Remove thread
11732 shutdown hook registration.
11733 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11734 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11735 shutdown hook registration.
11736 * Makerules (shlib.lds): Do not provide section boundary symbols
11737 for __libc_thread_subfreeres.
11738 * manual/memory.texi (Basic Allocation): Update comment.
11740 2018-06-26 Florian Weimer <fweimer@redhat.com>
11742 Remove always-defined _RPC_THREAD_SAFE_ macro.
11743 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11744 Do not define _RPC_THREAD_SAFE_.
11745 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11747 * sunrpc/clnt_perr.c: Likewise.
11748 * sunrpc/clnt_raw.c: Likewise.
11749 * sunrpc/clnt_simp.c: Likewise.
11750 * sunrpc/key_call.c: Likewise.
11751 * sunrpc/rpc_common.c: Likewise.
11752 * sunrpc/rpc_main.c: Likewise.
11753 * sunrpc/rpc_thread.c: Likewise.
11754 * sunrpc/svc.c: Likewise.
11755 * sunrpc/svc_raw.c: Likewise.
11756 * sunrpc/svc_simple.c: Likewise.
11757 * sumrpc/svcauth_des.c: Likewise.
11759 2018-06-26 Florian Weimer <fweimer@redhat.com>
11761 * libio/Makefile (tests-internal): Add tst-vtables,
11762 tst-vtables-interposed.
11763 * libio/tst-vtables.c: New file.
11764 * libio/tst-vtables-common.c: Likewise.
11765 * libio/tst-vtables-interposed.c: Likewise.
11767 2018-06-26 Florian Weimer <fweimer@redhat.com>
11769 * support/support_test_main.c (support_test_main): Only call
11770 setvbuf if not disables.
11771 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11772 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11774 2018-06-26 Florian Weimer <fweimer@redhat.com>
11777 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11779 2018-06-25 Florian Weimer <fweimer@redhat.com>
11782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11783 Use struct scratch_buffer instead of extend_alloca.
11785 2018-06-25 Florian Weimer <fweimer@redhat.com>
11788 * nss/getent.c (initgroups_keys): Use dynarray instead of
11791 2018-06-25 Florian Weimer <fweimer@redhat.com>
11794 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11795 Use struct scratch_buffer instead of extend_alloca.
11797 2018-06-25 Florian Weimer <fweimer@redhat.com>
11800 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11801 back to malloc directly, without stack allocations.
11803 2018-06-25 Florian Weimer <fweimer@redhat.com>
11806 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11809 2018-06-25 Florian Weimer <fweimer@redhat.com>
11812 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11814 * nscd/hstcache.c (addhstbyX): Likewise.
11815 * nscd/pwdcache.c (addpwbyX): Likewise.
11816 * nscd/servicescache.c (addservbyX): Likewise.
11818 2018-06-25 Florian Weimer <fweimer@redhat.com>
11821 * nscd/connections.c (read_cmdline): New function.
11822 (restart): Use it. Update comment.
11824 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11827 * localedata/locales/csb_PL (mon): Rename to...
11829 (abmon): Rename to...
11830 (ab_alt_mon): This.
11831 (mon): Add with proper genitive forms, copy from Wikipedia.
11834 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11837 * localedata/locales/csb_PL (mon): Fix typos:
11838 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11839 (yesstr): Add, value is "jo".
11840 (nostr): Add, value is "nié".
11842 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11844 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11845 all log1p and significand functions on m680x0.
11846 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11847 of s_significand.c..
11848 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11849 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11850 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11851 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11852 s_log1p.c and include it..
11854 2018-06-21 Vincent Chen <vincentc@andestech.com>
11856 * elf/elf.h (R_NDS32_NONE): New define.
11857 (R_NDS32_32_RELA): Likewise.
11858 (R_NDS32_COPY): Likewise.
11859 (R_NDS32_GLOB_DAT): Likewise.
11860 (R_NDS32_JUMP_SLOT): Likewise.
11861 (R_NDS32_RELATIVE): Likewise.
11862 (R_NDS32_TLS_TPOFF): Likewise.
11863 (R_NDS32_TLS_DESC): Likewise.
11865 2018-06-21 Mark Wielaard <mark@klomp.org>
11867 * elf/elf.h (R_BPF_MAP_FD): Removed.
11868 (R_BPF_64_64, R_BPF_64_32): New.
11870 2018-06-21 Florian Weimer <fweimer@redhat.com>
11873 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11874 Renamed from libc_feholdsetround_ctx.
11875 (default_libc_feresetround_ctx): Renamed from
11876 libc_feresetround_ctx.
11877 (default_libc_feholdsetround_noex_ctx): Renamed from
11878 libc_feholdsetround_noex_ctx.
11879 (default_libc_feresetround_noex_ctx): Renamed from
11880 libc_feresetround_noex_ctx.
11881 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11882 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11883 forwardning to the old implementations under the new names.
11884 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11885 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11886 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11887 (libc_feresetround_ctx): Forward to default implements for i386
11888 and MATH_SET_BOTH_ROUNDING_MODES.
11889 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11890 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11892 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11894 * string/tst-cmp.c: Include <libc-diag.h>.
11895 (strncmp_max): Disable -Wstringop-overflow= around call to
11897 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11900 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11901 (main): Disable -Wunused-value around call to strpbrk.
11902 * string/bug-strspn1.c: Include <libc-diag.h>.
11903 (main): Disable -Wunused-value around call to strspn.
11905 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11906 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11908 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11909 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11911 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11913 * math/Makefile (libm-calls): Move s_significandF to...
11914 (gen-libm-calls): ... here.
11915 * math/s_significand_template.c: New file.
11916 * math/s_significand.c: Removed.
11917 * math/s_significandf.c: Removed.
11918 * math/s_significandl.c: Removed.
11919 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11920 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11922 * math/e_exp2_template.c (declare_mgen_finite_alias,
11923 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11924 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11925 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11927 2018-06-20 Florian Weimer <fweimer@redhat.com>
11929 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11931 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11934 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11935 floating-point number to strtod functions rather than possibly
11936 negating result of those functions.
11937 * stdio-common/tst-scanf-round.c: New file.
11938 * stdio-common/Makefile (tests): Add tst-scanf-round.
11939 ($(objpfx)tst-scanf-round): Depend on $(libm).
11941 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11943 * sysdeps/mach/hurd/localplt.data: Move to...
11944 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11945 R_386_GLOB_DAT like on Linux i386.
11947 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11949 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11950 (SHM_STAT_ANY): New macro.
11951 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11952 (SHM_STAT_ANY): Likewise.
11953 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11954 (SHM_STAT_ANY): Likewise.
11955 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11956 (SHM_STAT_ANY): Likewise.
11957 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11958 (SHM_STAT_ANY): Likewise.
11959 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11960 (SHM_STAT_ANY): Likewise.
11961 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11962 (SHM_STAT_ANY): Likewise.
11963 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11964 (SHM_STAT_ANY): Likewise.
11965 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11966 (SHM_STAT_ANY): Likewise.
11967 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11968 (SHM_STAT_ANY): Likewise.
11969 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11970 (SHM_STAT_ANY): Likewise.
11971 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11972 (SHM_STAT_ANY): Likewise.
11974 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11975 (SEM_STAT_ANY): New macro.
11976 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11977 (SEM_STAT_ANY): Likewise.
11978 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11979 (SEM_STAT_ANY): Likewise.
11980 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11981 (SEM_STAT_ANY): Likewise.
11982 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11983 (SEM_STAT_ANY): Likewise.
11984 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11985 (SEM_STAT_ANY): Likewise.
11986 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11987 (SEM_STAT_ANY): Likewise.
11988 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11989 (SEM_STAT_ANY): Likewise.
11990 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11991 (SEM_STAT_ANY): Likewise.
11992 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11993 (SEM_STAT_ANY): Likewise.
11995 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11996 (MSG_STAT_ANY): New macro.
11997 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11998 (MSG_STAT_ANY): Likewise.
11999 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12000 (MSG_STAT_ANY): Likewise.
12001 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12002 (MSG_STAT_ANY): Likewise.
12003 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12004 (MSG_STAT_ANY): Likewise.
12005 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12006 (MSG_STAT_ANY): Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12008 (MSG_STAT_ANY): Likewise.
12009 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12010 (MSG_STAT_ANY): Likewise.
12011 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12012 (MSG_STAT_ANY): Likewise.
12013 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12014 (MSG_STAT_ANY): Likewise.
12016 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12017 (MAP_TYPE): Change value to 0x2b.
12019 2018-06-18 Florian Weimer <fweimer@redhat.com>
12022 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12023 socket with SOCK_CLOEXEC.
12025 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12028 * sysdeps/powerpc/powerpc64/le/Makefile
12029 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12030 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12031 (gnulib-tests): Also add $(f128-loader-link) for
12032 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12034 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12036 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12037 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12039 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12040 (sendfile64): New strong alias.
12041 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12042 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12043 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12044 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12046 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12047 ___pthread_get_cleanup_stack.
12048 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12049 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12050 * mach/shortcut.awk: Make syscall stubs include
12051 <mach-shortcuts-hidden.h> and add hidden definition.
12052 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12053 (__mach_msg): Add hidden prototype.
12054 * mach/msg.c: Include <mach.h>.
12055 (__mach_msg): Add hidden definition.
12056 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12057 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12058 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12059 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12060 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12061 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12062 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12063 prototype and definition.
12064 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12065 hidden target for _hurd_self_sigstate.
12067 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12070 * stdlib/tst-strtod-nan-sign-main.c: New file.
12071 * stdlib/tst-strtod-nan-sign.c: Likewise.
12072 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12073 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12074 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12075 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12076 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12078 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12081 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12084 2018-06-14 Florian Weimer <fweimer@redhat.com>
12087 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12088 that the result stays within the ISO-8859-1 range.
12089 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12090 characters are defined in IBM273.
12092 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12094 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12095 __mach_task_self): Remove attribute_hidden.
12097 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12099 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12100 ignore -Wrestrict for one test.
12102 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12103 Szabolcs Nagy <szabolcs.nagy@arm.com>
12105 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12107 2018-06-14 Florian Weimer <fweimer@redhat.com>
12109 * scripts/update-abilist.sh: Accept empty list of files to patch.
12111 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12113 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12114 test-xfail-check-abi-libmachuser): Add.
12115 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12116 __libc_read and __libc_write to __read and __write.
12117 * sysdeps/hurd/include/hurd/port.h: New file.
12118 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12119 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12120 __thread_switch, __evc_wait): Move declarations to...
12121 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12123 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12124 use PLT to call _hurd_self_sigstate.
12126 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12129 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12130 MAX_EXP as overflowing.
12131 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12133 (round_str): Output also whether result overflows in each rounding
12135 * stdlib/tst-strtod-round-data: Add more tests.
12136 * stdlib/tst-strtod-round-data.h: Regenerated.
12137 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12138 (TEST): Handle extra arguments for overflow flags.
12139 (struct test_overflow): New type.
12140 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12141 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12142 (test_in_one_mode): Take argument with overflow information.
12143 (do_test): Update calls to test_in_one_mode.
12145 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12147 * elf/dl-load (_dl_dst_substitute): Correct comment.
12148 (_dl_dst_count): Likewise.
12150 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12151 lll_futex_timed_wait.
12153 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12156 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12158 * math/test-nan-const.c: New file.
12159 * math/Makefile (tests): Add test-nan-const.
12160 (CFLAGS-test-nan-const.c): New variable.
12162 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12164 * benchtests/scripts/compare_strings.py (process_results): Add
12165 funcs argument. Compare only functions which are selected.
12166 (main): Check if base function is among selected functions.
12167 Pass selected functions to process_results.
12168 (__main__): Add -f/--functions argument.
12170 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12171 Hongbo Zhang <hongbo.zhang@linaro.org>
12173 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12174 __memcpy_falkor for phecda core.
12175 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12176 __memmove_falkor for phecda core.
12177 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12178 __memset_falkor for phecda core.
12179 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12181 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12182 macro to identify phecda core.
12184 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12185 Andreas Schwab <schwab@suse.de>
12186 Dmitry V. Levin <ldv@altlinux.org>
12187 Florian Weimer <fweimer@redhat.com>
12194 * elf/dl-dst.h: Remove DL_DST_COUNT.
12195 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12196 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12197 (is_dst): Comment. Support ELF gABI.
12198 (_dl_dst_count): Comment. Simplify and count DSTs.
12199 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12200 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12203 2018-06-12 Zack Weinberg <zackw@panix.com>
12205 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12206 * sysdeps/unix/sysv/linux/dl-sysdep.c
12207 Include not-cancel.h. Use __close_nocancel instead of __close,
12208 __open64_nocancel instead of __open, __read_nocancel instead of
12209 __libc_read, and __write_nocancel instead of __libc_write.
12211 * csu/check_fds.c (check_one_fd)
12212 * sysdeps/posix/fdopendir.c (__fdopendir)
12213 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12214 instead of __fcntl and/or __libc_fcntl.
12216 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12217 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12218 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12219 Use __open64_nocancel instead of __open_nocancel.
12221 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12222 hidden_proto declarations to the end and issue them if either
12223 IS_IN(libc) or IS_IN(rtld).
12224 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12225 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12226 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12227 read_nocancel, waitpid_nocancel, write_nocancel.
12229 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12230 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12231 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12233 * nptl/pt-fcntl.c: New file.
12234 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12235 (libpthread-routines): Add pt-fcntl.
12236 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12237 (__libc_fcntl): Remove attribute_hidden.
12238 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12239 __fcntl_nocancel_adjusted, not fcntl_common.
12240 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12241 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12242 to fcntl_nocancel.c.
12243 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12246 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12248 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12249 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12250 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12251 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12252 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12253 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12254 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12255 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12256 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12257 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12258 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12259 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12260 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12261 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12262 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12263 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12264 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12265 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12266 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12267 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12269 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12270 libpthread-routines.
12271 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12274 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12275 __libc_read, and __write instead of __libc_write. Define
12276 __open64 in addition to __open.
12278 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12282 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12283 to _private_tm[3] and add __glibc_reserved2.
12284 Add _Static_assert of offset of __private_ss == 0x30.
12285 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12286 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12288 2018-06-12 Florian Weimer <fweimer@redhat.com>
12290 x86: Make strncmp usable from rtld.
12291 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12292 __strncmp_ia32 if in libc (and not in rtld).
12293 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12294 strncmp if not in libc (and not to __strncmp_sse2).
12296 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12299 * localedata/locales/gd_GB (mon): Rename to...
12301 (mon): Import from CLDR (genitive case).
12302 * localedata/locales/hsb_DE (mon): Rename to...
12304 (mon): Import from CLDR (genitive case).
12305 * localedata/locales/wa_BE (mon): Rename to...
12307 (mon): Add, fill with the proper genitive forms, but CLDR data
12308 is incomplete; completed according to the comments in this file.
12309 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12311 * localedata/locales/wa_BE (country_name): Reword
12312 "Beljike" -> "Beldjike".
12314 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12317 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12318 cases of non-finite arguments.
12319 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12321 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12324 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12326 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12329 * include/unistd.h (__execvpex): New prototype.
12330 * posix/Makefile (tests): Add tst-spawn4.
12331 (tests-internal): Add tst-spawn4-compat.
12332 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12333 * posix/tst-spawn4-compat.c: New file.
12334 * posix/tst-spawn4.c: Likewise.
12335 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12336 binaries as shell scripts.
12337 * sysdeps/posix/spawni.c (__spawni): Likewise.
12339 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12342 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12343 ($(all-built-dso:=.dynsym): New target.
12344 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12345 ($(objpfx)check-initfini.out): New target.
12346 (generated): Add check-initfini.out.
12347 * scripts/check-initfini.awk: New file.
12348 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12350 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12352 * sysdeps/arm/crti.S (_init): Mark as hidden.
12354 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12356 * sysdeps/i386/crti.S (_init): Mark as hidden.
12358 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12360 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12362 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12364 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12366 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12368 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12370 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12372 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12374 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12376 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12378 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12380 * sysdeps/sh/crti.S (_init): Mark as hidden.
12382 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12384 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12387 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12389 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12390 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12391 and TF redirection to KFtype and KF only when the default
12392 long double type is not the IEEE 128-bit floating point type.
12394 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12396 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12398 (HWCAP_USCAT): Likewise.
12399 (HWCAP_ILRCPC): Likewise.
12400 (HWCAP_FLAGM): Likewise.
12401 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12403 (_dl_aarch64_cap_flags): Add new flag names.
12405 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12406 (MAP_FIXED_NOREPLACE): New macro.
12407 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12408 (MAP_FIXED_NOREPLACE): Likewise.
12409 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12410 (MAP_FIXED_NOREPLACE): Likewise.
12411 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12412 (MAP_FIXED_NOREPLACE): Likewise.
12413 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12414 (MAP_FIXED_NOREPLACE): Likewise.
12415 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12416 (MAP_FIXED_NOREPLACE): Likewise.
12417 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12418 (MAP_FIXED_NOREPLACE): Likewise.
12419 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12420 (MAP_FIXED_NOREPLACE): Likewise.
12421 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12422 (MAP_FIXED_NOREPLACE): Likewise.
12423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12424 (MAP_FIXED_NOREPLACE): Likewise.
12425 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12426 (MAP_FIXED_NOREPLACE): Likewise.
12427 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12428 (MAP_FIXED_NOREPLACE): Likewise.
12429 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12430 (MAP_FIXED_NOREPLACE): Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12432 (MAP_FIXED_NOREPLACE): Likewise.
12433 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12434 (MAP_FIXED_NOREPLACE): Likewise.
12436 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12439 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12441 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12444 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12446 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12448 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12450 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12452 * benchtests/scripts/compare_string.py: (process_results) Catch
12453 exception in non-existent base_func and catch exception in
12454 non-existent attribute.
12455 (parse_file) Catch exception if input file does not exist.
12457 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12459 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12460 options to avoid diff calculation and omit header, respectively.
12461 (main): process --no-diff and --no-header
12463 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12464 H.J. Lu <hongjiu.lu@intel.com>
12466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12467 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12470 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12471 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12472 and __wcsncmp_sse2.
12473 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12474 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12475 AVX unaligned load is fast and vzeroupper is preferred.
12476 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12477 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12478 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12479 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12480 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12481 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12482 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12483 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12484 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12485 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12488 2018-06-01 Florian Weimer <fweimer@redhat.com>
12490 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12491 configuring with --disable-multi-arch, building with
12492 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12495 2018-06-01 Florian Weimer <fweimer@redhat.com>
12497 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12498 results from building with “-march=x86-64 -mtune=generic
12499 -mfpmath=sse” and running on a Haswell-era CPU.
12501 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12504 * soft-fp/sqrttf2.c: Remove file.
12505 * soft-fp/sqrtdf2.c: Move to ....
12506 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12508 (__sqrtdf2): Make conditional on
12509 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12511 * soft-fp/sqrtsf2.c: Move to ....
12512 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12514 (__sqrtsf2): Make conditional on
12515 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12517 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12518 (gcc-double-routines): Remove sqrtdf2.
12519 (gcc-quad-routines): Remove sqrttf2.
12520 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12521 Do not filter out sqrtsf2 and sqrtdf2.
12522 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12523 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12525 2018-06-01 Florian Weimer <fweimer@redhat.com>
12527 * sysdeps/generic/libcidn.abilist: Remove file.
12529 2018-06-01 Florian Weimer <fweimer@redhat.com>
12532 * libio/strfile.h (struct _IO_str_fields): Rename members to
12533 discourage their use and add comment.
12534 (_IO_STR_DYNAMIC): Remove unused macro.
12535 * libio/strops.c (_IO_str_init_static_internal): Do not use
12536 callback pointers. Call malloc and free.
12537 (_IO_str_overflow): Do not use callback pointers. Call malloc
12539 (enlarge_userbuf): Likewise.
12540 (_IO_str_finish): Call free.
12541 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12542 _allocate_buffer_unused.
12543 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12545 (enlarge_userbuf): Likewise.
12546 (_IO_wstr_finish): Call free.
12547 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12548 _allocate_buffer_unused, _free_buffer_unused.
12549 * libio/memstream.c (__open_memstream): Likewise.
12550 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12551 * libio/wmemstream.c (open_wmemstream): Likewise.
12553 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12555 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12558 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12560 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12561 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12562 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12564 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12566 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12568 2018-05-29 Florian Weimer <fweimer@redhat.com>
12570 * support/Makefile (libsupport-routines): Add
12571 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12572 xpthread_barrierattr_setpshared.
12573 * support/xpthread_barrierattr_destroy.c: New file.
12574 * support/xpthread_barrierattr_init.c: Likewise.
12575 * support/xpthread_barrierattr_setpshared.c: Likewise.
12577 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12580 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12581 _r_debug and update DT_DEBUG for debugger.
12583 2018-05-29 Florian Weimer <fweimer@redhat.com>
12585 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12586 (tst-strtod5i.out): Likewise.
12588 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12590 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12591 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12592 (sparc64-quad-routines): New variable. Moved from ....
12593 [$(subdir) = soft-fp] (sysdep_routines): Add
12594 $(sparc64-quad-routines). Moved from ....
12595 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12596 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12597 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12599 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12600 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12601 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12602 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12603 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12604 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12605 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12606 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12607 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12608 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12609 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12610 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12611 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12612 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12613 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12614 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12615 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12616 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12617 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12618 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12619 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12620 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12621 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12622 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12623 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12624 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12625 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12626 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12627 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12628 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12629 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12630 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12631 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12632 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12633 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12634 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12635 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12636 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12637 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12638 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12639 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12640 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12641 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12642 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12643 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12644 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12645 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12646 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12647 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12648 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12649 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12650 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12651 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12652 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12653 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12654 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12655 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12656 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12658 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12659 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12660 (sparc32-quad-routines): New variable. Moved from ....
12661 [$(subdir) = soft-fp] (sysdep_routines): Add
12662 $(sparc32-quad-routines). Moved from ....
12663 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12664 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12666 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12667 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12668 * sysdeps/sparc/sparc32/q_add.c: ... here.
12669 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12670 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12671 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12672 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12673 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12674 * sysdeps/sparc/sparc32/q_div.c: ... here.
12675 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12676 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12677 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12678 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12679 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12680 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12681 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12682 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12683 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12684 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12685 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12686 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12687 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12688 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12689 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12690 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12691 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12692 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12693 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12694 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12695 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12696 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12697 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12698 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12699 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12700 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12701 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12702 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12703 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12704 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12705 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12706 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12707 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12708 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12709 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12710 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12711 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12712 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12713 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12714 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12715 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12716 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12717 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12718 * sysdeps/sparc/sparc32/q_util.c: ... here.
12719 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12720 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12721 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12722 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12724 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12725 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12727 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12728 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12729 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12730 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12732 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12738 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12739 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12741 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12744 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12747 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12749 * sysdeps/sh/Implies: Remove sh/soft-fp.
12750 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12751 * sysdeps/sh/sfp-machine.h: ... here.
12753 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12755 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12756 (__mempcpy_erms): Skip zero length.
12757 (__memmove_erms): Likewise.
12758 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12759 (__memset_erms): Likewise.
12761 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12763 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12764 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12765 Add functions moved from ....
12766 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12767 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12768 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12770 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12771 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12772 * sysdeps/alpha/e_sqrtl.c: ... here.
12773 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12774 * sysdeps/alpha/local-soft-fp.h: ... here.
12775 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12776 * sysdeps/alpha/ots_add.c: ... here.
12777 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12778 * sysdeps/alpha/ots_cmp.c: ... here.
12779 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12780 * sysdeps/alpha/ots_cmpe.c: ... here.
12781 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12782 * sysdeps/alpha/ots_cvtqux.c: ... here.
12783 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12784 * sysdeps/alpha/ots_cvtqx.c: ... here.
12785 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12786 * sysdeps/alpha/ots_cvttx.c: ... here.
12787 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12788 * sysdeps/alpha/ots_cvtxq.c: ... here.
12789 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12790 * sysdeps/alpha/ots_cvtxt.c: ... here.
12791 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12792 * sysdeps/alpha/ots_div.c: ... here.
12793 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12794 * sysdeps/alpha/ots_mul.c: ... here.
12795 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12796 * sysdeps/alpha/ots_nintxq.c: ... here.
12797 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12798 * sysdeps/alpha/ots_sub.c: ... here.
12799 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12800 * sysdeps/alpha/sfp-machine.h: ... here.
12802 2018-05-23 Florian Weimer <fweimer@redhat.com>
12810 Switch to extern IDNA implementation (libidn2).
12811 * libidn: Remove subdirectory.
12812 * LICENSES: Do not mention licensing conditions for the removed
12814 * config.h.in (HAVE_LIBIDN): Remove.
12815 * include/dlfcn.h (__libc_dlopen): Update comment.
12816 * include/idna.h: Remove file.
12817 * inet/Makefile (routines): Add idna.
12818 (tests-static, tests-internal): Add tst-idna_name_classify.
12819 (LOCALES): Generate locales for tests.
12820 (tst-idna_name_classify.out): Depend on generated locales.
12821 * inet/idna_name_classify.c: New file.
12822 * inet/tst-idna_name_classify.c: Likewise.
12823 * inet/net-internal.h (__idna_to_dns_encoding)
12824 (__idna_from_dns_encoding): Declare.
12825 * inet/net-internal.h (enum idna_name_classification): Define.
12826 (__idna_name_classify): Declare.
12827 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12828 __idna_from_dns_encoding.
12829 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12830 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12831 name as a fallback in case of encoding errors.
12832 (getnameinfo): Use DEPRECATED_NI_IDN.
12833 * inet/idna.c: New file.
12834 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12835 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12836 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12837 (modules-names): Add tst-no-libidn2.
12838 (extra-test-objs): Add tst-no-libidn2.os.
12839 (LDFLAGS-tst-no-libidn2.so): Set soname.
12840 (LOCALES): Set, and generate locales.
12841 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12842 (tst-resolv-ai_idn-latin1): Likewise.
12843 (tst-resolv-ai_idn-nolibidn2): Likewise.
12844 (tst-resolv-ai_idn.out): Depend on locales.
12845 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12846 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12848 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12849 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12850 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12851 * resolv/tst-resolv-ai_idn.c: New file.
12852 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12853 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12854 * resolv/tst-no-libidn2.c: Likewise.
12855 * support/support_format_addrinfo.c (format_ai_flags): Do not
12856 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12857 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12858 (gaih_inet): Call __idna_to_dns_encoding and
12859 __idna_from_dns_encoding, and use the original (punycode) name if
12860 __idna_from_dns_encoding fails due to an encoding error.
12861 (getaddrinfo): Use DEPRECATED_AI_IDN.
12862 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12863 * sysdeps/unix/inet/configure: Remove file.
12864 * sysdeps/unix/inet/configure.ac: Likewise.
12866 2018-05-23 Florian Weimer <fweimer@redhat.com>
12868 Implement allocate_once.
12869 * include/allocate_once.h: New file.
12870 * misc/allocate_once.c: Likewise.
12871 * misc/tst-allocate_once.c: Likewise.
12872 * misc/Makefile (routines): Add allocate_once.
12873 (tests-internal): Add tst-allocate_once.
12874 (generated): Add tst-allocate_once.mtrace,
12875 tst-allocate_once-mem.out.
12876 (tests-special): Add tst-allocate_once-mem.out.
12877 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12878 (tst-allocate_once-mem.out): Call mtrace.
12879 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12881 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12884 * string/test-memcpy.c (do_test1): New function.
12885 (test_main): Call it.
12887 2018-05-23 Andreas Schwab <schwab@suse.de>
12891 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12892 (L(preloop_large)): Save initial destination pointer in %r11 and
12893 use it instead of %rax after the loop.
12894 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12896 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12898 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12899 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12900 -I../soft-fp. Moved from ....
12901 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12902 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12903 * sysdeps/aarch64/e_sqrtl.c: ... here.
12904 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12905 * sysdeps/aarch64/sfp-machine.h: ... here.
12907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12908 -Wmaybe-uninitialized around access to fq[0].
12909 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12913 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12914 aliases for non-libc case of versioned symbols.
12915 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12916 (llseek): Define as compat symbol if
12917 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12919 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12920 Make into a compat symbol, disabled for minimum symbol version
12921 GLIBC_2.28 and later.
12922 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12924 2018-05-22 Florian Weimer <fweimer@redhat.com>
12926 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12927 not add -mpreferred-stack-boundary=4.
12928 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12929 (stack-align-test-flags): Likewise.
12930 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12932 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12933 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12934 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12935 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12936 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12937 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12938 (CFLAGS-tst-align2.c): Likewise.
12940 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12942 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12943 (index_arch_Prefer_FSRM): Likewise.
12944 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12945 Also check Prefer_FSRM.
12946 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12947 Also return OPTIMIZE (erms) for Prefer_FSRM.
12949 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12951 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12952 (index_cpu_FSRM): Likewise.
12953 (reg_FSRM): Likewise.
12955 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12957 * math/gen-tgmath-tests.py: Import sys.
12958 (Tests.__init__): Initialize macros_seen.
12959 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12960 if requested to do so for this macro.
12961 (Tests.add_all_tests): Take argument for macro for which to
12963 (Tests.check_macro_list): New function.
12964 (main): Handle check-list argument and argument specifying macro
12965 for which to generate tests.
12966 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12967 [PYTHON] (tgmath3-macro-tests): Likewise.
12968 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12969 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12970 not test-tgmath3.c.
12971 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12972 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12974 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12975 [PYTHON] ($(foreach
12976 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12978 [PYTHON] (tests-special): Add
12979 $(objpfx)test-tgmath3-macro-list.out.
12980 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12982 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12983 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12987 * time/tzset.c (SECSPERDAY): Cast to time_t.
12988 * time/tst-y2039.c: New file.
12989 * time/Makefile (tests): Add tst-y2039.
12991 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12993 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12994 (PREFETCH_ONE_SET): Remove duplicate line.
12996 2018-05-17 Florian Weimer <fweimer@redhat.com>
12998 * sysdeps/generic/math-type-macros-double.h: Include
12999 <math-nan-payload-double.h> after <libm-alias-double.h>.
13000 * sysdeps/generic/math-type-macros-float.h: Include
13001 <math-nan-payload-float.h> after <libm-alias-float.h>.
13002 * sysdeps/generic/math-type-macros-float128.h: Include
13003 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13004 * sysdeps/generic/math-type-macros-ldouble.h: Include
13005 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13007 2018-05-17 Andreas Schwab <schwab@suse.de>
13009 * resolv/res_send.c (__res_context_send): Don't set errno when
13010 returing error after malloc failure.
13012 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13014 * nptl/allocatestack.c (allocate_stack): Remove the
13015 !__ASSUME_PRIVATE_FUTEX paths.
13016 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13017 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13019 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13020 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13021 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13022 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13023 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13024 !__ASSUME_PRIVATE_FUTEX path.
13025 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13026 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13027 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13028 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13029 !__ASSUME_PRIVATE_FUTEX macros.
13030 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13031 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13032 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13033 * sysdeps/unix/sysv/linux/kernel-features.h
13034 (__ASSUME_PRIVATE_FUTEX): Removed.
13036 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13038 * math/Makefile (libm-narrow-fns): Add div.
13039 (libm-test-funcs-narrow): Likewise.
13040 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13041 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13042 * math/gen-auto-libm-tests.c (test_functions): Add div.
13043 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13044 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13045 (NARROW_DIV_TRIVIAL): Likewise.
13046 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13048 (__ddivl): Likewise.
13049 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13051 (CFLAGS-nldbl-ddiv.c): New variable.
13052 (CFLAGS-nldbl-fdiv.c): Likewise.
13053 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13055 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13057 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13058 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13059 * math/auto-libm-test-in: Add tests of div.
13060 * math/auto-libm-test-out-narrow-div: New generated file.
13061 * math/libm-test-narrow-div.inc: New file.
13062 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13065 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13066 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13067 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13068 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13070 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13074 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13076 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13077 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13078 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13079 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13081 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13084 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13092 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13093 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13107 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13110 * nscd/nscd-client.h (sendfileall): Remove prototype.
13111 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13112 (handle_request): Use writeall instead of sendfileall.
13113 * nscd/aicache.c (addhstaiX): Likewise.
13114 * nscd/grpcache.c (cache_addgr): Likewise.
13115 * nscd/hstcache.c (cache_addhst): Likewise.
13116 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13117 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13118 * nscd/pwdcache.c (cache_addpw): Likewise.
13119 * nscd/servicescache.c (cache_addserv): Likewise.
13120 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13121 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13122 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13125 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13127 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13128 Include <string/strncat.c>.
13129 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13131 (__GI___strncat): New hidden alias.
13133 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13135 * sysdeps/mips/mips32/libm-test-ulps: Update.
13136 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13138 2018-05-16 Florian Weimer <fweimer@redhat.com>
13140 * support/Makefile (libsupport-routines): Add support_quote_blob,
13141 support_test_compare_blob.
13142 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13143 * support/check.h (TEST_COMPARE_BLOB): Define.
13144 (support_test_compare_blob): Declare.
13145 * support/support.h (support_quote_blob): Declare.
13146 * support/support_quote_blob.c: New file.
13147 * support/support_test_compare_blob.c: Likewise.
13148 * support/tst-support_quote_blob.c: Likewise.
13149 * support/tst-test_compare_blob.c: Likewise.
13151 2018-05-16 Florian Weimer <fweimer@redhat.com>
13153 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13154 of <strtod_nan_double.h>.
13155 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13156 instead of SET_MANTISSA.
13157 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13158 of include <strtod_nan_float.h>.
13159 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13160 instead of <strtod_nan_ldouble.h>.
13161 * stdlib/strtod_nan_double.h: Move to ...
13162 * sysdeps/generic/math-nan-payload-double.h: ... here.
13163 (FLOAT): Remove definition.
13164 (SET_MANTISSA): Rename to ...
13165 (SET_NAN_PAYLOAD): ... this.
13166 * stdlib/strtod_nan_float.h: Move to ...
13167 * sysdeps/generic/math-nan-payload-float.h: ... here.
13168 (FLOAT): Remove definition.
13169 (SET_MANTISSA): Rename to ...
13170 (SET_NAN_PAYLOAD): ... this.
13171 * sysdeps/generic/math-type-macros-double.h: Include
13172 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13173 instead of <math-svid-compat.h>.
13174 * sysdeps/generic/math-type-macros-float.h: Include
13175 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13176 instead of <math-svid-compat.h>.
13177 * sysdeps/generic/math-type-macros-float128.h: Include
13178 <math-nan-payload-float128.h>.
13179 * sysdeps/generic/math-type-macros-ldouble.h: Include
13180 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13181 instead of <math-svid-compat.h>.
13182 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13183 check for definition.
13184 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13185 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13186 Include <ieee754_float128.h>.
13187 (FLOAT): Remove definition.
13188 (SET_MANTISSA): Rename to ...
13189 (SET_NAN_PAYLOAD): ... this.
13190 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13191 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13192 Do not include <float128_private.h>.
13193 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13195 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13196 (FLOAT): Remove definition.
13197 (SET_MANTISSA): Rename to ...
13198 (SET_NAN_PAYLOAD): ... this.
13199 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13200 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13201 (FLOAT): Remove definition.
13202 (SET_MANTISSA): Rename to ...
13203 (SET_NAN_PAYLOAD): ... this.
13204 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13205 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13206 (FLOAT): Remove definition.
13207 (SET_MANTISSA): Rename to ...
13208 (SET_NAN_PAYLOAD): ... this.
13209 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13210 of "../stdlib/strtod_nan_double.h".
13211 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13212 of "../stdlib/strtod_nan_float.h".
13213 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13214 instead of "../stdlib/strtod_nan_ldouble.h".
13215 * manual/arith.texi (Parsing of Floats): Adjust comment.
13217 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13219 * math/Makefile (libm-narrow-fns): Add mul.
13220 (libm-test-funcs-narrow): Likewise.
13221 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13222 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13223 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13224 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13225 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13226 (NARROW_MUL_TRIVIAL): Likewise.
13227 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13228 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13230 (__dmull): Likewise.
13231 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13233 (CFLAGS-nldbl-dmul.c): New variable.
13234 (CFLAGS-nldbl-fmul.c): Likewise.
13235 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13237 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13239 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13240 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13241 * math/auto-libm-test-in: Add tests of mul.
13242 * math/auto-libm-test-out-narrow-mul: New generated file.
13243 * math/libm-test-narrow-mul.inc: New file.
13244 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13247 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13248 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13249 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13250 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13255 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13256 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13257 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13258 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13259 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13260 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13261 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13263 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13287 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13289 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13291 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13292 with *%eax in call.
13294 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13296 * sysdeps/i386/ldsodefs.h: Removed.
13297 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13298 * sysdeps/x86/ldsodefs.h: This.
13299 (La_i86_regs): New.
13300 (La_i86_retval): Likewise.
13301 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13302 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13304 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13306 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13309 2018-05-13 Alan Modra <amodra@gmail.com>
13311 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13312 R_PARISC_TLS_DTPOFF32 reloc addend.
13314 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13316 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13317 * math/math.h: Restrict the prototype definition for the functions
13318 issignaling(_Float128) and iszero(_Float128); and template
13319 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13320 __HAVE_FLOAT128_UNLIKE_LDBL.
13321 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13322 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13323 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13324 __f128() constants; define the type _Float128 as long double;
13325 and reuse long double in __CFLOAT128.
13327 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13329 * sysdeps/generic/math_private.h: Do not include
13331 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13333 * math/fromfp.h: Include <math-barriers.h>.
13334 * math/math-narrow.h: Likewise.
13335 * math/s_nextafter.c: Likewise.
13336 * math/s_nexttowardf.c: Likewise.
13337 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13338 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13339 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13340 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13341 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13342 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13343 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13356 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13357 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13358 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13359 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13360 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13361 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13362 * sysdeps/ieee754/k_standardl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13379 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13380 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13383 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13384 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13386 2018-05-11 Florian Weimer <fweimer@redhat.com>
13388 Use 64-bit epoch values in the time zone file parser.
13389 * include/time.h (internal_time_t): Define.
13390 (__tzfile_compute): Use it.
13391 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13393 (transitions): Switch to internal_time_t.
13394 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13396 (__tzfile_compute): Use internal_time_t for timer argument. Check
13397 for truncation before calling __offtime.
13399 2018-05-11 Florian Weimer <fweimer@redhat.com>
13402 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13403 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13405 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13406 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13407 export without --enable-obsolete-rpc.
13408 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13409 symbol. This should not have been exported, ever.
13411 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13414 * localedata/locales/gd_GB (abmon): Fix typo in May:
13415 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13417 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13419 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13420 Use multiple registers to copy data in loop tail.
13422 * sysdeps/aarch64/multiarch/memmove_falkor.S
13423 (__memmove_falkor): Use multiple registers to move data in
13426 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13428 * math/math-underflow.h: New file.
13429 * sysdeps/generic/math_private.h: Do not include <float.h>.
13430 (fabs_tg): Remove macro. Moved to math-underflow.h.
13431 (min_of_type_f): Likewise.
13432 (min_of_type_): Likewise.
13433 (min_of_type_l): Likewise.
13434 (min_of_type_f128): Likewise.
13435 (min_of_type): Likewise.
13436 (math_check_force_underflow): Likewise.
13437 (math_check_force_underflow_nonneg): Likewise.
13438 (math_check_force_underflow_complex): Likewise.
13439 * math/e_exp2_template.c: Include <math-underflow.h>.
13440 * math/k_casinh_template.c: Likewise.
13441 * math/s_catan_template.c: Likewise.
13442 * math/s_catanh_template.c: Likewise.
13443 * math/s_ccosh_template.c: Likewise.
13444 * math/s_cexp_template.c: Likewise.
13445 * math/s_clog10_template.c: Likewise.
13446 * math/s_clog_template.c: Likewise.
13447 * math/s_csin_template.c: Likewise.
13448 * math/s_csinh_template.c: Likewise.
13449 * math/s_csqrt_template.c: Likewise.
13450 * math/s_ctan_template.c: Likewise.
13451 * math/s_ctanh_template.c: Likewise.
13452 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13455 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13456 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13457 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13466 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13468 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13469 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13470 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13471 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13472 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13473 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13474 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13475 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13476 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13477 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13478 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13479 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13480 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13481 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13482 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13520 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13522 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13529 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13530 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13532 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13537 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13539 * sysdeps/generic/math-barriers.h: New file.
13540 * sysdeps/generic/math_private.h [!math_opt_barrier]
13541 (math_opt_barrier): Move to math-barriers.h.
13542 [!math_opt_barrier] (math_force_eval): Likewise.
13543 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13544 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13546 (math_force_eval): Likewise.
13547 * sysdeps/alpha/fpu/math-barriers.h: New file.
13548 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13550 (math_force_eval): Likewise.
13551 * sysdeps/x86/fpu/math-barriers.h: New file.
13552 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13554 (math_force_eval): Likewise.
13555 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13556 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13557 multiple-include guard for rename.
13558 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13559 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13561 (math_force_eval): Likewise.
13563 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13567 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13569 * stdlib/Makefile (test-bz22786): New test.
13570 * stdlib/test-bz22786.c: New test.
13572 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13574 * include/math-narrow-eval.h: New file. Contents moved from ....
13575 * sysdeps/generic/math_private.h: ... here.
13576 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13577 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13578 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13579 * stdlib/strtod_l.c: Likewise.
13580 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13581 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13582 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13595 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13596 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13597 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13598 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13599 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13601 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13602 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13604 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13605 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13606 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13607 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13610 2018-05-08 Andreas Schwab <schwab@suse.de>
13612 * sysdeps/nptl/internaltypes.h: Fix comment.
13614 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13616 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13617 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13620 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13622 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13623 of I into loop header.
13624 * benchtests/bench-memmove-walk.c
13625 (test_main): Likewise.
13627 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13630 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13631 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13633 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13636 * elf/dl-load.c (open_verify): Fix stack overflow.
13637 * elf/Makefile (tst-big-note): New test.
13638 * elf/tst-big-note-lib.S: New.
13639 * elf/tst-big-note.c: New.
13641 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13643 * scripts/abilist.awk: Ignore absolute symbols.
13644 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13645 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13646 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13647 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13648 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13649 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13650 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13651 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13652 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13653 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13654 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13655 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13656 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13657 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13658 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13659 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13660 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13661 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13662 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13663 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13664 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13665 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13666 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13667 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13668 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13669 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13670 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13671 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13672 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13673 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13674 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13675 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13676 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13677 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13678 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13679 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13680 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13681 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13682 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13683 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13684 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13689 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13690 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13708 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13710 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13724 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13737 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13751 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13765 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13770 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13771 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13772 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13773 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13774 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13775 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13776 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13777 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13779 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13780 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13783 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13784 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13785 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13786 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13787 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13788 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13789 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13800 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13803 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13804 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13805 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13806 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13807 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13808 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13809 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13810 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13811 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13812 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13814 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13815 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13816 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13817 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13818 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13819 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13820 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13821 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13822 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13823 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13825 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13826 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13827 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13890 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13905 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13918 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13944 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13958 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13997 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14000 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14001 Use atomic_load_acquire to load __tid.
14003 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14005 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14006 Restore the pointer into %rdx, after syscall and use %rdx,
14007 instead of %rsi, to restore context.
14009 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14011 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14012 Pop the pointer into %rdx after syscall and use %rdx, instead
14013 of %rsi, to restore context.
14015 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14017 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14018 handlers after setjmp.
14019 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14021 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14022 <libc-pointer-arith.h>.
14023 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14024 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14025 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14026 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14027 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14028 * sysdeps/x86/__longjmp_cancel.S: New file.
14029 * sysdeps/x86/longjmp.c: Likewise.
14030 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14032 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14034 * NEWS: Add ustat.h deprecation entry.
14035 * bits/ustat.h: Remove file.
14036 * misc/sys/ustat.h: Likewise.
14037 * misc/ustat.h: Likewise.
14038 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14039 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14040 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14041 compatibility mode.
14042 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14043 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14044 generic Linux implementation.
14046 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14048 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14049 * math/w_expl_compat.c: Likewise.
14050 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14052 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14054 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14056 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14058 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14059 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14060 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14062 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14064 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14065 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14066 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14069 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14071 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14073 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14074 * math/w_asin_template.c: Likewise.
14075 * math/w_atanh_template.c: Likewise.
14077 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14079 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14080 to powerpc/powerpc64/be for big-endian.
14081 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14084 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14085 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14086 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14087 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14088 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14089 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14090 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14091 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14092 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14093 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14094 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14095 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14096 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14097 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14098 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14099 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14100 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14101 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14102 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14103 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14104 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14105 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14106 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14107 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14108 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14109 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14110 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14111 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14112 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14113 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14114 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14115 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14117 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14118 adjusted to imply powerpc64 and older processors on powerpc64/be.
14119 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14120 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14121 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14122 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14123 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14124 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14125 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14126 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14127 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14128 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14129 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14130 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14131 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14132 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14133 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14134 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14135 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14136 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14137 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14138 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14139 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14140 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14141 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14142 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14143 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14144 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14145 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14146 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14147 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14148 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14149 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14151 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14152 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14153 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14154 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14156 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14157 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14158 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14159 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14161 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14162 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14163 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14164 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14165 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14166 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14167 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14168 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14169 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14170 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14171 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14173 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14174 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14175 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14176 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14177 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14178 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14179 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14180 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14181 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14182 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14183 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14185 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14186 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14187 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14188 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14189 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14190 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14191 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14192 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14193 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14194 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14195 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14196 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14198 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14199 and adjusted to imply olders processors.
14200 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14201 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14202 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14203 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14204 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14205 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14206 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14207 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14208 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14209 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14210 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14214 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14229 powerpc64 and adjusted.
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14235 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14237 * sysdeps/tile: Remove.
14238 * sysdeps/unix/sysv/linux/tile: Likewise.
14239 * README (tilegx-*-linux-gnu): Remove from list of supported
14241 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14242 contribution of support for generic Linux kernel syscall
14244 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14245 tilegx configurations.
14246 (Config.install_linux_headers): Do not handle tile.
14247 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14249 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14250 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14251 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14252 conditional undefine and redefine.
14253 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14255 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14256 conditional undefine and redefine.
14258 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14260 * signal/tst-sigaction.c: New file to test BZ #23069.
14261 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14263 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14266 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14267 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14268 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14269 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14271 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14273 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14274 _DIRENT_MATCHES_DIRENT64 is not defined.
14275 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14276 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14278 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14279 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14281 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14283 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14284 version to GCC 8 branch.
14286 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14288 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14289 (check_no_hidden): Use type of original function when declaring
14292 * sysdeps/unix/sysv/linux/sys/ptrace.h
14293 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14294 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14295 (struct __ptrace_seccomp_metadata): New type.
14296 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14297 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14298 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14299 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14300 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14301 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14302 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14303 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14304 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14305 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14307 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14308 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14309 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14310 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14311 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14313 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14315 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14317 * dirent/versionsort.c (versionsort): Likewise.
14318 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14319 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14320 * dirent/versionsort64.c (versionsort64): Likewise.
14321 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14322 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14323 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14324 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14325 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14326 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14327 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14328 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14329 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14330 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14333 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14334 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14336 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14338 * elf/elf.h (NT_PPC_PKEY): New macro.
14340 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14343 * localedata/locales/hr_HR: fix thousands_sep and
14346 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14348 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14349 (XTABS): Define to TAB3.
14351 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14353 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14355 * dirent/scandir-tail-common.c: New file.
14356 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14357 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14358 * dirent/scandir.c: Use scandir-tail-common.c.
14359 * dirent/scandirat.c: Likewise.
14360 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14361 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14362 if _DIRENT_MATCHES_DIRENT64 is defined.
14363 * dirent/scandirat64.c (scandirat64): Likewise.
14364 * include/dirent.h (__scandir_tail): Only define iff
14365 _DIRENT_MATCHES_DIRENT64 is not defined.
14366 (__scandir64_tail): Define regardless.
14367 (__scandirat, scandirat64): Remove libc_hidden_proto.
14368 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14369 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14371 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14372 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14373 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14374 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14376 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14378 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14380 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14382 (_dl_aarch64_cap_flags): Add asimdfhm.
14384 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14386 * sysdeps/nios2/libm-test-ulps: Update.
14388 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14390 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14391 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14393 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14395 (_DIRENT_MATCHES_DIRENT64): Undef
14396 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14397 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14398 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14399 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14400 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14401 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14402 use getdents64 syscalls as base.
14403 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14404 symbol if required.
14405 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14406 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14407 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14408 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14409 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14410 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14411 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14412 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14414 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14415 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14417 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14419 * scripts/test_printers_common.py (init_test): Disable lock elision.
14421 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14423 * math/test-tgmath.c (count_double, count_float,
14424 count_ldouble, count_cdouble, count_cfloat,
14425 count_cldouble): Use volatile int.
14427 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14429 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14430 (conformtest-xfail-conds): Add i386-gnu.
14431 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14433 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14434 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14435 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14436 msqid_ds.msg_lrpid): Likewise.
14437 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14439 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14440 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14441 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14442 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14444 (struct statvfs64): Likewise.
14445 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14447 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14448 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14449 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14450 instead of wait_queue.
14451 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14452 instead of vm_area_struct.
14453 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14454 struct sched_param definition to it.
14455 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14456 * bits/types/struct_sched_param.h: New file.
14457 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14458 <bits/types/struct_sched_param.h> instead of <sched.h>.
14459 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14460 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14461 generic version but include <bits/pthreadtypes.h> to make struct
14462 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14463 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14465 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14466 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14467 [__USE_XOPEN] (OFDEL): New macro.
14468 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14469 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14470 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14472 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14473 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14474 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14476 * sysdeps/i386/sys/ucontext.h: Likewise.
14477 * sysdeps/m68k/sys/ucontext.h: Likewise.
14478 * sysdeps/mips/sys/ucontext.h: Likewise.
14479 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14480 * sysdeps/mach/hurd/i386/Makefile
14481 (test-xfail-POSIX/fcntl.h/conform): Add.
14482 (test-xfail-POSIX/signal.h/conform): Add.
14483 (test-xfail-POSIX/semaphore.h/conform): Add.
14484 (test-xfail-POSIX/regex.h/conform): Add.
14485 (test-xfail-POSIX/aio.h/conform): Add.
14486 (test-xfail-POSIX/mqueue.h/conform): Add.
14487 (test-xfail-POSIX/sys/types.h/conform): Add.
14488 (test-xfail-UNIX98/fcntl.h/conform): Add.
14489 (test-xfail-UNIX98/netdb.h/conform): Add.
14490 (test-xfail-UNIX98/signal.h/conform): Add.
14491 (test-xfail-UNIX98/semaphore.h/conform): Add.
14492 (test-xfail-UNIX98/regex.h/conform): Add.
14493 (test-xfail-UNIX98/aio.h/conform): Add.
14494 (test-xfail-UNIX98/ftw.h/conform): Add.
14495 (test-xfail-UNIX98/mqueue.h/conform): Add.
14496 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14497 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14498 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14499 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14500 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14501 (test-xfail-UNIX98/sys/types.h/conform): Add.
14502 (test-xfail-UNIX98/stdlib.h/conform): Add.
14503 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14504 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14505 (test-xfail-POSIX2008/netdb.h/conform): Add.
14506 (test-xfail-POSIX2008/signal.h/conform): Add.
14507 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14508 (test-xfail-POSIX2008/regex.h/conform): Add.
14509 (test-xfail-POSIX2008/aio.h/conform): Add.
14510 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14511 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14512 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14513 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14514 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14515 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14516 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14517 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14518 (test-xfail-XOPEN2K/signal.h/conform): Add.
14519 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14520 (test-xfail-XOPEN2K/regex.h/conform): Add.
14521 (test-xfail-XOPEN2K/aio.h/conform): Add.
14522 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14523 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14524 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14525 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14526 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14527 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14528 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14529 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14530 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14531 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14532 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14533 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14534 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14535 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14536 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14537 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14538 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14539 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14540 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14541 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14542 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14543 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14544 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14545 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14546 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14547 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14548 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14550 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14551 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14553 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14555 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14556 --enable-obsolete for powerpc-linux-gnuspe.
14558 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14560 * conform/data/sys/un.h-data: Allow sun_ prefix.
14561 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14563 * sysdeps/mach/include/mach.h: Likewise.
14564 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14565 * sysdeps/mach/include/mach_error.h: Likewise.
14567 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14569 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14570 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14571 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14572 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14574 2018-04-16 Andreas Schwab <schwab@suse.de>
14577 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14579 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14581 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14582 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14584 2018-04-12 DJ Delorie <dj@redhat.com>
14586 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14589 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14591 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14592 (struct kernel_sigaction): Use the same definition on 31bit as is used
14595 2018-04-09 Florian Weimer <fweimer@redhat.com>
14598 * resolv/res_send.c (send_dg): Use designated initializers instead
14599 of assignment to zero-initialize other fields of struct mmsghdr.
14601 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14603 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14604 __READDIR_ALIAS): Undefine after usage.
14605 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14606 __READDIR_R_ALIAS): Likewise.
14607 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14608 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14609 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14610 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14611 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14612 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14613 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14614 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14615 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14616 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14617 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14618 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14619 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14620 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14621 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14622 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14623 * sysdeps/unix/sysv/linux/readdir.c: New file.
14624 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14625 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14626 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14628 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14630 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14632 * manual/charset.texi (Converting a Character): Fix typo.
14634 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14638 * sysdeps/arm/libm-test-ulps: Update.
14640 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14641 as base implementation.
14642 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14643 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14644 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14645 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14646 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14647 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14648 remove unrequired definitions and update comments.
14649 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14650 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14651 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14652 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14653 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14654 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14655 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14656 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14657 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14658 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14659 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14660 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14661 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14662 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14663 and RESET_SA_RESTORER hooks.
14665 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14667 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14669 2018-04-05 Florian Weimer <fweimer@redhat.com>
14671 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14672 integer overflow, memory leak on error, and indeterminate errno
14673 value. Add a null wide character to terminate the result string.
14674 * manual/charset.texi (Converting a Character): Mention embedded
14675 null bytes in the mbrtowc input string. Explain what happens in
14676 the -2 result case. Do not claim that mbrtowc is simple or
14677 obvious to use. Adjust the description of the code example. Use
14678 @code, not @var, for concrete variables.
14680 2018-04-05 Florian Weimer <fweimer@redhat.com>
14682 * manual/examples/mbstouwcs.c: New file.
14683 * manual/charset.texi (Converting a Character): Include it.
14685 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14687 * include/dirent.h (dirfd): Add hidden proto.
14688 * dirent/dirfd.c (dirfd): Add hidden def.
14689 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14690 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14692 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14694 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14695 sin, cos and sincos to 1 ULP.
14697 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14700 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14702 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14703 * elf/tst-absolute-sym.c: New file.
14704 * elf/tst-absolute-sym-lib.c: New file.
14705 * elf/tst-absolute-sym-lib.lds: New file.
14706 * elf/Makefile (tests): Add `tst-absolute-sym'.
14707 (modules-names): Add `tst-absolute-sym-lib'.
14708 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14709 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14710 ($(objpfx)tst-absolute-sym): New dependency.
14713 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14715 (SYMBOL_ADDRESS): New macro.
14716 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14717 SYMBOL_ADDRESS for symbol address calculation.
14718 * elf/dl-runtime.c (_dl_fixup): Likewise.
14719 (_dl_profile_fixup): Likewise.
14720 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14721 * elf/rtld.c (dl_main): Likewise.
14722 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14723 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14724 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14725 (elf_machine_rela): Likewise.
14726 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14727 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14728 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14729 (elf_machine_rela): Likewise.
14730 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14731 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14732 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14733 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14735 (elf_machine_reloc): Likewise.
14736 (elf_machine_got_rel): Likewise.
14737 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14738 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14739 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14741 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14743 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14744 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14746 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14748 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14753 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14754 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14756 2018-04-04 Zack Weinberg <zackw@panix.com>
14758 * sysdeps/generic/internal-signals.h: Include signal.h,
14759 sigsetops.h, and stdbool.h.
14760 (__libc_signal_block_all): Actually block all signals.
14761 (__libc_signal_block_app): Likewise.
14762 (__libc_signal_restore_set): Actually restore the signal mask.
14764 2018-04-04 Florian Weimer <fweimer@redhat.com>
14766 inet: Actually build and run tst-deadline.
14767 * inet/Makefile (tests-internal): Add tst-deadline and do not
14768 overwrite the variable.
14769 (tests-static-internal): Remove variable.
14771 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14774 * bits/uio-ext.h (RWF_APPEND): New.
14775 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14776 * manual/llio.texi: Document RWF_APPEND.
14777 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14778 (RWF_SUPPORTED): Add RWF_APPEND.
14780 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14783 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14784 check for internal nptl signals.
14785 * nptl/sigaction.c (__sigaction): Likewise.
14786 * signal/sigaddset.c (sigaddset): Likewise.
14787 * signal/sigdelset.c (sigdelset): Likewise.
14788 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14789 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14791 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14792 to filter out internal nptl signals.
14793 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14794 also check realtime signals using standard macros.
14795 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14796 __is_internal_signal, __libc_signal_block_all,
14797 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14798 * sysdeps/nptl/sigfillset.c: Remove file.
14799 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14800 Change return to bool.
14801 (__clear_internal_signals): Remove SIGTIMER clean since it is
14802 equal to SIGCANEL on Linux.
14803 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14804 signal set was constructed using standard functions.
14806 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14808 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14809 ifname is too long.
14810 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14811 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14812 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14814 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14815 * signal/sigaddset.c: Include <sigsetopts.h>.
14816 * signal/sigdelset.c: Likewise.
14818 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14820 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14822 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14823 logic as sin and cos.
14825 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14827 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14828 inputs. Return correct sign.
14829 (do_sincos): Remove small input check before do_sin, let do_sin set
14834 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14836 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14837 (do_cos_slow): Likewise.
14838 (do_sin_slow): Likewise.
14839 (reduce_and_compute): Likewise.
14844 (sloww1): Likewise.
14845 (sloww2): Likewise.
14847 (bslow1): Likewise.
14848 (bslow2): Likewise.
14849 (cslow2): Likewise.
14851 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14853 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14854 (do_cos): Remove corp parameter and calculations.
14855 (do_sin): Likewise.
14856 (do_sincos): Remove cor variable.
14857 (__sin): Use do_sincos for huge inputs.
14859 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14860 (reduce_and_compute_sincos): Remove unused function.
14862 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14864 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14865 reduce_sincos, improve accuracy to 136 bits.
14866 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14867 (__sin): Use improved reduction and simplified do_sincos calculation.
14869 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14871 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14873 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14874 (do_sincos_2): Likewise.
14875 (__sin): Remove middle range reduction case.
14877 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14880 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14882 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14886 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14888 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14890 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14893 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14895 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14896 Remove definitions.
14897 (opendir_oflags): Use O_DIRECTORY regardless.
14898 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14899 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14901 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14903 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14904 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14906 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14907 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14908 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14909 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14910 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14911 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14913 * htl/Makefile: Bump licence to LGPL 2.1+.
14914 * htl/alloca_cutoff.c: Likewise.
14915 * htl/cthreads-compat.c: Likewise.
14916 * htl/lockfile.c: Likewise.
14917 * htl/pt-alloc.c: Likewise.
14918 * htl/pt-cancel.c: Likewise.
14919 * htl/pt-cleanup.c: Likewise.
14920 * htl/pt-create.c: Likewise.
14921 * htl/pt-dealloc.c: Likewise.
14922 * htl/pt-detach.c: Likewise.
14923 * htl/pt-exit.c: Likewise.
14924 * htl/pt-getattr.c: Likewise.
14925 * htl/pt-initialize.c: Likewise.
14926 * htl/pt-internal.h: Likewise.
14927 * htl/pt-join.c: Likewise.
14928 * htl/pt-self.c: Likewise.
14929 * htl/pt-setcancelstate.c: Likewise.
14930 * htl/pt-setcanceltype.c: Likewise.
14931 * htl/pt-sigmask.c: Likewise.
14932 * htl/pt-spin-inlines.c: Likewise.
14933 * htl/pt-testcancel.c: Likewise.
14934 * htl/pt-yield.c: Likewise.
14935 * htl/tests/test-1.c: Likewise.
14936 * htl/tests/test-10.c: Likewise.
14937 * htl/tests/test-11.c: Likewise.
14938 * htl/tests/test-12.c: Likewise.
14939 * htl/tests/test-13.c: Likewise.
14940 * htl/tests/test-14.c: Likewise.
14941 * htl/tests/test-15.c: Likewise.
14942 * htl/tests/test-16.c: Likewise.
14943 * htl/tests/test-17.c: Likewise.
14944 * htl/tests/test-2.c: Likewise.
14945 * htl/tests/test-3.c: Likewise.
14946 * htl/tests/test-4.c: Likewise.
14947 * htl/tests/test-5.c: Likewise.
14948 * htl/tests/test-6.c: Likewise.
14949 * htl/tests/test-7.c: Likewise.
14950 * htl/tests/test-8.c: Likewise.
14951 * htl/tests/test-9.c: Likewise.
14952 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14953 * sysdeps/htl/bits/cancelation.h: Likewise.
14954 * sysdeps/htl/bits/pthread-np.h: Likewise.
14955 * sysdeps/htl/bits/pthread.h: Likewise.
14956 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14957 * sysdeps/htl/bits/semaphore.h: Likewise.
14958 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14959 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14960 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14961 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14962 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14963 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14964 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14965 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14966 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14967 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14968 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14969 * sysdeps/htl/old_pt-atfork.c: Likewise.
14970 * sysdeps/htl/pt-atfork.c: Likewise.
14971 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14972 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14973 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14974 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14975 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14976 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14977 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14978 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14979 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14980 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14981 * sysdeps/htl/pt-attr-init.c: Likewise.
14982 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14983 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14984 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14985 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14986 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14987 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14988 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14989 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14990 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14991 * sysdeps/htl/pt-attr.c: Likewise.
14992 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14993 * sysdeps/htl/pt-barrier-init.c: Likewise.
14994 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14995 * sysdeps/htl/pt-barrier.c: Likewise.
14996 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14997 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14998 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14999 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15000 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15001 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15002 * sysdeps/htl/pt-cond-init.c: Likewise.
15003 * sysdeps/htl/pt-cond-signal.c: Likewise.
15004 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15005 * sysdeps/htl/pt-cond-wait.c: Likewise.
15006 * sysdeps/htl/pt-cond.c: Likewise.
15007 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15008 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15009 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15010 * sysdeps/htl/pt-condattr-init.c: Likewise.
15011 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15012 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15013 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15014 * sysdeps/htl/pt-equal.c: Likewise.
15015 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15016 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15017 * sysdeps/htl/pt-getschedparam.c: Likewise.
15018 * sysdeps/htl/pt-getspecific.c: Likewise.
15019 * sysdeps/htl/pt-init-specific.c: Likewise.
15020 * sysdeps/htl/pt-key-create.c: Likewise.
15021 * sysdeps/htl/pt-key-delete.c: Likewise.
15022 * sysdeps/htl/pt-key.h: Likewise.
15023 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15024 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15025 * sysdeps/htl/pt-mutex-init.c: Likewise.
15026 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15027 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15028 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15029 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15030 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15031 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15032 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15033 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15034 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15035 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15036 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15037 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15038 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15039 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15040 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15041 * sysdeps/htl/pt-mutexattr.c: Likewise.
15042 * sysdeps/htl/pt-once.c: Likewise.
15043 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15044 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15045 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15046 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15047 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15048 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15049 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15050 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15051 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15052 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15053 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15054 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15055 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15056 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15057 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15058 * sysdeps/htl/pt-setschedparam.c: Likewise.
15059 * sysdeps/htl/pt-setschedprio.c: Likewise.
15060 * sysdeps/htl/pt-setspecific.c: Likewise.
15061 * sysdeps/htl/pt-spin.c: Likewise.
15062 * sysdeps/htl/pt-startup.c: Likewise.
15063 * sysdeps/htl/pthread.h: Likewise.
15064 * sysdeps/htl/sem-close.c: Likewise.
15065 * sysdeps/htl/sem-destroy.c: Likewise.
15066 * sysdeps/htl/sem-getvalue.c: Likewise.
15067 * sysdeps/htl/sem-init.c: Likewise.
15068 * sysdeps/htl/sem-open.c: Likewise.
15069 * sysdeps/htl/sem-post.c: Likewise.
15070 * sysdeps/htl/sem-timedwait.c: Likewise.
15071 * sysdeps/htl/sem-trywait.c: Likewise.
15072 * sysdeps/htl/sem-unlink.c: Likewise.
15073 * sysdeps/htl/sem-wait.c: Likewise.
15074 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15075 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15076 * sysdeps/mach/htl/pt-block.c: Likewise.
15077 * sysdeps/mach/htl/pt-spin.c: Likewise.
15078 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15079 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15080 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15081 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15082 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15083 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15084 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15085 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15086 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15087 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15088 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15089 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15090 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15091 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15092 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15093 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15094 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15095 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15096 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15097 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15098 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15099 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15100 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15101 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15102 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15103 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15104 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15105 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15106 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15107 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15108 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15109 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15110 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15111 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15112 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15113 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15114 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15115 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15116 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15117 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15118 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15119 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15120 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15122 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15123 * README: Remove the mention of out-of-tree patches needed for
15126 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15127 (UTIME_NOW, UTIME_OMIT): Define macros.
15129 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15130 instead of pthread_detach.
15131 (__cthread_fork): Call __pthread_create instead of pthread_create.
15132 (__cthread_keycreate): Call __pthread_key_create instead of
15133 pthread_key_create.
15134 (__cthread_getspecific): Call __pthread_getspecific instead of
15135 pthread_getspecific.
15136 (__cthread_setspecific): Call __pthread_setspecific instead of
15137 pthread_setspecific.
15138 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15139 __pthread_mutex_unlock instead of pthread_mutex_lock and
15140 pthread_mutex_unlock.
15141 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15142 ___pthread_get_cleanup_stack.
15143 (__pthread_get_cleanup_stack): New strong alias.
15144 * htl/pt-create.c: Include <pthreadP.h>.
15145 (entry_point): Call __pthread_exit instead of pthread_exit.
15146 (pthread_create): Rename to __pthread_create.
15147 (pthread_create): New strong alias.
15148 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15149 (pthread_detach): New strong alias.
15150 (__pthread_detach): Call __pthread_cond_broadcast instead of
15151 pthread_cond_broadcast.
15152 * htl/pt-exit.c: Include <pthreadP.h>.
15153 (__pthread_exit): Call __pthread_setcancelstate and
15154 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15155 __pthread_get_cleanup_stack.
15156 * htl/pt-testcancel.c: Include <pthreadP.h>.
15157 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15158 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15159 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15160 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15161 pthread_attr_getstacksize.
15162 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15163 Rename to __pthread_attr_getstackaddr.
15164 (pthread_attr_getstackaddr): New strong alias.
15165 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15166 Rename to __pthread_attr_getstacksize.
15167 (pthread_attr_getstacksize): New strong alias.
15168 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15169 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15170 (pthread_attr_setstack): New strong alias.
15171 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15172 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15173 pthread_attr_getstacksize, pthread_attr_setstacksize and
15174 pthread_attr_setstackaddr.
15175 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15176 Rename to __pthread_attr_setstackaddr.
15177 (pthread_attr_setstackaddr): New strong alias.
15178 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15179 Rename to __pthread_attr_setstacksize.
15180 (pthread_attr_setstacksize): New strong alias.
15181 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15182 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15184 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15185 (__pthread_key_create): New hidden def.
15186 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15187 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15188 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15189 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15190 __pthread_setspecific, __pthread_setcancelstate,
15191 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15192 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15193 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15195 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15196 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15197 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15198 (pthread_attr_setstackaddr): New strong alias.
15199 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15200 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15201 (pthread_attr_setstacksize): New strong alias.
15202 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15203 (call_exit): Call __pthread_exit instead of pthread_exit.
15204 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15205 (_pthread_mutex_init): New hidden definition.
15206 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15207 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15208 instead of pthread_attr_init and pthread_attr_setstack.
15210 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15211 __vm_deallocate instead of vm_allocate and vm_deallocate.
15212 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15214 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15216 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15218 * hurd/siginfo.c: Include <libioP.h>.
15219 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15220 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15222 * mach/devstream.c: Include <libioP.h>.
15223 (dealloc_ref): Call __mach_port_deallocate instead of
15224 mach_port_deallocate.
15225 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15226 Call __mach_port_deallocate instead of mach_port_deallocate.
15227 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15229 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15231 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15232 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15233 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15235 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15237 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15238 instead of sysconf.
15239 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15240 __clock_gettime instead of clock_gettime.
15241 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15242 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15243 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15244 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15245 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15247 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15248 __clock_gettime and __nanosleep instead of clock_gettime and
15250 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15251 __hurd_catch_signal.
15252 (hurd_catch_signal): New strong alias.
15253 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15254 __hurd_catch_signal instead of hurd_catch_signal.
15255 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15256 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15257 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15258 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15259 (_hurd_thread_sigstate): Add hidden def.
15260 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15262 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15263 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15264 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15265 __hurd_file_name_path_lookup.
15266 (hurd_file_name_path_lookup): New strong alias.
15267 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15268 hurd_file_name_path_lookup.
15269 * mach/errstring.c (mach_error_type): Add hidden def.
15270 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15271 * mach/mutex-init.c (__mutex_init): Add hidden def.
15272 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15273 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15274 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15275 * sysdeps/mach/hurd/getcwd.c
15276 (_hurd_canonicalize_directory_name_internal): Rename to
15277 __hurd_canonicalize_directory_name_internal.
15278 (_hurd_canonicalize_directory_name_internal): New strong alias.
15279 (__canonicalize_directory_name_internal, __getcwd): Call
15280 __hurd_canonicalize_directory_name_internal instead of
15281 _hurd_canonicalize_directory_name_internal.
15282 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15283 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15285 * sysdeps/hurd/include/hurd.h: New file.
15286 * sysdeps/hurd/include/hurd/fd.h: New file.
15287 * sysdeps/hurd/include/hurd/signal.h: New file.
15288 * sysdeps/mach/include/lock-intern.h: New file.
15289 * sysdeps/mach/include/mach.h: New file.
15290 * sysdeps/mach/include/mach/mig_support.h: New file.
15291 * sysdeps/mach/include/mach_error.h: New file.
15292 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15294 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15295 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15296 _HEADER_H_HIDDEN_DEF macro.
15297 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15298 _hurd_fd_error_signal): Add hidden prototype.
15299 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15301 * libio/iolibio.h (_IO_puts): New hidden prototype.
15302 * libio/ioputs.c (_IO_puts): New hidden def.
15303 * sysdeps/mach/hurd/localplt.data: New file.
15305 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15306 Amos Jeffries <squid3@treenet.co.nz>
15307 David Michael <fedora.dm0@gmail.com>
15308 Marco Gerards <marco@gnu.org>
15309 Marcus Brinkmann <marcus@gnu.org>
15310 Neal H. Walfield <neal@gnu.org>
15311 Pino Toscano <toscano.pino@tiscali.it>
15312 Richard Braun <rbraun@sceen.net>
15313 Roland McGrath <roland@gnu.org>
15314 Samuel Thibault <samuel.thibault@ens-lyon.org>
15315 Thomas DiModica <ricinwich@yahoo.com>
15316 Thomas Schwinge <tschwinge@gnu.org>
15318 * htl: New directory.
15319 * sysdeps/htl: New directory.
15320 * sysdeps/hurd/htl: New directory.
15321 * sysdeps/i386/htl: New directory.
15322 * sysdeps/mach/htl: New directory.
15323 * sysdeps/mach/hurd/htl: New directory.
15324 * sysdeps/mach/hurd/i386/htl: New directory.
15325 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15326 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15327 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15329 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15331 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15332 signals in thread created for runing timers.
15334 2018-04-01 Florian Weimer <fweimer@redhat.com>
15336 * support/support_format_addrinfo.c (support_format_addrinfo):
15337 Include unknown error number in formatted result.
15339 2018-03-29 Florian Weimer <fweimer@redhat.com>
15341 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15344 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15346 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15347 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15348 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15349 (__ASSUME_CLONE_BACKWARDS): Define.
15351 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15355 early when linux sentinel value is set.
15357 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15359 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15361 2018-03-27 Andreas Schwab <schwab@suse.de>
15364 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15365 allocation of private copy of nsaddr_list fails.
15367 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15370 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15371 * sysdeps/unix/sysv/linux/umount.c: ... here.
15372 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15373 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15374 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15375 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15377 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15378 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15380 2018-03-26 Andreas Schwab <schwab@suse.de>
15382 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15383 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15384 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15385 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15386 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15387 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15388 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15389 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15390 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15391 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15392 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15393 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15394 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15395 (R_RISCV_NUM): Define.
15397 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15399 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15400 TLS declaration of errno.
15401 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15403 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15404 (ARCH_SETUP_TLS): Likewise.
15405 * sysdeps/mach/hurd/libc-start.h: New file copied from
15406 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15407 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15408 instead of __libc_setup_tls.
15409 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15410 __libc_setup_tls before initializing libpthread and running _hurd_init
15411 which starts the signal thread.
15412 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15414 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15416 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15419 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15420 after it is defined.
15422 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15423 Max Horn <max@quendi.de>
15427 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15429 * string/test-memmove.c (do_test2): New testcase.
15431 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15433 * sysdeps/generic/frame.h: Remove file.
15434 * sysdeps/arm/frame.h: Likewise.
15435 * sysdeps/hppa/frame.h: Likewise.
15436 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15438 (GET_FRAME): Likewise.
15439 (GET_STACK): Likewise.
15440 (CALL_SIGHANDLER): Likewise.
15441 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15443 (GET_FRAME): Likewise.
15444 (GET_STACK): Likewise.
15445 (CALL_SIGHANDLER): Likewise.
15446 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15447 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15448 (GET_FRAME): Likewise.
15449 (GET_STACK): Likewise.
15450 (CALL_SIGHANDLER): Likewise.
15451 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15452 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15453 (GET_FRAME): Likewise.
15454 (GET_STACK): Likewise.
15455 (ADVANCE_STACK_FRAME): Likewise.
15456 (CALL_SIGHANDLER): Likewise.
15457 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15458 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15459 (GET_FRAME): Likewise.
15460 (GET_STACK): Likewise.
15461 (CALL_SIGHANDLER): Likewise.
15462 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15463 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15464 (GET_FRAME): Likewise.
15465 (GET_STACK): Likewise.
15466 (CALL_SIGHANDLER): Likewise.
15467 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15468 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15469 (GET_FRAME): Likewise.
15470 (GET_STACK): Likewise.
15471 (CALL_SIGHANDLER): Likewise.
15472 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15473 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15474 (GET_FRAME): Likewise.
15475 (GET_STACK): Likewise.
15476 (CALL_SIGHANDLER): Likewise.
15477 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15478 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15479 (GET_FRAME): Likewise.
15480 (GET_STACK): Likewise.
15481 (CALL_SIGHANDLER): Likewise.
15482 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15483 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15484 (GET_FRAME): Likewise.
15485 (GET_STACK): Likewise.
15486 (CALL_SIGHANDLER): Likewise.
15487 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15488 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15489 (GET_FRAME): Likewise.
15490 (GET_STACK): Likewise.
15491 (CALL_SIGHANDLER): Likewise.
15492 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15493 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15494 (GET_FRAME): Likewise.
15495 (GET_STACK): Likewise.
15496 (CALL_SIGHANDLER): Likewise.
15497 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15498 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15499 (GET_FRAME): Likewise.
15500 (GET_STACK): Likewise.
15501 (CALL_SIGHANDLER): Likewise.
15502 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15503 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15504 (FIRST_FRAME_POINTER): Likewise.
15505 (ADVANCE_STACK_FRAME): Likewise.
15506 (GET_STACK): Likewise.
15507 (GET_FRAME): Likewise.
15508 (CALL_SIGHANDLER): Likewise.
15509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15510 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15511 (ADVANCE_STACK_FRAME): Likewise.
15512 (GET_STACK): Likewise.
15513 (GET_FRAME): Likewise.
15514 (CALL_SIGHANDLER): Likewise.
15515 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15516 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15517 (GET_FRAME): Likewise.
15518 (GET_STACK): Likewise.
15519 (CALL_SIGHANDLER): Likewise.
15520 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15521 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15522 (GET_FRAME): Likewise.
15523 (GET_STACK): Likewise.
15524 (CALL_SIGHANDLER): Likewise.
15526 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15528 * sysdeps/x86_64/backtrace.c: Move to ....
15529 * debug/backtrace.c: ... here.
15530 * sysdeps/aarch64/backtrace.c: Remove file.
15531 * sysdeps/alpha/backtrace.c: Likewise.
15532 * sysdeps/hppa/backtrace.c: Likewise.
15533 * sysdeps/ia64/backtrace.c: Likewise.
15534 * sysdeps/mips/backtrace.c: Likewise.
15535 * sysdeps/nios2/backtrace.c: Likewise.
15536 * sysdeps/riscv/backtrace.c: Likewise.
15537 * sysdeps/sh/backtrace.c: Likewise.
15538 * sysdeps/tile/backtrace.c: Likewise.
15540 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15543 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15546 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15549 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15550 possibly overflowing computations.
15552 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15554 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15555 values from Linux-specific section now that it is in the GNU section.
15556 * sysdeps/gnu/errlist.c: Regenerate.
15558 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15560 * math/Makefile (libm-narrow-fns): Add sub.
15561 (libm-test-funcs-narrow): Likewise.
15562 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15563 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15564 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15565 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15566 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15567 (NARROW_SUB_TRIVIAL): Likewise.
15568 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15570 (__dsubl): Likewise.
15571 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15573 (CFLAGS-nldbl-dsub.c): New variable.
15574 (CFLAGS-nldbl-fsub.c): Likewise.
15575 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15577 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15579 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15580 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15581 * math/auto-libm-test-in: Add tests of sub.
15582 * math/auto-libm-test-out-narrow-sub: New generated file.
15583 * math/libm-test-narrow-sub.inc: New file.
15584 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15585 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15586 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15587 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15588 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15589 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15598 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15599 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15600 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15601 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15603 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15604 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15605 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15606 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15607 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15608 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15609 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15610 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15614 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15615 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15620 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15622 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15623 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15624 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15628 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15631 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15634 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15636 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15638 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15640 2018-03-18 Richard Braun <rbraun@sceen.net>
15642 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15645 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15647 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15648 (__libc_cleanup_fct): Define function.
15649 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15650 __libc_cleanup_end): Rewrite implementation using
15651 __attribute__ ((__cleanup__)).
15652 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15653 * hurd/Makefile (routines): Add hurdlock.
15654 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15656 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15657 * hurd/hurdpid.c: Include <lowlevellock.h>
15658 (_S_msg_proc_newids): Use lll_wait to synchronize.
15659 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15660 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15661 * mach/Makefile (lock-headers): Remove machine-lock.h.
15662 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15664 (__spin_lock_t): New type.
15665 (__SPIN_LOCK_INITIALIZER): New macro.
15666 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15667 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15668 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15669 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15670 (__mutex_init): Initialize with lll.
15671 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15672 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15674 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15675 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15676 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15677 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15678 (__setpgid): Use lll for synchronization.
15679 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15680 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15681 instead of <cthreads.h>.
15682 (_IO_lock_inexpensive): New macro
15683 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15684 (__libc_lock_self0): New declaration.
15685 (__libc_lock_owner_self): New macro.
15686 (__libc_key_t): Remove type.
15687 (_LIBC_LOCK_INITIALIZER): New macro.
15688 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15689 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15690 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15691 __libc_lock_define_initialized_recursive,
15692 __rtld_lock_define_initialized_recursive,
15693 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15694 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15695 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15696 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15697 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15698 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15699 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15701 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15702 * hurd/hurdlock.c: New file.
15703 * hurd/hurdlock.h: New file.
15704 * mach/lowlevellock.h: New file
15706 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15708 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15709 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15710 when opening a symlink with O_NOFOLLOW.
15711 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15712 path when flags contains O_NOFOLLOW.
15713 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15714 if flags contains O_DIRECTORY and the result is a directory.
15715 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15716 oneself when the pointer given in D is nul (as set by ext2fs).
15717 * sysdeps/mach/hurd/mlockall.c: New file.
15718 * sysdeps/mach/hurd/munlockall.c: New file.
15720 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15722 * hurd/hurdsig.c: Include <pthread.h>.
15723 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15724 get the signal thread stack layout.
15725 * hurd/Makefile (headers): Remove threadvar.h.
15726 (inline-headers): Remove threadvar.h.
15727 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15728 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15729 __hurd_threadvar_max, __hurd_errno_location.
15730 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15731 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15732 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15733 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15734 unless TLS is not initialized yet, in which case we do not need a
15735 critical section yet anyway.
15736 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15738 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15740 (__hurd_threadvar_index): Remove enum.
15741 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15742 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15744 (__hurd_reply_port0): New variable declaration.
15745 (__hurd_local_reply_port): New macro.
15746 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15747 (interrupted_reply_port_location): Add thread_t parameter. Use it
15748 with THREAD_TCB to access thread-local variables.
15749 (_hurdsig_abort_rpcs): Pass ss->thread to
15750 interrupted_reply_port_location.
15751 (_hurd_internal_post_signal): Likewise.
15752 (_hurdsig_init): Use presence of cthread_fork instead of
15753 __hurd_threadvar_stack_mask to start signal thread by hand.
15754 Remove signal thread threadvar initialization.
15755 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15756 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15757 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15759 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15761 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15762 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15763 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15764 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15765 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15766 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15767 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15769 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15770 <hurd/threadvar.h>.
15771 [IS_IN(rtld)] (rtld_errno): New variable.
15772 [IS_IN(rtld)] (__errno_location): New weak function.
15773 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15774 * sysdeps/mach/hurd/errno.c: Remove file.
15775 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15776 (__fork): Remove THREADVAR_SPACE macro and its use.
15777 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15779 (init): Do not initialize threadvar.
15780 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15782 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15783 __hurd_local_reply_port instead of threadvar.
15784 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15785 _hurd_sigstate fields.
15786 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15787 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15788 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15789 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15790 instead of threadvar.
15791 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15792 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15793 (use_threadvar, global_reply_port): Remove variables.
15794 (__hurd_reply_port0): New variable.
15795 (__mig_get_reply_port): Use __hurd_local_reply_port and
15796 __hurd_reply_port0 instead of threadvar.
15797 (__mig_dealloc_reply_port): Likewise.
15798 (__mig_init): Do not initialize threadvar.
15799 * sysdeps/mach/hurd/profil.c: Fix comment.
15800 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15801 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15802 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15803 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15804 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15805 __cthread_setspecific.
15806 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15807 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15808 __cthread_t instead of cthread_fork, cthread_detach,
15809 pthread_getattr_np, pthread_attr_getstack.
15810 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15811 __cthread_keycreate.
15812 (cthread_getspecific): Rename to __cthread_getspecific.
15813 (cthread_setspecific): Rename to __cthread_setspecific.
15814 (__libc_getspecific): Use __cthread_getspecific instead of
15815 cthread_getspecific.
15816 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15817 __cthread_keycreate instead of cthread_keycreate.
15818 (__libc_setspecific): Use __cthread_setspecific instead of
15819 cthread_setspecific.
15820 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15823 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15824 testing whether it is defined.
15826 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15828 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15830 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15831 * sysdeps/mach/i386/thread_state.h
15832 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15834 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15836 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15838 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15839 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15841 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15843 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15844 descriptor instead of creating a new one.
15845 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15847 * mach/setup-thread.c: Include <ldsodefs.h>.
15848 (__mach_setup_thread): Call _dl_allocate_tls, pass
15849 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15850 MACHINE_THREAD_STATE_FLAVOR, before getting
15851 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15852 MACHINE_THREAD_STATE_FLAVOR with the result.
15853 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15854 MACHINE_THREAD_STATE_FIX_NEW.
15855 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15856 too. Add original thread parameter.
15858 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15860 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15861 Remove inline function.
15863 * sysdeps/i386/fpu/libm-test-ulps: Update.
15864 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15866 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15868 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15871 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15873 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15874 (__sincos_code): Remove define and undefine.
15875 [__FAST_MATH__] (__sincos): Remove inline function.
15876 [__FAST_MATH__] (__sincosf): Remove inline function.
15877 [__FAST_MATH__] (__sincosl): Remove inline function.
15878 (__atan2l): Remove inline functions.
15879 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15880 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15882 (floor): Remove inline function.
15884 [__FAST_MATH__] (__ldexp_code): Remove macro.
15885 [__FAST_MATH__] (ldexp): Remove inline function.
15886 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15887 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15888 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15889 [__USE_ISOC99] (__lrint_code): Remove macro.
15890 [__USE_ISOC99] (__llrint_code): Likewise.
15891 [__USE_ISOC99] (lrintf): Remove inline function.
15892 [__USE_ISOC99] (lrint): Likewise.
15893 [__USE_ISOC99] (lrintl): Likewise.
15894 [__USE_ISOC99] (llrint): Likewise.
15895 [__USE_ISOC99] (llrintf): Likewise.
15896 [__USE_ISOC99] (llrintl): Likewise.
15898 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15900 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15901 (__ieee754_sqrtf): Remove.
15902 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15903 (__ieee754_sqrtf): Remove.
15904 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15905 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15906 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15907 (__ieee754_sqrtf): Remove.
15908 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15909 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15912 (__ieee754_sqrt): Remove.
15913 (__ieee754_sqrtf): Remove.
15914 (__ieee754_sqrtl): Remove.
15915 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15916 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15917 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15918 (__ieee754_sqrtf): Remove.
15919 (__ieee754_sqrtl): Remove.
15921 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15923 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15924 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15925 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15926 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15927 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15928 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15929 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15930 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15932 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15933 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15934 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15935 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15936 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15937 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15938 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15939 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15940 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15941 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15942 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15943 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15944 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15945 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15946 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15947 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15948 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15949 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15950 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15951 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15952 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15953 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15956 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15957 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15960 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15961 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15962 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15964 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15965 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15967 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15968 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15969 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15970 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15971 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15973 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15975 * include/math.h (sqrt): Declare with asm redirect.
15978 (sqrtf128): Likewise.
15979 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15980 nonlib and libnldbl with -fmath-errno.
15981 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15982 * math/w_sqrt_template.c: Likewise.
15983 * math/w_sqrtf_compat.c: Likewise.
15984 * math/w_sqrtl_compat.c: Likewise.
15985 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15986 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15987 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15990 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15992 * benchtests/Makefile: Define _ISOMAC.
15993 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15994 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15995 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15996 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15997 * benchtests/bench-timing.h: Define attribute_hidden.
15999 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16001 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16004 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16007 * localedata/locales/cs_CZ (mon): Rename to...
16009 (mon): Import from CLDR (genitive case).
16011 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16014 * localedata/locales/el_CY (abmon): Rename to...
16015 (ab_alt_mon): This.
16016 (abmon): Import from CLDR (abbreviated genitive case).
16017 * localedata/locales/el_GR (abmon): Rename to...
16018 (ab_alt_mon): This.
16019 (abmon): Import from CLDR (abbreviated genitive case).
16021 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16024 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16026 2018-03-15 Robert Buj <robert.buj@gmail.com>
16029 * localedata/locales/ca_ES (abmon): Rename to...
16030 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16031 (mon): Rename to...
16033 (abmon): Import from CLDR (genitive case, month names preceded by
16036 (abday): Synchronize with CLDR.
16037 (d_t_fmt): Likewise.
16041 (LC_TIME): Improve indentation.
16042 (LC_TELEPHONE): Likewise.
16043 (LC_NAME): Likewise.
16044 (LC_ADDRESS): Likewise.
16046 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16048 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16049 (lrintf): Remove definitions used only with old GCC.
16050 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16051 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16052 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16053 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16054 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16055 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16056 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16057 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16058 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16059 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16060 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16061 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16062 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16063 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16064 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16065 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16066 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16067 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16068 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16069 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16070 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16071 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16072 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16073 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16074 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16075 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16076 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16077 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16079 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16081 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16082 instruction to unbreak builds with binutils 2.26 and older.
16084 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16086 * sysdeps/aarch64/strncmp.S (count): New macro.
16087 (strncmp): Store misaligned length in SRC1 in COUNT.
16088 (mutual_align): Adjust.
16089 (misaligned8): Load dword at a time when it is safe.
16091 2018-03-12 Zack Weinberg <zackw@panix.com>
16095 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16096 if the _IO_EOF_SEEN bit is already set; update commentary.
16097 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16098 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16100 * support/support_openpty.c, support/tty.h: New files.
16101 * support/Makefile (libsupport-routines): Add support_openpty.
16103 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16105 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16106 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16108 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16110 * po/pt_BR.po: Update translations.
16112 2018-03-12 David Michael <fedora.dm0@gmail.com>
16114 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16115 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16116 get a port to the startup server.
16118 2018-03-11 Zack Weinberg <zackw@panix.com>
16120 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16121 before nldbl-compat.h.
16123 2018-03-10 Zack Weinberg <zackw@panix.com>
16125 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16126 math.h or math_private.h.
16128 * sysdeps/alpha/fpu/s_isnan.c
16129 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16130 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16131 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16132 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16133 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16134 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16135 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16136 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16137 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16140 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16141 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16142 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16143 Include math_private.h.
16145 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16146 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16147 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16148 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16149 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16150 * sysdeps/powerpc/power7/fpu/s_logb.c:
16151 Include math.h and math_private.h.
16153 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16154 uses of $at in .set noat / .set at.
16156 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16158 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16159 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16160 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16161 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16164 2018-03-09 Florian Weimer <fweimer@redhat.com>
16166 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16169 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16172 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16173 Add nop before __startcontext, add explaining comments.
16175 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16178 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16180 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16181 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16182 Do not build hardware transactional code for __SPE__.
16183 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16184 (__lll_trylock_elision): Likewise.
16185 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16186 (__lll_unlock_elision): Likewise.
16188 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16189 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16190 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16191 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16192 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16193 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16194 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16195 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16196 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16197 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16198 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16199 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16200 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16201 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16202 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16203 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16204 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16205 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16206 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16207 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16208 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16209 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16210 (__ASSUME_CLONE_BACKWARDS): Define.
16211 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16212 __clone2 if __NR_clone2 is defined.
16213 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16214 (__ASSUME_CLONE_BACKWARDS): Likewise.
16215 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16216 (__ASSUME_CLONE_BACKWARDS): Likewise.
16217 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16218 (__ASSUME_CLONE2): Likewise.
16219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16220 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16221 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16222 variants and the define architecture can use.
16223 (__ASSUME_CLONE_DEFAULT): Define as default.
16224 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16225 (__ASSUME_CLONE_BACKWARDS): Likewise.
16226 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16227 (__ASSUME_CLONE_BACKWARDS): Likewise.
16228 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16229 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16231 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16233 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16235 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16238 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16239 (do_test_limit): Likewise.
16241 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16242 for every implementation.
16243 (do_test): Likewise.
16245 * benchtests/bench-strncmp.c: Convert output to json.
16247 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16249 * io/futimens.c: Add missing start-of-file descriptive comment.
16250 * io/utime.c: Likewise.
16251 * misc/futimesat.c: Likewise.
16252 * misc/utimes.c: Likewise.
16253 * sysdeps/mach/hurd/futimesat.c: Likewise.
16254 * sysdeps/mach/hurd/utimes.c: Likewise.
16255 * sysdeps/posix/utime.c: Likewise.
16256 * sysdeps/posix/utimes.c: Likewise.
16257 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16258 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16259 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16260 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16262 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16264 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16266 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16267 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16268 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16269 (__futimens): Move implementation to...
16270 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16271 utime_tvalue_from_tspec): ... new helper functions.
16272 (hurd_futimens): New function.
16273 * sysdeps/mach/hurd/futimesat.c: New file.
16274 * sysdeps/mach/hurd/utimensat.c: New file.
16276 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16278 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16279 UTIME_OMIT): New macros.
16280 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16281 before reverting to converting time spec to time value and calling
16283 * sysdeps/mach/hurd/utime-helper.c: New file.
16284 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16285 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16286 reverting to utime_tvalue_from_tval and __file_utimes.
16287 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16288 (__lutimes): Just call hurd_futimens after lookup.
16289 * sysdeps/mach/hurd/utimes.c: Likewise.
16291 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16293 * bits/sigaction.h: Add include guard.
16294 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16295 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16296 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16297 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16298 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16299 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16300 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16301 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16302 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16304 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16306 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16307 -Wmaybe-uninitialized for -Os.
16308 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16311 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16313 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16314 __INO_T_MATCHES_INO64_T is defined.
16315 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16316 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16318 * dirent/alphasort64.c: Likewise.
16319 * dirent/scandir.c: Likewise.
16320 * dirent/scandir64-tail.c: Likewise.
16321 * dirent/scandir64.c: Likewise.
16322 * dirent/scandirat.c: Likewise.
16323 * dirent/scandirat64.c: Likewise.
16324 * dirent/versionsort.c: Likewise.
16325 * dirent/versionsort64.c: Likewise.
16326 * include/dirent.h: Likewise.
16328 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16329 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16330 for socketpair endpoint.
16331 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16332 WRITE_BUFFER_SIZE as buffer size for sending socket.
16333 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16334 issue on system where send is implemented with sendto syscall.
16335 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16336 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16337 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16338 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16341 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16342 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16343 sa_restorer for vDSO case.
16344 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16346 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16348 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16349 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16350 * hurd/hurd/ioctl.h: Include <mach/port.h>
16351 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16352 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16353 <mach/mach_types.h> and <mach/message.h>.
16354 (headers): Move mach/param.h to bits/mach/param.h.
16355 * sysdeps/mach/i386/mach/param.h: Move file to ...
16356 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16357 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16359 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16360 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16361 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16362 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16363 trivial, for C++ conformity.
16364 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16365 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16366 Process mig output through $(migheadersed).
16367 * hurd/Makefile (migheadersed): Define variable.
16368 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16369 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16371 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16372 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16373 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16374 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16375 <bits/types/sigset_t.h>.
16376 [!defined __USE_GNU]: Do not #error out.
16377 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16378 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16379 Include <stddef.h> and <bits/types/sigset_t.h>
16380 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16381 instead of sighandler_t.
16382 * stdlib/errno.h (error_t): Move definition to...
16383 * bits/types/error_t.h: ... new header.
16384 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16385 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16386 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16387 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16388 * hurd/hurd.h: Include <bits/types/error_t.h>
16389 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16390 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16391 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16392 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16393 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16394 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16395 * sysdeps/mach/hurd/futimens.c: New file.
16397 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16400 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16401 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16402 * nscd/gai.c (__nss_hosts_database): Readd definition.
16403 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16404 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16405 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16407 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16409 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16410 (ifunc_one): Likewise.
16412 2018-03-01 DJ Delorie <dj@delorie.com>
16415 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16418 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16420 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16421 `match_pid' parameter.
16422 (td_ta_thr_iter): Update accordingly.
16424 2018-03-01 Florian Weimer <fweimer@redhat.com>
16426 * nptl/Makefile (install-lib-ldscripts): Remove.
16427 (install): Remove rule.
16428 ($(inst_libdir)/libpthread.so): Likewise.
16430 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16433 * localedata/locales/an_ES: update month and day names,
16434 improve d_fmt, improve postal_fmt, add country_post,
16437 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16439 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16440 Ukrainian instead of Bulgarian.
16442 2018-03-01 Florian Weimer <fweimer@redhat.com>
16444 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16447 2018-03-01 Florian Weimer <fweimer@redhat.com>
16449 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16450 * nptl/Makefile (routines): Add pthread_atfork.
16451 (static-only-routines): Set to pthread_atfork.
16452 (libpthread-routines): Remove pthread_atfork.
16453 (libpthread-static-only-routines): Remove.
16454 (install): Update comment.
16455 (libpthread.so): Do not install libpthread_nonshared.a.
16456 (tests): Do not link with libpthread_nonshared.a.
16457 (generated): Remove libpthread_nonshared.a.
16458 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16459 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16460 with libpthread_nonshared.a.
16462 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16465 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16466 (libc_feholdexcept_setroundf128): New macro.
16467 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16470 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16472 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16473 * include/inttypes.h: New file.
16475 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16477 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16478 -Os in two more places.
16480 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16482 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16483 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16484 be sorted correctly at the moment because of a bug.
16486 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16488 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16489 treat ñ as a primary different character, sync the collation
16490 for Spanish with CLDR.
16491 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16492 * localedata/Makefile: Add new test files.
16493 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16494 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16496 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16497 * localedata/am_ET.UTF-8.in: New test file.
16498 * localedata/az_AZ.UTF-8.in: Likewise.
16499 * localedata/be_BY.UTF-8.in: Likewise.
16500 * localedata/ber_DZ.UTF-8.in: Likewise.
16501 * localedata/ber_MA.UTF-8.in: Likewise.
16502 * localedata/bg_BG.UTF-8.in: Likewise.
16503 * localedata/br_FR.UTF-8.in: Likewise.
16504 * localedata/cmn_TW.UTF-8.in: Likewise.
16505 * localedata/crh_UA.UTF-8.in: Likewise.
16506 * localedata/csb_PL.UTF-8.in: Likewise.
16507 * localedata/cv_RU.UTF-8.in: Likewise.
16508 * localedata/cy_GB.UTF-8.in: Likewise.
16509 * localedata/dz_BT.UTF-8.in: Likewise.
16510 * localedata/eo.UTF-8.in: Likewise.
16511 * localedata/es_ES.UTF-8.in: Likewise.
16512 * localedata/fa_IR.UTF-8.in: Likewise.
16513 * localedata/fi_FI.UTF-8.in: Likewise.
16514 * localedata/fil_PH.UTF-8.in: Likewise.
16515 * localedata/fur_IT.UTF-8.in: Likewise.
16516 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16517 * localedata/ha_NG.UTF-8.in: Likewise.
16518 * localedata/ig_NG.UTF-8.in: Likewise.
16519 * localedata/ik_CA.UTF-8.in: Likewise.
16520 * localedata/kk_KZ.UTF-8.in: Likewise.
16521 * localedata/ku_TR.UTF-8.in: Likewise.
16522 * localedata/ky_KG.UTF-8.in: Likewise.
16523 * localedata/ln_CD.UTF-8.in: Likewise.
16524 * localedata/mi_NZ.UTF-8.in: Likewise.
16525 * localedata/ml_IN.UTF-8.in: Likewise.
16526 * localedata/mn_MN.UTF-8.in: Likewise.
16527 * localedata/mr_IN.UTF-8.in: Likewise.
16528 * localedata/mt_MT.UTF-8.in: Likewise.
16529 * localedata/nb_NO.UTF-8.in: Likewise.
16530 * localedata/om_KE.UTF-8.in: Likewise.
16531 * localedata/os_RU.UTF-8.in: Likewise.
16532 * localedata/ps_AF.UTF-8.in: Likewise.
16533 * localedata/ro_RO.UTF-8.in: Likewise.
16534 * localedata/ru_RU.UTF-8.in: Likewise.
16535 * localedata/sc_IT.UTF-8.in: Likewise.
16536 * localedata/se_NO.UTF-8.in: Likewise.
16537 * localedata/sq_AL.UTF-8.in: Likewise.
16538 * localedata/sv_SE.UTF-8.in: Likewise.
16539 * localedata/szl_PL.UTF-8.in: Likewise.
16540 * localedata/tg_TJ.UTF-8.in: Likewise.
16541 * localedata/tk_TM.UTF-8.in: Likewise.
16542 * localedata/tt_RU.UTF-8.in: Likewise.
16543 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16544 * localedata/ug_CN.UTF-8.in: Likewise.
16545 * localedata/uz_UZ.UTF-8.in: Likewise.
16546 * localedata/vi_VN.UTF-8.in: Likewise.
16547 * localedata/yi_US.UTF-8.in: Likewise.
16548 * localedata/yo_NG.UTF-8.in: Likewise.
16549 * localedata/zh_CN.UTF-8.in: Likewise.
16550 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16551 file and fix bugs in the collation.
16552 * localedata/locales/az_AZ: Likewise.
16553 * localedata/locales/be_BY: Likewise.
16554 * localedata/locales/ber_DZ: Likewise.
16555 * localedata/locales/ber_MA: Likewise.
16556 * localedata/locales/bg_BG: Likewise.
16557 * localedata/locales/br_FR: Likewise.
16558 * localedata/locales/br_FR@euro: Likewise.
16559 * localedata/locales/ca_ES: Likewise.
16560 * localedata/locales/cns11643_stroke: Likewise.
16561 * localedata/locales/crh_UA: Likewise.
16562 * localedata/locales/cs_CZ: Likewise.
16563 * localedata/locales/csb_PL: Likewise.
16564 * localedata/locales/cv_RU: Likewise.
16565 * localedata/locales/cy_GB: Likewise.
16566 * localedata/locales/da_DK: Likewise.
16567 * localedata/locales/dz_BT: Likewise.
16568 * localedata/locales/en_CA: Likewise.
16569 * localedata/locales/eo: Likewise.
16570 * localedata/locales/es_CU: Likewise.
16571 * localedata/locales/es_EC: Likewise.
16572 * localedata/locales/es_ES: Likewise.
16573 * localedata/locales/es_US: Likewise.
16574 * localedata/locales/et_EE: Likewise.
16575 * localedata/locales/fa_IR: Likewise.
16576 * localedata/locales/fi_FI: Likewise.
16577 * localedata/locales/fil_PH: Likewise.
16578 * localedata/locales/fur_IT: Likewise.
16579 * localedata/locales/gez_ER@abegede: Likewise.
16580 * localedata/locales/ha_NG: Likewise.
16581 * localedata/locales/hr_HR: Likewise.
16582 * localedata/locales/hsb_DE: Likewise.
16583 * localedata/locales/hu_HU: Likewise.
16584 * localedata/locales/ig_NG: Likewise.
16585 * localedata/locales/ik_CA: Likewise.
16586 * localedata/locales/is_IS: Likewise.
16587 * localedata/locales/iso14651_t1_pinyin: Likewise.
16588 * localedata/locales/kk_KZ: Likewise.
16589 * localedata/locales/ku_TR: Likewise.
16590 * localedata/locales/ky_KG: Likewise.
16591 * localedata/locales/ln_CD: Likewise.
16592 * localedata/locales/lt_LT: Likewise.
16593 * localedata/locales/lv_LV: Likewise.
16594 * localedata/locales/mi_NZ: Likewise.
16595 * localedata/locales/ml_IN: Likewise.
16596 * localedata/locales/mn_MN: Likewise.
16597 * localedata/locales/mr_IN: Likewise.
16598 * localedata/locales/mt_MT: Likewise.
16599 * localedata/locales/nb_NO: Likewise.
16600 * localedata/locales/om_KE: Likewise.
16601 * localedata/locales/os_RU: Likewise.
16602 * localedata/locales/pl_PL: Likewise.
16603 * localedata/locales/ps_AF: Likewise.
16604 * localedata/locales/ro_RO: Likewise.
16605 * localedata/locales/ru_RU: Likewise.
16606 * localedata/locales/ru_UA: Likewise.
16607 * localedata/locales/sc_IT: Likewise.
16608 * localedata/locales/se_NO: Likewise.
16609 * localedata/locales/si_LK: Likewise.
16610 * localedata/locales/sq_AL: Likewise.
16611 * localedata/locales/sv_FI: Likewise.
16612 * localedata/locales/sv_FI@euro: Likewise.
16613 * localedata/locales/sv_SE: Likewise.
16614 * localedata/locales/szl_PL: Likewise.
16615 * localedata/locales/tg_TJ: Likewise.
16616 * localedata/locales/ti_ER: Likewise.
16617 * localedata/locales/tk_TM: Likewise.
16618 * localedata/locales/tl_PH: Likewise.
16619 * localedata/locales/tr_TR: Likewise.
16620 * localedata/locales/tt_RU: Likewise.
16621 * localedata/locales/tt_RU@iqtelif: Likewise.
16622 * localedata/locales/ug_CN: Likewise.
16623 * localedata/locales/uk_UA: Likewise.
16624 * localedata/locales/uz_UZ: Likewise.
16625 * localedata/locales/uz_UZ@cyrillic: Likewise.
16626 * localedata/locales/vi_VN: Likewise.
16627 * localedata/locales/yi_US: Likewise.
16628 * localedata/locales/yo_NG: Likewise.
16630 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16632 * gen-locales.mk: Make test files which contain @ modifiers in their
16634 * localedata/gen-locale.sh: Likewise.
16636 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16638 * posix/tst-fnmatch.input: Fix results for range expressions
16640 * posix/tst-regexloc.c: Do not use a range expression for
16641 de_DE.ISO-8859-1 locale.
16643 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16645 * posix/bug-regex5.c: Fix test case because with the new
16646 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16647 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16650 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16652 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16653 downloaded from ISO, the collation order of @-. and space has changed.
16654 Therefore, this test file needed to be adapted.
16655 * localedata/fr_CA.UTF-8.in: Likewise.
16656 * localedata/fr_FR.UTF-8.in: Likewise.
16657 * localedata/uk_UA.UTF-8.in: Likewise.
16659 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16661 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16662 order of ȥ in the new iso14651_t1_common file.
16663 * localedata/pl_PL.UTF-8.in: Likewise.
16665 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16667 * localedata/locales/iso14651_t1_common: Add sections for various
16668 scripts to the iso14651_t1_common file.
16670 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16672 * localedata/locales/iso14651_t1_common: Use the code point of a
16673 character in the fourth collation level instead of IGNORE for all
16674 entries which have IGNORE on all 4 levels.
16676 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16678 * localedata/locales/iso14651_t1_common: Add some convenient collation
16679 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16680 rules similar to those in CLDR.
16682 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16684 * localedata/locales/iso14651_t1_common: The new version of this
16685 file downloaded from ISO contained several syntax errors which
16686 are fixed by this patch.
16688 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16690 * localedata/locales/iso14651_t1_common: replace all <U.....>
16691 with <U000.....> because glibc understands only 4 digit or 8 digit
16693 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16695 * localedata/locales/iso14651_t1_common: Necessary changes
16696 to make the file downloaded from ISO usable by glibc.
16698 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16701 * localedata/locales/iso14651_t1_common: Update file to
16702 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16704 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16706 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16707 of <nptl/pthreadP.h>
16708 (thread_attr_compare): Move function to...
16709 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16710 * sysdeps/nptl/timer_routines.h: ... new header.
16711 * sysdeps/mach/hurd/gai_misc.h: New file.
16713 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16715 * string/strcoll_l.c: Include <libc-diag.h>.
16716 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16717 declarations of seq1 and seq2.
16720 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16721 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16723 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16727 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16728 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16729 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16730 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16731 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16732 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16734 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16736 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16737 macros used in __ptrace_request.
16739 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16742 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16744 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16745 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16746 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16749 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16752 * ctype/ctype.c (tolower): Use libc_hidden_def.
16753 (toupper): Likewise.
16754 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16755 [!_ISOMAC] (toupper): Likewise.
16757 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16759 * localedata/Makefile: Remove --quiet argument when
16762 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16765 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16767 * localedata/locales/pt_PT (LC_TIME): likewise
16769 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16772 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16773 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16774 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16776 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16780 * nptl/Makefile (routines): Remove unregister-atfork.
16781 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16782 (fork_handler_alloc): Remove function.
16783 (fork_handlers, fork_handler_init): New variables.
16784 (__fork_lock): Rename to atfork_lock.
16785 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16786 to use a dynamic array to add/remove atfork handlers.
16787 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16788 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16789 Remove declaration.
16790 (fork_handler): Remove next, refcntr, and need_signal member.
16791 (__run_fork_handler_type): New enum.
16792 (__run_fork_handlers): New prototype.
16793 * nptl/register-atfork.c: Remove file.
16794 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16796 * sysdeps/nptl/nptl-signals.h: Move to ...
16797 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16799 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16800 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16801 unnecessary check for SIGTIMER.
16802 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16803 remove unnecessary removal of SIGTIMER.
16804 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16805 include-signals.h rename.
16806 * nptl/pthreadP.h: Likewise.
16807 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16808 __is_internal_signal instead of __nptl_is_internal_signal.
16810 2018-02-22 Andrew Waterman <andrew@sifive.com>
16813 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16814 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16815 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16816 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16818 2018-02-22 DJ Delorie <dj@delorie.com>
16820 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16822 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16824 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16825 do_misaligned, not misaligned8.
16827 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16829 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16830 Add memcpy_thunderx2.
16831 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16833 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16834 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16835 and IS_THUNDERX2PA checks.
16836 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16837 Use macro to set name appropriately.
16838 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16839 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16840 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16842 (IS_THUNDERX2): New macro.
16844 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16846 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16848 2018-02-21 Zack Weinberg <zackw@panix.com>
16850 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16851 Define here, unconditionally.
16852 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16853 * libio/libioP.h: Remove #if 0 blocks.
16854 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16855 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16856 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16858 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16859 Assume weak_alias is always defined.
16861 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16862 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16863 Remove #if 0 and #ifdef TODO blocks.
16864 Assume text_set_element is always defined.
16866 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16867 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16868 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16870 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16871 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16872 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16873 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16874 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16875 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16876 Reformat bit flags for _flags field to make occupancy clearer.
16878 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16879 Keep definitions consistent with those in libio/libio.h.
16881 * libio/libio.h (_IO_file_flags): Remove macro.
16882 All uses changed to _flags.
16884 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16885 (__HAVE_COLUMN, _IO_BE): Don't define.
16886 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16887 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16888 * libio/libioP.h (EOF): Don't define.
16889 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16890 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16891 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16892 testing _IO_UNIFIED_JUMPTABLES.
16894 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16895 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16896 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16897 (_IO_size_t): Delete; all uses changed to size_t.
16898 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16899 (_IO_off_t): Delete; all uses changed to off_t.
16900 (_IO_off64_t): Delete; all uses changed to off64_t.
16901 (_IO_pid_t): Delete; all uses changed to pid_t.
16902 (_IO_uid_t): Delete; all uses changed to uid_t.
16903 (_IO_wint_t): Delete; all uses changed to wint_t.
16904 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16905 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16906 (_IO_cookie_io_functions_t): Delete; all uses changed to
16907 cookie_io_functions_t.
16908 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16909 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16910 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16911 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16913 * libio/iofopncook.c: Remove unnecessary forward declarations.
16914 * libio/iolibio.h: Correct outdated commentary.
16915 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16916 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16917 Remove unnecessary casts.
16918 * stdio-common/getline.c: Use _IO_getdelim directly.
16919 Don't redefine ssize_t.
16920 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16921 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16922 Remove outdated comments.
16923 * stdio-common/vfscanf.c: Don't redefine va_list.
16925 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16926 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16927 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16928 which are always true, and __cplusplus, which is always false.
16930 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16934 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16935 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16936 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16937 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16939 [!_ISOMAC] (putc_unlocked): Likewise.
16940 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16941 define inline if [__USE_EXTERN_INLINES].
16942 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16947 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16948 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16949 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16950 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16951 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16953 * time/tzfile.c (__tzfile_read): Likewise.
16955 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16958 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16960 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16962 * io/fcntl.h: Fix a typo in a comment.
16964 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16967 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16968 define _DEFAULT_SOURCE.
16969 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16971 2018-02-21 Florian Weimer <fweimer@redhat.com>
16974 * elf/cache.c (save_cache): Call fsync on temporary file before
16976 (save_aux_cache): Call fdatasync on temporary file before renaming
16979 2018-02-21 Florian Weimer <fweimer@redhat.com>
16982 * include/caller.h: Remove file.
16983 * elf/dl-caller.c: Likewise.
16984 * elf/Makefile (dl-routines): Remove dl-caller.
16985 (shared-only-routines): Do not add dl-caller.
16986 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16988 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16990 (dl_open_worker): Do not call __check_caller.
16991 (_dl_open): Do not set caller_dl_open member.
16992 * elf/rtld.c (_rtld_global_ro): Do not initialize
16993 _dl_check_caller member.
16994 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16995 _dl_check_caller member.
16996 (_dl_check_caller): Remove declaration.
16997 * sysdeps/unix/sysv/linux/dl-execstack.c
16998 (_dl_make_stack_executable): Do not call __check_caller.
17000 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17002 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17003 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17005 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17007 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17010 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17013 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17014 of 199606L, 200112L, and 200809L.
17015 (_XOPEN_SOURCE): Document special values of 600 and 700.
17016 (_ISOC11_SOURCE): Document macro.
17017 (_ATFILE_SOURCE): Likewise.
17018 (_FORTIFY_SOURCE): Likewise.
17020 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17024 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17025 and define as weak alias of __ferror_unlocked. Use
17027 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17029 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17030 function if [__USE_EXTERN_INLINES].
17031 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17034 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17037 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17039 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17042 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17043 the GLIBC_2.1 version.
17045 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17048 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17049 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17050 intl/tst-gettext-de.po from po/de.po by removing the
17051 POT-Creation-Date line.
17052 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17054 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17057 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17059 * mach/Makefile (headers): Add mach/param.h.
17060 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17061 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17062 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17063 (__ptsname_r): Move implementation to...
17064 (__ptsname_internal): ... new function. Add filling the STP
17067 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17069 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17072 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17074 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17077 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17079 * nptl/Makefile (tst-mutex8-ENV): Delete.
17080 * nptl/tst-mutex8.c (check_type):
17081 Add runtime check if mutex will be elided.
17083 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17087 * manual/install.texi (Configuring and compiling): Describe
17088 passing CC and CFLAGS on configure command line, not as
17089 environment variables. Use @code markup on those variables.
17090 Specify what options go in CC and what go in CFLAGS. Note the
17091 requirement to compile with optimization.
17092 * INSTALL: Regenerated.
17095 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17096 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17097 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17098 __sigprocmask instead of sigprocmask.
17099 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17101 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17102 __sigsetjmp and sigprocmask.
17105 * include/argz.h (argz_next): Use libc_hidden_proto.
17106 (__argz_next): Likewise.
17107 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17108 (argz_next): Use libc_hidden_weak.
17111 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17113 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17117 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17119 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17123 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17124 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17125 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17126 (__feof_unlocked): New declaration, and inline function if
17127 [__USE_EXTERN_INLINES].
17128 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17129 instead of feof_unlocked.
17130 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17131 * nss/nsswitch.c (nss_parse_file): Likewise.
17132 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17134 * time/getdate.c (__getdate_r): Likewise.
17135 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17136 Define as macro to call __feof_unlocked.
17138 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17140 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17142 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17144 * math/Makefile: Remove mpexp.c and mplog.c
17145 * sysdeps/i386/fpu/mpexp.c: Delete file.
17146 * sysdeps/i386/fpu/mplog.c: Likewise.
17147 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17148 * sysdeps/ia64/fpu/mplog.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17150 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17151 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17152 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17153 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17154 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17155 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17156 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17157 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17158 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17159 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17160 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17161 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17162 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17163 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17164 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17166 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17168 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17170 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17172 * sysdeps/sh/libm-test-ulps: Update.
17174 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17176 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17179 2018-02-12 Zack Weinberg <zackw@panix.com>
17182 * posix/sys/types.h: Don't include sys/sysmacros.h.
17183 * misc/sys/sysmacros.h: Remove the conditional deprecation
17184 warnings for the macros defined by this header.
17186 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17188 * manual/probes.texi: Remove slowexp probes.
17189 * math/Makefile: Remove slowexp.
17190 * sysdeps/generic/math_private.h (__slowexp): Remove.
17191 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17192 document error bounds.
17193 * sysdeps/i386/fpu/slowexp.c: Remove.
17194 * sysdeps/ia64/fpu/slowexp.c: Remove.
17195 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17196 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17197 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17198 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17199 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17200 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17201 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17202 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17203 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17204 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17205 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17207 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17210 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17211 * benchtests/pow-inputs: Update comment for slow path cases.
17212 * manual/probes.texi (slowpow_p10): Delete removed probe.
17213 (slowpow_p10): Likewise.
17214 * math/Makefile: Remove halfulp.c and slowpow.c.
17215 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17216 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17217 (__halfulp): Remove.
17218 (__slowpow): Remove.
17219 * sysdeps/i386/fpu/halfulp.c: Delete file.
17220 * sysdeps/i386/fpu/slowpow.c: Likewise.
17221 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17222 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17223 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17224 improve comments and add error analysis.
17225 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17226 (power1): Remove function:
17227 (log1): Remove error argument, add error analysis.
17228 (my_log2): Remove function.
17229 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17230 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17231 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17232 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17233 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17234 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17235 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17236 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17237 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17238 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17239 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17240 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17241 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17242 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17244 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17246 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17247 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17249 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17252 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17253 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17254 and PTRACE_SETHBPREGS.
17256 2018-02-10 Zack Weinberg <zackw@panix.com>
17259 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17261 * malloc/tst-malloc-stats-cancellation.c: New test case.
17262 * malloc/Makefile: Add new test case.
17264 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17266 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17268 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17270 * math/Makefile (libm-narrow-fns): Add add.
17271 (libm-test-funcs-narrow): Likewise.
17272 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17273 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17274 * math/gen-auto-libm-tests.c (test_functions): Add add.
17275 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17276 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17277 (NARROW_ADD_TRIVIAL): Likewise.
17278 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17280 (__daddl): Likewise.
17281 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17283 (CFLAGS-nldbl-dadd.c): New variable.
17284 (CFLAGS-nldbl-fadd.c): Likewise.
17285 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17287 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17289 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17290 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17291 * math/auto-libm-test-in: Add tests of add.
17292 * math/auto-libm-test-out-narrow-add: New generated file.
17293 * math/libm-test-narrow-add.inc: New file.
17294 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17297 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17298 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17299 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17308 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17309 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17310 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17311 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17313 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17315 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17316 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17317 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17319 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17320 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17322 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17323 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17324 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17325 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17330 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17331 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17332 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17333 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17334 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17335 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17337 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17338 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17341 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17342 (f128-pairs): New variable.
17343 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17344 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17346 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17347 Also make tests add $(f128-loader-link) to gnulib-tests.
17349 2018-02-09 DJ Delorie <dj@redhat.com>
17352 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17353 64-bit ELF type for 64-bit ELF objects.
17355 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17357 * math/libm-test-driver.c (snan_tests_arg): New variable.
17358 * math/libm-test-support.h (snan_tests_arg): New declaration.
17359 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17361 * math/Makefile (test-type-pairs): New variable.
17362 (test-type-pairs-f64xf128-yes): Likewise.
17363 (tests): Add test-narrow-macros.
17364 (libm-test-funcs-narrow): New variable.
17365 (libm-test-c-narrow): Likewise.
17366 (generated): Add $(libm-test-c-narrow).
17367 (libm-tests-base-narrow): New variable.
17368 (libm-tests-narrow): Likewise.
17369 (libm-tests): Add $(libm-tests-narrow).
17370 (libm-tests-for-type): Handle $(libm-tests-narrow).
17371 (libm-test-c-narrow-obj): New variable.
17372 ($(libm-test-c-narrow-obj)): New rule.
17373 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17374 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17375 $(o-iterator) to set dependencies and CFLAGS.
17376 * math/gen-auto-libm-tests.c: Document use for narrowing
17378 (output_for_one_input_case): Take argument NARROW.
17379 (generate_output): Likewise. Update call to
17380 output_for_one_input_case.
17381 (main): Take --narrow option. Update call to generate_output.
17382 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17383 (apply_lit): Update call to _apply_lit.
17384 (apply_arglit): New function.
17385 (parse_args): Handle "a" arguments.
17386 (parse_auto_input): Handle format names using ":".
17387 * math/README.libm-test: Document "a" parameter type.
17388 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17389 (ARG_TYPE_TRUE_MIN): Likewise.
17390 (ARG_TYPE_MAX): Likwise.
17391 (ARG_MIN_EXP): Likewise.
17392 (ARG_MAX_EXP): Likewise.
17393 (ARG_MANT_DIG): Likewise.
17394 (TEST_COND_arg_ibm128): Likewise.
17395 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17396 (TEST_COND_arg_fmt): New macro.
17397 (init_max_error): Update prototype.
17398 * math/libm-test-support.c (test_ibm128): New variable.
17399 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17400 instead of using [TEST_COND_ibm128] conditional.
17401 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17402 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17403 [TEST_NARROW] (TEST_MSG): New definition.
17404 (arg_plus_zero): New macro.
17405 (arg_minus_zero): Likewise.
17406 (arg_plus_infty): Likewise.
17407 (arg_minus_infty): Likewise.
17408 (arg_qnan_value_pl): Likewise.
17409 (arg_qnan_value): Likewise.
17410 (arg_snan_value_pl): Likewise.
17411 (arg_snan_value): Likewise.
17412 (arg_max_value): Likewise.
17413 (arg_min_value): Likewise.
17414 (arg_min_subnorm_value): Likewise.
17415 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17416 (RUN_TEST_LOOP_aa_f): New macro.
17417 (TEST_SUFF): New macro.
17418 (TEST_SUFF_STR): Likewise.
17419 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17420 (TEST_COND_any_ibm128): New macro.
17421 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17422 this_func. Update call to init_max_error.
17423 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17424 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17425 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17426 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17427 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17428 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17429 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17430 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17431 * math/test-math-vector.h (TEST_NARROW): Likewise.
17432 * math/test-arg-double.h: New file.
17433 * math/test-arg-float128.h: Likewise.
17434 * math/test-arg-float32x.h: Likewise.
17435 * math/test-arg-float64.h: Likewise.
17436 * math/test-arg-float64x.h: Likewise.
17437 * math/test-arg-ldouble.h: Likewise.
17438 * math/test-math-narrow.h: Likewise.
17439 * math/test-narrow-macros.c: Likewise.
17440 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17441 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17442 test-narrow-macros-ldbl-64.
17443 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17445 * math/bits/mathcalls-narrow.h: New file.
17446 * include/bits/mathcalls-narrow.h: Likewise.
17447 * math/math-narrow.h: Likewise.
17448 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17449 (__MATHCALL_NARROW_ARGS_2): Likewise.
17450 (__MATHCALL_NARROW_ARGS_3): Likewise.
17451 (__MATHCALL_NARROW_NORMAL): Likewise.
17452 (__MATHCALL_NARROW_REDIR): Likewise.
17453 (__MATHCALL_NARROW): Likewise.
17454 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17455 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17457 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17458 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17459 (libm-narrow-fns): New variable.
17460 (libm-narrow-types-basic): Likewise.
17461 (libm-narrow-types-ldouble-yes): Likewise.
17462 (libm-narrow-types-float128-yes): Likewise.
17463 (libm-narrow-types-float128-alias-yes): Likewise.
17464 (libm-narrow-types): Likewise.
17465 (libm-routines): Add narrowing functions.
17466 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17467 (libc_feholdexcept_setroundf128): New macro.
17468 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17469 * sysdeps/ieee754/float128/float128_private.h: Include
17470 <math/math-narrow.h>.
17471 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17472 Undefine and redefine.
17473 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17474 (libm_alias_float_ldouble): Undefine and redefine.
17475 (libm_alias_double_ldouble): Likewise.
17477 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17479 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17481 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17484 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17486 * manual/creature.texi: Convert references to gcc.info to gcc.
17487 * manual/stdio.texi: Likewise.
17488 * manual/string.texi: Likewise.
17490 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17493 * posix/bits/types.h (__int_least8_t): New typedef.
17494 (__uint_least8_t): Likewise.
17495 (__int_least16_t): Likewise.
17496 (__uint_least16_t): Likewise.
17497 (__int_least32_t): Likewise.
17498 (__uint_least32_t): Likewise.
17499 (__int_least64_t): Likewise.
17500 (__uint_least64_t): Likewise.
17501 * sysdeps/generic/stdint.h (int_least8_t): Define using
17503 (int_least16_t): Define using __int_least16_t.
17504 (int_least32_t): Define using __int_least32_t.
17505 (int_least64_t): Define using __int_least64_t.
17506 (uint_least8_t): Define using __uint_least8_t.
17507 (uint_least16_t): Define using __uint_least16_t.
17508 (uint_least32_t): Define using __uint_least32_t.
17509 (uint_least64_t): Define using __uint_least64_t.
17510 * wcsmbs/uchar.h: Include <bits/types.h>.
17511 (char16_t): Define using __uint_least16_t conditional only on
17513 (char32_t): Define using __uint_least32_t conditional only on
17515 * wcsmbs/test-char-types.c: New file.
17516 * wcsmbs/Makefile (tests): Add test-char-types.
17518 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17521 2018-02-07 Zack Weinberg <zackw@panix.com>
17523 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17524 Delete all contents except for definitions of _G_HAVE_MMAP and
17525 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17526 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17527 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17530 * libio/libio.h: Don't include bits/_G_config.h here.
17531 Include stddef.h with __need_wchar_t defined. Include
17532 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17533 Define _IO_iconv_t here, directly.
17534 Don't define _IO_HAVE_ST_BLKSIZE.
17535 * libio/libioP.h: Include _G_config.h here. Move include of
17536 shlib-compat.h up with rest of includes. Simplify conditionals
17537 controlling definition of _IO_JUMPS_OFFSET.
17539 * csu/init.c: Remove always-true #if around entire file.
17540 Don't include stdio.h. Set _IO_stdin_used to hardwired
17541 constant 0x20001, and update commentary.
17542 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17543 Replace all uses of _G_va_list with __gnuc_va_list.
17544 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17545 instead of #if _IO_HAVE_ST_BLKSIZE.
17546 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17547 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17550 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17551 multiple-include guard to match.
17552 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17554 Remove preprocessor conditionals that are always true and/or
17555 redundant to other preprocessor conditionals in the same nest.
17556 Include shlib-compat.h unconditionally.
17557 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17558 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17559 defined after including stdio.h.
17560 Use __BEGIN_DECLS/__END_DECLS.
17562 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17563 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17564 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17566 2018-02-07 Zack Weinberg <zackw@panix.com>
17568 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17569 New single-type headers split from _G_config.h.
17570 * libio/bits/types/cookie_io_functions_t.h
17571 * libio/bits/types/struct_FILE.h
17572 New single-type headers split from libio.h.
17574 * libio/Makefile: Install the above new headers. Don't install
17575 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17577 * libio/_G_config.h, libio/libio.h: Delete file.
17579 * libio/bits/libio.h: Remove improper-inclusion guard.
17580 Include stdio.h and don't repeat anything that it does.
17581 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17582 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17583 __io_read_fn as cookie_read_function_t,
17584 __io_write_fn as cookie_write_function_t,
17585 __io_seek_fn as cookie_seek_function_t,
17586 __io_close_fn as cookie_close_function_t,
17587 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17588 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17589 here, in the "compatibility defines" section. Remove an #if 0
17590 block. Use the "body" macros from bits/types/struct_FILE.h to
17591 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17592 and _IO_ferror_unlocked.
17593 Move prototypes of __uflow and __overflow...
17595 * libio/stdio.h: ...here. Don't include bits/libio.h.
17596 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17597 directly from stdarg.h. Include bits/types/__fpos_t.h,
17598 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17599 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17600 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17601 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17602 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17603 __ssize_t, not _IO_ssize_t. Unconditionally define
17604 BUFSIZ as 8192 and EOF as (-1).
17606 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17607 macros from bits/types/struct_FILE.h instead of _IO_* macros
17608 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17609 instead of _IO_ssize_t.
17610 * libio/bits/stdio2.h: Similarly.
17612 * libio/iolibio.h: Add multiple-include guard.
17613 Include bits/libio.h after stdio.h.
17614 * libio/libioP.h: Add multiple-include guard.
17615 Include stdio.h and bits/libio.h before iolibio.h.
17617 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17618 * include/bits/types/cookie_io_functions_t.h
17619 * include/bits/types/struct_FILE.h: New wrappers.
17621 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17622 Get definitions of _G_fpos_t and _G_fpos64_t from
17623 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17624 respectively. Remove improper-inclusion guards.
17626 * conform/data/stdio.h-data: Update expectations of va_list.
17627 * scripts/check-installed-headers.sh: Remove special case for
17628 libio.h and _G_config.h.
17630 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17634 * include/sys/sysmacros.h [!_ISOMAC]
17635 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17636 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17637 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17638 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17640 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17641 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17643 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17644 Undefine and redefine to add use __gnu_dev_ prefix.
17645 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17647 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17648 and define as hidden inline function.
17649 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17651 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17653 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17654 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17655 (gnu_dev_minor): Likewise.
17656 (gnu_dev_makedev): Likewise.
17657 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17659 * posix/wordexp.c (exec_comm_child): Likewise.
17660 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17661 instead of minor and __gnu_dev_major instead of major.
17662 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17663 __gnu_dev_major instead of major.
17664 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17665 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17666 instead of gnu_dev_minor.
17667 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17668 (SLAVE_P): Likewise.
17669 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17670 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17674 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17676 * locale/weightwc.h (findidx): Likewise.
17678 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17680 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17681 (slowlog_inexact): Likewise
17682 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17683 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17685 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17688 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17689 missing second underscore to parameter name.
17691 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17697 * bits/byteswap.h: Update file comment. Do not include
17698 <bits/byteswap-16.h>.
17699 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17701 (__bswap_16): Define as inline function.
17702 (__bswap_constant_32): Reformat definition.
17703 (__bswap_32): Always define as inline function, not macro, using
17704 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17705 otherwise __bswap_constant_32.
17706 (__bswap_constant_64): Reformat definition. Do not use
17707 __extension__ here.
17708 (__bswap_64): Always define as inline function, not macro. Use
17709 __extension__ on function definition. Use __builtin_bswap64 if
17710 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17711 * string/test-endian-file-scope.c: New file.
17712 * string/test-endian-sign-conversion.c: Likewise.
17713 * string/Makefile (headers): Remove bits/byteswap-16.h.
17714 (tests): Add test-endian-file-scope and
17715 test-endian-sign-conversion.
17716 (CFLAGS-test-endian-sign-conversion.c): New variable.
17717 * bits/byteswap-16.h: Remove file.
17718 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17719 * sysdeps/ia64/bits/byteswap.h: Likewise.
17720 * sysdeps/m68k/bits/byteswap.h: Likewise.
17721 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17722 * sysdeps/s390/bits/byteswap.h: Likewise.
17723 * sysdeps/tile/bits/byteswap.h: Likewise.
17724 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17725 * sysdeps/x86/bits/byteswap.h: Likewise.
17728 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17729 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17730 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17731 199901L] (__restrict): Define to restrict.
17734 * string/testcopy.c: Include <support/support.h>. Do not include
17735 <malloc.h>. Use <support/test-driver.c>.
17736 (main): Rename to do_test. Make static. Use xmalloc instead of
17740 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17741 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17742 (SSIZE_MAX): Define to INT_MAX.
17743 * posix/test-ssize-max.c: New file.
17744 * posix/Makefile (tests): Add test-ssize-max.
17747 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17748 <support/support.h>. Do not include <malloc.h>.
17749 (query_auxv): Use xmalloc instead of malloc.
17752 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17753 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17756 2018-02-06 Florian Weimer <fweimer@redhat.com>
17759 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17760 Use scratch_buffer instead of extend_alloca.
17762 2018-02-06 Zack Weinberg <zackw@panix.com>
17764 * libio/stdio.h: Don't define getc or putc as macros.
17765 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17766 not _IO_getc and _IO_putc.
17768 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17769 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17771 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17773 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17774 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17776 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17779 * elf/elf.h (NT_PRFPREG): New macro.
17780 (NT_S390_VXRS_LOW): Likewise.
17781 (NT_S390_VXRS_HIGH): Likewise.
17782 (NT_S390_GS_CB): Likewise.
17783 (NT_S390_GS_BC): Likewise.
17784 (NT_S390_RI_CB): Likewise.
17786 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17787 (MAP_SYNC): New macro.
17788 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17790 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17791 (MAP_SYNC): Likewise.
17792 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17793 (MAP_SYNC): Likewise.
17794 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17795 (MAP_SYNC): Likewise.
17796 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17797 (MAP_SYNC): Likewise.
17798 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17799 (MAP_SYNC): Likewise.
17800 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17801 (MAP_SYNC): Likewise.
17802 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17804 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17807 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17808 (MAP_SHARED_VALIDATE): New macro.
17809 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17810 (MAP_SHARED_VALIDATE): Likewise.
17812 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17814 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17815 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17816 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17818 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17820 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17821 (DT_NUM): Updated to 35.
17823 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17825 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17826 __builtin_expect with __glibc_likely and __glibc_unlikely.
17827 (elf_machine_rela): Likewise.
17828 (elf_machine_lazy_rel): Likewise.
17830 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17833 __builtin_expect with __glibc_likely and __glibc_unlikely.
17834 (elf_machine_lazy_rel): Likewise.
17836 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17839 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17841 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17843 2018-02-05 Andreas Schwab <schwab@suse.de>
17846 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17849 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17851 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17852 not check against PTHREAD_STACK_MIN.
17854 2018-02-02 Sean McKean <smckean83@gmail.com>
17857 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17859 2018-02-02 Florian Weimer <fweimer@redhat.com>
17862 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17863 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17864 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17865 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17866 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17867 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17868 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17869 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17870 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17871 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17872 * misc/tst-preadvwritev2.c (do_test): Call it.
17873 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17875 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17877 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17879 * benchtests/bench-memcmp.c: Print json instead of plain text.
17881 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17884 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17886 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17888 (s390_sthyi): New syscall.
17890 * sysdeps/generic/ldbl-classify-compat.h: New file.
17891 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17892 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17893 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17894 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17895 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17896 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17897 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17898 <ldbl-classify-compat.h>.
17899 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17900 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17901 <ldbl-classify-compat.h>.
17902 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17903 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17904 <ldbl-classify-compat.h>.
17905 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17906 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17907 <ldbl-classify-compat.h>.
17908 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17910 <ldbl-classify-compat.h>.
17911 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17913 <ldbl-classify-compat.h>.
17914 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17915 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17916 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17917 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17918 * sysdeps/microblaze/math_private.h: Likewise.
17919 * sysdeps/nios2/math_private.h: Likewise.
17920 * sysdeps/sh/math_private.h: Likewise.
17922 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17923 * sysdeps/m68k/coldfire/math_private.h: ... here.
17924 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17925 * sysdeps/tile/math_private.h: Likewise.
17926 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17928 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17931 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17933 (libc_fetestexcept): Likewise.
17934 (libc_feupdateenv_test): Likewise.
17935 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17936 (libc_fetestexcept): Likewise.
17937 (libc_feupdateenv_test): Likewise.
17938 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17939 (libc_fetestexcept): Likewise.
17940 (libc_feupdateenv_test): Likewise.
17941 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17942 (libc_fetestexcept): Likewise.
17943 (libc_feupdateenv_test): Likewise.
17945 * sysdeps/generic/math_private.h
17946 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17947 New inline function.
17948 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17951 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17952 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17953 * sysdeps/generic/math_private.h
17954 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17956 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17958 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17960 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17962 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17964 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17966 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17967 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17968 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17969 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17970 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17971 (__fegetenv): Likewise.
17972 (fesetenv): Likewise.
17973 (__fesetenv): Likewise.
17974 (feupdateenv): Likewise.
17975 (__feupdateenv): Likewise.
17976 (fegetround): Likewise.
17977 (__fegetround): Likewise.
17978 (fesetround): Likewise.
17979 (__fesetround): Likewise.
17981 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17982 (feraiseexcept): New macro.
17983 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17984 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17986 (__feraiseexcept): Likewise.
17987 (feclearexcept): Likewise.
17988 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17989 (__feraiseexcept): Likewise.
17990 (feclearexcept): Likewise.
17991 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17992 (__feraiseexcept): Likewise.
17993 (feclearexcept): Likewise.
17994 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17995 (__feraiseexcept): Likewise.
17996 (feclearexcept): Likewise.
17997 (fetestexcept): Likewise.
17999 * sysdeps/m68k/coldfire/math-tests.h: New file.
18001 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18002 * sysdeps/m68k/bits/fenv.h: ... here.
18003 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18005 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18007 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18009 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18011 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18013 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18015 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18016 (__FE_UNDEFINED): New enum constant.
18017 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18019 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18021 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18023 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18024 to match generic bits/fenv.h.
18025 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18028 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18030 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18031 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18032 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18033 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18035 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18036 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18037 Joseph Myers <joseph@codesourcery.com>
18040 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18041 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18042 computation using c.
18043 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18044 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18045 computation using c.
18047 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18049 * version.h (RELEASE): Set to "development".
18050 (VERSION): Set to "2.27.9000".
18051 * NEWS (2.28): New section.
18053 * version.h (RELEASE): Set to "stable".
18054 (VERSION): Set to "2.27".
18055 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18057 * NEWS: Add the list of bugs fixed in 2.27.
18059 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18061 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18062 against PTHREAD_STACK_MIN.
18064 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18066 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18068 (Rafal Luzynski, Andreas Schwab): Update.
18070 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18073 * NEWS: List the languages which actually use the alternative
18074 months feature in this release. Also explain that "alt_mon" and
18075 "ab_alt_mon" are optional.
18077 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18080 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18082 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18084 * manual/install.texi (Tools for Compilation): Update the newest
18085 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18086 * INSTALL: Regenerated.
18088 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18090 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18091 instead of __builtin_expect.
18093 2018-01-30 Florian Weimer <fweimer@redhat.com>
18095 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18097 * nss/tst-nss-getpwent.c (do_test): Likewise.
18099 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18102 * localedata/locales/hr_HR (mon): Rename to...
18104 (mon): Import from CLDR (genitive case).
18105 (d_t_fmt): Update the comment.
18107 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18109 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18110 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18111 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18113 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18115 * mach/Versions: Fix version when __mach_host_self_ was added.
18116 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18117 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18118 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18119 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18120 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18121 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18122 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18123 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18124 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18125 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18126 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18127 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18128 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18129 || to respect codestyle.
18130 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18131 (do_test_bz20181): Rename accordingly.
18132 * malloc/malloc.c: Include <assert.h>.
18133 (assert): Do not define.
18134 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18135 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18136 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18137 * sysdeps/mach/hurd/hp-timing.h: New file.
18138 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18140 2018-01-29 Darius Rad <darius@bluespec.com>
18142 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18144 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18146 * sysdeps/init_array/crti.S (.section .init_array): Add
18147 PREINIT_FUNCTION when defined.
18148 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18149 * config.h.in: Regenerate.
18150 * manual/platform.texi: Add RISC-V documenation for
18151 __riscv_flush_icache.
18152 * sysdeps/riscv/__longjmp.S: New file.
18153 * sysdeps/riscv/backtrace.c: Likewise.
18154 * sysdeps/riscv/bits/endian.h: Likewise.
18155 * sysdeps/riscv/bits/setjmp.h: Likewise.
18156 * sysdeps/riscv/bits/wordsize.h: Likewise.
18157 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18158 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18159 * sysdeps/riscv/dl-trampoline.S: Likewise.
18160 * sysdeps/riscv/gccframe.h: Likewise.
18161 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18162 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18163 * sysdeps/riscv/machine-gmon.h: Likewise.
18164 * sysdeps/riscv/memusage.h: Likewise.
18165 * sysdeps/riscv/setjmp.S: Likewise.
18166 * sysdeps/riscv/sys/asm.h: Likewise.
18167 * sysdeps/riscv/tls-macros.h: Likewise.
18168 * sysdeps/riscv/dl-tls.h: New file.
18169 * sysdeps/riscv/libc-tls.c: Likewise.
18170 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18171 * sysdeps/riscv/nptl/tls.h: Likewise.
18172 * sysdeps/riscv/stackinfo.h: Likewise.
18173 * sysdeps/riscv/bits/fenv.h: New file.
18174 * sysdeps/riscv/e_sqrtl.c: Likewise.
18175 * sysdeps/riscv/fpu_control.h: Likewise.
18176 * sysdeps/riscv/math-tests.h: Likewise.
18177 * sysdeps/riscv/nofpu/Implies: Likewise.
18178 * sysdeps/riscv/sfp-machine.h: Likewise.
18179 * sysdeps/riscv/tininess.h: Likewise.
18180 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18181 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18182 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18183 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18184 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18185 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18186 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18187 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18188 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18189 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18190 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18191 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18192 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18193 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18194 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18195 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18196 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18197 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18198 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18199 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18200 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18201 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18202 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18203 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18204 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18205 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18206 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18207 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18208 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18209 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18210 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18211 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18212 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18213 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18214 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18215 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18216 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18217 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18218 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18219 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18220 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18221 * sysdeps/riscv/rvf/math_private.h: Likewise.
18222 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18223 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18224 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18225 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18226 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18227 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18228 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18229 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18230 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18231 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18232 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18233 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18234 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18235 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18236 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18237 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18238 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18239 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18240 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18241 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18242 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18243 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18244 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18245 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18246 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18247 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18248 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18249 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18250 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18251 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18252 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18253 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18254 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18255 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18256 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18257 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18258 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18259 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18260 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18261 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18262 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18263 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18264 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18265 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18266 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18267 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18268 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18269 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18270 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18271 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18272 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18273 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18274 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18275 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18276 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18277 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18278 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18279 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18280 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18281 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18282 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18283 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18290 * sysdeps/riscv/Implies: New file.
18291 * sysdeps/riscv/Makefile: Likewise.
18292 * sysdeps/riscv/configure: Likewise.
18293 * sysdeps/riscv/configure.ac: Likewise.
18294 * sysdeps/riscv/nptl/Makefile: Likewise.
18295 * sysdeps/riscv/preconfigure: Likewise.
18296 * sysdeps/riscv/rv64/Implies-after: Likewise.
18297 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18298 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18299 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18300 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18301 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18302 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18303 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18304 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18305 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18306 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18307 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18308 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18309 (Config): Likewise.
18311 2018-01-29 Florian Weimer <fweimer@redhat.com>
18314 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18315 libnsl_hidden_proto.
18316 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18317 libnsl_hidden_proto.
18318 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18319 * nis/Makefile (libnsl-routines): Add nss-default only for
18320 build-obsolete-nsl.
18321 * nis/nis_defaults.c (__nis_default_ttl): Add
18322 libnsl_hidden_nolink_def.
18323 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18325 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18326 * nis/ypclnt.c (yp_maplist): Likewise.
18328 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18330 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18331 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18333 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18335 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18336 clean -dxfq for git updates when replacing sources.
18338 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18339 --disable-libcilkrts unconditionally, not just for the final GCC
18342 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18345 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18348 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18351 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18354 * localedata/locales/be_BY (mon): Rename to...
18355 (alt_mon): This, then synchronize with CLDR (nominative case).
18356 (abmon): Rename to...
18357 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18358 (mon): Import from CLDR (genitive case).
18360 * localedata/locales/be_BY@latin (mon): Rename to...
18362 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18364 * localedata/locales/be_BY@latin (lang_name): Reworded to
18365 "biełaruskaja mova".
18367 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18370 * localedata/locales/el_CY (mon): Renamed to...
18372 (mon): Import from CLDR (genitive case).
18373 * localedata/locales/el_GR: Likewise.
18375 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18378 * localedata/locales/ru_RU (mon): Rename to...
18380 (abmon): Rename to...
18381 (ab_alt_mon): This.
18382 (mon): Import from CLDR (genitive case).
18383 (abmon): Copy from the old content except the 5th month which is
18384 now in the genitive case, even when abbreviated.
18385 * localedata/locales/ru_UA: Likewise.
18386 * time/tst-strptime.c (day_tests): Add an actual example of
18387 a difference between %b and %Ob in Russian.
18389 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18391 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18392 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18394 * resolv/res-close.c: Include <stdlib.h>.
18395 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18396 <sys/wait.h>, <time.h>, <sys/uio.h>.
18397 (NOT_CANCEL_H): Add inclusion guard.
18398 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18399 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18400 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18402 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18403 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18404 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18406 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18407 timer_ptr2id to cast struct timer_node * to void *.
18408 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18409 --disable-libcilkrts to gcc configure.
18410 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18411 and make them the default for now.
18412 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18413 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18414 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18415 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18416 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18418 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18419 __task_terminate would ever return successfully.
18420 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18422 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18423 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18424 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18425 critical section to make code simpler and avoid warning.
18426 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18427 critical section to make code simpler and avoid warning.
18428 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18429 const char * instead of char *.
18430 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18431 __hurd_file_name_split, hurd_file_name_split,
18432 __hurd_directory_name_split, hurd_directory_name_split,
18433 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18434 hurd_file_name_path_lookup): Make lookup function parameter take a
18435 const char *name instead of char *name.
18436 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18437 __hurd_directory_name_split): Likewise.
18438 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18439 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18440 * sysdeps/mach/hurd/check_native.c: New file.
18441 * sysdeps/mach/hurd/check_pf.c: New file.
18442 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18443 (__freeifaddrs): Define macro to freeifaddrs.
18444 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18445 * sysdeps/mach/libmachuser.abilist: New file.
18446 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18447 (do_test_bz20181): Rename accordingly.
18448 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18449 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18451 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18452 version only if __USE_EXTERN_INLINES is defined.
18453 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18454 __hurd_sockfail): Likewise.
18455 (_hurd_fd_get): Always declare functions, and provide inline versions
18456 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18457 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18458 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18459 _hurd_port_set): Always declare functions, and provide inline versions
18460 only if __USE_EXTERN_INLINES and _LIBC are defined and
18462 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18463 _hurd_critical_section_unlock): Likewise.
18464 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18465 * __hurd_threadvar_location): Likewise.
18466 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18467 _hurd_userlink_clear): Likewise.
18468 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18469 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18470 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18471 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18472 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18473 __spin_lock_locked): Likewise.
18474 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18475 __spin_lock_locked): Likewise.
18476 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18477 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18478 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18479 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18480 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18481 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18482 _POSIX_NO_TRUNC): Define to 0.
18483 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18484 check size against PTHREAD_STACK_MIN.
18485 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18486 IS_IN(libpthread)]: Include <sigsetops.h>.
18487 * mach/Makefile (user-interfaces): Add mach/gnumach.
18488 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18489 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18490 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18491 instead of invalid -1.
18492 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18493 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18494 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18497 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18499 * hurd/fcntl-internal.h: New file.
18501 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18503 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18505 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18507 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18510 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18511 Build only shared objects.
18513 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18515 * README: Update for hppa.
18517 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18519 * sysdeps/sparc/fpu/libm-test-ulps: Update
18520 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18522 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18526 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18529 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18530 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18531 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18532 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18535 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18538 * bits/types/__cancel_jmp_buf_tag.h: New file.
18539 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18540 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18541 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18542 * nptl/Makefile (headers): Add
18543 bits/types/__cancel_jmp_buf_tag.h.
18544 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18545 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18546 * sysdeps/nptl/pthread.h: Include
18547 <bits/types/__cancel_jmp_buf_tag.h>.
18548 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18550 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18552 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18555 * localedata/locales/uk_UA (mon): Renamed to...
18557 (alt_digits): "0" removed and then renamed to...
18559 (date_fmt): Definition changed not to use the alternative
18562 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18564 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18565 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18566 * elf/elf.h (EF_RISCV_RVC): New define.
18567 (EF_RISCV_FLOAT_ABI): Likewise.
18568 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18569 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18570 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18571 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18572 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18574 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18576 2018-01-25 Andreas Schwab <schwab@suse.de>
18578 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18580 * sysdeps/gnu/configure: Regenerate.
18581 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18582 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18584 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18585 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18586 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18587 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18588 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18590 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18592 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18593 URL, and run autoconf, make it the default for now.
18595 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18597 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18598 soft-float ColdFire configuration.
18600 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18601 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18602 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18604 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18607 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18609 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18611 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18614 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18615 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18616 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18619 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18622 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18623 Rename to __reserved and add comment.
18624 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18625 Rename to __reserved.
18627 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18629 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18630 i686-gnu configurations.
18631 (Context.run_builds): Include mig, gnumach and hurd in components
18633 (Context.checkout): Add mig, gnumach and hurd to components.
18634 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18636 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18637 (Config.build): Install gnumach headers, build mig and install
18638 hurd headers for 'gnu' OS.
18639 (Config.install_gnumach_headers): New function.
18640 (Config.install_hurd_headers): Likewise.
18641 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18642 when building for 'gnu' OS.
18644 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18646 * manual/tunables.texi (Hardware Capability Tunables): Fix
18649 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18651 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18652 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18653 (ALTMON_11, ALTMON_12): Improve documentation.
18654 * manual/time.texi (strftime): Likewise.
18656 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18659 * localedata/locales/pl_PL: Alternative month names added,
18660 primary month names are genitive now.
18661 * time/tst-strptime.c (day_tests): Actually use a genitive case
18662 of a month name in Polish language.
18664 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18667 * manual/locale.texi: Document ALTMON_1..12 constants for
18668 nl_langinfo. Specify when to use ALTMON instead of MON.
18669 * manual/time.texi (strftime, strptime): Document GNU extension
18670 permitting O modifier with %B and %b. Specify when to use
18673 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18676 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18677 names, define them as the same as abbreviated month names explicitly.
18678 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18679 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18680 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18681 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18682 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18683 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18684 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18685 _NL_WABALTMON_12): New enum constants.
18686 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18687 wab_alt_mon, and ab_alt_mon_defined members.
18688 (time_output): Output ab_alt_mon and wab_alt_mon members.
18689 (time_read): Read them, initialize them as copies of abmon and wabmon
18690 respectively if they are missing, initialize ab_alt_mon_defined.
18691 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18692 * locale/programs/locfile-kw.h: Regenerate.
18693 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18694 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18696 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18697 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18698 (__strftime_internal): Handle %Ob and %Oh formats.
18699 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18700 (__strptime_internal): Handle %Ob and %Oh formats.
18701 * time/tst-strptime.c (day_tests): Add more tests to parse different
18702 forms of month names including the new %Ob format specifier.
18704 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18707 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18708 define them as the same as primary full month names explicitly.
18709 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18710 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18711 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18712 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18713 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18714 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18715 _NL_WALTMON_12): New enum constants.
18716 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18717 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18719 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18720 walt_mon, and alt_mon_defined members.
18721 (time_output): Output alt_mon and walt_mon members.
18722 (time_read): Read them, initialize them as copies of mon and wmon
18723 respectively if they are missing, initialize alt_mon_defined.
18724 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18725 * locale/programs/locfile-kw.h: Regenerate.
18726 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18727 * localedata/tst-langinfo.c (map): Add tests for the new constants
18728 ALTMON_1 .. ALTMON_12.
18729 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18731 * time/strftime_l.c (f_altmonth): New macro.
18732 (__strftime_internal): Handle %OB format.
18733 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18734 (__strptime_internal): Handle %OB format.
18735 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18736 of month names including the new %OB format specifier.
18738 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18741 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18742 from ABORT_TRANSACTION.
18743 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18744 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18745 ABORT_TRANSACTION_IMPL): Likewise.
18746 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18747 Linux code, but remove the code that aborts transactions.
18749 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18751 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18753 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18755 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18756 in date: "2004-14-09" should be "2004-09-14".
18757 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18758 "2003-15-09" should be "2003-09-15".
18760 2018-01-18 Arjun Shankar <arjun@redhat.com>
18766 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18768 (_int_memalign): check for integer overflow before calling
18770 * malloc/tst-malloc-too-large.c: New test.
18771 * malloc/Makefile: Add tst-malloc-too-large.
18773 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18775 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18776 in date: "2017-24-07" should be "2017-07-24".
18777 * localedata/locales/mai_IN: Likewise.
18778 * localedata/locales/mai_NP: Likewise.
18780 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18782 * po/ru.po: Update translations.
18784 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18787 * sysdeps/hppa/backtrace.c: New file.
18789 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18792 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18793 align La_x86_64_retval to VEC_SIZE.
18795 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18797 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18798 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18800 2018-01-16 Florian Weimer <fweimer@redhat.com>
18802 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18803 Move tst-thread-exit-clobber ...
18804 [$(CXX)] (tests-unsupported): ... to here.
18806 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18808 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18809 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18810 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18811 (_dl_aarch64_cap_flags): Update.
18812 (_DL_HWCAP_COUNT): Update.
18814 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18816 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18817 (_DL_HWCAP_LAST): Remove.
18818 (_DL_HWCAP_COUNT): Move to ...
18819 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18820 (_DL_HWCAP_COUNT): ... here.
18822 2018-01-16 Florian Weimer <fweimer@redhat.com>
18824 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18825 mode with GNU extensions.
18827 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18829 * elf/elf.h (NT_ARM_SVE): Define.
18831 2018-01-15 Florian Weimer <fweimer@redhat.com>
18834 * nptl/tst-minstack-throw.cc: New file.
18835 * nptl/Makefile (tests): Add tst-minstack-throw.
18836 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18837 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18839 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18841 * scripts/build-many-glibcs.py (Context.checkout): Default
18842 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18845 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18848 * elf/elf.h (DF_1_STUB): Define.
18849 (DF_1_PIE): Define.
18851 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18855 Do not add 0.5 to integer or out-of-range arguments.
18857 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18859 * po/bg.po: Update translations.
18860 * po/cs.po: Likewise.
18861 * po/de.po: Likewise.
18862 * po/ko.po: Likewise.
18863 * po/pl.po: Likewise.
18864 * po/sv.po: Likewise.
18865 * po/uk.po: Likewise.
18866 * po/vi.po: Likewise.
18868 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18870 * aarch64/start.S (_start): Use __wrap_main.
18871 (__wrap_main): New local symbol.
18873 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18877 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18878 generic_getcwd if the path returned by getcwd syscall is not absolute.
18879 * io/tst-getcwd-abspath.c: New test.
18880 * io/Makefile (tests): Add tst-getcwd-abspath.
18882 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18884 * malloc/malloc.c (malloc_consolidate): Add size check.
18886 2018-01-12 Florian Weimer <fweimer@redhat.com>
18888 * support/write_message.c (write_message): Preserve errno.
18889 * support/check.c (print_failure): Likewise.
18890 * support/support_test_verify_impl.c (support_test_verify_impl):
18892 * support/support_test_compare_failure.c
18893 (support_test_compare_failure): Likewise.
18895 2018-01-12 Florian Weimer <fweimer@redhat.com>
18898 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18899 Prevent installation of libnsl.so.
18900 (libnsl-inhibit-o): Do not build (or install) static libraries.
18902 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18905 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18906 before the day number which may produce a double space.
18907 (date_fmt): Likewise.
18909 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18911 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18912 instead of fegetenv.
18914 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18917 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18918 comment to say exceptions are discarded.
18919 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18921 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18924 2018-01-11 Florian Weimer <fweimer@redhat.com>
18926 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18929 2018-01-11 Florian Weimer <fweimer@redhat.com>
18932 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18933 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18935 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18938 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18939 negative arguments in test for NaN or infinity argument.
18941 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18943 * po/libc.pot: Regenerate.
18945 2018-01-10 Florian Weimer <fweimer@redhat.com>
18948 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18949 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18951 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18953 * hurd/hurd/fd.h: Include <fcntl.h>
18954 (__hurd_at_flags): New function.
18955 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18956 with call to __hurd_at_flags.
18957 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18958 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18960 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18961 (__access_noerrno): Use __faccessat_common instead of access_common.
18962 (__access): Likewise.
18963 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18964 with a call to __faccessat.
18965 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18966 (__faccessat_common): ... this. Move implementation of __access into it when
18967 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18968 reauthenticate_cwdir_at helper to implement AT mechanism.
18969 (__faccessat_noerrno): New function, just calls __faccessat_common.
18970 (__faccessat): New function, just calls __faccessat_common.
18971 (faccessat): Define weak alias.
18973 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18976 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18977 (CFLAGS-s_fmaxmagl.c): New variable.
18978 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18982 long int for arguments of possibly overflowing addition or
18984 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18986 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18989 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18990 (CFLAGS-e_remainderl.c): New variable.
18993 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18995 (CFLAGS-s_cacoshl.c): Likewise.
18996 (CFLAGS-s_casinhl.c): Likewise.
18997 (CFLAGS-s_catanl.c): Likewise.
18998 (CFLAGS-s_catanhl.c): Likewise.
18999 (CFLAGS-s_cexpl.c): Likewise.
19000 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19001 (CFLAGS-s_csinhl.c): Likewise.
19002 (CFLAGS-s_clogl.c): Likewise.
19003 (CFLAGS-s_clog10l.c): Likewise.
19004 (CFLAGS-s_csinl.c): Likewise.
19005 (CFLAGS-s_csqrtl.c): Likewise.
19007 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19008 2017-01-09 Svante Signell <svante.signell@gmail.com>
19010 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19011 (_hurd_exec_paths): New function.
19012 * hurd/hurd.h (_hurd_exec): Deprecate function.
19013 (_hurd_exec_paths): Declare function.
19014 * hurd/Versions: Export _hurd_exec_paths.
19015 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19016 (__execve): Use __getcwd to build absolute path, and use
19017 _hurd_exec_paths instead of _hurd_exec.
19018 * sysdeps/mach/hurd/spawni.c: Likewise.
19019 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19022 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19024 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19025 test instead of failing in case of ENOENT returned by posix_openpt.
19027 2018-01-08 Florian Weimer <fweimer@redhat.com>
19029 resolv: Support binary labels in test framework.
19030 * support/resolv_test.c (struct to_be_freed): Remove.
19031 (struct compressed_name): New.
19032 (allocate_compressed_name, ascii_tolower)
19033 (compare_compressed_name): New functions.
19034 (struct resolv_response_builder): Update type of
19035 compression_offsets for use with tsearch. Rempve to_be_freed.
19036 (response_push_pointer_to_free): Remove function.
19037 (resolv_response_add_name): Rewrite using struct compressed_name
19038 and tsearch instead of hsearch_r.
19039 (response_builder_allocate): Remove initialization of
19040 compression_offsets.
19041 (response_builder_free): Update for removal of to_be_freed. Use
19042 tdestroy instead of hdestroy_r.
19043 * resolv/Makefile (tests): Add tst-resolv-binary.
19044 (tst-resolv-binary): Link with -lresolv -lpthread.
19046 2018-01-08 Florian Weimer <fweimer@redhat.com>
19048 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19049 time. Pass positive flag instead of negative flag to
19050 support_test_compare_failure.
19051 (support_test_compare_failure): Change negative parameter to
19053 * support/support_test_compare_failure.c (report)
19054 (support_test_compare_failure): Likewise.
19055 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19056 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19058 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19061 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19062 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19063 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19065 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19067 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19069 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19070 Add s_sincosf-sse2 and s_sincosf-fma.
19071 (CFLAGS-s_sincosf-fma.c): New.
19072 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19073 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19074 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19075 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19076 __sincosf is defined.
19078 2018-01-08 Florian Weimer <fweimer@redhat.com>
19080 * nptl/tst-thread-exit-clobber.cc: New file.
19081 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19083 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19084 (tests): Add tst-thread-exit-clobber.
19085 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19087 2018-01-08 Florian Weimer <fweimer@redhat.com>
19089 * support/check.h (support_static_assert): Define.
19090 (TEST_COMPARE): Use it.
19092 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19094 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19095 [!__RLIM_T_MATCHES_RLIM64_T]
19096 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19097 __getrlimit64. Add libc_hidden_weak.
19099 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19101 * elf/elf.h (R_RISCV_NONE): New define.
19102 (R_RISCV_32): Likewise.
19103 (R_RISCV_64): Likewise.
19104 (R_RISCV_RELATIVE): Likewise.
19105 (R_RISCV_COPY): Likewise.
19106 (R_RISCV_JUMP_SLOT): Likewise.
19107 (R_RISCV_TLS_DTPMOD32): Likewise.
19108 (R_RISCV_TLS_DTPMOD64): Likewise.
19109 (R_RISCV_TLS_DTPREL32): Likewise.
19110 (R_RISCV_TLS_DTPREL64): Likewise.
19111 (R_RISCV_TLS_TPREL32): Likewise.
19112 (R_RISCV_TLS_TPREL64): Likewise.
19113 * Makerules (make-link-multidir): Make directories before linking into
19115 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19117 (VDSO_HASH_LINUX_4_15): Likewise.
19118 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19119 in subdirectories of lib.
19120 * nptl/Makefile (/librt.so): Always depend on
19121 "$(shared-thread-library)".
19123 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19125 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19126 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19127 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19129 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19130 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19132 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19133 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19134 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19135 * sysdeps/gnu/glob-lstat-compat.c: New file.
19136 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19137 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19139 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19141 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19142 Reserve 16 chars to reloc_addr before calling _itoa_word.
19144 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19147 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19148 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19150 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19151 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19153 * resource/tst-getrlimit.c: Add copyright header.
19155 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19156 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19158 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19159 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19160 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19161 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19163 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19164 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19165 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19166 RLIM64_INFINITY): Fix values to match the kernel ones.
19167 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19168 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19169 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19170 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19171 getrlimit64@@GLIBC_2_27.
19172 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19174 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19175 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19176 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19177 setrlimit, getrlimit64 and setrlimit64.
19179 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19182 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19183 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19185 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19187 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19188 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19189 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19191 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19195 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19196 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19200 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19201 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19202 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19203 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19205 2018-01-04 Florian Weimer <fweimer@redhat.com>
19208 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19209 Align the stack before calling exit.
19210 * stdlib/tst-makecontext-align.c: New file.
19211 * stdlib/Makefile (tests): Add tst-makecontext-align.
19213 2018-01-04 Florian Weimer <fweimer@redhat.com>
19215 Add support for calling dlvsym from libc.so.
19216 * include/dlfcn.h (__libc_dlvsym): Declare.
19217 * elf/Makefile (tests-static-internal): Add
19218 tst-libc_dlvsym-static.
19219 (tests-internal): Add tst-libc_dlvsym.
19220 (modules-names): Add tst-libc_dlvsym-dso.
19221 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19222 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19223 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19224 object tst-libc_dlvsym-dso.so needs to be built before running
19226 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19227 * elf/Versions: Export __libc_dlvsym.
19228 * elf/dl-libc.c (struct do_dlvsym_args): New.
19229 (do_dlvsym, __libc_dlvsym): New functions.
19230 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19231 (_dl_open_hook2): New variable.
19232 (__libc_register_dl_open_hook): Set it.
19233 * elf/tst-libc_dlvsym-dso.c: New file.
19234 * elf/tst-libc_dlvsym-static.c: Likewise.
19235 * elf/tst-libc_dlvsym.c: Likewise.
19236 * elf/tst-libc_dlvsym.h: Likewise.
19238 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19240 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19241 include <sys/mount.h>.
19243 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19245 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19246 Add __NO_MATH_ERRNO__ check.
19248 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19250 * sysdeps/mips/mips32/libm-test-ulps: Update.
19251 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19253 2018-01-02 Florian Weimer <fweimer@redhat.com>
19255 * misc/tst-pselect.c: Add copyright header.
19257 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19259 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19261 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19263 (settrlimit): Rename into setrlimit.
19264 (__sttrlimit): Rename into __setrlimit.
19266 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19267 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19268 never defined in that case.
19270 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19272 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19274 * sysdeps/arm/libm-test-ulps: Update.
19276 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19277 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19279 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19281 * NEWS: Add cosf and sincosf to list of optimized functions.
19283 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19286 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19287 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19288 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19289 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19291 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19294 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19296 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19297 making a copy of it.
19299 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19301 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19302 trailing whitespace removed.
19303 * scripts/config.guess: Update to version 2018-01-01.
19304 * scripts/config.sub: Update to version 2018-01-01.
19305 * scripts/move-if-change: Update from gnulib.
19307 * NEWS: Update copyright dates.
19308 * catgets/gencat.c (print_version): Likewise.
19309 * csu/version.c (banner): Likewise.
19310 * debug/catchsegv.sh: Likewise.
19311 * debug/pcprofiledump.c (print_version): Likewise.
19312 * debug/xtrace.sh (do_version): Likewise.
19313 * elf/ldconfig.c (print_version): Likewise.
19314 * elf/ldd.bash.in: Likewise.
19315 * elf/pldd.c (print_version): Likewise.
19316 * elf/sotruss.sh: Likewise.
19317 * elf/sprof.c (print_version): Likewise.
19318 * iconv/iconv_prog.c (print_version): Likewise.
19319 * iconv/iconvconfig.c (print_version): Likewise.
19320 * locale/programs/locale.c (print_version): Likewise.
19321 * locale/programs/localedef.c (print_version): Likewise.
19322 * login/programs/pt_chown.c (print_version): Likewise.
19323 * malloc/memusage.sh (do_version): Likewise.
19324 * malloc/memusagestat.c (print_version): Likewise.
19325 * malloc/mtrace.pl: Likewise.
19326 * manual/libc.texinfo: Likewise.
19327 * nptl/version.c (banner): Likewise.
19328 * nscd/nscd.c (print_version): Likewise.
19329 * nss/getent.c (print_version): Likewise.
19330 * nss/makedb.c (print_version): Likewise.
19331 * posix/getconf.c (main): Likewise.
19332 * scripts/test-installation.pl: Likewise.
19333 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19335 * All files with FSF copyright notices: Update copyright dates
19336 using scripts/update-copyrights.
19337 * locale/programs/charmap-kw.h: Regenerated.
19338 * locale/programs/locfile-kw.h: Likewise.
19340 2017-12-31 Zack Weinberg <zackw@panix.com>
19342 * libio/bits/libio-ldbl.h: Correct check for improper
19343 inclusion. Add own multiple include guard.
19345 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19346 Dmitry V. Levin <ldv@altlinux.org>
19350 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19351 string token expansion. Check for NULL pointer or empty string possibly
19352 returned by expand_dynamic_string_token.
19353 (decompose_rpath): Check for empty path after dynamic string
19356 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19359 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19361 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19362 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19363 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19364 and PTRACE_SYSCALL.
19365 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19366 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19367 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19368 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19369 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19370 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19372 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19373 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19374 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19375 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19377 bits/ptrace-shared.h.
19378 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19379 <bits/ptrace-shared.h>.
19380 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19381 __ptrace_peeksiginfo_flags, ptrace): Remove.
19382 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19383 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19384 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19385 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19386 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19388 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19391 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19392 end of the loop. Improve comments.
19394 2017-12-29 Zack Weinberg <zackw@panix.com>
19397 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19398 might be set on success.
19400 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19403 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19404 is unchanged on success.
19406 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19408 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19410 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19411 expand_dynamic_string_token): Likewise.
19412 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19415 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19418 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19419 is set and name contains ':', and all code depending on these checks.
19421 2017-12-24 Zack Weinberg <zackw@panix.com>
19423 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19424 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19426 * libio/libio.h: Rename the original version of this file to
19427 libio/bits/libio.h. Error out if not included by stdio.h or the
19429 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19430 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19431 if not included by bits/libio.h or the stub _G_config.h.
19432 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19433 sysdeps/unix/sysv/linux/bits. Error out if not included by
19434 bits/libio.h or the stub _G_config.h.
19435 * libio/stdio.h: Include bits/libio.h, not libio.h.
19436 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19437 well as libio.h and _G_config.h.
19439 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19440 * libio/strfile.h, stdio-common/vfscanf.c
19441 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19442 Include stdio.h, not _G_config.h nor libio.h.
19443 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19444 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19446 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19448 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19451 * stdlib/getrandom.c (getrandom): Fix comment.
19452 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19454 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19457 * manual/arith.texi (strtoul): Fix a typo.
19460 * manual/arith.texi (finite): Fix the description of the return
19463 2017-12-22 Eric Blake <ebb9@byu.net>
19465 Avoid gcc warnings on cygwin
19466 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19467 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19468 Avoid unused variable.
19470 2017-12-22 Florian Weimer <fweimer@redhat.com>
19472 * io/Makefile (routines): Add copy_file_range.
19473 (tests): Add tst-copy_file_range.
19474 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19475 * io/Versions (GLIBC_2.27): Export copy_file_range.
19476 * io/copy_file_range-compat.c: New file.
19477 * io/copy_file_range.c: Likewise.
19478 * io/tst-copy_file_range-compat.c: Likewise.
19479 * io/tst-copy_file_range.c: Likewise.
19480 * manual/llio.texi (Copying File Data): New section.
19481 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19482 * support/Makefile (libsupport-routines): Add support-xfstat,
19483 xftruncate, xlseek.
19484 * support/support-xfstat.c: New file.
19485 * support/xftruncate.c: Likewise.
19486 * support/xlseek.c: Likewise.
19487 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19488 * sysdeps/unix/sysv/linux/**.abilist: Update.
19489 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19491 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19493 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19494 disable-multi-arch variant to aarch64-linux-gnu.
19496 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19498 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19499 trailing whitespace removed.
19500 * scripts/config.guess: Update to version 2017-12-17.
19501 * scripts/config.sub: Update to version 2017-11-23.
19502 * scripts/install-sh: Update to version 2017-09-23.17.
19503 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19505 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19507 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19508 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19509 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19510 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19511 * sysdeps/tile/crtn.S: Likewise.
19512 * sysdeps/tile/dl-start.S (_start): Likewise.
19513 * sysdeps/tile/dl-trampoline.S: Likewise.
19514 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19515 * sysdeps/tile/start.S (_start): Likewise.
19516 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19517 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19518 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19519 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19520 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19521 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19522 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19524 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19526 * sysdeps/tile/preconfigure: Remove tilegx folder.
19527 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19528 * sysdeps/tile/Implies: ... here.
19529 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19530 * sysdeps/tile/Makefile: ... here.
19531 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19532 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19533 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19534 * sysdeps/tile/bits/wordsize.h: ... here.
19535 * sysdeps/tile/tilegx/*: Move to ...
19536 * sysdeps/tile/*: ... here.
19537 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19538 * sysdeps/tile/tilegx32/Implies: ... here.
19539 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19540 * sysdeps/tile/tilegx64/Implies: ... here.
19541 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19543 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19544 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19545 * sysdeps/unix/sysv/linux/tile/*: ... here.
19546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19547 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19549 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19551 * README: Remove tilepro-*-linux-gnu from supported architecture.
19552 * scripts/build-many-glibcs.py: Likewise.
19553 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19554 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19555 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19556 elf_machine_matches_host, elf_machine_dynamic,
19557 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19558 howto, elf_machine_rela): Likewise.
19559 * sysdeps/tile/dl-start.S (_start): Likewise.
19560 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19561 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19562 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19563 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19564 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19565 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19567 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19568 * sysdeps/tile/preconfigure: Likewise.
19569 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19570 POINTER_CHK_GUARD): Likewise.
19571 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19572 * sysdeps/tile/start.S (_start): Likewise.
19573 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19575 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19576 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19578 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19579 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19580 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19582 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19583 * sysdeps/tile/tilepro/Implies: Remove file.
19584 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19585 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19586 * sysdeps/tile/tilepro/memchr.c: Likewise.
19587 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19588 * sysdeps/tile/tilepro/memset.c: Likewise.
19589 * sysdeps/tile/tilepro/memusage.h: Likewise.
19590 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19591 * sysdeps/tile/tilepro/strchr.c: Likewise.
19592 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19593 * sysdeps/tile/tilepro/strlen.c: Likewise.
19594 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19595 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19596 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19597 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19598 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19599 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19600 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19602 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19603 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19604 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19605 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19606 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19607 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19608 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19609 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19610 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19611 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19612 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19613 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19614 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19615 tilepro mention in comment.
19617 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19618 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19619 * nptl/pthread_join_common.c: New file: common function used on
19620 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19621 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19622 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19623 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19624 (cleanup): Move definition to pthread_join_common.c.
19625 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19626 Remove superflous checks.
19627 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19630 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19632 * sysdeps/aarch64/libm-test-ulps: Update.
19634 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19636 * sysdeps/aarch64/memset.S (MEMSET): Define.
19638 2017-12-20 Florian Weimer <fweimer@redhat.com>
19641 nptl: Provide full implementation of pthread_self in libc.so.
19642 * nptl/Makefile (routines): Add pthread_self.
19643 (libpthread-routines): Replace pthread_self with
19644 compat-pthread_self.
19645 * nptl/forward.c (pthread_self): Remove.
19646 * nptl/nptl-init.c (pthread_functions): Do not initialize
19648 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19649 * nptl/compat-pthread_self.c: New file.
19650 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19651 Remove ptr_pthread_self.
19653 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19655 * posix/regcomp.c: Fix spelling in comments.
19656 * posix/regex.h: Likewise.
19657 * posix/regex_internal.c: Likewise.
19658 * posix/regexec.c: Likewise.
19660 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19663 * math/Makefile [C++] (tests): Add test for iseqsig.
19664 * math/math.h [C++] (iseqsig): New implementation, which does
19665 not rely on __MATH_TG/__builtin_types_compatible_p.
19666 * math/test-math-iseqsig.cc: New file.
19667 * sysdeps/powerpc/powerpc64le/Makefile
19668 (CFLAGS-test-math-iseqsig.cc): New variable.
19670 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19672 * elf/dl-load.c (is_trusted_path): Remove.
19673 (fillin_rpath): Remove check_trusted argument and its use,
19674 all callers changed.
19676 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19679 * Makeconfig (link-pie-before-libc): Replace -pie with
19680 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19681 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19682 (tst-dlopen-aout-no-pie): New.
19683 (LDFLAGS-tst-prelink): Removed.
19684 (tst-prelink-no-pie): New.
19685 (LDFLAGS-tst-main1): Removed.
19686 (tst-main1-no-pie): New.
19687 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19688 (tst-gmon-no-pie): New.
19690 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19692 * manual/install.texi: Document that --enable-static-pie
19694 * INSTALL: Regenerated.
19696 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19699 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19702 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19706 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19710 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19712 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19713 <errno.h>. Include "eexp.tbl".
19714 (half): New constant.
19716 (__ieee754_exp): Rewrite.
19717 (__slowexp): Remove prototype.
19718 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19719 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19720 * sysdeps/i386/fpu/slowexp.c: Likewise.
19721 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19722 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19723 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19724 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19726 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19727 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19729 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19730 (CPPFLAGS-slowexp.c): Remove variable.
19731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19732 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19733 (CFLAGS-slowexp-fma.c): Remove variable.
19734 (CFLAGS-slowexp-fma4.c): Likewise.
19735 (CFLAGS-slowexp-avx.c): Likewise.
19736 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19740 * math/Makefile (type-double-routines): Remove slowexp.
19741 * manual/probes.texi (slowexp_p6): Remove.
19742 (slowexp_p32): Likewise.
19744 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19746 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19749 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19751 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19755 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19757 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19758 <errno.h>. Include "eexp.tbl".
19759 (half): New constant.
19761 (__ieee754_exp): Rewrite.
19762 (__slowexp): Remove prototype.
19763 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19764 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19765 * sysdeps/i386/fpu/slowexp.c: Likewise.
19766 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19767 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19768 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19769 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19770 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19771 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19772 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19774 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19775 (CPPFLAGS-slowexp.c): Remove variable.
19776 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19777 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19778 (CFLAGS-slowexp-fma.c): Remove variable.
19779 (CFLAGS-slowexp-fma4.c): Likewise.
19780 (CFLAGS-slowexp-avx.c): Likewise.
19781 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19783 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19785 * math/Makefile (type-double-routines): Remove slowexp.
19786 * manual/probes.texi (slowexp_p6): Remove.
19787 (slowexp_p32): Likewise.
19789 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19790 James Clarke <jrtc27@jrtc27.com>
19793 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19796 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19799 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19802 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19805 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19806 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19807 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19808 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19811 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19814 * bits/types/__cancel_jmp_buf_tag.h: New file.
19815 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19816 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19817 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19818 * nptl/Makefile (headers): Add
19819 bits/types/__cancel_jmp_buf_tag.h.
19820 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19821 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19822 * sysdeps/nptl/pthread.h: Include
19823 <bits/types/__cancel_jmp_buf_tag.h>.
19824 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19826 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19828 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19830 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19831 --enable-static-pie variants to x86_64, x32 and i686.
19833 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19836 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19837 argument for attrubutes. All callers changed.
19838 (__inline_mathop1): Likewise. All callers changed.
19839 (__inline_mathop): Likewise. All callers changed.
19840 [__USE_MISC] (scalbn): Use __inline_forward instead of
19841 __inline_forward_c.
19842 [__USE_ISOC99] (scalbln): Likewise.
19843 [__USE_ISOC99] (nearbyint): Likewise.
19844 [__USE_ISOC99] (lrint): Likewise.
19845 [__USE_MISC] (scalbnf): Likewise.
19846 [__USE_ISOC99] (scalblnf): Likewise.
19847 [__USE_ISOC99] (nearbyintf): Likewise.
19848 [__USE_ISOC99] (lrintf): Likewise.
19849 [__USE_MISC] (scalbnl): Likewise.
19850 [__USE_ISOC99] (scalblnl): Likewise.
19851 [__USE_ISOC99] (nearbyintl): Likewise.
19852 [__USE_ISOC99] (lrintl): Likewise.
19853 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19854 __inline_mathop and __m81_defun changed.
19856 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19857 CPU or FPU for ARM hard-float configurations.
19859 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19861 * nptl/tst-attr3.c: Include <libc-diag.h>.
19862 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19864 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19866 * string/tester.c (test_strncat): Also disable -Warray-bounds
19867 warnings for two tests.
19869 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19872 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19873 $(cc-pie-default) == yes.
19874 * config.make.in (cc-pie-default): New.
19875 * configure.ac (libc_cv_pie_default): Renamed to ...
19876 (libc_cv_cc_pie_default): This.
19877 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19878 * configure: Regenerated.
19880 2017-12-18 Florian Weimer <fweimer@redhat.com>
19883 ld.so: Harden dl-libc/libdl hooks.
19884 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19885 (rtld_active): New function.
19886 * dlfcn/dladdr.c (__dladdr): Call it.
19887 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19888 * dlfcn/dlclose.c (__dlcose): Likewise.
19889 * dlfcn/dlerror.c (__dlerror): Likewise.
19890 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19891 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19892 * dlfcn/dlopen.c (__dlopen): Likewise.
19893 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19894 * dlfcn/dlsym.c (__dlsym): Likewise.
19895 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19896 * libio/vtables.c (_IO_vtable_check): Likewise.
19897 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19898 (__libc_dlclose): Likewise.
19899 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19902 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19905 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19906 buffers for readlink input and output.
19908 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19911 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19912 inhibit_stack_protector.
19915 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19916 inhibit_stack_protector.
19918 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19921 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19922 code and invocation.
19924 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19926 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19928 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19931 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19933 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19935 * sysdeps/s390/fpu/libm-test-ulps: Update.
19937 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19941 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19943 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19944 constants to s_sincosf.h file.
19945 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19946 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19948 * sysdeps/ieee754/flt-32/s_sincosf.h:
19951 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19954 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19957 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19960 * INSTALL: Regenerated.
19961 * Makeconfig (real-static-start-installed-name): New.
19962 (pic-default): Updated for --enable-static-pie.
19963 (pie-default): New for --enable-static-pie.
19964 (default-pie-ldflag): Likewise.
19965 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19966 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19967 Replace $(static-start-installed-name) with
19968 $(real-static-start-installed-name).
19969 (+prectorT): Updated for --enable-static-pie.
19970 (+postctorT): Likewise.
19971 (CFLAGS-.o): Add $(pie-default).
19972 (CFLAGS-.op): Likewise.
19973 * NEWS: Mention --enable-static-pie.
19974 * config.h.in (ENABLE_STATIC_PIE): New.
19975 * configure.ac (--enable-static-pie): New configure option.
19976 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19977 (have-static-pie): Likewise.
19978 Enable static PIE if linker supports --no-dynamic-linker.
19979 (ENABLE_STATIC_PIE): New AC_DEFINE.
19980 (enable-static-pie): New LIBC_CONFIG_VAR.
19981 * configure: Regenerated.
19982 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19983 gr$(start-installed-name) for --enable-static-pie.
19984 (extra-objs): Likewise.
19985 (install-lib): Likewise.
19986 (extra-objs): Add static-reloc.o and static-reloc.os
19987 ($(objpfx)$(start-installed-name)): Also depend on
19988 $(objpfx)static-reloc.o.
19989 ($(objpfx)r$(start-installed-name)): New.
19990 ($(objpfx)g$(start-installed-name)): Also depend on
19991 $(objpfx)static-reloc.os.
19992 ($(objpfx)gr$(start-installed-name)): New.
19993 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19995 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19997 * csu/static-reloc.c: New file.
19998 * elf/Makefile (routines): Add dl-reloc-static-pie.
19999 (elide-routines.os): Likewise.
20000 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20001 (tst-tls1-static-non-pie-no-pie): New.
20002 * elf/dl-reloc-static-pie.c: New file.
20003 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20004 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20005 STATIC_PIE_BOOTSTRAP.
20006 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20007 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20008 (tests-static): Likewise.
20009 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20010 (tst-gmon-static-no-pie): New.
20011 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20012 (CRT-tst-gmon-static-pie): Likewise.
20013 (tst-gmon-static-pie-ENV): Likewise.
20014 (tests-special): Likewise.
20015 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20016 (clean-tst-gmon-static-pie-data): Likewise.
20017 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20018 * gmon/tst-gmon-static-pie.c: New file.
20019 * manual/install.texi: Document --enable-static-pie.
20020 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20021 (_dl_get_dl_main_map): Likewise.
20022 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20023 * sysdeps/x86_64/configure.ac: Likewise.
20024 * sysdeps/i386/configure: Regenerated.
20025 * sysdeps/x86_64/configure: Likewise.
20026 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20027 (ASFLAGS-.op): Likewise.
20029 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20031 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20032 * posix/tst-mmap-offset.c (fname): Use /tmp.
20033 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20035 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20037 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20039 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20041 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20044 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20046 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20047 --with-float=hard for arm-linux-gnueabihf configurations.
20050 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20051 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20052 ($(mo-installed)): Use $(objpfx)%.mo.
20053 (realclean): Remove rule.
20055 * po/Makefile (linguas): Remove rule and dependencies.
20056 (linguas.mo): Likewise.
20057 (.PHONY): Do not depend on linguas and linguas.mo.
20058 (podir): Remove variable.
20059 (pofiles): Likewise.
20060 [$(pofiles)] (%.po): Remove rule.
20062 * sysdeps/sparc/sparc32/Makefile
20063 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20064 start-of-line whitespace in argument of echo.
20065 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20066 with whitespace. Generate __wrap_.udiv alias.
20067 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20068 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20069 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20070 * sysdeps/sparc/sparc32/urem.S: Likewise.
20072 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20074 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20075 for aligned inputs.
20077 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20079 * benchtests/bench-strcmp.c: Print output in JSON format.
20081 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20083 2017-12-14 Florian Weimer <fweimer@redhat.com>
20087 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20088 the expanded path string.
20090 2017-12-14 Florian Weimer <fweimer@redhat.com>
20094 * elf/dl-load.c (system_dirs): Update comment.
20095 (nsystem_dirs_len): Use array_length.
20096 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20098 2017-12-14 Florian Weimer <fweimer@redhat.com>
20100 Simplify compiling most of support/ outside of glibc.
20101 * support/check_addrinfo.c: Include <string.h>.
20102 * support/check_dns_packet.c: Likewise.
20103 * support/check_hostent.c: Likewise.
20104 * support/support_can_chroot.c: Include <support/xunistd.h>.
20105 * support/support_format_addrinfo.c: Include <stdlib.h>
20106 * support/support_format_dns_packet.c: Include <stdbool.h>.
20107 * support/support_format_hostent.c: Include <stdlib.h>.
20108 * support/support_format_netent.c: Likewise.
20109 * support/support_write_string.c: Include <support/xunistd.h>.
20110 * support/xdlfcn.c: Include <stddef.h>.
20112 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20114 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20116 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20117 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20119 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20120 (sysdeps_routines): Add memset-niagara7.
20121 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20123 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20125 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20126 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20127 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20128 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20129 Add niagara7 option.
20130 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20133 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20134 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20135 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20137 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20139 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20140 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20141 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20142 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20143 and __memmove_niagara7.
20144 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20145 Add niagara7 option.
20146 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20147 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20148 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20149 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20150 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20152 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20154 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20155 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20156 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20157 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20159 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20160 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20161 _dl_sparc_cap_flags array.
20162 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20164 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20166 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20167 time whenever possible.
20169 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20171 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20172 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20174 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20176 * soft-fp/fmadf4.c: Move to ....
20177 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20178 * soft-fp/fmasf4.c: Move to ....
20179 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20180 * soft-fp/fmatf4.c: Move to ....
20181 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20182 * sysdeps/ieee754/soft-fp/Makefile: New file.
20183 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20184 * sysdeps/arm/preconfigure: Regenerated.
20185 * sysdeps/arm/nofpu/Implies: New file.
20186 * sysdeps/arm/s_fma.c: Remove file.
20187 * sysdeps/arm/s_fmaf.c: Likewise.
20188 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20189 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20190 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20191 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20192 * sysdeps/microblaze/s_fma.c: Remove file.
20193 * sysdeps/microblaze/s_fmaf.c: Likewise.
20194 * sysdeps/mips/mips32/nofpu/Implies: New file.
20195 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20196 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20197 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20198 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20199 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20200 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20201 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20203 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20204 * sysdeps/nios2/s_fma.c: Remove file.
20205 * sysdeps/nios2/s_fmaf.c: Likewise.
20206 * sysdeps/sh/nofpu/Implies: New file.
20207 * sysdeps/sh/s_fma.c: Remove file.
20208 * sysdeps/sh/s_fmaf.c: Likewise.
20209 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20210 * sysdeps/tile/s_fma.c: Remove file.
20211 * sysdeps/tile/s_fmaf.c: Likewise.
20213 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20215 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20216 Add s_cosf-sse2 and s_cosf-fma.
20217 (CFLAGS-s_cosf-fma.c): New.
20218 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20219 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20220 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20222 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20224 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20226 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20228 * libio/Makefile (tests): Add tst-bz22415.
20229 (tst-bz22415-ENV): New rule.
20230 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20231 (tests-special): Add tst-bz22415-mem.out.
20232 ($(objpfx)tst-bz22415-mem.out): New rule.
20233 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20234 in case of a successful seek operation.
20235 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20236 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20237 buffer is required.
20238 * libio/tst-bz22415.c: New test.
20240 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20242 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20244 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20245 __IPC_64 to 0 to avoid IPC_64 being set.
20247 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20250 * math/bits/mathcalls.h (nextafter): Remove const.
20251 (nexttoward): Likewise.
20253 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20255 * configure.ac (--with-fp): Remove configure option.
20256 (with_fp_cond): New variable.
20257 (libc_cv_with_fp): New configure test. Use this variable instead
20259 * configure: Regenerated.
20260 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20261 * manual/install.texi (Configuring and compiling): Remove
20263 * INSTALL: Regenerated.
20264 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20265 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20266 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20267 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20268 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20269 use --without-fp to configure glibc.
20271 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20273 * manual/locale.texi (nl_langinfo): Fix a typo.
20275 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20278 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20280 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20282 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20283 (CFLAGS-argp-parse.c): Likewise.
20284 (CFLAGS-argp-fmtstream.c): Likewise.
20285 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20286 (CPPFLAGS-sha512-crypt.c): Likewise.
20287 (CPPFLAGS-md5-crypt.c): Likewise.
20288 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20289 (CFLAGS-stack_chk_fail_local.c): Likewise.
20290 (CFLAGS-backtrace.c): Likewise.
20291 (CFLAGS-sprintf_chk.c): Likewise.
20292 (CFLAGS-snprintf_chk.c): Likewise.
20293 (CFLAGS-vsprintf_chk.c): Likewise.
20294 (CFLAGS-vsnprintf_chk.c): Likewise.
20295 (CFLAGS-asprintf_chk.c): Likewise.
20296 (CFLAGS-vasprintf_chk.c): Likewise.
20297 (CFLAGS-obprintf_chk.c): Likewise.
20298 (CFLAGS-dprintf_chk.c): Likewise.
20299 (CFLAGS-vdprintf_chk.c): Likewise.
20300 (CFLAGS-printf_chk.c): Likewise.
20301 (CFLAGS-fprintf_chk.c): Likewise.
20302 (CFLAGS-vprintf_chk.c): Likewise.
20303 (CFLAGS-vfprintf_chk.c): Likewise.
20304 (CFLAGS-gets_chk.c): Likewise.
20305 (CFLAGS-fgets_chk.c): Likewise.
20306 (CFLAGS-fgets_u_chk.c): Likewise.
20307 (CFLAGS-fread_chk.c): Likewise.
20308 (CFLAGS-fread_u_chk.c): Likewise.
20309 (CFLAGS-swprintf_chk.c): Likewise.
20310 (CFLAGS-vswprintf_chk.c): Likewise.
20311 (CFLAGS-wprintf_chk.c): Likewise.
20312 (CFLAGS-fwprintf_chk.c): Likewise.
20313 (CFLAGS-vwprintf_chk.c): Likewise.
20314 (CFLAGS-vfwprintf_chk.c): Likewise.
20315 (CFLAGS-fgetws_chk.c): Likewise.
20316 (CFLAGS-fgetws_u_chk.c): Likewise.
20317 (CFLAGS-read_chk.c): Likewise.
20318 (CFLAGS-pread_chk.c): Likewise.
20319 (CFLAGS-pread64_chk.c): Likewise.
20320 (CFLAGS-recv_chk.c): Likewise.
20321 (CFLAGS-recvfrom_chk.c): Likewise.
20322 (CFLAGS-tst-longjmp_chk.c): Likewise.
20323 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20324 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20325 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20326 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20327 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20328 (CFLAGS-tst-chk1.c): Likewise.
20329 (CFLAGS-tst-chk2.c): Likewise.
20330 (CFLAGS-tst-chk3.c): Likewise.
20331 (CFLAGS-tst-chk4.cc): Likewise.
20332 (CFLAGS-tst-chk5.cc): Likewise.
20333 (CFLAGS-tst-chk6.cc): Likewise.
20334 (CFLAGS-tst-lfschk1.c): Likewise.
20335 (CFLAGS-tst-lfschk2.c): Likewise.
20336 (CFLAGS-tst-lfschk3.c): Likewise.
20337 (CFLAGS-tst-lfschk4.cc): Likewise.
20338 (CFLAGS-tst-lfschk5.cc): Likewise.
20339 (CFLAGS-tst-lfschk6.cc): Likewise.
20340 (CFLAGS-tst-ssp-1.c): Likewise.
20341 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20342 (CFLAGS-scandir64.c): Likewise.
20343 (CFLAGS-scandir-tail.c): Likewise.
20344 (CFLAGS-scandir64-tail.c): Likewise.
20345 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20346 (CFLAGS-dl-tunables.c): Likewise.
20347 (CFLAGS-dl-runtime.c): Likewise.
20348 (CFLAGS-dl-lookup.c): Likewise.
20349 (CFLAGS-dl-iterate-phdr.c): Likewise.
20350 (CFLAGS-vismain.c): Likewise.
20351 (CFLAGS-tst-linkall-static.c): Likewise.
20352 (CFLAGS-tst-linkall-static.c): Likewise.
20353 (CPPFLAGS-dl-load.c): Likewise.
20354 (CFLAGS-ldconfig.c): Likewise.
20355 (CFLAGS-dl-cache.c): Likewise.
20356 (CFLAGS-cache.c): Likewise.
20357 (CFLAGS-rtld.c): Likewise.
20358 (CFLAGS-multiload.c): Likewise.
20359 (CFLAGS-filtmod1.c): Likewise.
20360 (CFLAGS-tst-align.c): Likewise.
20361 (CFLAGS-tst-align2.c): Likewise.
20362 (CFLAGS-tst-alignmod.c): Likewise.
20363 (CFLAGS-tst-alignmod2.c): Likewise.
20364 (CPPFLAGS-tst-execstack.c): Likewise.
20365 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20366 (CFLAGS-tst-latepthreadmod.c): Likewise.
20367 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20368 (CFLAGS-getgrnam_r.c): Likewise.
20369 (CFLAGS-getgrent_r.c): Likewise.
20370 (CFLAGS-getgrent.c): Likewise.
20371 (CFLAGS-fgetgrent.c): Likewise.
20372 (CFLAGS-fgetgrent_r.c): Likewise.
20373 (CFLAGS-putgrent.c): Likewise.
20374 (CFLAGS-initgroups.c): Likewise.
20375 (CFLAGS-getgrgid.c): Likewise.
20376 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20377 (CFLAGS-getsgent.c): Likewise.
20378 (CFLAGS-fgetsgent.c): Likewise.
20379 (CFLAGS-fgetsgent_r.c): Likewise.
20380 (CFLAGS-putsgent.c): Likewise.
20381 (CFLAGS-getsgnam.c): Likewise.
20382 (CFLAGS-getsgnam_r.c): Likewise.
20383 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20384 (CFLAGS-iconv_charmap.c): Likewise.
20385 (CFLAGS-dummy-repertoire.c): Likewise.
20386 (CFLAGS-charmap.c): Likewise.
20387 (CFLAGS-linereader.c): Likewise.
20388 (CFLAGS-simple-hash.c): Likewise.
20389 (CFLAGS-gconv_conf.c): Likewise.
20390 (CFLAGS-iconvconfig.c): Likewise.
20391 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20392 (CFLAGS-gethstbyad.c): Likewise.
20393 (CFLAGS-gethstbynm_r.c): Likewise.
20394 (CFLAGS-gethstbynm.c): Likewise.
20395 (CFLAGS-gethstbynm2_r.c): Likewise.
20396 (CFLAGS-gethstbynm2.c): Likewise.
20397 (CFLAGS-gethstent_r.c): Likewise.
20398 (CFLAGS-gethstent.c): Likewise.
20399 (CFLAGS-rcmd.c): Likewise.
20400 (CFLAGS-getnetbynm_r.c): Likewise.
20401 (CFLAGS-getnetbynm.c): Likewise.
20402 (CFLAGS-getnetbyad_r.c): Likewise.
20403 (CFLAGS-getnetbyad.c): Likewise.
20404 (CFLAGS-getnetent_r.c): Likewise.
20405 (CFLAGS-getnetent.c): Likewise.
20406 (CFLAGS-getaliasent_r.c): Likewise.
20407 (CFLAGS-getaliasent.c): Likewise.
20408 (CFLAGS-getrpcent_r.c): Likewise.
20409 (CFLAGS-getrpcent.c): Likewise.
20410 (CFLAGS-getservent_r.c): Likewise.
20411 (CFLAGS-getservent.c): Likewise.
20412 (CFLAGS-getprtent_r.c): Likewise.
20413 (CFLAGS-getprtent.c): Likewise.
20414 (CFLAGS-either_ntoh.c): Likewise.
20415 (CFLAGS-either_hton.c): Likewise.
20416 (CFLAGS-getnetgrent.c): Likewise.
20417 (CFLAGS-getnetgrent_r.c): Likewise.
20418 (CFLAGS-tst-checks-posix.c): Likewise.
20419 (CFLAGS-tst-sockaddr.c): Likewise.
20420 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20421 (CFLAGS-tst-translit.c): Likewise.
20422 (CFLAGS-tst-gettext2.c): Likewise.
20423 (CFLAGS-tst-codeset.c): Likewise.
20424 (CFLAGS-tst-gettext3.c): Likewise.
20425 (CFLAGS-tst-gettext4.c): Likewise.
20426 (CFLAGS-tst-gettext5.c): Likewise.
20427 (CFLAGS-tst-gettext6.c): Likewise.
20428 * io/Makefile (CFLAGS-open.c): Likewise.
20429 (CFLAGS-open64.c): Likewise.
20430 (CFLAGS-creat.c): Likewise.
20431 (CFLAGS-creat64.c): Likewise.
20432 (CFLAGS-fcntl.c): Likewise.
20433 (CFLAGS-poll.c): Likewise.
20434 (CFLAGS-ppoll.c): Likewise.
20435 (CFLAGS-lockf.c): Likewise.
20436 (CFLAGS-statfs.c): Likewise.
20437 (CFLAGS-fstatfs.c): Likewise.
20438 (CFLAGS-statvfs.c): Likewise.
20439 (CFLAGS-fstatvfs.c): Likewise.
20440 (CFLAGS-fts.c): Likewise.
20441 (CFLAGS-fts64.c): Likewise.
20442 (CFLAGS-ftw.c): Likewise.
20443 (CFLAGS-ftw64.c): Likewise.
20444 (CFLAGS-lockf.c): Likewise.
20445 (CFLAGS-posix_fallocate.c): Likewise.
20446 (CFLAGS-posix_fallocate64.c): Likewise.
20447 (CFLAGS-fallocate.c): Likewise.
20448 (CFLAGS-fallocate64.c): Likewise.
20449 (CFLAGS-read.c): Likewise.
20450 (CFLAGS-write.c): Likewise.
20451 (CFLAGS-test-stat.c): Likewise.
20452 (CFLAGS-test-lfs.c): Likewise.
20453 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20454 (CFLAGS-fputc.c): Likewise.
20455 (CFLAGS-fputwc.c): Likewise.
20456 (CFLAGS-freopen64.c): Likewise.
20457 (CFLAGS-freopen.c): Likewise.
20458 (CFLAGS-fseek.c): Likewise.
20459 (CFLAGS-fseeko64.c): Likewise.
20460 (CFLAGS-fseeko.c): Likewise.
20461 (CFLAGS-ftello64.c): Likewise.
20462 (CFLAGS-ftello.c): Likewise.
20463 (CFLAGS-fwide.c): Likewise.
20464 (CFLAGS-genops.c): Likewise.
20465 (CFLAGS-getc.c): Likewise.
20466 (CFLAGS-getchar.c): Likewise.
20467 (CFLAGS-getwc.c): Likewise.
20468 (CFLAGS-getwchar.c): Likewise.
20469 (CFLAGS-iofclose.c): Likewise.
20470 (CFLAGS-iofflush.c): Likewise.
20471 (CFLAGS-iofgetpos64.c): Likewise.
20472 (CFLAGS-iofgetpos.c): Likewise.
20473 (CFLAGS-iofgets.c): Likewise.
20474 (CFLAGS-iofgetws.c): Likewise.
20475 (CFLAGS-iofputs.c): Likewise.
20476 (CFLAGS-iofputws.c): Likewise.
20477 (CFLAGS-iofread.c): Likewise.
20478 (CFLAGS-iofsetpos64.c): Likewise.
20479 (CFLAGS-iofsetpos.c): Likewise.
20480 (CFLAGS-ioftell.c): Likewise.
20481 (CFLAGS-iofwrite.c): Likewise.
20482 (CFLAGS-iogetdelim.c): Likewise.
20483 (CFLAGS-iogetline.c): Likewise.
20484 (CFLAGS-iogets.c): Likewise.
20485 (CFLAGS-iogetwline.c): Likewise.
20486 (CFLAGS-ioputs.c): Likewise.
20487 (CFLAGS-ioseekoff.c): Likewise.
20488 (CFLAGS-ioseekpos.c): Likewise.
20489 (CFLAGS-iosetbuffer.c): Likewise.
20490 (CFLAGS-iosetvbuf.c): Likewise.
20491 (CFLAGS-ioungetc.c): Likewise.
20492 (CFLAGS-ioungetwc.c): Likewise.
20493 (CFLAGS-oldfileops.c): Likewise.
20494 (CFLAGS-oldiofclose.c): Likewise.
20495 (CFLAGS-oldiofgetpos64.c): Likewise.
20496 (CFLAGS-oldiofgetpos.c): Likewise.
20497 (CFLAGS-oldiofsetpos64.c): Likewise.
20498 (CFLAGS-oldiofsetpos.c): Likewise.
20499 (CFLAGS-peekc.c): Likewise.
20500 (CFLAGS-putc.c): Likewise.
20501 (CFLAGS-putchar.c): Likewise.
20502 (CFLAGS-putwc.c): Likewise.
20503 (CFLAGS-putwchar.c): Likewise.
20504 (CFLAGS-rewind.c): Likewise.
20505 (CFLAGS-wfileops.c): Likewise.
20506 (CFLAGS-wgenops.c): Likewise.
20507 (CFLAGS-oldiofopen.c): Likewise.
20508 (CFLAGS-iofopen.c): Likewise.
20509 (CFLAGS-iofopen64.c): Likewise.
20510 (CFLAGS-oldtmpfile.c): Likewise.
20511 (CFLAGS-tst_putwc.c): Likewise.
20512 * locale/Makefile (CFLAGS-md5.c): Likewise.
20513 (CFLAGS-charmap.c): Likewise.
20514 (CFLAGS-locfile.c): Likewise.
20515 (CFLAGS-charmap-dir.c): Likewise.
20516 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20517 (CFLAGS-getpt.c): Likewise.
20518 (CFLAGS-pt_chown.c): Likewise.
20519 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20520 (CFLAGS-obstack.c): Likewise.
20521 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20522 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20523 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20524 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20525 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20526 (CFLAGS-test-tgmath.c): Likewise.
20527 (CFLAGS-test-tgmath2.c): Likewise.
20528 (CFLAGS-test-tgmath-ret.c): Likewise.
20529 (CFLAGS-test-powl.c): Likewise.
20530 (CFLAGS-test-snan.c): Likewise.
20531 (CFLAGS-test-signgam-finite.c): Likewise.
20532 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20533 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20534 (CFLAGS-test-signgam-uchar.c): Likewise.
20535 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20536 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20537 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20538 (CFLAGS-test-signgam-uint.c): Likewise.
20539 (CFLAGS-test-signgam-uint-init.c): Likewise.
20540 (CFLAGS-test-signgam-uint-static.c): Likewise.
20541 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20542 (CFLAGS-test-signgam-ullong.c): Likewise.
20543 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20544 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20545 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20546 (CFLAGS-test-math-cxx11.cc): Likewise.
20547 (CFLAGS-test-math-isinff.cc): Likewise.
20548 (CFLAGS-test-math-iszero.cc): Likewise.
20549 (CFLAGS-test-math-issignaling.cc): Likewise.
20550 (CFLAGS-test-math-iscanonical.cc): Likewise.
20551 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20552 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20553 (CFLAGS-test-flt-eval-method.c): Likewise.
20554 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20555 (CFLAGS-test-finite-macros.c): Likewise.
20556 * misc/Makefile (CFLAGS-select.c): Likewise.
20557 (CFLAGS-tsearch.c): Likewise.
20558 (CFLAGS-lsearch.c): Likewise.
20559 (CFLAGS-pselect.c): Likewise.
20560 (CFLAGS-readv.c): Likewise.
20561 (CFLAGS-writev.c): Likewise.
20562 (CFLAGS-preadv.c): Likewise.
20563 (CFLAGS-preadv64.c): Likewise.
20564 (CFLAGS-pwritev.c): Likewise.
20565 (CFLAGS-pwritev64.c): Likewise.
20566 (CFLAGS-preadv2.c): Likewise.
20567 (CFLAGS-preadv64v2.c): Likewise.
20568 (CFLAGS-pwritev2.c): Likewise.
20569 (CFLAGS-pwritev64v2.c): Likewise.
20570 (CFLAGS-usleep.c): Likewise.
20571 (CFLAGS-syslog.c): Likewise.
20572 (CFLAGS-error.c): Likewise.
20573 (CFLAGS-getpass.c): Likewise.
20574 (CFLAGS-mkstemp.c): Likewise.
20575 (CFLAGS-mkstemp64.c): Likewise.
20576 (CFLAGS-getsysstats.c): Likewise.
20577 (CFLAGS-getusershell.c): Likewise.
20578 (CFLAGS-err.c): Likewise.
20579 (CFLAGS-tst-tsearch.c): Likewise.
20580 (CFLAGS-msync.c): Likewise.
20581 (CFLAGS-fdatasync.c): Likewise.
20582 (CFLAGS-fsync.c): Likewise.
20583 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20584 (CFLAGS-unwind.c): Likewise.
20585 (CFLAGS-unwind-forcedunwind.c): Likewise.
20586 (CFLAGS-pthread_cancel.c): Likewise.
20587 (CFLAGS-pthread_setcancelstate.c): Likewise.
20588 (CFLAGS-pthread_setcanceltype.c): Likewise.
20589 (CFLAGS-cancellation.c): Likewise.
20590 (CFLAGS-libc-cancellation.c): Likewise.
20591 (CFLAGS-pthread_exit.c): Likewise.
20592 (CFLAGS-forward.c): Likewise.
20593 (CFLAGS-pthread_testcancel.c): Likewise.
20594 (CFLAGS-pthread_join.c): Likewise.
20595 (CFLAGS-pthread_timedjoin.c): Likewise.
20596 (CFLAGS-pthread_once.c): Likewise.
20597 (CFLAGS-pthread_cond_wait.c): Likewise.
20598 (CFLAGS-sem_wait.c): Likewise.
20599 (CFLAGS-sem_timedwait.c): Likewise.
20600 (CFLAGS-fcntl.c): Likewise.
20601 (CFLAGS-lockf.c): Likewise.
20602 (CFLAGS-pread.c): Likewise.
20603 (CFLAGS-pread64.c): Likewise.
20604 (CFLAGS-pwrite.c): Likewise.
20605 (CFLAGS-pwrite64.c): Likewise.
20606 (CFLAGS-wait.c): Likewise.
20607 (CFLAGS-waitpid.c): Likewise.
20608 (CFLAGS-sigwait.c): Likewise.
20609 (CFLAGS-msgrcv.c): Likewise.
20610 (CFLAGS-msgsnd.c): Likewise.
20611 (CFLAGS-tcdrain.c): Likewise.
20612 (CFLAGS-open.c): Likewise.
20613 (CFLAGS-open64.c): Likewise.
20614 (CFLAGS-pause.c): Likewise.
20615 (CFLAGS-recv.c): Likewise.
20616 (CFLAGS-send.c): Likewise.
20617 (CFLAGS-accept.c): Likewise.
20618 (CFLAGS-sendto.c): Likewise.
20619 (CFLAGS-connect.c): Likewise.
20620 (CFLAGS-recvfrom.c): Likewise.
20621 (CFLAGS-recvmsg.c): Likewise.
20622 (CFLAGS-sendmsg.c): Likewise.
20623 (CFLAGS-close.c): Likewise.
20624 (CFLAGS-read.c): Likewise.
20625 (CFLAGS-write.c): Likewise.
20626 (CFLAGS-nanosleep.c): Likewise.
20627 (CFLAGS-sigsuspend.c): Likewise.
20628 (CFLAGS-msync.c): Likewise.
20629 (CFLAGS-fdatasync.c): Likewise.
20630 (CFLAGS-fsync.c): Likewise.
20631 (CFLAGS-pt-system.c): Likewise.
20632 (CFLAGS-tst-cleanup2.c): Likewise.
20633 (CFLAGS-tst-cleanupx2.c): Likewise.
20634 (CFLAGS-flockfile.c): Likewise.
20635 (CFLAGS-ftrylockfile.c): Likewise.
20636 (CFLAGS-funlockfile.c): Likewise.
20637 (CFLAGS-tst-initializers1.c): Likewise.
20638 (CFLAGS-tst-initializers1-c89.c): Likewise.
20639 (CFLAGS-tst-initializers1-c99.c): Likewise.
20640 (CFLAGS-tst-initializers1-c11.c): Likewise.
20641 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20642 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20643 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20644 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20645 (CFLAGS-nscd_getgr_r.c): Likewise.
20646 (CFLAGS-nscd_gethst_r.c): Likewise.
20647 (CFLAGS-nscd_getai.c): Likewise.
20648 (CFLAGS-nscd_initgroups.c): Likewise.
20649 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20650 (CFLAGS-pause.c): Likewise.
20651 (CFLAGS-pread.c): Likewise.
20652 (CFLAGS-pread64.c): Likewise.
20653 (CFLAGS-pwrite.c): Likewise.
20654 (CFLAGS-pwrite64.c): Likewise.
20655 (CFLAGS-sleep.c): Likewise.
20656 (CFLAGS-wait.c): Likewise.
20657 (CFLAGS-waitid.c): Likewise.
20658 (CFLAGS-waitpid.c): Likewise.
20659 (CFLAGS-getopt.c): Likewise.
20660 (CFLAGS-wordexp.c): Likewise.
20661 (CFLAGS-sysconf.c): Likewise.
20662 (CFLAGS-pathconf.c): Likewise.
20663 (CFLAGS-fpathconf.c): Likewise.
20664 (CFLAGS-spawn.c): Likewise.
20665 (CFLAGS-spawnp.c): Likewise.
20666 (CFLAGS-spawni.c): Likewise.
20667 (CFLAGS-glob.c): Likewise.
20668 (CFLAGS-glob64.c): Likewise.
20669 (CFLAGS-getconf.c): Likewise.
20670 (CFLAGS-nanosleep.c): Likewise.
20671 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20672 (CFLAGS-getpwent.c): Likewise.
20673 (CFLAGS-getpw.c): Likewise.
20674 (CFLAGS-fgetpwent_r.c): Likewise.
20675 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20676 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20677 (CFLAGS-mq_timedreceive.c): Likewise.
20678 (CFLAGS-mq_timedsend.c): Likewise.
20679 (CFLAGS-clock_nanosleep.c): Likewise.
20680 (CFLAGS-librt-cancellation.c): Likewise.
20681 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20682 (CFLAGS-getspent.c): Likewise.
20683 (CFLAGS-fgetspent.c): Likewise.
20684 (CFLAGS-fgetspent_r.c): Likewise.
20685 (CFLAGS-putspent.c): Likewise.
20686 (CFLAGS-getspnam.c): Likewise.
20687 (CFLAGS-getspnam_r.c): Likewise.
20688 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20689 (CFLAGS-sigsuspend.c): Likewise.
20690 (CFLAGS-sigtimedwait.c): Likewise.
20691 (CFLAGS-sigwait.c): Likewise.
20692 (CFLAGS-sigwaitinfo.c): Likewise.
20693 (CFLAGS-sigreturn.c): Likewise.
20694 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20695 (CFLAGS-vfwprintf.c): Likewise.
20696 (CFLAGS-tmpfile.c): Likewise.
20697 (CFLAGS-tmpfile64.c): Likewise.
20698 (CFLAGS-tempname.c): Likewise.
20699 (CFLAGS-psignal.c): Likewise.
20700 (CFLAGS-vprintf.c): Likewise.
20701 (CFLAGS-cuserid.c): Likewise.
20702 (CFLAGS-errlist.c): Likewise.
20703 (CFLAGS-siglist.c): Likewise.
20704 (CFLAGS-scanf15.c): Likewise.
20705 (CFLAGS-scanf17.c): Likewise.
20706 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20707 (CFLAGS-msort.c): Likewise.
20708 (CFLAGS-qsort.c): Likewise.
20709 (CFLAGS-system.c): Likewise.
20710 (CFLAGS-fmtmsg.c): Likewise.
20711 (CFLAGS-strfmon.c): Likewise.
20712 (CFLAGS-strfmon_l.c): Likewise.
20713 (CFLAGS-strfromd.c): Likewise.
20714 (CFLAGS-strfromf.c): Likewise.
20715 (CFLAGS-strfroml.c): Likewise.
20716 (CFLAGS-tst-bsearch.c): Likewise.
20717 (CFLAGS-tst-qsort.c): Likewise.
20718 (CFLAGS-tst-makecontext2.c): Likewise.
20719 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20720 (CFLAGS-xnlm_prot.c): Likewise.
20721 (CFLAGS-xrstat.c): Likewise.
20722 (CFLAGS-xyppasswd.c): Likewise.
20723 (CFLAGS-xklm_prot.c): Likewise.
20724 (CFLAGS-xrex.c): Likewise.
20725 (CFLAGS-xsm_inter.c): Likewise.
20726 (CFLAGS-xmount.c): Likewise.
20727 (CFLAGS-xrusers.c): Likewise.
20728 (CFLAGS-xspray.c): Likewise.
20729 (CFLAGS-xnfs_prot.c): Likewise.
20730 (CFLAGS-xrquota.c): Likewise.
20731 (CFLAGS-xkey_prot.c): Likewise.
20732 (CFLAGS-auth_unix.c): Likewise.
20733 (CFLAGS-key_call.c): Likewise.
20734 (CFLAGS-pmap_rmt.c): Likewise.
20735 (CFLAGS-clnt_perr.c): Likewise.
20736 (CFLAGS-openchild.c): Likewise.
20737 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20738 (CFLAGS-msgsnd.c): Likewise.
20739 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20740 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20741 (CFLAGS-tzset.c): Likewise.
20742 (CFLAGS-getdate.c): Likewise.
20743 (CFLAGS-test_time.c): Likewise.
20744 (CPPFLAGS-tst-tzname.c): Likewise.
20745 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20746 (CFLAGS-zic.c): Likewise.
20747 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20748 (CFLAGS-wcswidth.c): Likewise.
20749 (CFLAGS-wcstol.c): Likewise.
20750 (CFLAGS-wcstoul.c): Likewise.
20751 (CFLAGS-wcstoll.c): Likewise.
20752 (CFLAGS-wcstoull.c): Likewise.
20753 (CFLAGS-wcstod.c): Likewise.
20754 (CFLAGS-wcstold.c): Likewise.
20755 (CFLAGS-wcstof128.c): Likewise.
20756 (CFLAGS-wcstof.c): Likewise.
20757 (CFLAGS-wcstol_l.c): Likewise.
20758 (CFLAGS-wcstoul_l.c): Likewise.
20759 (CFLAGS-wcstoll_l.c): Likewise.
20760 (CFLAGS-wcstoull_l.c): Likewise.
20761 (CFLAGS-wcstod_l.c): Likewise.
20762 (CFLAGS-wcstold_l.c): Likewise.
20763 (CFLAGS-wcstof128_l.c): Likewise.
20764 (CFLAGS-wcstof_l.c): Likewise.
20765 (CPPFLAGS-tst-wchar-h.c): Likewise.
20766 (CPPFLAGS-wcstold_l.c): Likewise.
20768 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20770 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20772 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20773 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20775 * manual/tunables.texi (Hardware Capability Tunables): Document
20776 glibc.tune.cached_memopt.
20777 * sysdeps/powerpc/cpu-features.c: New file.
20778 * sysdeps/powerpc/cpu-features.h: New file.
20779 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20780 _dl_powerpc_cpu_features.
20781 * sysdeps/powerpc/dl-tunables.list: New file.
20782 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20783 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20784 (INIT_ARCH): Initialize use_aligned_memopt.
20785 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20786 IS_IN(rtld))]: Restrict dl_platform_init availability and
20787 initialize CPU features used by tunables.
20788 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20789 Add memcpy-power8-cached.
20790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20791 __memcpy_power8_cached.
20792 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20796 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20798 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20799 (CFLAGS-noinl-tester.c): Likewise.
20800 (CFLAGS-tst-strlen.c): Likewise.
20801 (CFLAGS-stratcliff.c): Likewise.
20802 (CFLAGS-test-ffs.c): Likewise.
20803 (CFLAGS-tst-inlcall.c): Likewise.
20804 (CFLAGS-tst-xbzero-opt.c): Likewise.
20805 (CFLAGS-memcpy.c): Likewise.
20806 (CFLAGS-wordcopy.c): Likewise.
20808 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20810 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20811 Store r15 on stack and add cfi rule.
20812 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20815 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20818 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20821 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20823 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20824 Add s_sinf-sse2 and s_sinf-fma.
20825 (CFLAGS-s_sinf-fma.c): New.
20826 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20827 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20828 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20830 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20832 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20834 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20837 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20838 part of result to imaginary part of argument if it is zero and the
20839 real part of the argument is not finite.
20840 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20841 of result to real part of argument if it is zero and the imaginary
20842 part of the argument is not finite.
20844 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20847 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20848 and to the list of locales to be built for testing.
20849 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20850 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20851 and build the collation rules upon that.
20853 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20855 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20856 * manual/math.texi (Mathematics): Document support for _Float32.
20857 * math/Makefile (test-types): Add float32.
20858 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20859 * stdlib/Versions (GLIBC_2.27): Likewise.
20860 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20861 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20862 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20863 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20864 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20865 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20866 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20867 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20868 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20869 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20870 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20871 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20872 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20873 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20874 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20875 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20876 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20877 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20878 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20879 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20880 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20881 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20883 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20884 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20885 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20886 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20887 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20905 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20906 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20907 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20908 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20909 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20910 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20911 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20913 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20914 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20923 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20924 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20925 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20926 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20927 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20928 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20929 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20930 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20932 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20934 * stdlib/strtof.c: Include <bits/floatn.h>
20935 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20936 and later undefine as macro. Define as weak alias if
20938 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20939 and later undefine as macro. Define as weak alias if
20941 * stdlib/strtof_l.c: Include <bits/floatn.h>
20942 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20943 and later undefine as macro. Define as weak alias if
20945 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20946 and later undefine as macro. Define as weak alias if
20949 * stdlib/strfromf.c: Include <bits/floatn.h>.
20950 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20951 and later undefine as macro and define as weak alias.
20953 * math/test-float32.h: New file.
20955 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20956 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20957 (libm_alias_float_other_r): Create f32 alias.
20958 (libm_alias_float_r): Use semicolon before call to
20959 libm_alias_float_other_r.
20961 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20962 second argument to libm_alias_float_other.
20963 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20964 second argument to libm_alias_float_other.
20965 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20966 argument to libm_alias_float_other.
20969 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20970 real part of result for argument 0 + i * NaN.
20971 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20972 results for tests of 0 + i * NaN.
20974 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20976 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20978 2017-12-06 David S. Miller <davem@davemloft.net>
20980 * sysdeps/sparc/fpu/libm-test-ulps: Update
20981 exp_{downward,towardzero,upward} ulps.
20983 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20985 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20988 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20990 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20994 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20997 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21000 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21001 and to the list of locales to be built for testing.
21002 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21003 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21004 and build the collation rules upon that.
21006 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21008 * NEWS: Add sinf to list of optimized functions.
21010 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21012 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21013 (__HAVE_FLOAT32X): Likewise.
21014 * manual/math.texi (Mathematics): Document support for _Float64
21016 * math/Makefile (test-types): Add float64 and float32x.
21017 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21019 * stdlib/Versions (GLIBC_2.27): Likewise.
21020 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21021 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21022 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21023 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21024 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21025 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21026 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21027 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21028 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21029 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21030 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21031 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21032 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21033 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21034 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21035 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21036 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21037 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21038 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21039 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21040 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21041 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21043 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21044 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21045 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21046 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21047 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21064 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21065 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21066 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21067 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21068 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21069 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21070 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21071 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21072 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21073 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21082 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21083 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21084 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21085 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21086 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21087 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21088 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21089 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21091 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21093 * bits/floatn-common.h: Include <bits/long-double.h>.
21094 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21095 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21096 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21097 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21098 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21099 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21100 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21101 (__builtin_huge_valf64): Use __builtin_huge_vall.
21102 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21103 (__builtin_inff64): Use __builtin_infl.
21104 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21105 (__builtin_nanf64): Use __builtin_nanl.
21106 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21107 (__builtin_nansf64): Use __builtin_nansl.
21109 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21110 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21111 Carlos O'Donnell <carlos@redhat.com>
21113 * elf/dl-tunables.list: Add elision parameters.
21114 * manual/tunables.texi: Add entries about elision tunable.
21115 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21116 Add callback functions to dynamically enable/disable elision.
21117 Add multiple callbacks functions to set elision parameters.
21118 Deleted __libc_enable_secure check.
21119 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21120 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21121 * configure: Regenerated.
21122 * configure.ac: Option enable_lock_elision was deleted.
21123 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21124 * config.make.in: Remove references to enable_lock_elision.
21125 * manual/install.texi: Elision configure option was removed.
21126 * INSTALL: Regenerated to remove enable_lock_elision.
21128 Disable elision so it can verify error case for destroying a mutex.
21129 * sysdeps/powerpc/nptl/elide.h:
21130 Cleanup ENABLE_LOCK_ELISION check.
21131 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21132 * sysdeps/s390/configure: Regenerated.
21133 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21134 * nptl/tst-mutex8.c:
21135 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21136 * sysdeps/powerpc/powerpc32/sysdep.h:
21137 Deleted all ENABLE_LOCK_ELISION checks.
21138 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21139 * sysdeps/powerpc/sysdep.h: Likewise.
21140 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21141 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21142 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21143 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21144 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21145 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21146 enable-lock-elision.
21148 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21150 * stdlib/strtod.c: Include <bits/floatn.h>.
21151 (BUILD_DOUBLE): New macro.
21152 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21153 (strtof64): Define and later undefine as macro. Define as weak
21154 alias if [!USE_WIDE_CHAR].
21155 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21156 (wcstof64): Define and later undefine as macro. Define as weak
21157 alias if [USE_WIDE_CHAR].
21158 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21159 (strtof32x): Define and later undefine as macro. Define as weak
21160 alias if [!USE_WIDE_CHAR].
21161 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21162 (wcstof32x): Define and later undefine as macro. Define as weak
21163 alias if [USE_WIDE_CHAR].
21164 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21165 (BUILD_DOUBLE): New macro.
21166 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21167 (strtof64_l): Define and later undefine as macro. Define as weak
21168 alias if [!USE_WIDE_CHAR].
21169 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21170 (wcstof64_l): Define and later undefine as macro. Define as weak
21171 alias if [USE_WIDE_CHAR].
21172 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21173 (strtof32x_l): Define and later undefine as macro. Define as weak
21174 alias if [!USE_WIDE_CHAR].
21175 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21176 (wcstof32x_l): Define and later undefine as macro. Define as weak
21177 alias if [USE_WIDE_CHAR].
21179 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21181 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21182 (reduced): Use ones as double instead of integer.
21184 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21186 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21188 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21190 * stdlib/strfromd.c: Include <bits/floatn.h>.
21191 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21192 and later undefine as macro and define as weak alias.
21193 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21196 * math/test-float32x.h: New file.
21197 * math/test-float64.h: Likewise.
21199 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21200 (libm_alias_double_other_r_f64): New macro.
21201 (libm_alias_double_other_r_f32x): Likewise.
21202 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21203 libm_alias_double_other_r_f32x.
21204 (libm_alias_double_r): Use semicolon before call to
21205 libm_alias_double_other_r.
21206 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21208 (libm_alias_double_other_r_f64): New macro.
21209 (libm_alias_double_other_r_f32x): Likewise.
21210 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21211 libm_alias_double_other_r_f32x.
21213 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21215 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21217 (SINF_FUNC): Likewise. Replace floor with simple casts.
21219 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21222 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21223 and to the list of locales to be built for testing.
21224 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21225 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21226 and build the collation rules upon that.
21228 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21230 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21231 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21232 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21233 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21234 instead of __insn__xxx.
21235 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21236 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21237 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21238 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21239 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21240 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21242 2017-12-05 Florian Weimer <fweimer@redhat.com>
21244 Linux: Implement interfaces for memory protection keys
21245 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21247 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21248 * support/xunistd.h (xsysconf): Declare.
21249 * support/xraise.c: New file.
21250 * support/xsigaction.c: Likewise.
21251 * support/xsignal.c: Likewise.
21252 * support/xsysconf.c: Likewise.
21253 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21254 pkey_set, pkey_get, pkey_mprotect.
21255 [misc] (tests): Add tst-pkey.
21256 (tst-pkey): Link with -lpthread.
21257 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21258 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21259 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21260 (PKEY_DISABLE_WRITE): Define.
21261 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21263 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21264 (SEGV_PKUERR): Add.
21265 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21266 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21267 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21268 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21270 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21271 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21272 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21273 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21274 * sysdeps/unix/sysv/linux/**.abilist: Update.
21276 2017-12-05 Florian Weimer <fweimer@redhat.com>
21278 * support/tst-test_compare.c (subprocess): Use long long instead
21279 of long argument for consistent type width across 32-bit and
21280 64-bit architectures.
21281 (do_test): Adjust expected output.
21283 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21285 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21286 (cosf): Define using libm_alias_float.
21287 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21288 (fabsf): Define using libm_alias_float.
21289 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21290 (fmaf): Define using libm_alias_float.
21291 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21292 (rintf): Define using libm_alias_float.
21293 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21294 (sinf): Define using libm_alias_float.
21295 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21296 <libm-alias-float.h>.
21297 (modff): Define using libm_alias_float.
21298 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21299 <libm-alias-float.h>.
21300 (logbf): Define using libm_alias_float.
21301 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21302 <libm-alias-float.h>.
21303 (ceilf): Define using libm_alias_float.
21304 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21305 <libm-alias-float.h>.
21306 (copysignf): Define using libm_alias_float.
21307 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21308 <libm-alias-float.h>.
21309 (floorf): Define using libm_alias_float.
21310 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21311 <libm-alias-float.h>.
21312 (llrintf): Define using libm_alias_float.
21313 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21314 <libm-alias-float.h>.
21315 (llroundf): Define using libm_alias_float.
21316 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21317 <libm-alias-float.h>.
21318 (lrintf): Define using libm_alias_float.
21319 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21320 <libm-alias-float.h>.
21321 (lroundf): Define using libm_alias_float.
21322 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21323 <libm-alias-float.h>.
21324 (nearbyintf): Define using libm_alias_float.
21325 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21326 <libm-alias-float.h>.
21327 (rintf): Define using libm_alias_float.
21328 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21329 <libm-alias-float.h>.
21330 (roundf): Define using libm_alias_float.
21331 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21332 <libm-alias-float.h>.
21333 (truncf): Define using libm_alias_float.
21334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21335 Include <libm-alias-float.h>.
21336 (ceilf): Define using libm_alias_float.
21337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21338 Include <libm-alias-float.h>.
21339 (copysignf): Define using libm_alias_float.
21340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21341 Include <libm-alias-float.h>.
21342 (floorf): Define using libm_alias_float.
21343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21344 Include <libm-alias-float.h>.
21345 (llrintf): Define using libm_alias_float.
21346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21347 Include <libm-alias-float.h>.
21348 (llroundf): Define using libm_alias_float.
21349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21350 Include <libm-alias-float.h>.
21351 (logbf): Define using libm_alias_float.
21352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21353 Include <libm-alias-float.h>.
21354 (lrintf): Define using libm_alias_float.
21355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21356 Include <libm-alias-float.h>.
21357 (lroundf): Define using libm_alias_float.
21358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21359 Include <libm-alias-float.h>.
21360 (modff): Define using libm_alias_float.
21361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21362 Include <libm-alias-float.h>.
21363 (roundf): Define using libm_alias_float.
21364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21365 Include <libm-alias-float.h>.
21366 (truncf): Define using libm_alias_float.
21367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21368 <libm-alias-float.h>.
21369 (llrintf): Define using libm_alias_float.
21370 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21371 <libm-alias-float.h>.
21372 (llroundf): Define using libm_alias_float.
21373 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21374 <libm-alias-float.h>.
21375 (ceilf): Define using libm_alias_float.
21376 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21377 <libm-alias-float.h>.
21378 (floorf): Define using libm_alias_float.
21379 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21380 <libm-alias-float.h>.
21381 (llroundf): Define using libm_alias_float.
21382 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21383 <libm-alias-float.h>.
21384 (lroundf): Define using libm_alias_float.
21385 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21386 <libm-alias-float.h>.
21387 (roundf): Define using libm_alias_float.
21388 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21389 <libm-alias-float.h>.
21390 (truncf): Define using libm_alias_float.
21391 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21392 <libm-alias-float.h>.
21393 (copysignf): Define using libm_alias_float.
21394 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21395 <libm-alias-float.h>.
21396 (llrintf): Define using libm_alias_float.
21397 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21398 <libm-alias-float.h>.
21399 (llroundf): Define using libm_alias_float.
21400 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21401 <libm-alias-float.h>.
21402 (lrintf): Define using libm_alias_float.
21403 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21404 <libm-alias-float.h>.
21405 (lroundf): Define using libm_alias_float.
21406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21407 <libm-alias-float.h>.
21408 (ceilf): Define using libm_alias_float.
21409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21410 <libm-alias-float.h>.
21411 (copysignf): Define using libm_alias_float.
21412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21413 <libm-alias-float.h>.
21414 (cosf): Define using libm_alias_float.
21415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21416 <libm-alias-float.h>.
21417 (floorf): Define using libm_alias_float.
21418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21419 <libm-alias-float.h>.
21420 (llrintf): Define using libm_alias_float.
21421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21422 <libm-alias-float.h>.
21423 (llroundf): Define using libm_alias_float.
21424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21425 <libm-alias-float.h>.
21426 (logbf): Define using libm_alias_float.
21427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21428 <libm-alias-float.h>.
21429 (modff): Define using libm_alias_float.
21430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21431 <libm-alias-float.h>.
21432 (roundf): Define using libm_alias_float.
21433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21434 <libm-alias-float.h>.
21435 (sinf): Define using libm_alias_float.
21436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21437 <libm-alias-float.h>.
21438 (truncf): Define using libm_alias_float.
21439 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21440 <libm-alias-float.h>.
21441 (ceilf): Define using libm_alias_float.
21442 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21443 <libm-alias-float.h>.
21444 (copysignf): Define using libm_alias_float.
21445 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21446 <libm-alias-float.h>.
21447 (floorf): Define using libm_alias_float.
21448 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21449 <libm-alias-float.h>.
21450 (llrintf): Define using libm_alias_float.
21451 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21452 <libm-alias-float.h>.
21453 (llroundf): Define using libm_alias_float.
21454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21455 <libm-alias-float.h>.
21456 (nearbyintf): Define using libm_alias_float.
21457 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21458 <libm-alias-float.h>.
21459 (rintf): Define using libm_alias_float.
21460 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21461 <libm-alias-float.h>.
21462 (roundf): Define using libm_alias_float.
21463 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21464 <libm-alias-float.h>.
21465 (truncf): Define using libm_alias_float.
21466 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21467 <libm-alias-float.h>.
21468 (ceilf): Define using libm_alias_float.
21469 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21470 <libm-alias-float.h>.
21471 (floorf): Define using libm_alias_float.
21472 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21473 <libm-alias-float.h>.
21474 (llroundf): Define using libm_alias_float.
21475 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21476 <libm-alias-float.h>.
21477 (roundf): Define using libm_alias_float.
21478 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21479 <libm-alias-float.h>.
21480 (truncf): Define using libm_alias_float.
21481 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21482 <libm-alias-float.h>.
21483 (copysignf): Define using libm_alias_float.
21484 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21485 <libm-alias-float.h>.
21486 (llrintf): Define using libm_alias_float.
21487 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21488 <libm-alias-float.h>.
21489 (llroundf): Define using libm_alias_float.
21490 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21491 <libm-alias-float.h>.
21492 (cosf): Define using libm_alias_float.
21493 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21494 <libm-alias-float.h>.
21495 (llrintf): Define using libm_alias_float.
21496 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21497 <libm-alias-float.h>.
21498 (llroundf): Define using libm_alias_float.
21499 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21500 <libm-alias-float.h>.
21501 (sinf): Define using libm_alias_float.
21503 2017-12-04 Florian Weimer <fweimer@redhat.com>
21505 * support/check.h (TEST_COMPARE): Define.
21506 (support_test_compare_failure): Declare.
21507 * support/Makefile (libsupport-routines): Add
21508 support_test_compare_failure.
21509 (tests): Add tst-test_compare.
21510 * support /support_test_compare_failure.c: New file.
21511 * support/tst-test_compare.c: Likewise.
21513 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21516 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21517 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21518 available, this rewrite of the collation rules does reproduce
21519 the test file in the same order.
21521 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21524 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21525 digraphs in the month and day names. Using single code points for
21526 digraphs is deprecated. While there are dedicated Unicode
21527 codepoints, for the digraphs, these are included for backwards
21528 compatibility and modern texts use a sequence of Basic Latin
21529 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21530 This makes the month and day names agree exactly with CLDR now,
21531 CLDR does not use the single code points for the digraphs either.
21533 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21535 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21537 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21539 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21542 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21544 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21545 Define only for libc.so.
21547 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21549 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21550 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21551 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21552 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21553 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21555 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21558 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21560 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21563 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21564 PREINIT_FUNCTION_WEAK is nonzero.
21565 (gmon_initializer): New function. Put procedure label for it in
21566 .init_array section.
21567 (_init): Don't call PREINIT_FUNCTION.
21568 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21569 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21570 value when map argument is null.
21572 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21573 depi instruction from PIC pc-relative sequence.
21574 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21575 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21576 (elf_machine_load_address): Likewise.
21577 (elf_machine_runtime_setup): Likewise.
21579 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21581 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21582 <libm-alias-double.h>.
21583 (logb): Define using libm_alias_double.
21584 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21585 <libm-alias-double.h>.
21586 (copysign): Define using libm_alias_double.
21587 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21588 <libm-alias-double.h>.
21589 (llrint): Define using libm_alias_double.
21590 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21591 <libm-alias-double.h>.
21592 (llround): Define using libm_alias_double.
21593 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21594 <libm-alias-double.h>.
21595 (lrint): Define using libm_alias_double.
21596 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21597 <libm-alias-double.h>.
21598 (lround): Define using libm_alias_double.
21599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21600 Include <libm-alias-double.h>.
21601 (copysign): Define using libm_alias_double.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21603 Include <libm-alias-double.h>.
21604 (llrint): Define using libm_alias_double.
21605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21606 Include <libm-alias-double.h>.
21607 (llround): Define using libm_alias_double.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21609 <libm-alias-double.h>.
21610 (logb): Define using libm_alias_double.
21611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21612 Include <libm-alias-double.h>.
21613 (lrint): Define using libm_alias_double.
21614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21615 Include <libm-alias-double.h>.
21616 (lround): Define using libm_alias_double.
21617 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21618 <libm-alias-double.h>.
21619 (llrint): Define using libm_alias_double.
21620 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21621 <libm-alias-double.h>.
21622 (llround): Define using libm_alias_double.
21623 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21624 <libm-alias-double.h>.
21625 (llround): Define using libm_alias_double.
21626 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21627 <libm-alias-double.h>.
21628 (lround): Define using libm_alias_double.
21629 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21630 <libm-alias-double.h>.
21631 (copysign): Define using libm_alias_double.
21632 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21633 <libm-alias-double.h>.
21634 (llrint): Define using libm_alias_double.
21635 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21636 <libm-alias-double.h>.
21637 (llround): Define using libm_alias_double.
21638 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21639 <libm-alias-double.h>.
21640 (lrint): Define using libm_alias_double.
21641 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21642 <libm-alias-double.h>.
21643 (lround): Define using libm_alias_double.
21644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21645 <libm-alias-double.h>.
21646 (copysign): Define using libm_alias_double.
21647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21648 <libm-alias-double.h>.
21649 (llrint): Define using libm_alias_double.
21651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21652 <libm-alias-double.h>.
21653 (llround): Define using libm_alias_double.
21654 (lround): Likewise.
21655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21656 <libm-alias-double.h>.
21657 (logb): Define using libm_alias_double.
21658 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21659 <libm-alias-double.h>.
21660 (copysign): Define using libm_alias_double.
21661 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21662 <libm-alias-double.h>.
21663 (llrint): Define using libm_alias_double.
21665 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21666 <libm-alias-double.h>.
21667 (llround): Define using libm_alias_double.
21668 (lround): Likewise.
21669 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21670 <libm-alias-double.h>.
21671 (llround): Define using libm_alias_double.
21672 (lround): Likewise.
21673 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21674 <libm-alias-double.h>.
21675 (copysign): Define using libm_alias_double.
21676 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21677 <libm-alias-double.h>.
21678 (llrint): Define using libm_alias_double.
21680 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21681 <libm-alias-double.h>.
21682 (llround): Define using libm_alias_double.
21683 (lround): Likewise.
21684 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21685 <libm-alias-double.h>.
21686 (llrint): Define using libm_alias_double.
21688 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21689 <libm-alias-double.h>.
21690 (llround): Define using libm_alias_double.
21691 (lround): Likewise.
21693 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21696 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21697 compat symbol based on llround.
21699 * sysdeps/powerpc/power7/fpu/s_logb.c
21700 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21701 symbol based on __logb, not on logb.
21702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21703 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21705 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21707 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21708 (rint): Define using libm_alias_double.
21709 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21710 <libm-alias-double.h>.
21711 (modf): Define using libm_alias_double.
21712 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21713 <libm-alias-double.h>.
21714 (ceil): Define using libm_alias_double.
21715 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21716 <libm-alias-double.h>.
21717 (floor): Define using libm_alias_double.
21718 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21719 <libm-alias-double.h>.
21720 (nearbyint): Define using libm_alias_double.
21721 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21722 <libm-alias-double.h>.
21723 (rint): Define using libm_alias_double.
21724 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21725 <libm-alias-double.h>.
21726 (round): Define using libm_alias_double.
21727 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21728 <libm-alias-double.h>.
21729 (trunc): Define using libm_alias_double.
21730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21731 <libm-alias-double.h>.
21732 (ceil): Define using libm_alias_double.
21733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21734 Include <libm-alias-double.h>.
21735 (floor): Define using libm_alias_double.
21736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21737 <libm-alias-double.h>.
21738 (modf): Define using libm_alias_double.
21739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21740 Include <libm-alias-double.h>.
21741 (round): Define using libm_alias_double.
21742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21743 Include <libm-alias-double.h>.
21744 (trunc): Define using libm_alias_double.
21745 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21746 <libm-alias-double.h>.
21747 (ceil): Define using libm_alias_double.
21748 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21749 <libm-alias-double.h>.
21750 (floor): Define using libm_alias_double.
21751 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21752 <libm-alias-double.h>.
21753 (round): Define using libm_alias_double.
21754 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21755 <libm-alias-double.h>.
21756 (trunc): Define using libm_alias_double.
21757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21758 <libm-alias-double.h>.
21759 (ceil): Define using libm_alias_double.
21760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21761 <libm-alias-double.h>.
21762 (floor): Define using libm_alias_double.
21763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21764 <libm-alias-double.h>.
21765 (modf): Define using libm_alias_double.
21766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21767 <libm-alias-double.h>.
21768 (round): Define using libm_alias_double.
21769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21770 <libm-alias-double.h>.
21771 (trunc): Define using libm_alias_double.
21772 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21773 <libm-alias-double.h>.
21774 (ceil): Define using libm_alias_double.
21775 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21776 <libm-alias-double.h>.
21777 (floor): Define using libm_alias_double.
21778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21779 <libm-alias-double.h>.
21780 (nearbyint): Define using libm_alias_double.
21781 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21782 <libm-alias-double.h>.
21783 (rint): Define using libm_alias_double.
21784 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21785 <libm-alias-double.h>.
21786 (round): Define using libm_alias_double.
21787 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21788 <libm-alias-double.h>.
21789 (trunc): Define using libm_alias_double.
21790 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21791 <libm-alias-double.h>.
21792 (ceil): Define using libm_alias_double.
21793 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21794 <libm-alias-double.h>.
21795 (floor): Define using libm_alias_double.
21796 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21797 <libm-alias-double.h>.
21798 (round): Define using libm_alias_double.
21799 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21800 <libm-alias-double.h>.
21801 (trunc): Define using libm_alias_double.
21803 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21804 (fabs): Define using libm_alias_double.
21805 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21806 (fma): Define using libm_alias_double.
21807 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21808 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21809 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21810 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21812 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21814 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21816 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21817 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21818 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21821 due redirect macro.
21823 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21825 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21827 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21829 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21830 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21831 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21832 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21835 (libm-sysdep_routines): Add s_nearbyintf-generic and
21836 s_nearbyint-generic.
21837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21850 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21861 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21872 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21883 (sysdep_calls): New rule.
21884 (sysdep_routines): Use sysdep_calls as base.
21885 (libm-sysdep_routines): Add generic rule for symbols shared with
21886 libc. Add s_copysign-generic and s_copysign-generic objects.
21887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21896 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21899 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21900 the list of locales to be built for testing.
21901 * localedata/is_IS.UTF-8.in: New file.
21902 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21905 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21907 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21908 <libm-alias-float.h>.
21909 (fabsf): Define using libm_alias_float.
21911 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21913 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21915 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21917 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21918 <libm-alias-float.h>.
21919 (fabsf): Define using libm_alias_float.
21920 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21921 <libm-alias-float.h>.
21922 (lrintf): Define using libm_alias_float.
21923 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21924 <libm-alias-float.h>.
21925 (rintf): Define using libm_alias_float.
21927 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21928 <libm-alias-double.h>.
21929 (fabs): Define using libm_alias_double.
21930 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21931 <libm-alias-double.h>.
21932 (lrint): Define using libm_alias_double.
21933 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21934 <libm-alias-double.h>.
21935 (rint): Define using libm_alias_double.
21937 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21938 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21939 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21940 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21941 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21942 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21943 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21944 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21945 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21946 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21947 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21948 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21949 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21950 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21951 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21952 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21953 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21954 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21956 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21957 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21958 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21960 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21961 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21962 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21964 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21965 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21966 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21967 s_expm1_template.c.
21968 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21969 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21970 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21972 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21973 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21974 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21975 s_floor_template.c.
21976 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21977 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21978 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21979 s_frexp_template.c.
21980 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21981 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21982 s_lrint_template.c.
21983 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21984 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21985 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21987 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21988 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21989 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21990 s_nearbyint_template.c.
21991 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21992 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21993 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21994 s_remquo_template.c.
21995 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21996 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21997 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21999 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22000 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22001 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22003 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22004 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22005 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22006 s_sincos_template.c.
22007 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22008 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22009 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22011 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22012 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22013 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22015 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22016 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22017 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22018 s_trunc_template.c.
22019 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22020 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22021 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22022 s_atan.c instead of including s_atan.c.
22023 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22024 s_atanf.c instead of including s_atanf.c.
22025 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22026 s_atanl.c instead of including s_atanl.c.
22027 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22028 instead of s_atan.c.
22029 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22030 instead of s_atanf.c.
22031 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22032 instead of s_atanl.c.
22034 * scripts/update-copyrights: Do not handle intl/plural.c
22037 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22040 * configure.ac (BISON): Require to be present.
22041 * configure: Regenerated.
22042 * intl/Makefile (generated): Add plural.c.
22043 [$(BISON) != no]: Make code unconditional.
22044 (plural.c): Change rule to $(objpfx)plural.c.
22045 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22046 * intl/plural.c: Remove.
22047 * manual/install.texi (Tools for Compilation): Document bison as
22049 * INSTALL: Regenerated.
22051 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22053 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22054 <libm-alias-double.h>.
22055 (llrint): Define using libm_alias_double.
22056 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22057 <libm-alias-float.h>.
22058 (llrintf): Define using libm_alias_float.
22059 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22060 <libm-alias-ldouble.h>.
22061 (llrintl): Define using libm_alias_ldouble.
22063 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22064 declare_mgen_alias instead of weak_alias.
22065 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22066 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22067 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22069 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22071 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22073 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22074 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22075 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22077 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22078 Add submul_1-generic.
22079 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22080 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22081 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22083 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22084 Add addmul_1-generic.
22085 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22086 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22087 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22089 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22091 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22092 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22093 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22095 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22097 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22098 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22099 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22101 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22103 According to CLDR, collation rules for Serbian and Bosnian
22104 should be the same as for Croatian.
22107 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22108 and to the list of locales to be built for testing.
22109 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22110 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22111 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22112 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22114 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22116 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22117 to make test case pass.
22118 * localedata/hr_HR.UTF-8.in: Add more test strings.
22120 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22122 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22124 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22126 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22127 the list of locales to built for testing.
22128 * localedata/hr_HR.UTF-8.in: New file.
22130 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22133 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22135 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22136 CLDR (except use ligatures for the digraphs, CLDR does not use
22137 the ligatures), add first_workday, some fixes in the date and time
22139 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22141 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22142 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22143 Add int_p_cs_precedes and int_n_cs_precedes.
22144 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22145 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22147 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22148 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22150 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22151 and lang_lib. Change postal_fmt.
22153 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22155 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22157 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22158 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22159 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22160 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22161 * sysdeps/generic/setjmpP.h: New file.
22162 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22163 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22164 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22165 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22166 Add jmp_buf-ssp.sym.
22167 (tests): Add tst-saved_mask-1.
22169 2017-11-30 Arjun Shankar <arjun@redhat.com>
22173 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22174 instead of request2size.
22176 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22179 (__lllrint): Remove alias.
22180 (lllrint): Likewise.
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22182 (__lllrintf): Likewise.
22183 (lllrintf): Likewise.
22185 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22186 <libm-alias-float.h>.
22187 (copysignf): Define using libm_alias_float.
22188 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22189 <libm-alias-float.h>.
22190 (fabsf): Define using libm_alias_float.
22191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22192 Include <libm-alias-float.h>.
22193 (copysignf): Define using libm_alias_float.
22194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22195 <libm-alias-float.h>.
22196 (fabsf): Define using libm_alias_float.
22197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22198 <libm-alias-float.h>.
22199 (fdimf): Define using libm_alias_float.
22200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22201 <libm-alias-float.h>.
22202 (fmaf): Define using libm_alias_float.
22203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22204 <libm-alias-float.h>.
22205 (llrintf): Define using libm_alias_float.
22206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22207 Include <libm-alias-float.h>.
22208 (nearbyintf): Define using libm_alias_float.
22209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22210 <libm-alias-float.h>.
22211 (rintf): Define using libm_alias_float.
22212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22213 <libm-alias-float.h>.
22214 (llrintf): Define using libm_alias_float.
22215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22216 <libm-alias-float.h>.
22217 (lrintf): Define using libm_alias_float.
22218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22219 <libm-alias-float.h>.
22220 (nearbyintf): Define using libm_alias_float.
22221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22222 <libm-alias-float.h>.
22223 (rintf): Define using libm_alias_float.
22224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22225 <libm-alias-float.h>.
22226 (ceilf): Define using libm_alias_float.
22227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22228 <libm-alias-float.h>.
22229 (floorf): Define using libm_alias_float.
22230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22231 <libm-alias-float.h>.
22232 (fmaf): Define using libm_alias_float.
22233 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22234 <libm-alias-float.h>.
22235 (lrintf): Define using libm_alias_float.
22236 (llrintf): Likewise.
22237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22238 <libm-alias-float.h>.
22239 (nearbyintf): Define using libm_alias_float.
22240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22241 <libm-alias-float.h>.
22242 (rintf): Define using libm_alias_float.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22244 <libm-alias-float.h>.
22245 (truncf): Define using libm_alias_float.
22246 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22247 <libm-alias-float.h>.
22248 (copysignf): Define using libm_alias_float.
22249 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22250 <libm-alias-float.h>.
22251 (fabsf): Define using libm_alias_float.
22252 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22253 <libm-alias-float.h>.
22254 (lrintf): Define using libm_alias_float.
22255 (llrintf): Likewise.
22256 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22257 <libm-alias-float.h>.
22258 (nearbyintf): Define using libm_alias_float.
22259 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22260 <libm-alias-float.h>.
22261 (rintf): Define using libm_alias_float.
22263 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22265 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22266 <libm-alias-double.h>.
22267 (copysign): Define using libm_alias_double.
22268 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22269 <libm-alias-double.h>.
22270 (fabs): Define using libm_alias_double.
22271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22272 Include <libm-alias-double.h>.
22273 (copysign): Define using libm_alias_double.
22274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22275 <libm-alias-double.h>.
22276 (fabs): Define using libm_alias_double.
22277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22278 <libm-alias-double.h>.
22279 (fdim): Define using libm_alias_double.
22280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22281 <libm-alias-double.h>.
22282 (fma): Define using libm_alias_double.
22283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22284 <libm-alias-double.h>.
22285 (llrint): Define using libm_alias_double.
22286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22287 Include <libm-alias-double.h>.
22288 (nearbyint): Define using libm_alias_double.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22290 <libm-alias-double.h>.
22291 (rint): Define using libm_alias_double.
22292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22293 <libm-alias-double.h>.
22294 (fabs): Define using libm_alias_double.
22295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22296 <libm-alias-double.h>.
22297 (llrint): Define using libm_alias_double.
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22299 <libm-alias-double.h>.
22300 (nearbyint): Define using libm_alias_double.
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22302 <libm-alias-double.h>.
22303 (rint): Define using libm_alias_double.
22304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22305 <libm-alias-double.h>.
22306 (ceil): Define using libm_alias_double.
22307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22308 <libm-alias-double.h>.
22309 (floor): Define using libm_alias_double.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22311 <libm-alias-double.h>.
22312 (fma): Define using libm_alias_double.
22313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22314 <libm-alias-double.h>.
22315 (lrint): Define using libm_alias_double.
22316 (llrint): Likewise.
22317 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22318 <libm-alias-double.h>.
22319 (nearbyint): Define using libm_alias_double.
22320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22321 <libm-alias-double.h>.
22322 (rint): Define using libm_alias_double.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22324 <libm-alias-double.h>.
22325 (trunc): Define using libm_alias_double.
22326 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22327 <libm-alias-double.h>.
22328 (copysign): Define using libm_alias_double.
22329 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22330 <libm-alias-double.h>.
22331 (fabs): Define using libm_alias_double.
22332 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22333 <libm-alias-double.h>.
22334 (lrint): Define using libm_alias_double.
22335 (llrint): Likewise.
22336 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22337 <libm-alias-double.h>.
22338 (nearbyint): Define using libm_alias_double.
22339 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22340 <libm-alias-double.h>.
22341 (rint): Define using libm_alias_double.
22344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22346 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22348 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22349 SPARC --disable-multi-arch glibc variants.
22351 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22352 <libm-alias-float.h>.
22353 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22355 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22356 <libm-alias-float.h>.
22357 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22359 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22360 <libm-alias-float.h>.
22361 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22363 * sysdeps/x86_64/fpu/multiarch/e_logf.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_powf.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/s_ceilf.c: Include
22372 <libm-alias-float.h>.
22373 (ceilf): Define using libm_alias_float.
22374 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22375 <libm-alias-float.h>.
22376 (floorf): Define using libm_alias_float.
22377 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22378 <libm-alias-float.h>.
22379 (fmaf): Define using libm_alias_float.
22380 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22381 <libm-alias-float.h>.
22382 (nearbyintf): Define using libm_alias_float.
22383 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22384 <libm-alias-float.h>.
22385 (rintf): Define using libm_alias_float.
22386 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22387 <libm-alias-float.h>.
22388 (truncf): Define using libm_alias_float.
22389 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22390 (copysignf): Define using libm_alias_float.
22391 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22392 (cosf): Define using libm_alias_float.
22393 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22394 (fabsf): Define using libm_alias_float.
22395 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22396 (fmaxf): Define using libm_alias_float.
22397 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22398 (fminf): Define using libm_alias_float.
22399 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22400 (llrintf): Define using libm_alias_float.
22401 [!__ILP32__] (lrintf): Likewise.
22402 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22403 (sincosf): Define using libm_alias_float.
22404 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22405 (sinf): Define using libm_alias_float.
22406 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22407 (lrintf): Define using libm_alias_float.
22409 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22410 <libm-alias-double.h>.
22411 (atan): Define using libm_alias_double.
22412 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22413 <libm-alias-double.h>.
22414 (ceil): Define using libm_alias_double.
22415 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22416 <libm-alias-double.h>.
22417 (floor): Define using libm_alias_double.
22418 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22419 <libm-alias-double.h>.
22420 (fma): Define using libm_alias_double.
22421 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22422 <libm-alias-double.h>.
22423 (nearbyint): Define using libm_alias_double.
22424 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22425 <libm-alias-double.h>.
22426 (rint): Define using libm_alias_double.
22427 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22428 <libm-alias-double.h>.
22429 (sin): Define using libm_alias_double.
22431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22432 <libm-alias-double.h>.
22433 (tan): Define using libm_alias_double.
22434 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22435 <libm-alias-double.h>.
22436 (trunc): Define using libm_alias_double.
22437 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22438 (copysign): Define using libm_alias_double.
22439 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22440 (fabs): Define using libm_alias_double.
22441 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22442 (fmax): Define using libm_alias_double.
22443 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22444 (fmin): Define using libm_alias_double.
22445 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22446 (llrint): Define using libm_alias_double.
22447 [!__ILP32__] (lrint): Likewise.
22448 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22449 (lrint): Define using libm_alias_double.
22451 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22454 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22456 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22457 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22459 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22464 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22466 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22468 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22474 (libm-sysdep_routines): Add s_nearbyint-generic and
22475 s_nearbyintf-generic objects.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22477 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22478 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22479 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22480 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22481 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22484 Add s_finitef-generic and s_finite-generic objects.
22485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22489 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22490 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22493 Add s_isinff-generic and s_isinf-generic objects.
22494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22502 Add s_isnanf-generic and s_isnan-generic objects.
22503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22510 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22514 (sysdep_routines): Use sysdep_calls as base.
22515 (libm-sysdep_routines): Add generic rule for symbols shared with
22516 libc. Add s_signbit-generic and s_signbitf-generic objects.
22517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22520 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22524 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22526 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22527 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22528 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22529 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22530 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22531 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22532 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22533 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22534 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22535 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22536 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22537 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22538 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22539 libm_alias_float_r.
22540 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22541 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22543 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22544 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22545 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22546 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22547 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22548 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22549 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22550 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22551 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22552 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22554 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22556 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22557 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22558 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22559 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22560 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22561 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22562 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22563 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22564 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22565 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22566 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22567 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22568 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22569 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22570 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22571 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22572 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22573 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22574 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22576 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22577 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22578 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22579 * sysdeps/ia64/fpu/w_lgammaf_main.c
22580 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22581 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22583 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22584 Alexandre Oliva <aoliva@redhat.com>
22587 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22588 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22590 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22592 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22593 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22594 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22595 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22596 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22597 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22598 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22599 instead of “ifdef DIACRIT_BACKWARD”.
22601 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22603 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22604 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22605 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22606 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22607 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22608 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22615 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22616 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22617 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22618 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22619 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22620 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22622 ($(have-as-vis3) == yes): Remove conditional.
22623 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22639 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22640 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22642 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22644 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22645 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22646 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22647 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22648 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22649 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22650 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22651 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22652 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22653 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22654 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22655 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22656 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22657 libm_alias_double_r.
22658 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22660 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22661 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22662 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22663 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22664 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22665 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22666 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22667 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22668 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22669 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22670 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22672 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22674 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22675 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22676 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22677 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22678 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22679 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22680 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22681 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22682 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22683 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22684 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22685 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22686 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22687 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22688 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22689 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22690 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22691 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22693 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22694 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22695 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22696 * sysdeps/ia64/fpu/w_lgamma_main.c
22697 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22698 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22700 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22702 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22703 address of $global$ into %dp register earlier. Use pc-relative
22704 instruction sequence for PIC case.
22706 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22708 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22709 (asinhf): Define using libm_alias_float.
22710 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22711 (atanf): Define using libm_alias_float.
22712 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22713 (cbrtf): Define using libm_alias_float.
22714 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22715 (ceilf): Define using libm_alias_float.
22716 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22717 (copysignf): Define using libm_alias_float.
22718 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22719 (expm1f): Define using libm_alias_float.
22720 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22721 (fabsf): Define using libm_alias_float.
22722 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22723 (floorf): Define using libm_alias_float.
22724 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22725 (fmaxf): Define using libm_alias_float.
22726 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22727 (fminf): Define using libm_alias_float.
22728 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22729 (frexpf): Define using libm_alias_float.
22730 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22731 (llrintf): Define using libm_alias_float.
22732 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22733 (logbf): Define using libm_alias_float.
22734 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22735 (lrintf): Define using libm_alias_float.
22736 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22737 (nearbyintf): Define using libm_alias_float.
22738 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22739 (remquof): Define using libm_alias_float.
22740 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22741 (rintf): Define using libm_alias_float.
22742 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22743 (truncf): Define using libm_alias_float.
22744 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22745 <libm-alias-float.h>.
22746 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22748 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22749 <libm-alias-float.h>.
22750 (expf): Define using libm_alias_float, or libm_alias_float_other
22752 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22753 <libm-alias-float.h>.
22754 (log2f): Define using libm_alias_float, or libm_alias_float_other
22756 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22757 <libm-alias-float.h>.
22758 (logf): Define using libm_alias_float, or libm_alias_float_other
22760 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22761 <libm-alias-float.h>.
22762 (powf): Define using libm_alias_float, or libm_alias_float_other
22764 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22765 <libm-alias-float.h>.
22766 (cosf): Define using libm_alias_float.
22767 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22768 <libm-alias-float.h>.
22769 (sincosf): Define using libm_alias_float.
22770 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22771 <libm-alias-float.h>.
22772 (sinf): Define using libm_alias_float.
22773 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22774 (fmaxf): Define using libm_alias_float.
22775 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22776 (fminf): Define using libm_alias_float.
22777 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22778 <libm-alias-float.h>.
22779 (fmaf): Define using libm_alias_float.
22781 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22782 (asinh): Define using libm_alias_double.
22783 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22784 (atan): Define using libm_alias_double.
22785 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22786 (cbrt): Define using libm_alias_double.
22787 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22788 (ceil): Define using libm_alias_double.
22789 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22790 (copysign): Define using libm_alias_double.
22791 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22792 (expm1): Define using libm_alias_double.
22793 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22794 (fabs): Define using libm_alias_double.
22795 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22796 (fdim): Define using libm_alias_double.
22797 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22798 (floor): Define using libm_alias_double.
22799 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22800 (fmax): Define using libm_alias_double.
22801 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22802 (fmin): Define using libm_alias_double.
22803 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22804 (frexp): Define using libm_alias_double.
22805 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22806 (llrint): Define using libm_alias_double.
22807 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22808 (logb): Define using libm_alias_double.
22809 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22810 (lrint): Define using libm_alias_double.
22811 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22812 (nearbyint): Define using libm_alias_double.
22813 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22814 (remquo): Define using libm_alias_double.
22815 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22816 (rint): Define using libm_alias_double.
22817 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22818 (trunc): Define using libm_alias_double.
22819 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22820 (fmax): Define using libm_alias_double.
22821 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22822 (fmin): Define using libm_alias_double.
22823 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22824 (fma): Define using libm_alias_double.
22826 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22829 * elf/dl-hwcaps.c (ROUND): Removed.
22830 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22831 and ELF_NOTE_NEXT_OFFSET.
22832 * elf/dl-load.c (ROUND): Removed.
22833 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22834 * elf/readelflib.c (ROUND): Removed.
22835 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22836 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22837 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22838 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22840 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22842 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22843 [!__fmaf] (fmaf): Define using libm_alias_float.
22845 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22846 [!__fma] (fma): Define using libm_alias_double.
22847 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22849 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22852 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22853 and implement the collation rules for cs from CLDR on top of that.
22854 * Makefile: Add cs_CZ.UTF-8 to test-input.
22855 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22857 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22859 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22861 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22862 Icarus Sparry <icarus.w.sparry@intel.com>
22864 * benchtests/Makefile:Add BENCHSET to allow subsets of
22865 benchmarks to be run.
22866 * benchtests/README: Add documentation for: Running subsets of
22869 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22871 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22872 range of tests names.
22874 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22875 result from property and remove "max", min" and "mean" from
22876 required properties based on benchtests/bench-skeleton.c.
22878 2017-11-28 Florian Weimer <fweimer@redhat.com>
22881 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22882 due to Internet requirement.
22883 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22885 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22887 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22889 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22890 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22891 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22892 (sysdep_routines): Add memset-ultra1.
22893 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22895 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22896 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22897 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22898 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22899 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22900 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22901 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22902 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22904 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22906 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22907 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22908 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22909 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22910 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22911 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22912 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22914 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22915 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22916 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22917 (sysdep_routines): Add memcpy-ultra1.
22918 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22919 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22921 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22923 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22924 (cfloat_versions): Take function argument without trailing 'f'.
22925 Call libm_alias_float_other.
22926 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22927 * sysdeps/alpha/fpu/cargf.c: Likewise.
22928 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22929 * sysdeps/alpha/fpu/conjf.c: Likewise.
22930 * sysdeps/alpha/fpu/crealf.c: Likewise.
22931 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22932 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22933 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22934 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22935 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22936 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22937 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22938 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22939 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22940 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22941 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22942 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22943 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22944 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22945 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22946 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22947 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22948 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22949 (clog10f): Use libm_alias_float_other.
22950 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22951 (ceilf): Define using libm_alias_float.
22952 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22953 (copysignf): Define using libm_alias_float.
22954 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22955 (fabsf): Define using libm_alias_float.
22956 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22957 (floorf): Define using libm_alias_float.
22958 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22959 (fmaxf): Define using libm_alias_float.
22960 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22961 (fminf): Define using libm_alias_float.
22962 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22963 (lrintf): Define using libm_alias_float.
22964 (llrintf): Likewise.
22965 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22966 (lroundf): Define using libm_alias_float.
22967 (llroundf): Likewise.
22968 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22969 (rintf): Define using libm_alias_float.
22970 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22971 (truncf): Define using libm_alias_float.
22973 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22974 (ceilf): Define using libm_alias_float.
22975 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22976 (floorf): Define using libm_alias_float.
22977 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22978 (fmaf): Define using libm_alias_float.
22979 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22980 (fmaxf): Define using libm_alias_float.
22981 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22982 (fminf): Define using libm_alias_float.
22983 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22984 (llrintf): Define using libm_alias_float.
22985 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22986 (llroundf): Define using libm_alias_float.
22987 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22988 (lrintf): Define using libm_alias_float.
22989 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22990 (lroundf): Define using libm_alias_float.
22991 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22992 <libm-alias-float.h>.
22993 (nearbyintf): Define using libm_alias_float.
22994 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22995 (rintf): Define using libm_alias_float.
22996 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22997 (roundf): Define using libm_alias_float.
22998 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22999 (truncf): Define using libm_alias_float.
23001 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23002 (ceil): Define using libm_alias_double.
23003 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23004 (copysign): Define using libm_alias_double.
23005 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23006 (fabs): Define using libm_alias_double.
23007 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23008 (floor): Define using libm_alias_double.
23009 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23010 (fmax): Define using libm_alias_double.
23011 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23012 (fmin): Define using libm_alias_double.
23013 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23014 (lrint): Define using libm_alias_double.
23015 (llrint): Likewise.
23016 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23017 (lround): Define using libm_alias_double.
23018 (llround): Likewise.
23019 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23020 (rint): Define using libm_alias_double.
23021 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23022 (trunc): Define using libm_alias_double.
23024 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23025 (libm_alias_double_r): Add semicolon after weak_alias call.
23027 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23029 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23030 (ceil): Define using libm_alias_double.
23031 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23032 (floor): Define using libm_alias_double.
23033 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23034 (fma): Define using libm_alias_double.
23035 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23036 (fmax): Define using libm_alias_double.
23037 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23038 (fmin): Define using libm_alias_double.
23039 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23040 (llrint): Define using libm_alias_double.
23041 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23042 (llround): Define using libm_alias_double.
23043 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23044 (lrint): Define using libm_alias_double.
23045 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23046 (lround): Define using libm_alias_double.
23047 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23048 (nearbyint): Define using libm_alias_double.
23049 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23050 (rint): Define using libm_alias_double.
23051 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23052 (round): Define using libm_alias_double.
23053 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23054 (trunc): Define using libm_alias_double.
23056 2017-11-27 Florian Weimer <fweimer@redhat.com>
23058 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23059 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23060 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23061 (tests): Add tst-mlock2.
23062 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23063 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23064 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23065 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23066 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23067 for mlock. Document mlock2.
23069 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23071 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23072 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23074 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23076 * sysdeps/x86/Makeconfig: New file.
23077 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23078 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23079 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23080 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23081 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23082 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23083 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23085 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23086 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23087 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23088 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23089 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23090 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23091 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23092 * manual/math.texi (Mathematics): Document support for _Float64x.
23093 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23094 * stdlib/Versions (GLIBC_2.27): Likewise.
23095 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23096 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23097 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23098 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23099 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23100 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23101 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23102 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23103 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23104 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23105 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23106 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23111 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23112 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23113 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23114 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23115 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23116 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23117 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23118 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23119 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23120 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23121 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23122 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23123 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23124 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23126 2017-11-27 Andreas Schwab <schwab@suse.de>
23128 * elf/Makefile (dl-routines): Add dl-sort-maps.
23129 * elf/dl-sort-maps.c: New file.
23130 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23131 (_dl_sort_maps): Declare.
23132 * elf/dl-fini.c (_dl_sort_fini): Remove.
23133 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23134 * elf/dl-close.c (_dl_close_worker): Likewise.
23135 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23137 * elf/dl-open.c (dl_open_worker): Likewise.
23139 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23141 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23142 using libm_alias_float128.
23143 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23145 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23147 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23148 (setpayloadsigf128): Likewise.
23149 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23151 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23154 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23155 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23156 -mfloat128 to CFLAGS.
23158 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23160 (CFLAGS-libm-test-support-float64x.c): New variable.
23161 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23162 $(f128-loader-link) to gnulib-tests.
23164 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23165 (libm_alias_float128_other_r): If
23166 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23168 (libm_alias_float128_r): Add semicolon after weak_alias call.
23169 * sysdeps/generic/libm-alias-ldouble.h
23170 (libm_alias_ldouble_other_r_f128): New macro.
23171 (libm_alias_ldouble_other_r_f64x): Likewise.
23172 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23173 and libm_alias_ldouble_other_r_f64x.
23174 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23175 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23176 (libm_alias_ldouble_other_r_f128): New macro.
23177 (libm_alias_ldouble_other_r_f64x): Likewise.
23178 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23179 and libm_alias_ldouble_other_r_f64x.
23181 * stdlib/strfroml.c: Always include <stdlib.h>.
23182 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23183 undefine as macro and define as weak alias.
23184 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23185 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23187 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23188 Define and later undefine as macro and define as weak alias.
23190 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23191 Define and later undefine as macro. Define as weak alias if
23193 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23194 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23195 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23196 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23197 Define and later undefine as macro. Define as weak alias if
23199 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23200 Define and later undefine as macro. Define as weak alias if
23202 * sysdeps/ieee754/float128/strtof128_l.c
23203 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23204 Define and later undefine as macro. Define as weak alias if
23206 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23207 Define and later undefine as macro. Define as weak alias if
23209 * sysdeps/ieee754/ldbl-128/strtold_l.c
23210 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23211 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23212 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23213 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23214 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23215 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23216 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23217 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23218 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23219 * sysdeps/ieee754/ldbl-96/strtold_l.c
23220 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23221 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23222 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23223 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23225 * math/test-float64x.h: New file.
23226 * math/Makefile (type-float64x-yes): New variable.
23227 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23229 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23230 function-like macro.
23231 (min_of_type_): Likewise.
23232 (min_of_type_l): Likewise.
23233 (min_of_type_f128): Likewise.
23234 (min_of_type): Pass () as last argument of __MATH_TG.
23236 * stdlib/tst-strtod-round-skeleton.c
23237 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23240 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23241 for combinations of long double with _Float64 and _Float64x.
23243 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23244 (__DECL_SIMD_cosf32): Likewise.
23245 (__DECL_SIMD_cosf64): Likewise.
23246 (__DECL_SIMD_cosf32x): Likewise.
23247 (__DECL_SIMD_cosf64x): Likewise.
23248 (__DECL_SIMD_cosf128x): Likewise.
23249 (__DECL_SIMD_sinf16): Likewise.
23250 (__DECL_SIMD_sinf32): Likewise.
23251 (__DECL_SIMD_sinf64): Likewise.
23252 (__DECL_SIMD_sinf32x): Likewise.
23253 (__DECL_SIMD_sinf64x): Likewise.
23254 (__DECL_SIMD_sinf128x): Likewise.
23255 (__DECL_SIMD_sincosf16): Likewise.
23256 (__DECL_SIMD_sincosf32): Likewise.
23257 (__DECL_SIMD_sincosf64): Likewise.
23258 (__DECL_SIMD_sincosf32x): Likewise.
23259 (__DECL_SIMD_sincosf64x): Likewise.
23260 (__DECL_SIMD_sincosf128x): Likewise.
23261 (__DECL_SIMD_logf16): Likewise.
23262 (__DECL_SIMD_logf32): Likewise.
23263 (__DECL_SIMD_logf64): Likewise.
23264 (__DECL_SIMD_logf32x): Likewise.
23265 (__DECL_SIMD_logf64x): Likewise.
23266 (__DECL_SIMD_logf128x): Likewise.
23267 (__DECL_SIMD_expf16): Likewise.
23268 (__DECL_SIMD_expf32): Likewise.
23269 (__DECL_SIMD_expf64): Likewise.
23270 (__DECL_SIMD_expf32x): Likewise.
23271 (__DECL_SIMD_expf64x): Likewise.
23272 (__DECL_SIMD_expf128x): Likewise.
23273 (__DECL_SIMD_powf16): Likewise.
23274 (__DECL_SIMD_powf32): Likewise.
23275 (__DECL_SIMD_powf64): Likewise.
23276 (__DECL_SIMD_powf32x): Likewise.
23277 (__DECL_SIMD_powf64x): Likewise.
23278 (__DECL_SIMD_powf128x): Likewise.
23280 * stdlib/Versions (libc): Move entries for wcstof128 and
23281 wcstof128_l to ....
23282 * wcsmbs/Versions (libc): ... here.
23283 Include <float128-abi.h>.
23285 2017-11-24 Florian Weimer <fweimer@redhat.com>
23287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23288 bits/mman-shared.h.
23289 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23290 <bits/mman-shared.h>.
23291 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23293 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23294 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23295 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23296 <bits/mman-shared.h>.
23298 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23301 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23302 posix_memalign/free.
23303 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23305 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23308 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23309 and implement the collation rules for pl from CLDR on top of that.
23310 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23311 of locales to be built for testing.
23312 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23314 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23316 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23317 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23318 libm_alias_ldouble_other.
23319 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23320 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23321 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23322 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23323 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23324 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23325 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23326 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23327 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23328 libm_alias_ldouble_r.
23329 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23330 libm_alias_ldouble_other.
23331 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23332 (log10l): Likewise.
23333 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23334 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23335 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23336 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23337 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23338 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23339 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23340 (atan2l): Likewise.
23341 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23342 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23343 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23344 libm_alias_ldouble.
23345 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23347 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23348 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23349 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23351 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23352 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23353 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23354 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23355 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23356 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23357 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23358 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23359 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23360 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23361 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23362 libm_alias_ldouble.
23363 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23364 libm_alias_ldouble_other.
23365 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23366 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23367 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23368 libm_alias_ldouble.
23369 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23370 libm_alias_ldouble_other.
23371 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23372 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23373 * sysdeps/ia64/fpu/w_lgammal_main.c
23374 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23375 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23377 2017-11-23 Florian Weimer <fweimer@redhat.com>
23379 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23380 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23381 alike. Remove freeres marker.
23382 * malloc/arena.c (arena_thread_freeres): Call
23383 tcache_thread_shutdown.
23385 2017-11-23 Florian Weimer <fweimer@redhat.com>
23388 Export nscd hash function as __nss_hash.
23389 * include/nss.h (__nss_hash): Declare.
23390 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23392 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23393 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23395 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23396 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23397 * nss/Makefiles (routines): Add nss_hash.
23398 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23399 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23400 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23401 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23403 2017-11-23 Florian Weimer <fweimer@redhat.com>
23406 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23407 Return error code, not -1.
23408 * signal/tst-sigwait-eintr.c: New file.
23409 * signal/Makefile (tests): Add tst-sigwait-eintr.
23411 2017-11-23 Florian Weimer <fweimer@redhat.com>
23413 Linux: Add memfd_create system call wrapper
23414 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23416 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23417 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23418 [__USE_GNU] (memfd_create): Declare.
23419 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23420 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23421 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23422 * sysdeps/unix/sysv/linux/**.abilist: Update.
23423 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23425 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23427 * localedata/gen-locale.sh: Fix typo in variable name.
23429 * resolv/res_debug.c (p_secstodate): Condition definition on
23430 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23431 directly as __p_secstodate, and as a compat symbol. Do not use
23432 libresolv_hidden_def.
23433 * resolv/resolv.h (p_secstodate): Remove macro and function
23435 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23436 using p_secstodate.
23437 * include/resolv.h (__p_secstodate): Do not use
23438 libresolv_hidden_proto.
23439 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23440 (tests-internal): ... here.
23441 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23442 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23443 and declare and use __p_secstodate and use compat_symbol_reference
23445 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23446 implementation returning 77.
23449 * resolv/res_debug.c: Include <libc-diag.h>.
23450 (p_secstodate): Assert time_t at least as wide as u_long. On
23451 overflow, use integer seconds since the epoch as output, or use
23452 "<overflow>" as output and set errno to EOVERFLOW if integer
23453 seconds since the epoch would be 14 or more characters.
23454 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23456 * resolv/tst-p_secstodate.c: New file.
23457 * resolv/Makefile (tests): Add tst-p_secstodate.
23458 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23460 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23461 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23462 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23464 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23466 * posix/regcomp.c (init_word_char): Add comments.
23468 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23471 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23472 strlen to compute length of ut_user and set trailing NUL byte of
23475 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23478 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23479 using “copy "iso14651_t1"” and then implementing the
23480 collation rules for lv from CLDR on top of that.
23481 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23482 of locales to be built for testing.
23483 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23486 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23488 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23489 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23490 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23491 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23492 [__USE_MISC] (MADV_HWPOISON): New macro.
23493 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23495 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23497 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23498 -Wmissing-braces on GCC 4.9.
23500 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23502 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23503 * sysdeps/s390/s390-32/start.S (_start): Likewise
23504 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23505 (thread_start): Likewise.
23506 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23507 (thread_start): Likewise.
23508 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23509 (__makecontext_ret): Likewise.
23510 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23511 (__makecontext_ret): Likewise.
23513 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23515 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23516 __wcschrnul): Remove attribute_hidden.
23518 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23520 regex: don't assume uint64_t or uint32_t
23521 This avoids -Werror=overflow errors for 32-bit systems in
23522 the 64-bit case. Problem reported by Joseph Myers in:
23523 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23524 Also, when this code is used in Gnulib it ports to platforms
23525 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23526 them, and on some 32-bit compilers there is no uint64_t.
23527 Problem reported by Gianluigi Tiesi in:
23528 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23529 * posix/regcomp.c (init_word_char): Don't assume that the types
23530 uint64_t and uint32_t exist. Adapted from Gnulib patch
23531 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23532 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23534 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23536 * sysdeps/aarch64/memset-reg.h: New file.
23537 * sysdeps/aarch64/memset.S: Use it.
23538 (__memset): Rename to MEMSET macro.
23539 [ZVA_MACRO]: Use zva_macro.
23540 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23541 Add memset_generic and memset_falkor.
23542 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23543 (__libc_ifunc_impl_list): Add memset ifuncs.
23544 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23545 local variable zva_size.
23546 * sysdeps/aarch64/multiarch/memset.c: New file.
23547 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23548 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23549 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23550 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23551 (DCZID_DZP_MASK): New macro.
23552 (DCZID_BS_MASK): Likewise.
23553 (init_cpu_features): Read and set zva_size.
23554 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23555 (struct cpu_features): New member zva_size.
23557 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23558 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23559 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23561 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23562 backwards. Fix timing computation.
23563 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23564 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23565 on memset by N at a time. Fix timing computation.
23567 2017-11-20 Florian Weimer <fweimer@redhat.com>
23569 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23570 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23572 2017-11-19 Florian Weimer <fweimer@redhat.com>
23574 manual: Document mprotect
23575 * manual/memory.texi (Memory Protection): New section.
23576 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23577 documentation of PROT_* flags and reference the Memory Protection
23580 2017-11-19 Florian Weimer <fweimer@redhat.com>
23582 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23583 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23584 (Scatter-Gather): ... to here. Remove misleading comment.
23586 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23588 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23591 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23592 when /proc/<pid>/setgroups does not exist.
23594 2017-11-18 Florian Weimer <fweimer@redhat.com>
23596 * sysdeps/unix/sysv/linux/tst-ttyname.c
23597 (become_root_in_mount_ns): Remove.
23598 (do_in_chroot_1): Call support_enter_mount_namespace.
23599 (do_in_chroot_2): Likewise.
23600 (do_test): Call support_become_root early.
23602 2017-11-18 Florian Weimer <fweimer@redhat.com>
23604 * support/namespace.h (support_enter_mount_namespace): Declare.
23605 * support/support_enter_mount_namespace.c: New file.
23606 * support/Makefile (libsupport-routines): Add
23607 support_enter_mount_namespace.
23609 2017-11-18 Florian Weimer <fweimer@redhat.com>
23611 * support/temp_file.c (support_create_temp_directory): Use
23612 test_dir and do not rely on the presence of the XXXXXX suffix.
23613 * support/temp_file.h (support_create_temp_directory): Update
23615 * support/tst-xreadlink.c (do_test): Adjust.
23616 * support/support_chroot.c (support_chroot_create): Likewise.
23618 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23620 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23622 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23625 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23627 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23628 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23629 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23630 (ceill): Define using libm_alias_ldouble.
23631 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23632 <libm-alias-ldouble.h>.
23633 (copysignl): Define using libm_alias_ldouble.
23634 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23635 (fabsl): Define using libm_alias_ldouble.
23636 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23637 (floorl): Define using libm_alias_ldouble.
23638 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23639 (fmaxl): Define using libm_alias_ldouble.
23640 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23641 (fminl): Define using libm_alias_ldouble.
23642 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23643 (llrintl): Define using libm_alias_ldouble.
23644 (lrintl): Likewise.
23645 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23646 <libm-alias-ldouble.h>.
23647 (nearbyintl): Define using libm_alias_ldouble.
23648 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23649 (truncl): Define using libm_alias_ldouble.
23650 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23651 <libm-alias-ldouble.h>.
23652 (lrintl): Define using libm_alias_ldouble.
23654 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23655 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23656 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23657 (asinhl): Define using libm_alias_ldouble.
23658 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23659 (atanl): Define using libm_alias_ldouble.
23660 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23661 (cbrtl): Define using libm_alias_ldouble.
23662 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23663 (ceill): Define using libm_alias_ldouble.
23664 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23665 (copysignl): Define using libm_alias_ldouble.
23666 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23667 (fabsl): Define using libm_alias_ldouble.
23668 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23669 (floorl): Define using libm_alias_ldouble.
23670 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23671 (fmaxl): Define using libm_alias_ldouble.
23672 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23673 (fminl): Define using libm_alias_ldouble.
23674 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23675 (frexpl): Define using libm_alias_ldouble.
23676 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23677 (llrintl): Define using libm_alias_ldouble.
23678 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23679 (logbl): Define using libm_alias_ldouble.
23680 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23681 (lrintl): Define using libm_alias_ldouble.
23682 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23683 (nearbyintl): Define using libm_alias_ldouble.
23684 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23685 (nextafterl): Define using libm_alias_ldouble.
23686 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23687 (remquol): Define using libm_alias_ldouble.
23688 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23689 (rintl): Define using libm_alias_ldouble.
23690 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23691 (truncl): Define using libm_alias_ldouble.
23692 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23693 (fmaxl): Define using libm_alias_ldouble.
23694 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23695 (fminl): Define using libm_alias_ldouble.
23697 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23698 to C syntax instead of availability and properties of types.
23699 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23700 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23701 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23702 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23703 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23704 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23706 2017-11-17 Florian Weimer <fweimer@redhat.com>
23708 support_become_root: Enable file creation in namespaces.
23709 * support/support_become_root.c (setup_mapping): New function.
23710 (support_become_root): Call it.
23712 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23714 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23717 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23719 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23720 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23722 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23724 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23726 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23729 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23731 * INSTALL: Fix botched up regeneration.
23733 * NEWS: Update sourceare link to https.
23734 * configure.ac: Likewise.
23735 * crypt/md5test-giant.c: Likewise.
23736 * dlfcn/bug-atexit1.c: Likewise.
23737 * dlfcn/bug-atexit2.c: Likewise.
23738 * localedata/README: Likewise.
23739 * malloc/tst-mallocfork.c: Likewise.
23740 * manual/install.texi: Likewise.
23741 * nptl/tst-pthread-getattr.c: Likewise.
23742 * stdio-common/tst-fgets.c: Likewise.
23743 * stdio-common/tst-fwrite.c: Likewise.
23744 * sunrpc/Makefile: Likewise.
23745 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23746 * wcsmbs/tst-mbrtowc2.c: Likewise.
23747 * configure: Regenerate.
23748 * INSTALL: Regenerate.
23750 2017-11-15 Martin Sebor <msebor@redhat.com>
23752 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23753 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23754 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23756 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23759 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23760 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23763 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23764 Defer is_pty check until end of the function.
23765 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23768 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23769 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23770 (ttyname): Likewise.
23771 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23772 (__ttyname_r): Likewise.
23774 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23777 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23779 * manual/terminal.texi (Is It a Terminal):
23780 Mention ENODEV for ttyname and ttyname_r.
23782 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23784 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23785 constant and macro.
23787 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23788 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23789 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23790 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23791 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23792 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23794 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23796 * signal/sigrelse.c (sigrelse): Optimize implementation.
23798 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23799 (__sigpause): Rely on __sigsuspend to implement single thread
23800 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23802 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23804 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23805 kernel version to 4.14.
23807 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23810 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23811 Check if ifname is too long.
23813 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23815 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23817 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23819 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23820 was accidentally lost.
23822 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23824 * localedata/locales/az_IR: Add standard copyright header.
23826 2017-11-15 Florian Weimer <fweimer@redhat.com>
23829 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23830 not just the top one. Output a new "subheaps" statistic.
23832 2017-11-15 Florian Weimer <fweimer@redhat.com>
23835 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23836 under the per-arena lock.
23837 * malloc/Makefile (tests): Add tst-malloc_info.
23838 (tst-malloc_info): Link with libpthread.
23839 * malloc/tst-malloc_info.c: New file.
23841 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23844 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23845 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23846 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23847 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23848 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23849 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23850 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23851 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23852 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23853 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23854 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23855 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23856 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23857 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23858 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23859 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23860 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23861 (__floating_type): Likewise.
23862 (__real_integer_type): Likewise.
23863 (__complex_integer_type): Likewise.
23864 (__expr_is_real): Likewise.
23865 (__tgmath_real_type_sub): Likewise.
23866 (__tgmath_real_type): Likewise.
23867 (__tgmath_complex_type_sub): Likewise.
23868 (__tgmath_complex_type): Likewise.
23869 (__TGMATH_F128): Likewise.
23870 (__TGMATH_CF128): Likewise.
23871 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23873 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23874 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23876 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23878 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23879 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23880 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23881 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23883 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23884 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23886 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23887 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23888 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23890 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23891 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23892 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23896 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23898 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23899 for stpncpy calls for GCC 8.
23900 (test_strncat): Disable -Wstringop-truncation warning for strncat
23901 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23902 strncat call for GCC 7.
23903 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23905 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23908 * string/bug-strncat1.c: Include <libc-diag.h>.
23909 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23911 2017-11-13 Claude Paroz <claude@2xlibre.net>
23914 * localedata/locales/aa_DJ: Improved readibility by replacing
23915 <Uxxxx> sequences in the ASCII printable range by their ASCII
23916 character equivalents.
23917 * localedata/locales/aa_ER: Likewise.
23918 * localedata/locales/aa_ER@saaho: Likewise.
23919 * localedata/locales/aa_ET: Likewise.
23920 * localedata/locales/af_ZA: Likewise.
23921 * localedata/locales/agr_PE: Likewise.
23922 * localedata/locales/ak_GH: Likewise.
23923 * localedata/locales/am_ET: Likewise.
23924 * localedata/locales/anp_IN: Likewise.
23925 * localedata/locales/ar_AE: Likewise.
23926 * localedata/locales/ar_BH: Likewise.
23927 * localedata/locales/ar_DZ: Likewise.
23928 * localedata/locales/ar_EG: Likewise.
23929 * localedata/locales/ar_IN: Likewise.
23930 * localedata/locales/ar_IQ: Likewise.
23931 * localedata/locales/ar_JO: Likewise.
23932 * localedata/locales/ar_KW: Likewise.
23933 * localedata/locales/ar_LB: Likewise.
23934 * localedata/locales/ar_LY: Likewise.
23935 * localedata/locales/ar_MA: Likewise.
23936 * localedata/locales/ar_OM: Likewise.
23937 * localedata/locales/ar_QA: Likewise.
23938 * localedata/locales/ar_SA: Likewise.
23939 * localedata/locales/ar_SD: Likewise.
23940 * localedata/locales/ar_SS: Likewise.
23941 * localedata/locales/ar_SY: Likewise.
23942 * localedata/locales/ar_TN: Likewise.
23943 * localedata/locales/ar_YE: Likewise.
23944 * localedata/locales/as_IN: Likewise.
23945 * localedata/locales/ast_ES: Likewise.
23946 * localedata/locales/ayc_PE: Likewise.
23947 * localedata/locales/az_AZ: Likewise.
23948 * localedata/locales/az_IR: Likewise.
23949 * localedata/locales/be_BY: Likewise.
23950 * localedata/locales/be_BY@latin: Likewise.
23951 * localedata/locales/bem_ZM: Likewise.
23952 * localedata/locales/ber_DZ: Likewise.
23953 * localedata/locales/ber_MA: Likewise.
23954 * localedata/locales/bg_BG: Likewise.
23955 * localedata/locales/bhb_IN: Likewise.
23956 * localedata/locales/bho_IN: Likewise.
23957 * localedata/locales/bi_VU: Likewise.
23958 * localedata/locales/bn_BD: Likewise.
23959 * localedata/locales/bn_IN: Likewise.
23960 * localedata/locales/bo_CN: Likewise.
23961 * localedata/locales/bo_IN: Likewise.
23962 * localedata/locales/br_FR: Likewise.
23963 * localedata/locales/brx_IN: Likewise.
23964 * localedata/locales/bs_BA: Likewise.
23965 * localedata/locales/byn_ER: Likewise.
23966 * localedata/locales/ca_AD: Likewise.
23967 * localedata/locales/ca_ES: Likewise.
23968 * localedata/locales/ca_FR: Likewise.
23969 * localedata/locales/ca_IT: Likewise.
23970 * localedata/locales/ce_RU: Likewise.
23971 * localedata/locales/chr_US: Likewise.
23972 * localedata/locales/cmn_TW: Likewise.
23973 * localedata/locales/crh_UA: Likewise.
23974 * localedata/locales/cs_CZ: Likewise.
23975 * localedata/locales/csb_PL: Likewise.
23976 * localedata/locales/cv_RU: Likewise.
23977 * localedata/locales/cy_GB: Likewise.
23978 * localedata/locales/da_DK: Likewise.
23979 * localedata/locales/de_AT: Likewise.
23980 * localedata/locales/de_BE: Likewise.
23981 * localedata/locales/de_CH: Likewise.
23982 * localedata/locales/de_DE: Likewise.
23983 * localedata/locales/de_IT: Likewise.
23984 * localedata/locales/de_LI: Likewise.
23985 * localedata/locales/de_LU: Likewise.
23986 * localedata/locales/doi_IN: Likewise.
23987 * localedata/locales/dv_MV: Likewise.
23988 * localedata/locales/dz_BT: Likewise.
23989 * localedata/locales/el_CY: Likewise.
23990 * localedata/locales/el_GR: Likewise.
23991 * localedata/locales/en_AG: Likewise.
23992 * localedata/locales/en_AU: Likewise.
23993 * localedata/locales/en_BW: Likewise.
23994 * localedata/locales/en_CA: Likewise.
23995 * localedata/locales/en_DK: Likewise.
23996 * localedata/locales/en_GB: Likewise.
23997 * localedata/locales/en_HK: Likewise.
23998 * localedata/locales/en_IE: Likewise.
23999 * localedata/locales/en_IL: Likewise.
24000 * localedata/locales/en_IN: Likewise.
24001 * localedata/locales/en_NG: Likewise.
24002 * localedata/locales/en_NZ: Likewise.
24003 * localedata/locales/en_PH: Likewise.
24004 * localedata/locales/en_SG: Likewise.
24005 * localedata/locales/en_US: Likewise.
24006 * localedata/locales/en_ZA: Likewise.
24007 * localedata/locales/en_ZM: Likewise.
24008 * localedata/locales/en_ZW: Likewise.
24009 * localedata/locales/eo: Likewise.
24010 * localedata/locales/es_AR: Likewise.
24011 * localedata/locales/es_BO: Likewise.
24012 * localedata/locales/es_CL: Likewise.
24013 * localedata/locales/es_CO: Likewise.
24014 * localedata/locales/es_CR: Likewise.
24015 * localedata/locales/es_CU: Likewise.
24016 * localedata/locales/es_DO: Likewise.
24017 * localedata/locales/es_EC: Likewise.
24018 * localedata/locales/es_ES: Likewise.
24019 * localedata/locales/es_GT: Likewise.
24020 * localedata/locales/es_HN: Likewise.
24021 * localedata/locales/es_MX: Likewise.
24022 * localedata/locales/es_NI: Likewise.
24023 * localedata/locales/es_PA: Likewise.
24024 * localedata/locales/es_PE: Likewise.
24025 * localedata/locales/es_PR: Likewise.
24026 * localedata/locales/es_PY: Likewise.
24027 * localedata/locales/es_SV: Likewise.
24028 * localedata/locales/es_US: Likewise.
24029 * localedata/locales/es_UY: Likewise.
24030 * localedata/locales/es_VE: Likewise.
24031 * localedata/locales/et_EE: Likewise.
24032 * localedata/locales/eu_ES: Likewise.
24033 * localedata/locales/eu_ES@euro: Likewise.
24034 * localedata/locales/fa_IR: Likewise.
24035 * localedata/locales/ff_SN: Likewise.
24036 * localedata/locales/fi_FI: Likewise.
24037 * localedata/locales/fil_PH: Likewise.
24038 * localedata/locales/fo_FO: Likewise.
24039 * localedata/locales/fr_BE: Likewise.
24040 * localedata/locales/fr_CA: Likewise.
24041 * localedata/locales/fr_CH: Likewise.
24042 * localedata/locales/fr_FR: Likewise.
24043 * localedata/locales/fr_LU: Likewise.
24044 * localedata/locales/fur_IT: Likewise.
24045 * localedata/locales/fy_DE: Likewise.
24046 * localedata/locales/fy_NL: Likewise.
24047 * localedata/locales/ga_IE: Likewise.
24048 * localedata/locales/gd_GB: Likewise.
24049 * localedata/locales/gez_ER: Likewise.
24050 * localedata/locales/gez_ET: Likewise.
24051 * localedata/locales/gl_ES: Likewise.
24052 * localedata/locales/gu_IN: Likewise.
24053 * localedata/locales/gv_GB: Likewise.
24054 * localedata/locales/ha_NG: Likewise.
24055 * localedata/locales/hak_TW: Likewise.
24056 * localedata/locales/he_IL: Likewise.
24057 * localedata/locales/hi_IN: Likewise.
24058 * localedata/locales/hif_FJ: Likewise.
24059 * localedata/locales/hne_IN: Likewise.
24060 * localedata/locales/hr_HR: Likewise.
24061 * localedata/locales/hsb_DE: Likewise.
24062 * localedata/locales/ht_HT: Likewise.
24063 * localedata/locales/hu_HU: Likewise.
24064 * localedata/locales/hy_AM: Likewise.
24065 * localedata/locales/i18n: Likewise.
24066 * localedata/locales/ia_FR: Likewise.
24067 * localedata/locales/id_ID: Likewise.
24068 * localedata/locales/ig_NG: Likewise.
24069 * localedata/locales/ik_CA: Likewise.
24070 * localedata/locales/is_IS: Likewise.
24071 * localedata/locales/it_CH: Likewise.
24072 * localedata/locales/it_IT: Likewise.
24073 * localedata/locales/iu_CA: Likewise.
24074 * localedata/locales/ja_JP: Likewise.
24075 * localedata/locales/ka_GE: Likewise.
24076 * localedata/locales/kk_KZ: Likewise.
24077 * localedata/locales/kl_GL: Likewise.
24078 * localedata/locales/kn_IN: Likewise.
24079 * localedata/locales/ko_KR: Likewise.
24080 * localedata/locales/kok_IN: Likewise.
24081 * localedata/locales/ks_IN: Likewise.
24082 * localedata/locales/ks_IN@devanagari: Likewise.
24083 * localedata/locales/ku_TR: Likewise.
24084 * localedata/locales/kw_GB: Likewise.
24085 * localedata/locales/ky_KG: Likewise.
24086 * localedata/locales/lb_LU: Likewise.
24087 * localedata/locales/lg_UG: Likewise.
24088 * localedata/locales/li_BE: Likewise.
24089 * localedata/locales/li_NL: Likewise.
24090 * localedata/locales/lij_IT: Likewise.
24091 * localedata/locales/ln_CD: Likewise.
24092 * localedata/locales/lo_LA: Likewise.
24093 * localedata/locales/lt_LT: Likewise.
24094 * localedata/locales/lv_LV: Likewise.
24095 * localedata/locales/lzh_TW: Likewise.
24096 * localedata/locales/mag_IN: Likewise.
24097 * localedata/locales/mai_IN: Likewise.
24098 * localedata/locales/mg_MG: Likewise.
24099 * localedata/locales/mhr_RU: Likewise.
24100 * localedata/locales/mi_NZ: Likewise.
24101 * localedata/locales/mk_MK: Likewise.
24102 * localedata/locales/ml_IN: Likewise.
24103 * localedata/locales/mn_MN: Likewise.
24104 * localedata/locales/mni_IN: Likewise.
24105 * localedata/locales/mr_IN: Likewise.
24106 * localedata/locales/ms_MY: Likewise.
24107 * localedata/locales/mt_MT: Likewise.
24108 * localedata/locales/my_MM: Likewise.
24109 * localedata/locales/nan_TW: Likewise.
24110 * localedata/locales/nan_TW@latin: Likewise.
24111 * localedata/locales/nb_NO: Likewise.
24112 * localedata/locales/nds_DE: Likewise.
24113 * localedata/locales/nds_NL: Likewise.
24114 * localedata/locales/ne_NP: Likewise.
24115 * localedata/locales/nhn_MX: Likewise.
24116 * localedata/locales/niu_NU: Likewise.
24117 * localedata/locales/niu_NZ: Likewise.
24118 * localedata/locales/nl_AW: Likewise.
24119 * localedata/locales/nl_BE: Likewise.
24120 * localedata/locales/nl_NL: Likewise.
24121 * localedata/locales/nn_NO: Likewise.
24122 * localedata/locales/nr_ZA: Likewise.
24123 * localedata/locales/nso_ZA: Likewise.
24124 * localedata/locales/oc_FR: Likewise.
24125 * localedata/locales/om_ET: Likewise.
24126 * localedata/locales/om_KE: Likewise.
24127 * localedata/locales/or_IN: Likewise.
24128 * localedata/locales/os_RU: Likewise.
24129 * localedata/locales/pa_IN: Likewise.
24130 * localedata/locales/pa_PK: Likewise.
24131 * localedata/locales/pap_AW: Likewise.
24132 * localedata/locales/pap_CW: Likewise.
24133 * localedata/locales/pl_PL: Likewise.
24134 * localedata/locales/ps_AF: Likewise.
24135 * localedata/locales/pt_BR: Likewise.
24136 * localedata/locales/pt_PT: Likewise.
24137 * localedata/locales/quz_PE: Likewise.
24138 * localedata/locales/raj_IN: Likewise.
24139 * localedata/locales/ro_RO: Likewise.
24140 * localedata/locales/ru_RU: Likewise.
24141 * localedata/locales/ru_UA: Likewise.
24142 * localedata/locales/rw_RW: Likewise.
24143 * localedata/locales/sa_IN: Likewise.
24144 * localedata/locales/sat_IN: Likewise.
24145 * localedata/locales/sc_IT: Likewise.
24146 * localedata/locales/sd_IN: Likewise.
24147 * localedata/locales/sd_IN@devanagari: Likewise.
24148 * localedata/locales/se_NO: Likewise.
24149 * localedata/locales/sgs_LT: Likewise.
24150 * localedata/locales/shs_CA: Likewise.
24151 * localedata/locales/si_LK: Likewise.
24152 * localedata/locales/sid_ET: Likewise.
24153 * localedata/locales/sk_SK: Likewise.
24154 * localedata/locales/sl_SI: Likewise.
24155 * localedata/locales/sm_WS: Likewise.
24156 * localedata/locales/so_DJ: Likewise.
24157 * localedata/locales/so_ET: Likewise.
24158 * localedata/locales/so_KE: Likewise.
24159 * localedata/locales/so_SO: Likewise.
24160 * localedata/locales/sq_AL: Likewise.
24161 * localedata/locales/sq_MK: Likewise.
24162 * localedata/locales/sr_ME: Likewise.
24163 * localedata/locales/sr_RS: Likewise.
24164 * localedata/locales/sr_RS@latin: Likewise.
24165 * localedata/locales/ss_ZA: Likewise.
24166 * localedata/locales/st_ZA: Likewise.
24167 * localedata/locales/sv_FI: Likewise.
24168 * localedata/locales/sv_SE: Likewise.
24169 * localedata/locales/sw_KE: Likewise.
24170 * localedata/locales/sw_TZ: Likewise.
24171 * localedata/locales/szl_PL: Likewise.
24172 * localedata/locales/ta_IN: Likewise.
24173 * localedata/locales/ta_LK: Likewise.
24174 * localedata/locales/tcy_IN: Likewise.
24175 * localedata/locales/te_IN: Likewise.
24176 * localedata/locales/tg_TJ: Likewise.
24177 * localedata/locales/th_TH: Likewise.
24178 * localedata/locales/the_NP: Likewise.
24179 * localedata/locales/ti_ER: Likewise.
24180 * localedata/locales/ti_ET: Likewise.
24181 * localedata/locales/tig_ER: Likewise.
24182 * localedata/locales/tk_TM: Likewise.
24183 * localedata/locales/tl_PH: Likewise.
24184 * localedata/locales/tn_ZA: Likewise.
24185 * localedata/locales/to_TO: Likewise.
24186 * localedata/locales/tpi_PG: Likewise.
24187 * localedata/locales/tr_CY: Likewise.
24188 * localedata/locales/tr_TR: Likewise.
24189 * localedata/locales/ts_ZA: Likewise.
24190 * localedata/locales/tt_RU: Likewise.
24191 * localedata/locales/tt_RU@iqtelif: Likewise.
24192 * localedata/locales/ug_CN: Likewise.
24193 * localedata/locales/uk_UA: Likewise.
24194 * localedata/locales/unm_US: Likewise.
24195 * localedata/locales/ur_IN: Likewise.
24196 * localedata/locales/ur_PK: Likewise.
24197 * localedata/locales/uz_UZ: Likewise.
24198 * localedata/locales/uz_UZ@cyrillic: Likewise.
24199 * localedata/locales/ve_ZA: Likewise.
24200 * localedata/locales/vi_VN: Likewise.
24201 * localedata/locales/wa_BE: Likewise.
24202 * localedata/locales/wae_CH: Likewise.
24203 * localedata/locales/wal_ET: Likewise.
24204 * localedata/locales/wo_SN: Likewise.
24205 * localedata/locales/xh_ZA: Likewise.
24206 * localedata/locales/yi_US: Likewise.
24207 * localedata/locales/yo_NG: Likewise.
24208 * localedata/locales/yue_HK: Likewise.
24209 * localedata/locales/yuw_PG: Likewise.
24210 * localedata/locales/zh_CN: Likewise.
24211 * localedata/locales/zh_HK: Likewise.
24212 * localedata/locales/zh_SG: Likewise.
24213 * localedata/locales/zh_TW: Likewise.
24214 * localedata/locales/zu_ZA: Likewise.
24216 2017-11-13 Florian Weimer <fweimer@redhat.com>
24218 * support/next_to_fault.h, support/next_to_fault.c: New files.
24219 * support/Makefile (libsupport-routines): Add next_to_fault.
24220 * resolv/tst-inet_pton.c (struct next_to_fault)
24221 (next_to_fault_allocate, next_to_fault_free): Remove.
24222 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24224 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24226 * elf/dl-support.c: Include <dl-procruntime.c>.
24227 * include/link.h: Include <link_map.h>.
24228 * sysdeps/generic/dl-procruntime.c: New file.
24229 * sysdeps/generic/link_map.h: Likewise.
24230 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24231 the writable ld.so namespace.
24233 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24235 timezone: pacify GCC -Wstringop-truncation
24236 Problem reported by Martin Sebor in:
24237 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24238 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24240 2017-11-12 Florian Weimer <fweimer@redhat.com>
24242 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24244 (tests): Add tst-xreadlink.
24245 * support/support.h (xstrndup): Declare.
24246 * support/xunistd.h (xunlink, xreadlink): Declare.
24247 * support/temp_file.h (support_create_temp_directory): Declare.
24248 * support/temp_file.c (support_create_temp_directory): New function.
24249 * support/support_chroot.c (support_chroot_create): Use it.
24250 * support/xreadlink.c: New file.
24251 * support/xstrndup.c: Likewise.
24252 * support/xunlink.c: Likewise.
24253 * support/tst-xreadlink.c: Likewise.
24255 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24257 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24259 2017-11-11 Florian Weimer <fweimer@redhat.com>
24263 * resolv/res_comp.c (printable_string, binary_hnok)
24264 (binary_leading_dash): New functions.
24265 (res_hnok): Reimplement using these functions and ns_name_pton.
24266 (res_ownok): Likewise.
24267 (res_mailok): Reimplement using printable_string, ns_name_pton and
24269 (res_dnok): Reimplement using printable_string and ns_name_pton.
24270 * resolv/tst-res_hnok.c (tests): Add additional tests.
24271 (LETTERDIGITS, PRINTABLE): Define.
24272 (do_test): Adjust one_char results.
24274 2017-11-11 Florian Weimer <fweimer@redhat.com>
24277 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24278 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24280 2017-11-11 Florian Weimer <fweimer@redhat.com>
24282 * resolv/tst-ns_name_pton.c: New file.
24283 * resolv/Makefile (tests): Add tst-ns_name_pton.
24284 (tst-ns_name_pton): Link against libresolv.
24286 2017-11-11 Florian Weimer <fweimer@redhat.com>
24288 * resolv/tst-res_hnok.c: New file.
24289 * resolv/Makefile (tests): Add tst-res_hnok.
24290 (tst-res_hnok): Link against libresolv.
24292 2017-11-11 Florian Weimer <fweimer@redhat.com>
24294 * resolv/tst-resolv-network.c: Use test framework instead explicit
24297 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24299 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24300 <jmp_buf-macros.h>.
24301 [!_ISOMAC] (STR_HELPER): New.
24302 [!_ISOMAC] (STR): Likewise.
24303 [!_ISOMAC] (TEST_SIZE): Likewise.
24304 [!_ISOMAC] (TEST_ALIGN): Likewise.
24305 [!_ISOMAC] (TEST_OFFSET): Likewise.
24306 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24307 field offsets of jmp_buf as well as sigjmp_buf.
24308 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24309 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24310 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24311 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24312 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24313 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24314 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24315 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24316 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24317 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24319 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24321 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24326 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24327 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24328 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24329 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24330 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24335 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24336 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24337 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24339 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24342 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24343 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24344 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24345 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24346 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24347 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24348 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24349 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24350 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24351 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24352 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24353 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24354 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24355 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24356 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24357 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24358 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24359 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24360 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24361 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24362 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24363 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24364 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24365 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24366 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24367 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24368 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24369 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24370 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24371 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24372 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24373 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24374 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24375 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24376 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24377 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24378 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24379 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24380 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24381 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24382 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24383 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24384 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24385 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24386 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24387 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24388 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24389 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24390 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24391 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24392 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24393 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24394 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24395 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24396 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24397 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24398 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24399 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24400 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24401 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24402 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24403 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24404 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24405 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24406 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24407 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24408 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24409 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24410 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24411 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24412 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24413 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24414 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24415 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24416 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24417 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24418 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24419 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24420 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24421 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24422 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24423 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24424 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24425 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24426 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24427 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24429 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24431 * stdlib/tst-strtod.h (F16): New macro.
24437 (IF_FLOAT16): Likewise.
24438 (IF_FLOAT32): Likewise.
24439 (IF_FLOAT64): Likewise.
24440 (IF_FLOAT32X): Likewise.
24441 (IF_FLOAT64X): Likewise.
24442 (IF_FLOAT128X): Likewise.
24443 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24444 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24445 (STRTOD_TEST_FOREACH): Likewise.
24446 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24447 (CHOOSE_f64): Likewise.
24448 (CHOOSE_f32x): Likewise.
24449 (CHOOSE_f64x): Likewise.
24451 2017-11-07 Andreas Schwab <schwab@suse.de>
24453 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24455 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24458 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24460 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24463 2017-11-07 Claude Paroz <claude@2xlibre.net>
24466 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24468 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24470 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24473 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24476 * nptl/allocatestack.c (allocate_stack): Check if
24477 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24478 __PTHREAD_MUTEX_HAVE_PREV is defined.
24479 * nptl/descr.h (pthread): Likewise.
24480 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24482 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24483 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24484 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24485 * sysdeps/nptl/bits/thread-shared-types.h
24486 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24488 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24489 of __WORDSIZE for internal layout.
24490 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24491 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24492 instead of __WORDSIZE whether to use an union for __spins and __list
24494 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24496 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24497 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24499 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24500 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24502 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24503 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24505 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24506 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24508 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24509 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24511 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24512 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24514 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24515 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24517 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24518 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24520 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24521 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24523 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24524 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24526 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24527 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24529 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24530 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24532 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24533 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24535 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24536 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24538 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24539 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24542 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24544 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24545 checks for expected input type size.
24546 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24547 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24549 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24550 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24551 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24552 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24553 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24554 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24555 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24556 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24557 superflous runtime assert check.
24558 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24560 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24562 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24564 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24566 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24568 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24570 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24571 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24572 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24574 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24576 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24578 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24580 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24582 * nptl/pthread_attr_setinheritsched.c
24583 (__pthread_attr_setinheritsched): Likewise.
24584 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24586 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24588 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24589 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24590 __old_pthread_attr_setstack): Likewise.
24591 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24593 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24595 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24597 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24598 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24600 * nptl/tst-typesizes.c: Remove file.
24602 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24603 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24604 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24605 checks for internal pthread_mutex_t offsets.
24606 * sysdeps/aarch64/nptl/pthread-offsets.h
24607 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24608 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24609 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24610 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24611 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24612 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24613 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24614 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24615 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24616 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24617 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24618 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24619 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24620 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24621 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24622 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24623 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24624 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24626 2017-11-07 Florian Weimer <fweimer@redhat.com>
24628 * bits/mman-linux.h: Move ...
24629 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24631 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24634 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24636 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24637 Redefine STRNLEN as __strnlen_power8.
24639 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24641 * signal/sighold.c (sighold): Optimize implementation.
24643 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24644 __NR_rt_sigqueueinfo.
24646 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24648 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24649 assume __NR_rt_sigtimedwait.
24650 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24651 and add LIBC_CANCEL_HANDLED for cancellation marking.
24652 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24654 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24655 (sysdeps_routines): Add memchr_noneon.
24656 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24657 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24658 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24659 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24660 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24661 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24662 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24664 * sysdeps/arm/arm-ifunc.h: New file.
24665 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24666 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24667 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24668 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24669 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24670 (__memcpy_neon): Avoid create hidden alias.
24671 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24672 (__memcpy_vfp): Likewise.
24673 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24674 (sysdep_routines): Add memcpy_arm.
24675 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24677 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24680 * Makerules (make-link-multidir): New.
24681 * config.make.in (multidir): New.
24682 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24683 * configure: Regenerated.
24684 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24685 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24686 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24689 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24692 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24693 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24695 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24697 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24700 2017-11-04 Florian Weimer <fweimer@redhat.com>
24702 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24704 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24706 * math/math.h [__HAVE_DISTINCT_FLOAT16
24707 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24708 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24709 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24710 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24711 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24712 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24713 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24714 (__MATH_TG_F32): New macro.
24715 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24716 (__MATH_TG_F64X): Likewise.
24717 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24718 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24720 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24722 * po/de.po: Update translations.
24723 * po/ru.po: Likewise.
24725 2017-11-03 Florian Weimer <fweimer@redhat.com>
24727 * manual/filesys.texi (Hard Links): Document linkat.
24729 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24731 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24732 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24733 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24734 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24735 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24736 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24737 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24738 the same as _Float128.
24739 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24740 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24741 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24744 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24746 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24748 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24750 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24751 (strtof32x): Likewise.
24752 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24753 (strtof64x): Likewise.
24754 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24755 (strtof128x): Likewise.
24756 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24757 (strfromf16): Likewise.
24758 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24759 (strfromf32): Likewise.
24760 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24761 (strfromf64): Likewise.
24762 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24763 (strfromf32x): Likewise.
24764 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24765 (strfromf64x): Likewise.
24766 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24767 (strfromf128x): Likewise.
24768 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24769 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24770 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24771 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24772 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24773 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24775 2017-11-03 Richard Henderson <rth@twiddle.net>
24777 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24779 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24781 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24783 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24785 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24786 DT_TLSDESC_GOT initialization.
24787 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24788 (_dl_tlsdesc_resolve_hold): Likewise.
24789 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24790 (_dl_tlsdesc_resolve_hold): Likewise.
24791 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24792 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24794 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24796 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24798 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24801 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24802 non-lazily for R_ARM_TLS_DESC.
24804 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24807 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24808 R_ARM_TLS_DESC case.
24809 (elf_machine_lazy_rel): Remove the prelink check.
24811 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24813 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24814 DT_TLSDESC_GOT initialization.
24815 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24816 (_dl_tlsdesc_resolve_rela): Likewise.
24817 (_dl_tlsdesc_resolve_hold): Likewise.
24818 (_dl_tlsdesc_undefweak): Remove ldar.
24819 (_dl_tlsdesc_dynamic): Likewise.
24820 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24821 (_dl_tlsdesc_resolve_rela): Likewise.
24822 (_dl_tlsdesc_resolve_hold): Likewise.
24823 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24824 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24825 (_dl_tlsdesc_resolve_rela): Likewise.
24826 (_dl_tlsdesc_resolve_hold): Likewise.
24828 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24830 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24831 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24833 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24835 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24836 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24838 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24840 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24842 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24843 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24844 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24845 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24846 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24847 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24848 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24849 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24850 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24851 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24852 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24854 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24857 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24858 * localedata/locales/tpi_PG: Add standard header.
24860 2017-11-02 Florian Weimer <fweimer@redhat.com>
24862 test-errno-linux: quotactl can fail with EPERM in containers.
24863 * sysdeps/unix/sysv/linux/test-errno-linux.c
24864 (LIST, LIST_FORWARD): New macros.
24865 (check_error_in_list): New function.
24866 (test_wrp_rv): Accept list of permitted error codes.
24867 (test_wrp_rv2): Remove.
24868 (test_wrp): Call test_wrp_rv with list of error codes.
24869 (test_wrp2): Accept list of error codes.
24870 (do_test): Adjust. Allow EPERM for quotactl.
24872 2017-11-02 Florian Weimer <fweimer@redhat.com>
24874 * stdio-common/bug16.c (do_test): Use array_length.
24875 * stdio-common/errlist.c (_sys_nerr): Likewise.
24876 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24877 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24878 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24879 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24880 (do_test): Use array_length.
24881 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24882 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24883 * stdio-common/tst-printf-round.c (do_test): Likewise.
24884 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24885 (CHECK): Use array_length.
24886 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24887 * stdio-common/tstscanf.c (main): Likewise.
24888 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24890 2017-11-02 Florian Weimer <fweimer@redhat.com>
24892 Add array_length and array_end macros.
24893 * include/array_length.h: New file.
24895 2017-11-02 Florian Weimer <fweimer@redhat.com>
24898 * posix/tst-glob-tilde.c (do_noescape): New variable.
24899 (one_test): Process it.
24900 (do_test): Set do_noescape. Add unescaping test case.
24902 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24905 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24906 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24907 with appropriate macros defined and undefined.
24908 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24909 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24910 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24911 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24912 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24913 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24914 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24915 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24916 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24917 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24920 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24921 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24922 that for long double. Do not condition define and undefine of
24923 _Mdouble_complex_ on [__CFLOAT128].
24925 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24927 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24928 of <sysdeps/generic/sysdep.h>.
24929 (ALIGNARG): Removed.
24930 (ASM_SIZE_DIRECTIVE): Likewise.
24933 (ENTRY_CHK): Likewise.
24934 (END_CHK): Likewise.
24935 (syscall_error): Likewise.
24936 (mcount): Likewise.
24937 (PSEUDO_END): Likewise.
24939 (atom_text_section): Likewise.
24940 * sysdeps/x86/sysdep.h: New file.
24941 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24942 of <sysdeps/generic/sysdep.h>.
24943 (ALIGNARG): Removed.
24944 (ASM_SIZE_DIRECTIVE): Likewise.
24947 (ENTRY_CHK): Likewise.
24948 (END_CHK): Likewise.
24949 (syscall_error): Likewise.
24950 (mcount): Likewise.
24951 (PSEUDO_END): Likewise.
24953 (atom_text_section): Likewise.
24955 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24957 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24958 category of LC_CTYPE set to "i18n:2012".
24959 * localedata/locales/i18n_ctype: Regenerate.
24961 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24963 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24964 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24965 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24966 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24968 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24969 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24970 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24971 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24973 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24976 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24978 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24980 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24982 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24983 (CMPLXF32X): Likewise.
24984 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24985 (CMPLXF64X): Likewise.
24986 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24987 (CMPLXF128X): Likewise.
24990 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24991 (__MATH_EVAL_FMT2): Define to add 0.0f.
24993 2017-10-31 Alan Modra <amodra@gmail.com>
24995 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25011 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25012 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25013 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25014 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25015 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25016 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25017 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25018 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25019 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25020 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25021 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25022 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25023 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25024 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25025 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25026 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25027 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25028 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25029 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25030 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25031 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25032 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25033 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25034 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25035 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25036 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25037 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25038 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25039 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25040 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25041 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25042 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25043 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25044 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25045 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25046 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25047 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25048 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25049 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25050 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25051 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25052 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25053 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25054 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25055 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25056 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25057 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25058 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25059 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25060 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25061 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25062 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25063 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25064 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25065 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25068 include sysdep.h and math_ldbl_opt.h.
25070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25071 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25097 2017-10-31 Alan Modra <amodra@gmail.com>
25099 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25100 string/strncase_l.c, not string/strncase.c.
25101 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25102 (libc_hidden_def): Redefine.
25104 2017-10-31 Alan Modra <amodra@gmail.com>
25106 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25107 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25108 (__strcasecmp): Don't define.
25110 2017-10-31 Alan Modra <amodra@gmail.com>
25112 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25114 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25115 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25116 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25118 2017-10-31 Alan Modra <amodra@gmail.com>
25120 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25123 2017-10-31 Alan Modra <amodra@gmail.com>
25125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25126 Redefine only when SHARED.
25128 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25130 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25131 Include <bits/math-finite.h> with appropriate macros defined and
25133 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25134 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25135 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25136 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25137 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25139 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25140 [!_Mlong_double_] (_Mlong_double_): Likewise.
25141 [!_Mfloat16_] (_Mfloat16_): Likewise.
25142 [!_Mfloat32_] (_Mfloat32_): Likewise.
25143 [!_Mfloat64_] (_Mfloat64_): Likewise.
25144 [!_Mfloat128_] (_Mfloat128_): Likewise.
25145 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25146 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25147 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25148 (_Mdouble_): Define without indirection through those macros.
25149 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25150 [!_Mfloat128_] (_Mfloat128_): Likewise.
25151 [_Mlong_double_] (_Mlong_double_): Likewise.
25152 (_Mdouble_): Define without indirection through those macros.
25153 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25154 not add -D_Mlong_double_=double.
25155 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25156 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25158 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25160 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25162 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25164 * sysdeps/x86/libc-start.c: Reformat.
25166 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25169 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25170 (1): Renamed to ...
25173 (L(Src2)): Likewise.
25174 (L(1)): Renamed to ...
25177 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25179 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25180 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25181 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25182 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25183 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25184 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25185 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25186 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25187 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25188 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25189 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25190 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25191 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25192 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25193 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25194 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25195 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25196 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25197 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25198 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25199 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25200 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25201 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25202 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25203 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25204 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25205 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25206 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25207 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25208 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25209 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25210 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25211 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25212 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25213 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25214 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25215 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25216 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25217 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25218 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25219 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25220 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25221 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25222 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25223 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25224 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25225 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25226 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25227 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25228 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25229 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25230 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25231 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25232 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25233 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25234 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25235 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25236 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25237 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25238 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25239 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25240 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25241 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25242 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25243 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25244 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25246 2017-10-30 Florian Weimer <fweimer@redhat.com>
25248 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25250 * io/tst-mkdirat.c (do_test): Likewise.
25251 * io/tst-mkfifoat.c (do_test): Likewise.
25252 * io/tst-mknodat.c (do_test): Likewise.
25253 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25254 * locale/programs/locale.c (select_dirs): Likewise.
25255 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25256 * posix/bug-glob2.c (my_readdir): Likewise.
25257 * posix/tst-dir.c (main): Likewise.
25258 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25259 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25261 2017-10-30 Florian Weimer <fweimer@redhat.com>
25263 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25266 2017-10-30 Florian Weimer <fweimer@redhat.com>
25268 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25269 Convert to support/test-driver.c.
25270 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25271 New macro parameters.
25272 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25273 * posix/tst-gnuglob.c: New file.
25274 * posix/tst-gnuglob64.c: Likewise.
25275 * posix/Makefile (tests): Add tst-gnuglob64.
25277 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25280 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25281 and use a better translation for March in “mon”.
25282 * localedata/locales/csb_PL: Use more ASCII to improve the
25283 readability of the source.
25285 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25288 * localedata/locales/km_KH: Use ASCII as much
25289 as possible for better readability of the source and
25290 remove useless comments.
25291 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25292 was commented out and apparently wrong anyway because it was
25293 using Lao characters. If Buddhist era should be used
25294 for km_KH, a native speaker should write the correct formaat
25296 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25297 (According to CLDR, the first weekday for Cambodia is Sunday).
25298 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25299 (These were using Lao characters which must be wrong. If we get
25300 the correct data from a native speaker, we could add it back, until
25301 then it is better not to have name_mr and name_mrs at all than
25304 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25306 * locale/loadlocale.c: Correct size of
25307 _nl_value_type_LC_<category> arrays.
25309 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25311 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25312 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25313 with appropriate macros defined and undefined.
25314 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25315 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25316 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25317 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25318 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25320 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25322 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25325 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25327 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25328 with lowercase letters to make it agree with CLDR.
25330 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25333 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25334 first letters of yesstr and nostr in yesexpr and noexpr,
25335 not for the full words.
25336 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25337 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25338 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25339 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25340 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25341 first letters of yesstr and nostr in yesexpr and noexpr,
25342 until now only English was matched in yesexpr and noexpr.
25343 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25344 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25345 fil but not for tl. As tl and fil are very similar, using fil
25346 is probably better than using English.
25348 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25351 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25352 in yesstr and nostr.
25354 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25356 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25357 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25358 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25360 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25362 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25364 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25366 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25367 (SNANF128X): Likewise.
25369 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25370 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25371 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25372 (HUGE_VAL_F32): Likewise.
25373 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25374 (HUGE_VAL_F64): Likewise.
25375 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25376 (HUGE_VAL_F32X): Likewise.
25377 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25378 (HUGE_VAL_F64X): Likewise.
25379 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25380 (HUGE_VAL_F128X): Likewise.
25382 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25384 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25385 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25386 for the br_FR locale.
25388 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25391 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25393 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25395 * locale/programs/record-status.h: Define globals, and function
25396 prototypes. Move function bodies...
25397 * locale/programs/record-status.c: ... to here. New file.
25398 * iconv/Makefile (iconv_prog-modules): Add record-status.
25399 * locale/Makefile (lib-modules): Likewise.
25400 * iconv/iconv_prog.c: Remove verbose.
25401 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25402 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25403 record a warning about ASCII compatibility.
25404 * locale/programs/ld-monetary.c (monetary_finish): If
25405 warn_int_curr_symbol is true then record a warning about the symbol
25406 not being in our ISO 4217 list.
25407 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25408 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25409 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25410 (OPT_NO_WARN): Define.
25411 (OPT_WARN): Define.
25412 (options): Add entry for --no-warnings, and --warnings.
25413 (set_warnings): New function to enable/disable warnings.
25414 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25415 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25416 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25417 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25418 Pass flags to generate_locale.
25419 (generate_locale): Accept new flag argument and pass it to localedef
25421 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25422 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25424 * localedata/Makefile (test-input-data): Use full file name.
25425 * localedata/da_DK.in: Rename to...
25426 * localedata/da_DK.ISO-8859-1.in: ...this.
25427 * localedata/de_DE.in: Rename to...
25428 * localedata/de_DE.ISO-8859-1.in: ...this.
25429 * localedata/en_US.in: Rename to...
25430 * localedata/en_US.ISO-8859-1.in: ...this.
25431 * localedata/fr_FR.in: Rename to...
25432 * localedata/fr_FR.UTF-8.in: ... this.
25433 * localedata/hr_HR.in: Rename to...
25434 * localedata/hr_HR.ISO-8859-2.in: ...this.
25435 * localedata/hu_HU.in: Rename to...
25436 * localedata/hu_HU.UTF-8.in: ...this.
25437 * localedata/si_LK.in: Rename to...
25438 * localedata/si_LK.UTF-8.in: ...this.
25439 * localedata/sv_SE.in: Rename to...
25440 * localedata/sv_SE.ISO-8859-1.in: ...this.
25441 * localedata/tr_TR.in: Rename to...
25442 * localedata/tr_TR.UTF-8.in: ...this.
25443 * localedata/uk_UA.in: Rename to...
25444 * localedata/uk_UA.UTF-8.in: ...this.
25445 * localedata/sort-test.sh: Test file is locale name with the
25448 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25449 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25451 * localedata/locales/i18n_ctype: Regenerate.
25452 * localedata/locales/tr_TR: Likewise.
25453 * localedata/locales/translit_circle: Likewise.
25454 * localedata/locales/translit_cjk_compat: Likewise.
25455 * localedata/locales/translit_combining: Likewise.
25456 * localedata/locales/translit_compat: Likewise.
25457 * localedata/locales/translit_font: Likewise.
25458 * localedata/locales/translit_fraction: Likewise.
25460 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25462 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25463 lxvd2x/stxvd2x with lvx/stvx.
25464 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25466 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25468 * include/alloc_buffer.h: Replace "if if " with "if " in
25470 * sysdeps/mips/memcpy.S: Likkewise.
25471 * sysdeps/mips/memset.S: Likewise.
25472 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25474 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25476 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25479 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25482 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25483 yesexpr and noexpr.
25484 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25485 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25486 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25487 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25488 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25489 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25490 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25492 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25494 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25495 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25496 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25497 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25498 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25499 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25500 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25501 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25502 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25503 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25504 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25505 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25507 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25509 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25510 as possible for better readability of the source.
25511 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25512 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25513 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25514 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25515 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25516 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25517 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25518 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25519 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25520 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25521 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25522 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25523 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25524 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25525 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25526 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25527 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25528 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25529 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25530 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25531 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25532 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25533 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25534 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25535 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25536 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25537 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25538 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25539 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25540 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25541 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25542 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25543 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25544 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25545 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25546 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25547 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25548 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25549 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25550 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25551 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25552 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25553 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25554 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25555 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25556 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25557 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25558 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25559 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25560 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25561 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25562 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25563 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25564 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25565 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25566 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25567 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25568 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25569 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25570 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25571 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25572 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25573 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25574 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25575 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25576 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25577 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25578 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25579 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25580 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25581 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25582 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25583 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25584 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25585 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25586 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25587 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25588 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25589 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25590 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25591 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25592 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25593 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25594 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25595 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25596 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25597 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25598 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25599 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25600 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25601 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25602 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25603 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25604 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25605 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25606 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25607 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25608 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25609 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25610 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25611 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25612 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25613 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25614 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25615 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25616 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25617 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25618 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25619 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25620 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25621 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25622 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25623 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25624 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25625 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25626 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25627 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25628 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25629 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25630 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25631 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25632 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25633 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25634 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25635 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25636 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25637 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25638 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25639 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25640 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25641 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25642 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25643 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25644 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25645 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25646 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25647 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25648 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25649 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25650 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25651 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25652 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25653 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25654 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25655 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25656 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25657 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25658 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25659 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25660 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25661 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25662 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25663 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25664 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25665 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25666 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25667 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25668 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25669 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25670 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25671 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25672 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25673 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25674 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25675 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25676 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25677 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25678 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25679 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25680 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25681 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25682 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25683 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25684 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25686 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25688 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25689 (Use first letters of yesstr and nostr correctly instead of using
25692 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25694 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25695 (Use first letters of yesstr and nostr correctly).
25697 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25699 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25700 also check for the first characters of yesstr and nostr.
25701 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25702 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25704 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25706 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25707 also check for Chinese characters.
25709 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25711 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25712 match also for the contents of yesstr and nostr. As the first letter
25713 of yesstr and nostr is equal, checking only for the first letter
25716 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25718 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25719 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25721 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25723 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25724 of main contributor.
25726 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25728 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25729 instead of using English.
25731 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25733 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25734 by including the first letters of nostr and yesexpr in the regexp.
25735 Also make it more readable by using ASCII where possible.
25737 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25739 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25740 the first letter of nostr in the regexp. It agrees with CLDR now.
25741 Also make it more readable by using ASCII where possible.
25743 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25745 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25746 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25747 these strings contain a U+17D6 (which somewhat looks like a colon)
25748 instead of a real colon to separate the full words for “yes”
25749 and “no” from the single letter responses.
25751 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25753 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25754 it agree with CLDR (include the first letter of yesstr).
25755 Also make it more readable by using ASCII where possible.
25757 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25759 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25760 and improve yesexpr and noexpr. The yesstr and nostr apparently
25761 came from CLDR. And CLDR has a bug there: these strings contain
25762 a U+0903 (which looks like a colon) instead of a real colon
25763 to separate the full words for “yes” and “no” from the single
25766 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25768 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25769 letters of the full yesstr and nostr in yesexpr and noexpr.
25771 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25773 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25774 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25775 * localedata/locales/an_ES: Make source more readable by using ASCII
25778 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25781 * localedata/locales/yuw_PG: New file.
25782 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25783 * locale/iso-639.def: Add Yau (Uruwa).
25785 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25787 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25789 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25791 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25792 (__libc_realloc): Likewise.
25793 (_mid_memalign): Likewise.
25794 (__libc_calloc): Likewise.
25796 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25798 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25799 by adding the generic +1 and -0 as in all other locales.
25800 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25801 day names and make it more readable by using ASCII where possible.
25803 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25805 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25806 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25808 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25810 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25811 WNOHANG in waitpid call.
25813 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25815 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25816 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25818 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25819 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25820 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25821 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25822 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25823 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25824 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25825 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25828 2017-10-23 Michael Collison <michael.collison@arm.com>
25830 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25831 with __builtin_sqrt.
25832 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25833 with __builtin_sqrtf.
25834 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25835 with __builtin_ceil.
25836 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25837 with __builtin_ceilf.
25838 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25839 with __builtin_floor.
25840 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25841 with __builtin_floorf.
25842 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25843 with __builtin_fma.
25844 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25845 with __builtin_fmaf.
25846 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25847 with __builtin_fmax.
25848 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25849 with __builtin_fmaxf.
25850 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25851 with __builtin_fmin.
25852 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25853 with __builtin_fminf.
25854 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25855 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25856 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25857 with builtin_rint and conversion to int.
25858 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25859 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25860 with builtin_llround.
25861 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25862 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25863 with builtin_rint and conversion to long int.
25864 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25865 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25866 with builtin_lround.
25867 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25868 with builtin_lroundf.
25869 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25870 statements with __builtin_nearbyint.
25871 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25872 statements with __builtin_nearbyintf.
25873 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25874 with __builtin_rint.
25875 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25876 with __builtin_rintf.
25877 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25878 with __builtin_round.
25879 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25880 with __builtin_roundf.
25881 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25882 with __builtin_trunc.
25883 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25884 with __builtin_truncf.
25885 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25886 and s_l[l]round[f].c too.
25888 2017-10-23 Alan Modra <amodra@gmail.com>
25890 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25891 Adjust stack after restoring regs. Add missing LR cfi_restore.
25893 2017-10-23 Alan Modra <amodra@gmail.com>
25895 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25896 Move LR save and frame setup/teardown and LR restore to
25897 immediately around memset call. Provide cfi.
25899 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25901 * sysdeps/i386/fpu/e_powf.S: Removed.
25902 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25903 * sysdeps/i386/fpu/w_powf.c: Likewise.
25904 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25905 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25906 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25908 (CFLAGS-e_powf-sse2.c): New.
25909 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25910 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25912 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25914 * sysdeps/i386/fpu/e_log2f.S: Removed.
25915 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25916 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25917 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25918 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25919 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25921 (CFLAGS-e_log2f-sse2.c): New.
25922 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25923 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25925 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25927 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25929 (CFLAGS-e_powf-fma.c): New.
25930 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25931 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25933 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25935 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25937 (CFLAGS-e_log2f-fma.c): New.
25938 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25939 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25941 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25943 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25945 (CFLAGS-e_logf-fma.c): New.
25946 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25947 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25949 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25951 * sysdeps/i386/fpu/e_logf.S: Removed.
25952 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25953 * sysdeps/i386/fpu/w_logf.c: Likewise.
25954 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25955 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25956 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25957 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25959 (CFLAGS-e_logf-sse2.c): New.
25960 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25961 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25963 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25965 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25966 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25967 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25968 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25969 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25971 (CFLAGS-e_exp2f-sse2.c): New.
25972 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25973 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25975 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25977 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25979 (CFLAGS-e_exp2f-fma.c): New.
25980 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25981 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25983 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25985 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25986 * sysdeps/i386/fpu/e_expf.S: Likewise.
25987 * sysdeps/i386/fpu/math_errf.c: Likewise.
25988 * sysdeps/i386/fpu/w_expf.c: Likewise.
25989 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25990 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25991 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25992 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25993 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25994 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25995 Remove e_expf-ia32.
25996 (CFLAGS-e_expf-sse2.c): New.
25997 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25998 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26000 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26002 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26003 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26004 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26005 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26007 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26009 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26010 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26012 (__redirect_expf): This.
26013 (SYMBOL_NAME): Changed to expf.
26014 (__ieee754_expf): Renamed to ...
26016 (__GI___expf): This.
26017 (__ieee754_expf): Add strong_alias.
26018 (__expf_finite): Likewise.
26020 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26022 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26025 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26028 2017-10-21 Florian Weimer <fweimer@redhat.com>
26030 * posix/Makefile (tests): Add tst-glob-tilde.
26031 (tests-special): Add tst-glob-tilde-mem.out
26032 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26033 (tst-glob-tilde-mem.out): Add mtrace check.
26034 * posix/tst-glob-tilde.c: New file.
26036 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26038 * bits/floatn-common.h: New file.
26039 * math/Makefile (headers): Add bits/floatn-common.h.
26040 * bits/floatn.h: Include <bits/floatn-common.h>.
26041 * sysdeps/ia64/bits/floatn.h: Likewise.
26042 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26043 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26044 * sysdeps/powerpc/bits/floatn.h: Likewise.
26045 * sysdeps/x86/bits/floatn.h: Likewise.
26047 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26049 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26050 indicates whether compiler emits an warning for alias for
26051 functions with incompatible types.
26054 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26055 the auxiliary process is terminated by a signal before calling _exit
26058 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26061 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26063 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26064 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26065 and bit_arch_XSAVEC_Usable if needed.
26066 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26067 and bit_arch_Use_dl_runtime_resolve_opt.
26068 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26070 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26071 (bit_arch_Prefer_No_AVX512): Updated.
26072 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26073 (bit_arch_XSAVEC_Usable): New.
26074 (STATE_SAVE_OFFSET): Likewise.
26075 (STATE_SAVE_MASK): Likewise.
26076 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26077 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26078 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26079 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26080 (index_arch_XSAVEC_Usable): New.
26081 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26082 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26083 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26085 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26086 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26087 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26088 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26089 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26090 _dl_runtime_resolve_xsavec.
26091 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26093 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26094 instead of VEC_SIZE.
26095 (REGISTER_SAVE_BND0): Removed.
26096 (REGISTER_SAVE_BND1): Likewise.
26097 (REGISTER_SAVE_BND3): Likewise.
26098 (REGISTER_SAVE_RAX): Always defined to 0.
26100 (_dl_runtime_resolve_avx): Likewise.
26101 (_dl_runtime_resolve_avx_slow): Likewise.
26102 (_dl_runtime_resolve_avx_opt): Likewise.
26103 (_dl_runtime_resolve_avx512): Likewise.
26104 (_dl_runtime_resolve_avx512_opt): Likewise.
26105 (_dl_runtime_resolve_sse): Likewise.
26106 (_dl_runtime_resolve_sse_vex): Likewise.
26108 (_dl_runtime_resolve_fxsave): Likewise.
26109 (USE_XSAVE): Likewise.
26110 (_dl_runtime_resolve_xsave): Likewise.
26111 (USE_XSAVEC): Likewise.
26112 (_dl_runtime_resolve_xsavec): Likewise.
26113 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26115 (_dl_runtime_resolve_avx512_opt): Likewise.
26116 (_dl_runtime_resolve_avx): Likewise.
26117 (_dl_runtime_resolve_avx_opt): Likewise.
26118 (_dl_runtime_resolve_sse): Likewise.
26119 (_dl_runtime_resolve_sse_vex): Likewise.
26120 (_dl_runtime_resolve_fxsave): New.
26121 (_dl_runtime_resolve_xsave): Likewise.
26122 (_dl_runtime_resolve_xsavec): Likewise.
26124 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26128 * posix/glob.c (__glob): Fix one-byte overflow.
26130 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26132 * malloc/malloc.c (sysdep-cancel.h): Add include.
26134 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26136 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26138 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26140 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26141 (tests): Remove $(objpfx)ga_test depdendency.
26142 * resolv/ga_test.c: Remove file.
26144 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26147 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26148 * localedata/locales/kab_DZ: New file.
26150 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26152 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26153 _dl_relocate_static_pie instead of _dl_start to compute load
26154 address in static PIE.
26156 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26158 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26160 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26163 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26164 * localedata/locales/shn_MM: New file.
26166 2017-10-20 Florian Weimer <fweimer@redhat.com>
26169 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26170 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26171 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26172 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26173 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26174 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26176 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26178 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26180 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26182 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26185 * sysdeps/mips/bits/long-double.h: Move to ....
26186 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26188 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26190 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26192 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26193 H.J. Lu <hongjiu.lu@intel.com>
26196 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26197 GLRO(dl_platform) to NULL.
26198 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26199 (modules-names): Add tst-platformmod-1 and
26200 x86_64/tst-platformmod-2.
26201 (CFLAGS-tst-platform-1.c): New.
26202 (CFLAGS-tst-platformmod-1.c): Likewise.
26203 (CFLAGS-tst-platformmod-2.c): Likewise.
26204 (LDFLAGS-tst-platformmod-2.so): Likewise.
26205 ($(objpfx)tst-platform-1): Likewise.
26206 ($(objpfx)tst-platform-1.out): Likewise.
26207 (tst-platform-1-ENV): Likewise.
26208 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26209 * sysdeps/x86_64/tst-platform-1.c: New file.
26210 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26211 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26213 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26216 * locale/iso-639.def: Add Karbi.
26217 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26218 * localedata/locales/mjw_IN: New file.
26220 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26222 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26223 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26224 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26225 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26226 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26227 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26228 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26230 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26231 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26232 * manual/math.texi (Mathematics): Document additional architecture
26233 support for _Float128.
26234 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26235 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26236 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26237 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26238 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26239 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26240 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26241 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26242 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26243 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26244 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26245 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26246 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26247 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26248 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26250 2017-10-18 Renlin Li <renlin.li@arm.com>
26252 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26253 _DYNAMIC symbol to calculate load address.
26255 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26257 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26258 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26260 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26261 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26263 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26266 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26267 and improve readability by using more ASCII.
26268 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26269 and improve readability by using more ASCII.
26271 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26273 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26274 not all targets support atomics on bool.
26276 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26278 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26279 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26281 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26282 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26283 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26284 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26285 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26286 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26288 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26290 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26293 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26296 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26297 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26298 (do_check_remalloced_chunk): Fix build bug.
26299 (do_check_malloc_state): Add assert that checks arena->top.
26300 (malloc_consolidate): Remove initialization.
26301 (int_mallinfo): Remove call to malloc_consolidate.
26302 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26304 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26306 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26307 (have_fastchunks): Remove.
26308 (clear_fastchunks): Remove.
26309 (set_fastchunks): Remove.
26310 (malloc_state): Add have_fastchunks.
26311 (malloc_init_state): Use have_fastchunks.
26312 (do_check_malloc_state): Remove incorrect invariant checks.
26313 (_int_malloc): Use have_fastchunks.
26314 (_int_free): Likewise.
26315 (malloc_consolidate): Likewise.
26317 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26319 * malloc/malloc.c (tcache_put): Inline.
26320 (tcache_get): Inline.
26322 2017-10-17 Jordi Mallach <jordi@gnu.org>
26324 Aurelien Jarno <aurelien@aurel32.net>
26326 * localedata/locales/ca_ES@valencia: New file.
26327 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26329 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26332 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26335 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26337 * scripts/build-many-glibcs.py (Context.add_all_configs):
26338 Add arm-linux-gnueabihf multiarch extra_glibcs.
26340 * sysdeps/generic/ifunc-init.h: New file.
26341 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26343 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26346 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26347 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26348 * stdlib/tst-strfmon_l.c: adapt test case.
26350 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26352 * sysdeps/generic/float128-abi.h: New file.
26353 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26354 non-__prefixed symbols to ....
26355 * math/Versions: ... here. Include <float128-abi.h>.
26356 * stdlib/Versions ... and here. Include <float128-abi.h>
26358 2017-10-16 Florian Weimer <fweimer@redhat.com>
26360 * version.h (VERSION): Switch to ".9000" as the development
26363 2017-10-16 Florian Weimer <fweimer@redhat.com>
26366 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26367 compat_symbol_reference to access non-default version.
26369 2017-10-16 Florian Weimer <fweimer@redhat.com>
26371 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26373 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26375 * include/shlib-compat.h (compat_symbol_reference): Update
26378 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26380 * math/Makefile (test-types): Add
26381 $(type-float128-$(float128-alias-fcts)).
26382 * math/test-float128.h (TYPE_STR): Define conditional on
26383 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26384 (ULP_IDX): Likewise.
26385 (ULP_I_IDX): Likewise.
26387 * stdlib/strtold.c: Include <bits/floatn.h>
26388 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26389 and later undefine as macro. Define as weak alias if
26391 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26392 and later undefine as macro. Define as weak alias if
26394 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26395 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26396 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26397 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26398 Define and later undefine as macro. Define as weak alias if
26400 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26402 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26403 Define and later undefine as macro. Define as weak alias if
26405 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26406 Define and later undefine as macro. Define as weak alias if
26409 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26411 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26412 record_verbose messages.
26414 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26417 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26418 to silence -O3 -Wall warning with GCC 7.
26420 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26422 * Makeconfig (+link-static-before-libc): Use the first of
26423 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26424 * gmon/Makefile (tests): Add tst-gmon-static.
26425 (tests-static): Likewise.
26426 (CFLAGS-tst-gmon-static.c): New.
26427 (CRT-tst-gmon-static): Likewise.
26428 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26429 (tst-gmon-static-ENV): Likewise.
26430 (tests-special): Likewise.
26431 ($(objpfx)tst-gmon-static.out): Likewise.
26432 (clean-tst-gmon-static-data): Likewise.
26433 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26434 * gmon/tst-gmon-static-gprof.sh: New file.
26435 * gmon/tst-gmon-static.c: Likewise.
26437 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26440 * locale/programs/linereader.c (get_string): Don't warn on
26441 non-symbolic character.
26444 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26448 * locale/programs/record-status.h: New file
26449 * locale/programs/locale.c: Add comment.
26450 * locale/programs/charmap-dir.c: Don't include error.h.
26451 (charmap_opendir): Use record_error.
26452 * locale/programs/charmap.c: Don't include error.h.
26453 (charmap_read): Use record_error, and record_warning.
26454 (parse_charmap): Likewise.
26455 * locale/programs/ld-address.c: Don't include error.h.
26456 (address_finish): Use record_error, and record_warning.
26457 * locale/programs/ld-collate.c: Don't include error.h.
26458 (collate_finish): Use record_error, and record_error_at_line.
26459 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26460 (ctype_class_new): Likewise.
26461 (ctype_map_new): Likewise.
26462 (set_one_default): Likewise.
26463 (set_class_defaults): Likewise.
26464 (translit_flatten): Likewise.
26465 (allocate_arrays): Use record_error, and record_verbose.
26466 * locale/programs/ld-identification.c: Don't include error.h.
26467 (indentation_finish): Use record_error and record_warning.
26468 * locale/programs/ld-measurement.c: Don't include error.h.
26469 (measurement_finish): Use record_error.
26470 * locale/programs/ld-messages.c
26471 (message_finish): Likewise.
26472 * locale/programs/ld-monetary.c
26473 (monetary_finish): Likewise.
26474 * locale/programs/ld-name.c (name_finish): Use record_error
26475 and record_warning.
26476 * locale/programs/ld-numeric.c
26477 (numeric_finish): Use record_error.
26478 * locale/programs/ld-paper.c: Don't include error.h.
26479 (paper_finish): Use record_error.
26480 * locale/programs/ld-telephone.c: Don't include error.h.
26481 (telephone_finish): Use record_error.
26482 * locale/programs/ld-time.c (time_finish): Likewise.
26483 * locale/programs/linereader.h (lr_error): Make inline func.
26484 * locale/programs/localedef.c: Define recorded_warning_count,
26485 and recorded_error_count.
26486 (main): Use record_error. Use recorded_error_count and
26487 recorded_warning_count to issue correct error returns.
26488 (add_to_readlist): Use record_error.
26489 (find_locale): Likewise.
26490 (load_locale): Likewise.
26491 * locale/programs/localedef.h: Remove be_quiet
26492 and WITH_CUR_LOCALE.
26493 * locale/programs/locarchive.c (compare_from_file): Use
26495 * locale/programs/locfile.c (write_locale_data): Use
26497 * locale/programs/repertoire.c: Dont include error.h.
26498 (repertoire_complain): Use record_error.
26499 * localedata/tst-fmon.sh: Expect failures from localedef.
26500 * localedata/tst-locale.sh: Likewise.
26501 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26503 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26504 (REPORTS): Likewise.
26506 (i18n): Rename to...
26507 (i18n_ctype): ...this.
26508 (i18n-report): Rename to...
26509 (i18n_ctype-report): ...this.
26510 * localedata/locales/i18n_ctype: Regenerate.
26511 * localedata/locales/i18n: copy i18n_ctype.
26513 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26515 * stdlib/strfroml.c: Include <bits/floatn.h>.
26516 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26517 Define before include of <stdlib.h> and undefine afterwards, then
26518 define as weak alias.
26520 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26521 Undefine and restore default definition. Use
26522 libm_alias_ldouble_other.
26524 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26527 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26530 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26532 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26533 Assign sym_map to be map for local symbols, as TLS relocations
26534 use sym_map to determine whether the symbol is defined and to
26535 extract the TLS information.
26536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26537 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26539 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26542 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26543 (math_force_eval): Add powerpc version.
26546 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26548 (do_test): Likewise.
26549 * stdio-common/tst-printf.sh: Likewise.
26550 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26551 ifdef clause in order to set the carry bit right. Replace r0 by
26552 0 without changing the behavior.
26554 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26556 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26557 <libm-alias-ldouble.h>.
26558 (fabsl): Define using libm_alias_ldouble.
26559 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26560 <libm-alias-ldouble.h>.
26561 (fabsl): Define using libm_alias_ldouble.
26563 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26564 Remove conditional code.
26566 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26567 Rename to __clog10_internal_l.
26568 (__clog10_internal_l): Define aliases using
26569 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26572 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26574 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26575 * benchtests/sincosf-inputs: New file.
26576 * benchtests/cosf-inputs: New file.
26577 * benchtests/sinf-inputs: New file.
26579 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26581 * posix/tst-spawn.c (do_test): Wait for both children.
26583 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26586 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26587 tests-pie): Add tst-gmon-pie.
26588 (CFLAGS-tst-gmon-pie.c): New.
26589 (CRT-tst-gmon-pie): Likewise.
26590 (tst-gmon-pie-ENV): Likewise.
26591 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26592 ($(objpfx)tst-gmon-pie.out): Likewise.
26593 (clean-tst-gmon-pie-data): Likewise.
26594 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26595 * gmon/gmon.c [PIC]: Include <link.h>.
26596 [PIC] (callback): New function.
26597 (write_hist): Add an argument for load address. Subtract load
26599 (write_call_graph): Likewise.
26600 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26601 it to write_hist and write_call_graph.
26602 * gmon/tst-gmon-pie.c: New file.
26604 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26606 * math/Makefile (test-types-basic): New variable.
26607 (test-types): Likewise.
26608 (libm-test-support): Use $(test-types) instead of $(types).
26609 (libm-tests-base-normal): Likewise.
26610 (libm-tests-base-finite): Likewise.
26611 (libm-tests-base-inline): Likewise.
26612 (generated): Likewise.
26613 ($(objpfx)libm-test-support-$(t).c): Likewise.
26614 (libm-tests-for-type iterator): Likewise.
26615 (libm-test-support iterator): Likewise.
26616 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26617 (ulp_idx): Use ULP_IDX.
26618 * math/test-ldouble.h: Include <float.h>.
26619 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26620 (ULP_IDX): New macro.
26621 (ULP_I_IDX): Likewise.
26622 * math/test-double.h (ULP_IDX): Likewise.
26623 (ULP_I_IDX): Likewise.
26624 * math/test-float.h (ULP_IDX): Likewise.
26625 (ULP_I_IDX): Likewise.
26626 * math/test-float128.h (ULP_IDX): Likewise.
26627 (ULP_I_IDX): Likewise.
26629 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26631 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26632 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26633 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26634 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26635 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26636 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26637 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26638 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26639 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26640 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26641 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26642 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26643 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26645 (SINGLE_THREAD_BY_GLOBAL): Define.
26646 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26648 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26650 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26652 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26654 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26655 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26659 2017-10-11 Andreas Schwab <schwab@suse.de>
26661 * nis/Makefile (aux): Remove.
26662 * nscd/Makefile (aux): Add nscd_hash.
26663 (nscd-modules): Likewise.
26664 ($(objpfx)nscd): Don't depend on libnsl.
26665 * nscd/nscd_hash.c: New file.
26666 * nscd/nscd_hash.h: Likewise.
26667 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26668 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26669 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26670 instead of <nis/rpcsvc/nis.h>.
26671 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26673 2017-10-11 Florian Weimer <fweimer@redhat.com>
26676 Avoid large NSS buffers with many addresses, aliases.
26677 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26678 using dynarrays and struct alloc_buffer.
26679 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26680 (tst-nss-files-hosts-multi): Link with -ldl.
26681 * nss/tst-nss-files-hosts-multi.c: New file.
26683 2017-10-11 Florian Weimer <fweimer@redhat.com>
26686 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26687 scratch_buffer. Eliminate gotos.
26689 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26691 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26692 libm_alias_ldouble_other.
26693 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26694 undefine and redefine.
26695 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26696 (exp10l): Do not define here.
26697 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26698 (weak_alias): Undefine and redefine.
26699 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26700 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26701 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26702 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26704 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26705 [!__fma] (fma): Define using libm_alias_double.
26706 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26707 [!__fmaf] (fmaf): Define using libm_alias_float.
26708 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26709 (fmal): Define using libm_alias_ldouble.
26711 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26713 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26715 (libm_alias_double_other): Likewise.
26716 (libm_alias_double_r): Use libm_alias_double_other_r.
26717 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26719 (libm_alias_float_other): Likewise.
26720 (libm_alias_float_r): Use libm_alias_float_other_r.
26721 * sysdeps/generic/libm-alias-float128.h
26722 (libm_alias_float128_other_r): New macro.
26723 (libm_alias_float128_other): Likewise.
26724 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26725 * sysdeps/generic/libm-alias-ldouble.h
26726 (libm_alias_ldouble_other_r): New macro.
26727 (libm_alias_ldouble_other): Likewise.
26728 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26729 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26730 (libm_alias_double_other_r): New macro.
26731 (libm_alias_double_other): Likewise.
26732 (libm_alias_double_r): Use libm_alias_double_other_r.
26733 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26734 (libm_alias_ldouble_other_r): New macro.
26735 (libm_alias_ldouble_other): Likewise.
26736 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26737 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26738 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26739 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26740 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26741 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26742 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26743 * math/w_exp2f.c: Use libm_alias_float_other.
26744 * math/w_expf.c: Likewise.
26745 * math/w_log2f.c: Likewise.
26746 * math/w_logf.c: Likewise.
26747 * math/w_powf.c: Likewise.
26748 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26749 [!__exp2f]: Use libm_alias_float_other.
26750 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26751 [!__expf]: Use libm_alias_float_other.
26752 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26753 [!__log2f]: Use libm_alias_float_other.
26754 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26755 [!__logf]: Use libm_alias_float_other.
26756 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26757 [!__powf]: Use libm_alias_float_other.
26759 2017-10-10 Florian Weimer <fweimer@redhat.com>
26761 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26763 (_nss_files_gethostbyname3_r): Call it.
26765 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26767 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26768 error. Remove default definition of declare_mgen_alias.
26769 [!declare_mgen_alias_r]: Likewise.
26770 * sysdeps/generic/math-type-macros-double.h
26771 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26772 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26773 (declare_mgen_alias_r): Likewise.
26774 * sysdeps/generic/math-type-macros-float128.h
26775 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26776 * sysdeps/generic/math-type-macros-ldouble.h
26777 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26778 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26780 (declare_mgen_alias_r_s): Likewise.
26781 (declare_mgen_alias_r): Likewise.
26782 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26783 (lgamma_r): Define using libm_alias_double_r.
26784 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26785 (lgammaf_r): Define using libm_alias_float_r.
26786 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26787 (lgammal_r): Define using libm_alias_ldouble_r.
26788 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26789 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26791 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26793 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26794 extern declaration.
26796 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26798 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26800 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26803 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26804 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26805 * math/Makefile (test-math-cxx11): New test.
26806 * math/test-math-cxx11.cc: New file.
26808 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26810 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26812 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26813 call to allocate the slave pty file descriptor.
26815 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26817 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26818 [!__fma] (fma): Define using libm_alias_double.
26819 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26820 [!__fma] (fma): Define using libm_alias_double.
26822 * sysdeps/ieee754/float128/float128_private.h: Include
26823 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26824 (libm_alias_ldouble_r): Undefine and redefine.
26825 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26826 <libm-alias-ldouble.h>.
26827 (asinhl): Define using libm_alias_ldouble.
26828 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26829 <libm-alias-ldouble.h>.
26830 (atanl): Define using libm_alias_ldouble.
26831 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26832 <libm-alias-ldouble.h>.
26833 (cbrtl): Define using libm_alias_ldouble.
26834 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26835 <libm-alias-ldouble.h>.
26836 (ceill): Define using libm_alias_ldouble.
26837 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26838 <libm-alias-ldouble.h>.
26839 (copysignl): Define using libm_alias_ldouble.
26840 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26841 <libm-alias-ldouble.h>.
26842 (cosl): Define using libm_alias_ldouble.
26843 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26844 <libm-alias-ldouble.h>.
26845 (erfl): Define using libm_alias_ldouble.
26847 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26848 <libm-alias-ldouble.h>.
26849 (expm1l): Define using libm_alias_ldouble.
26850 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26851 <libm-alias-ldouble.h>.
26852 (fabsl): Define using libm_alias_ldouble.
26853 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26854 <libm-alias-ldouble.h>.
26855 (floorl): Define using libm_alias_ldouble.
26856 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26857 <libm-alias-ldouble.h>.
26858 (fmal): Define using libm_alias_ldouble.
26859 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26860 <libm-alias-ldouble.h>.
26861 (frexpl): Define using libm_alias_ldouble.
26862 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26863 libm_alias_ldouble.
26864 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26865 <libm-alias-ldouble.h>.
26866 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26867 libm_alias_ldouble.
26868 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26869 <libm-alias-ldouble.h>.
26870 (getpayloadl): Define using libm_alias_ldouble.
26871 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26872 <libm-alias-ldouble.h>.
26873 (llrintl): Define using libm_alias_ldouble.
26874 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26875 <libm-alias-ldouble.h>.
26876 (llroundl): Define using libm_alias_ldouble.
26877 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26878 <libm-alias-ldouble.h>.
26879 (logbl): Define using libm_alias_ldouble.
26880 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26881 <libm-alias-ldouble.h>.
26882 (lrintl): Define using libm_alias_ldouble.
26883 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26884 <libm-alias-ldouble.h>.
26885 (lroundl): Define using libm_alias_ldouble.
26886 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26887 <libm-alias-ldouble.h>.
26888 (modfl): Define using libm_alias_ldouble.
26889 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26890 <libm-alias-ldouble.h>.
26891 (nearbyintl): Define using libm_alias_ldouble.
26892 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26893 <libm-alias-ldouble.h>.
26894 (nextafterl): Define using libm_alias_ldouble.
26895 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26896 <libm-alias-ldouble.h>.
26897 (nextupl): Define using libm_alias_ldouble.
26898 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26899 <libm-alias-ldouble.h>.
26900 (remquol): Define using libm_alias_ldouble.
26901 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26902 <libm-alias-ldouble.h>.
26903 (rintl): Define using libm_alias_ldouble.
26904 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26905 <libm-alias-ldouble.h>.
26906 (roundevenl): Define using libm_alias_ldouble.
26907 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26908 <libm-alias-ldouble.h>.
26909 (roundl): Define using libm_alias_ldouble.
26910 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26911 using libm_alias_ldouble.
26912 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26913 <libm-alias-ldouble.h>.
26914 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26915 Define using libm_alias_ldouble.
26916 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26917 <libm-alias-ldouble.h>.
26918 (sincosl): Define using libm_alias_ldouble.
26919 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26920 <libm-alias-ldouble.h>.
26921 (sinl): Define using libm_alias_ldouble.
26922 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26923 <libm-alias-ldouble.h>.
26924 (tanhl): Define using libm_alias_ldouble.
26925 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26926 <libm-alias-ldouble.h>.
26927 (tanl): Define using libm_alias_ldouble.
26928 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26929 <libm-alias-ldouble.h>.
26930 (totalorderl): Define using libm_alias_ldouble.
26931 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26932 <libm-alias-ldouble.h>.
26933 (totalordermagl): Define using libm_alias_ldouble.
26934 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26935 <libm-alias-ldouble.h>.
26936 (truncl): Define using libm_alias_ldouble.
26937 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26938 libm_alias_ldouble.
26939 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26940 libm_alias_ldouble.
26941 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26942 <libm-alias-ldouble.h>.
26943 (weak_alias): Do not undefine and redefine.
26944 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26945 (copysignl): Define with long_double_symbol only if [IS_IN
26947 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26948 <libm-alias-ldouble.h>.
26949 (weak_alias): Do not undefine and redefine.
26950 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26951 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26952 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26953 <libm-alias-ldouble.h>.
26954 (weak_alias): Do not undefine and redefine.
26955 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26956 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26957 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26958 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26959 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26960 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26961 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26962 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26963 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26964 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26965 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26966 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26967 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26968 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26969 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26970 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26971 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26972 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26973 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26974 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26975 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26976 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26977 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26978 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26979 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26980 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26982 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26985 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26986 (tcache_thread_freeres): Set tcache_shutting_down before
26987 freeing the tcache.
26988 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26989 * malloc/tst-malloc-tcache-leak.c: New file.
26991 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26993 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26994 back to powerpc32 file.
26995 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26996 (memrchr): Add __memrchr_power8 to ifunc list.
26997 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26998 extra bytes for unaligned inputs.
27000 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27002 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27003 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27005 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27008 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27010 * sysdeps/arm/libm-test-ulps: Update.
27012 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27013 <libm-alias-ldouble.h>.
27014 (asinhl): Define using libm_alias_ldouble.
27015 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27016 <libm-alias-ldouble.h>.
27017 (cbrtl): Define using libm_alias_ldouble.
27018 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27019 <libm-alias-ldouble.h>.
27020 (copysignl): Define using libm_alias_ldouble.
27021 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27022 <libm-alias-ldouble.h>.
27023 (cosl): Define using libm_alias_ldouble.
27024 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27025 <libm-alias-ldouble.h>.
27026 (erfl): Define using libm_alias_ldouble.
27028 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27029 <libm-alias-ldouble.h>.
27030 (fmal): Define using libm_alias_ldouble.
27031 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27032 <libm-alias-ldouble.h>.
27033 (frexpl): Define using libm_alias_ldouble.
27034 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27035 libm_alias_ldouble.
27036 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27037 <libm-alias-ldouble.h>.
27038 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27039 libm_alias_ldouble.
27040 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27041 <libm-alias-ldouble.h>.
27042 (getpayloadl): Define using libm_alias_ldouble.
27043 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27044 <libm-alias-ldouble.h>.
27045 (llrintl): Define using libm_alias_ldouble.
27046 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27047 <libm-alias-ldouble.h>.
27048 (llroundl): Define using libm_alias_ldouble.
27049 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27050 <libm-alias-ldouble.h>.
27051 (lrintl): Define using libm_alias_ldouble.
27052 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27053 <libm-alias-ldouble.h>.
27054 (lroundl): Define using libm_alias_ldouble.
27055 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27056 <libm-alias-ldouble.h>.
27057 (modfl): Define using libm_alias_ldouble.
27058 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27059 <libm-alias-ldouble.h>.
27060 (nextupl): Define using libm_alias_ldouble.
27061 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27062 <libm-alias-ldouble.h>.
27063 (remquol): Define using libm_alias_ldouble.
27064 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27065 <libm-alias-ldouble.h>.
27066 (roundevenl): Define using libm_alias_ldouble.
27067 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27068 <libm-alias-ldouble.h>.
27069 (roundl): Define using libm_alias_ldouble.
27070 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27071 using libm_alias_ldouble.
27072 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27073 <libm-alias-ldouble.h>.
27074 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27075 <libm-alias-ldouble.h>.
27076 (setpayloadsigl): Define using libm_alias_ldouble.
27077 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27078 <libm-alias-ldouble.h>.
27079 (sincosl): Define using libm_alias_ldouble.
27080 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27081 <libm-alias-ldouble.h>.
27082 (sinl): Define using libm_alias_ldouble.
27083 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27084 <libm-alias-ldouble.h>.
27085 (tanhl): Define using libm_alias_ldouble.
27086 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27087 <libm-alias-ldouble.h>.
27088 (tanl): Define using libm_alias_ldouble.
27089 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27090 <libm-alias-ldouble.h>.
27091 (totalorderl): Define using libm_alias_ldouble.
27092 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27093 <libm-alias-ldouble.h>.
27094 (totalordermagl): Define using libm_alias_ldouble.
27095 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27096 libm_alias_ldouble.
27097 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27098 libm_alias_ldouble.
27100 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27102 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27104 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27105 (__libc_ifunc_impl_list): Likewise.
27106 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27107 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27109 * benchtests/bench-memmove-walk.c: New file.
27110 * benchtests/Makefile (string-benchset): Add it.
27112 * benchtests/bench-memset-walk.c: New file.
27113 * benchtests/Makefile (string-benchset): Add it.
27115 * benchtests/bench-memcpy-walk.c: New file.
27116 * benchtests/Makefile (string-benchset): Add it.
27118 2017-10-05 Florian Weimer <fweimer@redhat.com>
27120 nscd: Eliminate compilation time dependency in the build output.
27121 * nscd/nscd_stat.c (STATDATA_VERSION)
27122 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27123 (STATDATA_VERSION_FULL): New macro definitions.
27124 (compilation): Remove.
27125 (struct statdata): Adjust version member.
27126 (send_stats): Set version from STATDATA_VERSION_FULL.
27127 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27129 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27131 * configure.ac (--enable-add-ons): Remove option.
27132 (machine): Do not mention add-ons in comment.
27133 (LIBC_PRECONFIGURE): Likewise.
27134 (add_ons): Remove variable and sanity checks and logic to locate
27136 (add_ons_automatic): Remove variable.
27137 (configured_add_ons): Likewise.
27138 (add_ons_sfx): Likewise.
27139 (add_ons_pfx): Likewise.
27140 (add_on_subdirs): Likewise.
27141 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27142 consideration of add-ons in Implies handling.
27143 (sysdeps_add_ons): Likewise.
27144 * configure: Regenerated.
27145 * libidn/configure.ac: Remove.
27146 * libidn/configure: Likewise.
27147 * sysdeps/unix/inet/configure.ac: New file.
27148 * sysdeps/unix/inet/configure: New generated file.
27149 * sysdeps/unix/inet/Subdirs: Add libidn.
27150 * Makeconfig (sysdeps-srcdirs): Remove variable.
27151 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27152 ($(common-objpfx)config.status): Do not depend on add-on files.
27153 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27155 (all-subdirs): Do not include $(add-on-subdirs).
27156 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27157 * config.make.in (add-ons): Remove variable.
27158 (add-on-subdirs): Likewise.
27159 (sysdeps-add-ons): Likewise.
27160 * manual/Makefile (add-chapters): Remove.
27161 ($(objpfx)texis): Do not depend on $(add-chapters).
27162 (nonexamples): Do not handle $(add-chapters).
27163 (examples): Do not handle $(add-ons).
27164 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27166 * manual/install.texi (Installation): Do not mention add-ons.
27167 (--enable-add-ons): Do not document configure option.
27168 * INSTALL: Regenerated.
27169 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27170 * manual/maint.texi (Hierarchy Conventions): Do not mention
27172 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27174 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27176 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27177 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27179 2017-10-05 Andreas Schwab <schwab@suse.de>
27182 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27183 (_IO_flush_all_lockp): Always lock list_all_lock.
27184 (_IO_flush_all_linebuffered): Likewise.
27185 (_IO_unbuffer_all): Likewise.
27187 2017-10-05 Florian Weimer <fweimer@redhat.com>
27190 Do not flush stdio streams on abort.
27191 * stdlib/abort.c (fflush): Remove macro definition.
27192 (abort): Remove stages related to stdio flushing.
27194 2017-10-05 Florian Weimer <fweimer@redhat.com>
27196 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27198 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27200 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27202 2017-10-05 Florian Weimer <fweimer@redhat.com>
27204 * support/support_format_hostent.c (support_format_hostent): Add
27205 more error information for NETDB_INTERNAL.
27207 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27209 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27210 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27211 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27212 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27213 AC_DEFINE if multi-arch is enabled.
27214 * sysdeps/i386/configure: Regenerated.
27216 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27218 * Makeconfig (+link-static-before-libc): Use
27219 $(DEFAULT-LDFLAGS-$(@F)).
27220 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27221 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27222 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27224 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27226 * elf/Makefile (tests): Add tst-main1.
27227 (modules-names): Add tst-main1mod.
27228 ($(objpfx)tst-main1): New.
27229 (CRT-tst-main1): Likewise.
27230 (LDFLAGS-tst-main1): Likewise.
27231 (LDLIBS-tst-main1): Likewise.
27232 (tst-main1mod.so-no-z-defs): Likewise.
27233 * elf/tst-main1.c: New file.
27234 * elf/tst-main1mod.c: Likewise.
27236 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27238 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27240 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27242 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27243 (fma): Define using libm_alias_double.
27244 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27245 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27247 (fmal): Do not define as compat symbol here.
27248 * sysdeps/alpha/fpu/s_fma.c: New file.
27250 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27252 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27254 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27257 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27259 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27261 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27262 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27263 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27264 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27266 Include <math_ldbl_opt.h>
27267 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27269 (compat_symbol): Undefine and redefine.
27270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27272 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27273 (compat_symbol): Undefine and redefine.
27274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27275 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27276 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27277 GLIBC_2_1 for libm.
27278 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27279 GLIBC_2.0 copysignl symbol.
27280 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27281 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27283 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27285 2017-10-04 Florian Weimer <fweimer@redhat.com>
27287 * scripts/check-local-headers.sh: Ignore nspr4 header file
27288 directory in addition to nspr.
27290 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27293 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27294 * configure: Regenerate.
27295 * crypt/Makefile (nss-cpp-flags): New variable.
27296 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27297 (CPPFLAGS-md5-crypt.c): Use it.
27298 * scripts/check-local-headers.sh: Ignore nspr header file
27301 2017-10-04 Andreas Schwab <schwab@suse.de>
27303 * nis/Makefile (services): Remove compat.
27304 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27305 ($(objpfx)libnss_compat.so): Remove rule.
27306 * nis/Versions (libnss_compat): Remove.
27307 * nss/Makefile (services): Add compat.
27308 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27309 * nss/Versions (libnss_compat): Define.
27310 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27311 Don't include <rpc/types.h>. Replace bool_t by bool.
27312 * nss/nss_compat/compat-initgroups.c: Likewise.
27313 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27314 instead of <rpcsrv/ypclnt.h>.
27315 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27316 yp_get_default_domain.
27317 * nss/nss_compat/compat-pwd.c: Likewise.
27318 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27319 yp_get_default_domain.
27320 * nss/nss_compat/nisdomain.c: New file.
27321 * nss/nss_compat/nisdomain.h: Likewise.
27323 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27326 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27327 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27329 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27332 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27333 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27335 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27337 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27338 "movl main@GOTOFF(%ebx), %eax".
27340 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27342 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27343 allow undefined _DYNAMIC in PIE libc.a.
27344 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27347 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27349 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27352 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27354 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27357 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27359 * math/test-math-iscanonical.cc (error): Replace bool with int.
27361 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27363 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27364 (modf): Define using libm_alias_double, only if [!__modf].
27365 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27366 <libm-alias-double.h>.
27367 (modf): Define using libm_alias_double, only if [!__modf].
27368 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27369 compat symbol here.
27370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27371 (weak_alias): Do not undefine and redefine.
27372 (strong_alias): Likewise.
27373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27374 (weak_alias): Likewise.
27375 (strong_alias): Likewise.
27377 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27378 (logb): Define using libm_alias_double, only if [!__logb].
27379 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27380 <libm-alias-double.h>.
27381 (logb): Define using libm_alias_double, only if [!__logb].
27382 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27384 (weak_alias): Do not undefine and redefine.
27385 (strong_alias): Likewise.
27386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27387 (weak_alias): Likewise.
27388 (strong_alias): Likewise.
27390 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27392 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27393 Check SHARED instead PIC.
27395 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27397 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27398 [!__fmaf] (fmaf): Define using libm_alias_float.
27400 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27401 (frexp): Define using libm_alias_double.
27402 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27403 <libm-alias-double.h>.
27404 (frexp): Define using libm_alias_double.
27405 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27406 compat symbol here.
27408 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27411 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27412 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27413 (CFLAGS-test-math-iscanonical.cc): New variable.
27414 * math/test-math-iscanonical.cc: New file.
27415 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27416 Provide a C++ implementation based on function overloading,
27417 rather than using __MATH_TG, which uses C-only builtins.
27418 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27420 * sysdeps/powerpc/powerpc64le/Makefile
27421 (CFLAGS-test-math-iscanonical.cc): New variable.
27423 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27425 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27426 (ceil): Define using libm_alias_double.
27427 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27428 (floor): Define using libm_alias_double.
27429 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27430 <libm-alias-double.h>.
27431 (llround): Define using libm_alias_double.
27432 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27433 <libm-alias-double.h>.
27434 (lround): Define using libm_alias_double.
27435 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27436 <libm-alias-double.h>.
27437 (nearbyint): Define using libm_alias_double.
27438 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27439 <libm-alias-double.h>.
27440 (remquo): Define using libm_alias_double.
27441 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27442 (rint): Define using libm_alias_double.
27443 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27444 (round): Define using libm_alias_double.
27445 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27446 (trunc): Define using libm_alias_double.
27447 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27448 <libm-alias-double.h>.
27449 (ceil): Define using libm_alias_double.
27450 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27451 <libm-alias-double.h>.
27452 (floor): Define using libm_alias_double.
27453 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27454 <libm-alias-double.h>.
27455 (llround): Define using libm_alias_double.
27456 [_LP64] (lround): Likewise.
27457 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27458 <libm-alias-double.h>.
27459 [!_LP64] (lround): Define using libm_alias_double.
27460 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27461 <libm-alias-double.h>.
27462 (nearbyint): Define using libm_alias_double.
27463 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27464 <libm-alias-double.h>.
27465 (remquo): Define using libm_alias_double.
27466 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27467 <libm-alias-double.h>.
27468 (rint): Define using libm_alias_double.
27469 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27470 <libm-alias-double.h>.
27471 (round): Define using libm_alias_double.
27472 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27473 <libm-alias-double.h>.
27474 (trunc): Define using libm_alias_double.
27475 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27476 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27477 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27478 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27479 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27480 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27481 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27482 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27483 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27485 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27487 * math/w_remainder.c: New file.
27488 * math/w_remainderf.c: New file.
27489 * math/w_remainderl.c: New file.
27491 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27493 * elf/rtld.c (BOOTSTRAP_MAP): New.
27494 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27495 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27497 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27499 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27502 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27504 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27505 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27506 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27507 rtld_hidden_data_ver): Define to empty.
27508 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27509 __assert_perror_fail): Likewise.
27510 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27511 (__rewinddir): Likewise.
27512 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27513 (__profile_frequency): Likewise.
27514 * include/setjmp.h (__sigsetjmp): Likewise.
27515 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27516 __libc_sigaction): Likewise.
27517 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27518 not set hidden attribute.
27519 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27520 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27521 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27522 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27523 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27524 __fxstatat64): Likewise.
27525 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27526 (__uname): Likewise.
27527 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27528 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27529 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27530 (NO_RTLD_HIDDEN): Set.
27531 * sysdeps/mach/hurd/configure: Refresh.
27532 * config.h.in: Refresh.
27534 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27536 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27537 (atan): Define using libm_alias_double.
27538 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27539 (tan): Define using libm_alias_double.
27540 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27541 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27544 define as weak alias of __atan. Do not define any aliases if
27546 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27547 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27548 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27549 as weak alias of __tan. Do not define any aliases if [__tan].
27550 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27551 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27552 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27554 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27555 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27556 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27557 and define as weak alias of __atan.
27558 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27561 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27562 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27563 define as weak alias of __tan.
27565 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27567 * math/w_lgamma.c: New file.
27568 * math/w_lgammaf.c: New file.
27569 * math/w_lgammal.c: New file.
27571 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27573 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27574 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27575 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27576 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27577 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27578 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27579 * sysdeps/i386/fpu/w_log2f.c: New file.
27580 * sysdeps/i386/fpu/w_logf.c: New file.
27581 * sysdeps/i386/fpu/w_powf.c: New file.
27582 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27583 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27584 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27586 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27587 H.J. Lu <hongjiu.lu@intel.com>
27589 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27590 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27591 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27592 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27593 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27595 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27596 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27597 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27598 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27599 * sysdeps/i386/fpu/w_exp2f.c: New file.
27600 * sysdeps/i386/fpu/w_expf.c: New file.
27601 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27602 * sysdeps/x86_64/fpu/w_expf.c: New file.
27604 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27606 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27609 * math/w_log2f.c: New file.
27610 * math/w_logf.c: New file.
27611 * math/w_powf.c: New file.
27612 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27613 * math/w_logf_compat.c (__logf_compat): Likewise.
27614 * math/w_powf_compat.c (__powf_compat): Likewise.
27615 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27616 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27617 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27618 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27619 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27620 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27621 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27622 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27623 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27624 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27625 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27626 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27627 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27628 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27629 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27638 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27639 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27640 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27641 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27642 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27647 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27648 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27649 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27651 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27653 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27654 (sysdep_routines): Add memrchr_power8.
27655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27656 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27657 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27659 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27660 (memrchr): Add __memrchr_power8 to ifunc list.
27661 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27666 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27667 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27669 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27670 (__posix_fallocate64_l64): Likewise.
27672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27675 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27676 (__sched_setaffinity_new): Add libc_hidden_proto and
27679 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27682 * include/glob.h (__glob64): Add libc_hidden_proto.
27683 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27686 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27689 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27692 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27695 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27697 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27700 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27703 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27706 * csu/version.c (__libc_print_version): Add attribute_hidden.
27708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27711 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27713 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27716 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27718 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27721 * nscd/nscd_helper.c (__nis_hash): New prototype.
27723 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27726 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27727 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27729 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27730 * termios/tcgetattr.c (__tcgetattr): Likewise.
27732 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27735 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27736 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27737 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27738 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27739 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27741 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27744 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27749 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27750 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27752 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27755 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27757 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27760 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27761 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27763 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27766 * include/ifreq.h: New file.
27767 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27768 (__ifreq): Likewise.
27769 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27770 (__ifreq): Likewise.
27772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27775 * include/idna.h: New file.
27776 * inet/getnameinfo.c: Include <idna.h> instead of
27778 (__idna_to_unicode_lzlz): Removed.
27779 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27781 (__idna_to_ascii_lz): Removed.
27782 (__idna_to_unicode_lzlz): Likewise.
27784 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27787 * include/plural-exp.h: New file.
27788 * intl/plural-exp.c: Include <plural-exp.h> instead of
27791 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27794 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27795 "getsourcefilter.h".
27796 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27797 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27798 "getsourcefilter.h".
27799 (__get_sol): Removed.
27801 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27804 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27806 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27808 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27811 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27814 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27817 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27819 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27822 * include/search.h (__tdestroy): Add libc_hidden_proto.
27823 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27825 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27828 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27830 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27833 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27839 * include/signal.h (__kill): Add libc_hidden_proto.
27840 (__sigblock): Likewise.
27841 (__sigprocmask): Likewise.
27842 (__sigaltstack): Likewise.
27843 * signal/kill.c (__kill): Add libc_hidden_def.
27844 * signal/sigblock.c (__sigblock): Likewise.
27845 * signal/sigprocmask.c (__sigprocmask): Likewise.
27846 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27847 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27848 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27849 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27850 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27852 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27854 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27855 (__sigprocmask): Likewise.
27856 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27858 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27859 (__sigprocmask): Likewise.
27860 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27866 * include/string.h (__strsep): Add libc_hidden_proto.
27867 * string/strsep.c (__strsep): Add libc_hidden_def.
27869 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27872 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27874 (__spawni): Likewise.
27876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27879 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27880 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27886 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27888 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27891 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27892 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27893 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27894 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27895 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27897 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27898 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27903 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27904 (__dcigettext): Likewise.
27906 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27909 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27911 (__get_nprocs): Likewise.
27912 (__get_phys_pages): Likewise.
27913 (__get_avphys_pages): Likewise.
27914 (__get_child_max): Add attribute_hidden.
27915 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27916 (__get_nprocs): Likewise.
27917 (__get_phys_pages): Likewise.
27918 (__get_avphys_pages): Likewise.
27919 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27921 (__get_nprocs): Likewise.
27922 (__get_phys_pages): Likewise.
27923 (__get_avphys_pages): Likewise.
27924 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27926 (__get_nprocs_conf): Likewise.
27927 (__get_phys_pages): Likewise.
27928 (__get_avphys_pages): Likewise.
27930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27933 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27935 (__netlink_close): Likewise.
27936 (__netlink_free_handle): Likewise.
27937 (__netlink_request): Likewise.
27939 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27942 * include/rpc/rpc.h (__rpc_thread_variables): Add
27944 (__rpc_thread_svc_cleanup): Likewise.
27945 (__rpc_thread_clnt_cleanup): Likewise.
27946 (__rpc_thread_key_cleanup): Likewise.
27948 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27951 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27952 (__writev): Likewise.
27953 * misc/readv.c (__readv): Add libc_hidden_def.
27954 * misc/writev.c (__writev): Likewise.
27955 * sysdeps/posix/readv.c (__readv): Likewise.
27956 * sysdeps/posix/writev.c (__writev): Likewise.
27957 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27958 (__readv): Likewise.
27959 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27960 (__writev): Likewise.
27962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27965 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27966 (__regcomp): Add libc_hidden_proto.
27967 (__regexec): Likewise.
27968 (__regfree): Likewise.
27969 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27970 (__regfree): Likewise.
27971 * posix/regexec.c (__regexec): Likewise.
27973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27976 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27977 (__getutent): Likewise.
27978 (__getutid): Likewise.
27979 (__getutline): Likewise.
27980 (__pututline): Likewise.
27981 (__getutent_r): Likewise.
27982 (__getutid_r): Likewise.
27983 (__getutline_r): Likewise.
27984 (__utmpname): Add attribute_hidden.
27985 (__setutent): Likewise.
27986 (__endutent): Likewise.
27987 * login/getutent.c (__getutent): Add libc_hidden_def.
27988 * login/getutent_r.c (__getutent_r): Likewise.
27989 (__pututline): Likewise.
27990 * login/getutid.c (__getutid): Likewise.
27991 * login/getutid_r.c (__getutid_r): Likewise.
27992 * login/getutline.c (__getutline): Likewise.
27993 * login/getutline_r.c (__getutline_r): Likewise.
27994 * login/updwtmp.c (__updwtmp): Likewise.
27996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27999 * include/dirent.h (__opendir): Always add attribute_hidden.
28000 (__fdopendir): Likewise.
28001 (__closedir): Likewise.
28002 (__readdir): Likewise.
28003 (__readdir64): Add libc_hidden_proto.
28004 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28005 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28006 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28007 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28013 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28014 * include/netdb.h (__gethostbyaddr_r): Likewise.
28015 (__gethostbyname_r): Likewise.
28016 (__gethostbyname2_r): Likewise.
28017 (__getnetbyaddr_r): Likewise.
28018 (__getnetbyname_r): Likewise.
28019 (__getservbyname_r): Likewise.
28020 (__getservbyport_r): Likewise.
28021 (__getprotobyname_r): Likewise.
28022 (__getprotobynumber_r): Likewise.
28023 (__getnetgrent_r): Likewise.
28024 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28025 (__getrpcbynumber_r): Likewise.
28026 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28031 * include/stdio.h (__fcloseall): Add attribute_hidden.
28032 (__getline): Likewise.
28033 (__path_search): Likewise.
28034 (__gen_tempname): Likewise.
28035 (__libc_message): Likewise.
28036 (__flockfile): Likewise.
28037 (__funlockfile): Likewise.
28038 (__fxprintf): Likewise.
28039 (__fxprintf_nocancel): Likewise.
28041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28044 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28045 (__sgetsgent_r): Likewise.
28047 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28050 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28051 (__statfs64): Likewise.
28052 (__fstatfs64): Likewise.
28053 * include/sys/statvfs.h (__statvfs64): Likewise.
28054 (__fstatvfs64): Likewise.
28055 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28056 (__statfs_filesize_max): Likewise.
28057 (__statfs_symlinks): Likewise.
28058 (__statfs_chown_restricted): Likewise.
28060 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28063 * include/time.h (__tzstring): Add attribute_hidden.
28064 (__tzfile_read): Likewise.
28065 (__tzfile_compute): Likewise.
28066 (__tzfile_default): Likewise.
28067 (__tzset_parse_tz): Likewise.
28068 (__offtime): Likewise.
28069 (__asctime_r): Likewise.
28070 (__tzset): Likewise.
28071 (__tz_convert): Likewise.
28072 (__getdate_r): Likewise.
28073 (__getclktck): Likewise.
28075 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28078 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28079 (__nscd_unmap): Likewise.
28080 (__nscd_cache_search): Likewise.
28081 (__nscd_get_nl_timestamp): Likewise.
28082 (__nscd_getpwnam_r): Likewise.
28083 (__nscd_getpwuid_r): Likewise.
28084 (__nscd_getgrnam_r): Likewise.
28085 (__nscd_getgrgid_r): Likewise.
28086 (__nscd_gethostbyname_r): Likewise.
28087 (__nscd_gethostbyname2_r): Likewise.
28088 (__nscd_gethostbyaddr_r): Likewise.
28089 (__nscd_getai): Likewise.
28090 (__nscd_getgrouplist): Likewise.
28091 (__nscd_getservbyname_r): Likewise.
28092 (__nscd_getservbyport_r): Likewise.
28093 (__nscd_innetgr): Likewise.
28094 (__nscd_setnetgrent): Likewise.
28096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28099 * include/gmp.h: Declare internal functions only if _ISOMAC is
28101 (__mpn_extract_double): Add attribute_hidden.
28102 (__mpn_extract_long_double): Likewise.
28103 (__mpn_extract_float128): Likewise.
28104 (__mpn_construct_float): Likewise.
28105 (__mpn_construct_double): Likewise.
28106 (__mpn_construct_long_double): Likewise.
28107 (__mpn_construct_float128): Likewise.
28108 (mpn_add_1): Likewise.
28109 (mpn_addmul_1): Likewise.
28110 (mpn_add_n): Likewise.
28111 (mpn_cmp): Likewise.
28112 (mpn_divrem): Likewise.
28113 (mpn_lshift): Likewise.
28114 (mpn_mul): Likewise.
28115 (mpn_mul_1): Likewise.
28116 (mpn_rshift): Likewise.
28117 (mpn_sub_1): Likewise.
28118 (mpn_submul_1): Likewise.
28119 (mpn_sub_n): Likewise.
28121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28124 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28125 (__wcscat): Likewise.
28126 (__btowc): Likewise.
28127 (__wcrtomb): Likewise.
28128 (__mbsrtowcs): Likewise.
28129 (__wcsrtombs): Likewise.
28130 (__mbsnrtowcs): Likewise.
28131 (__wcsnrtombs): Likewise.
28132 (__wcsncpy): Likewise.
28133 (__wcpncpy): Likewise.
28134 (__wmemcpy): Likewise.
28135 (__wmempcpy): Likewise.
28136 (__wmemmove): Likewise.
28137 (__wcschrnul): Likewise.
28138 (__vfwscanf): Likewise.
28139 (__vswprintf): Likewise.
28140 (__fwprintf): Likewise.
28141 (__vfwprintf): Likewise.
28143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28146 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28147 (__getgrgid_r): Likewise.
28148 (__getgrnam_r): Likewise.
28149 * include/pwd.h (__getpwuid_r): Likewise.
28150 (__getpwnam_r): Likewise.
28151 (__fgetpwent_r): Likewise.
28152 * include/shadow.h (__getspnam_r): Likewise.
28153 (__sgetspent_r): Likewise.
28154 (__fgetspent_r): Likewise.
28156 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28159 * include/unistd.h (__access): Add attribute_hidden.
28160 (__lseek64): Likewise.
28161 (__libc_pread64): Likewise.
28162 (__pipe2): Likewise.
28163 (__sleep): Likewise.
28164 (__chdir): Likewise.
28165 (__fchdir): Likewise.
28166 (__getcwd): Likewise.
28167 (__rmdir): Likewise.
28168 (__execvpe): Likewise.
28169 (__execve): Likewise.
28170 (__setsid): Likewise.
28171 (__getuid): Likewise.
28172 (__geteuid): Likewise.
28173 (__getgid): Likewise.
28174 (__getegid): Likewise.
28175 (__getgroups): Likewise.
28176 (__group_member): Likewise.
28177 (__ttyname_r): Likewise.
28178 (__isatty): Likewise.
28179 (__readlink): Likewise.
28180 (__unlink): Likewise.
28181 (__gethostname): Likewise.
28182 (__profil): Likewise.
28183 (__getdtablesize): Likewise.
28185 (__ftruncate): Likewise.
28186 (__ftruncate64): Likewise.
28188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28191 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28192 * argp/argp-fs-xinl.c: Likewise.
28193 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28194 * argp/argp-parse.c: Include <argp.h>.
28195 * argp/argp-xinl.c: Likewise.
28196 * include/argp-fmtstream.h: New file.
28197 * include/argp.h (__argp_error): Add attribute_hidden.
28198 (__argp_failure): Likewise.
28199 (__argp_input): Likewise.
28200 (__argp_state_help): Likewise.
28202 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28205 * include/wchar.h (____wcstof_l_internal): New prototype.
28206 (____wcstod_l_internal): Likewise.
28207 (____wcstold_l_internal): Likewise.
28208 (____wcstol_l_internal): Likewise.
28209 (____wcstoul_l_internal): Likewise.
28210 (____wcstoll_l_internal): Likewise.
28211 (____wcstoull_l_internal): Likewise.
28212 (____wcstof128_l_internal): Likewise.
28213 * sysdeps/ieee754/float128/wcstof128.c
28214 (____wcstof128_l_internal): Removed.
28215 * sysdeps/ieee754/float128/wcstof128_l.c
28216 (____wcstof128_l_internal): Likewise.
28217 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28218 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28219 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28220 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28221 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28222 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28223 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28224 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28225 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28226 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28231 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28232 instead of <sys/statvfs.h>.
28233 (__internal_statvfs): Removed.
28234 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28235 instead of <sys/statvfs.h>.
28236 (__internal_statvfs64): Removed.
28237 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28238 "internal_statvfs.h" instead of <sys/statvfs.h>.
28239 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28240 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28241 instead of <sys/statvfs.h>.
28242 (__internal_statvfs): Removed.
28243 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28244 instead of <sys/statvfs.h>.
28245 (__internal_statvfs64): Removed.
28247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28250 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28251 (__gconv_close): Likewise.
28252 (__gconv): Likewise.
28253 (__gconv_find_transform): Likewise.
28254 (__gconv_lookup_cache): Likewise.
28255 (__gconv_compare_alias_cache): Likewise.
28256 (__gconv_load_cache): Likewise.
28257 (__gconv_get_path): Likewise.
28258 (__gconv_close_transform): Likewise.
28259 (__gconv_release_cache): Likewise.
28260 (__gconv_find_shlib): Likewise.
28261 (__gconv_release_shlib): Likewise.
28262 (__gconv_get_builtin_trans): Likewise.
28263 (__gconv_compare_alias): Likewise.
28264 * include/dlfcn.h (_dlerror_run): Likewise.
28265 * include/stdio.h (__fortify_fail_abort): Likewise.
28266 * include/time.h (__tz_compute): Likewise.
28267 (__strptime_internal): Likewise.
28268 * intl/gettextP.h (_nl_find_domain): Likewise.
28269 (_nl_load_domain): Likewise.
28270 (_nl_find_msg): Likewise.
28271 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28272 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28273 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28274 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28275 (__gai_find_request): Likewise.
28276 (__gai_remove_request): Likewise.
28277 (__gai_notify): Likewise.
28278 (__gai_notify_only): Likewise.
28279 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28280 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28281 (_dl_non_dynamic_init): Likewise.
28282 (_dl_aux_init): Likewise.
28283 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28284 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28286 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28287 (__wcsmbs_clone_conv): Likewise.
28288 (__wcsmbs_named_conv): Likewise.
28290 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28293 * include/stdlib.h (__random): Add attribute_hidden.
28294 (__random_r): Likewise.
28295 (__srandom_r): Likewise.
28296 (__initstate_r): Likewise.
28297 (__setstate_r): Likewise.
28298 (__erand48_r): Likewise.
28299 (__nrand48_r): Likewise.
28300 (__jrand48_r): Likewise.
28301 (__srand48_r): Likewise.
28302 (__seed48_r): Likewise.
28303 (__lcong48_r): Likewise.
28304 (__drand48_iterate): Likewise.
28305 (__setenv): Likewise.
28306 (__unsetenv): Likewise.
28307 (__clearenv): Likewise.
28308 (__ptsname_r): Likewise.
28309 (__posix_openpt): Likewise.
28310 (__add_to_environ): Likewise.
28311 (__realpath): Add libc_hidden_proto.
28312 (__ecvt_r): Likewise.
28313 (__fcvt_r): Likewise.
28314 (__qecvt_r): Likewise.
28315 (__qfcvt_r): Likewise.
28316 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28317 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28319 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28322 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28323 * include/time.h (__mktime_internal): Likewise.
28324 * libio/iolibio.h (__fopen_internal): Likewise.
28326 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28328 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28330 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28331 Correct offset used to restore PIC register.
28333 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28336 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28337 code to load address of __getcontext_ret when generating PIC code.
28339 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28341 * elf/Makefile (tests-static-internal): Add
28342 tst-tls1-static-non-pie.
28343 (LDFLAGS-tst-tls1-static-non-pie): New.
28344 * elf/tst-tls1-static-non-pie.c: New file.
28346 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28348 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28349 (asinh): Define using libm_alias_double.
28350 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28351 (cbrt): Define using libm_alias_double.
28352 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28353 <libm-alias-double.h>.
28354 (copysign): Define using libm_alias_double.
28355 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28356 (erf): Define using libm_alias_double.
28358 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28359 (expm1): Define using libm_alias_double.
28360 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28361 (fabs): Define using libm_alias_double.
28362 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28364 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28365 <libm-alias-double.h>.
28366 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28368 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28369 <libm-alias-double.h>.
28370 (getpayload): Define using libm_alias_double.
28371 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28372 <libm-alias-double.h>.
28373 (llrint): Define using libm_alias_double.
28374 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28375 (lrint): Define using libm_alias_double.
28376 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28377 <libm-alias-double.h>.
28378 (nextup): Define using libm_alias_double.
28379 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28380 <libm-alias-double.h>.
28381 (roundeven): Define using libm_alias_double.
28382 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28384 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28385 <libm-alias-double.h>.
28386 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28387 using libm_alias_double.
28388 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28389 (cos): Define using libm_alias_double.
28391 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28392 <libm-alias-double.h>.
28393 (sincos): Define using libm_alias_double.
28394 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28395 (tanh): Define using libm_alias_double.
28396 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28397 <libm-alias-double.h>.
28398 (totalorder): Define using libm_alias_double.
28399 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28400 <libm-alias-double.h>.
28401 (totalordermag): Define using libm_alias_double.
28402 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28404 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28406 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28407 <libm-alias-double.h>.
28408 (getpayload): Define using libm_alias_double.
28409 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28410 <libm-alias-double.h>.
28411 (roundeven): Define using libm_alias_double.
28412 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28413 <libm-alias-double.h>.
28414 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28415 <libm-alias-double.h>.
28416 (totalorder): Define using libm_alias_double.
28417 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28418 <libm-alias-double.h>.
28419 (totalordermag): Define using libm_alias_double.
28420 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28421 libc compat symbol here.
28422 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28423 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28424 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28425 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28426 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28427 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28428 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28429 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28430 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28431 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28433 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28435 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28436 _dl_relocate_static_pie instead of _dl_start to compute load
28437 address in static PIE. Return 0 if _DYNAMIC is undefined for
28440 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28442 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28443 _DYNAMIC is undefined for static executable.
28445 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28447 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28449 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28453 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28455 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28456 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28457 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28458 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28459 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28460 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28461 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28462 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28463 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28464 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28465 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28466 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28467 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28468 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28469 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28470 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28471 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28473 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28475 * math/bits/cmathcalls.h (cimag): Remove inline.
28476 (creal): Remove inline.
28477 (conj): Remove inline.
28479 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28481 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28482 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28483 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28484 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28485 (issignalingf_inline): Likewise.
28486 (POWF_LOG2_TABLE_BITS): Likewise.
28487 (POWF_LOG2_POLY_ORDER): Likewise.
28488 (POWF_SCALE_BITS): Likewise.
28489 (POWF_SCALE): Likewise.
28490 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28491 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28492 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28494 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28496 * math/Makefile (type-float-routines): Add e_log2f_data.
28497 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28498 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28499 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28500 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28501 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28502 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28503 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28505 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28507 * math/Makefile (type-float-routines): Add e_logf_data.
28508 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28509 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28510 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28511 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28512 * sysdeps/i386/fpu/e_logf_data.c: New file.
28513 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28514 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28516 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28518 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28519 undefined _DYNAMIC in PIE libc.a.
28520 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28523 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28525 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28526 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28527 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28528 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28529 (__signbit): Remove.
28530 (__signbitl): Remove.
28531 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28532 (__signbit): Remove.
28533 (__signbitl): Remove.
28534 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28535 (__signbit): Remove.
28536 (__signbitl): Remove.
28537 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28538 (__signbit): Remove.
28539 (__signbitl): Remove.
28540 * sysdeps/tile/bits/mathinline.h: Delete file.
28541 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28542 (__signbit): Remove.
28543 (__signbitl): Remove.
28545 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28547 * math/math.h: Improve handling of C99 isgreater macros.
28548 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28549 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28550 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28551 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28552 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28554 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28556 * sysdeps/aarch64/libm-test-ulps: Update.
28558 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28561 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28562 math_opt_barrier on argument when doing arithmetic on it.
28563 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28564 Likewise. Use math_force_eval not math_opt_barrier after
28566 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28567 math_opt_barrier on argument when doing arithmetic on it.
28568 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28571 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28573 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28575 (__freeifaddrs): Likewise.
28577 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28579 * include/dirent.h (__dirfd): New declaration.
28580 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28582 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28583 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28584 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28585 * include/unistd.h (__revoke): New declaration.
28586 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28588 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28589 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28591 * include/dirent.h (__seekdir): New declaration.
28592 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28593 redefine as weak alias.
28594 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28596 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28597 and use libc_hidden_def on them.
28598 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28600 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28601 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28602 instead of getifaddrs and freeifaddrs.
28604 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28607 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28608 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28609 (__dso_handle): Remove declaration.
28610 * dlfcn/tstatexit.c (__dso_handle): Removed.
28611 (main): Don't check __dso_handle.
28612 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28613 (main): Don't check __dso_handle.
28614 * include/dso_handle.h: New file.
28615 * malloc/mtrace.c: Include <dso_handle.h>.
28616 (mtrace): Pass __dso_handle directly.
28617 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28618 (__dso_handle): Remove declaration.
28619 (__pthread_atfork): Pass __dso_handle directly.
28620 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28621 (__dso_handle): Removed.
28622 * posix/wordexp-test.c: Include <dso_handle.h>.
28623 (__dso_handle): Remove declaration.
28624 (__app_register_atfork): Pass __dso_handle directly.
28625 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28626 (__dso_handle): Remove declaration.
28627 (at_quick_exit): Pass __dso_handle directly.
28628 * stdlib/atexit.c: Include <dso_handle.h>.
28629 (__dso_handle): Remove declaration.
28630 (atexit): Pass __dso_handle directly.
28631 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28632 (__dso_handle): Removed.
28634 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28636 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28639 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28641 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28642 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28643 values to correct default value for given type.
28645 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28648 * elf/Makefile (tests): Add tst-debug1.
28649 ($(objpfx)tst-debug1): New.
28650 ($(objpfx)tst-debug1.out): Likewise.
28651 ($(objpfx)tst-debug1mod1.so): Likewise.
28652 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28653 with p_filesz == 0.
28654 * elf/tst-debug1.c: New file.
28656 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28658 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28659 Define using __ifunc.
28661 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28663 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28666 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28669 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28671 2017-09-26 Florian Weimer <fweimer@redhat.com>
28673 * resolv/Makefile (tests-internal): Fix typo in comment.
28675 2017-09-26 Florian Weimer <fweimer@redhat.com>
28677 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28679 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28681 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28682 Use an union instead of a max_align_t array for __space,
28683 so that __space is the same size on all platforms.
28684 * malloc/scratch_buffer_grow_preserve.c
28685 (__libc_scratch_buffer_grow_preserve): Likewise.
28688 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28690 * posix/Makefile (routines): Add glob-lstat-compat and
28691 glob64-lstat-compat.
28692 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28693 * posix/glob-lstat-compat.c: New file.
28694 * posix/glob64-lstat-compat.c: Likewise.
28695 * posix/tst-glob_lstat_compat.c: Likewise.
28696 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28697 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28698 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28699 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28701 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28702 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28703 * posix/glob.c (glob_lstat): New function.
28704 (glob): Rename to __glob and add versioned symbol to 2.27.
28705 (glob_in_dir): Use glob_lstat.
28706 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28707 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28708 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28710 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28711 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28712 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28713 gl_lstat on glob call.
28714 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28715 and glob64 symbols.
28716 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28717 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28718 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28719 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28720 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28721 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28722 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28723 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28724 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28725 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28726 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28727 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28730 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28732 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28733 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28734 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28735 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28736 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28739 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28740 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28741 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28743 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28745 * configure.ac (AS): Require binutils 2.25 or later.
28746 * configure: Regenerated.
28748 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28751 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28754 2017-09-25 DJ Delorie <dj@redhat.com>
28757 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28760 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28762 * sysdeps/ieee754/dbl-64/sincos32.h
28763 [SINCCOS32_H]: Remove define.
28764 [SINCOS32_H]: Define.
28766 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28768 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28770 * math/w_exp2f.c: New file.
28771 * math/w_expf.c: New file.
28772 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28773 * math/w_expf_compat.c (__expf_compat): Likewise.
28774 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28775 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28776 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28777 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28778 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28779 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28780 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28781 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28782 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28783 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28784 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28785 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28786 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28787 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28796 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28797 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28798 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28799 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28800 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28805 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28806 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28807 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28809 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28811 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28812 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28813 (roundtoint, converttoint): Likewise.
28814 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28815 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28816 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28817 * sysdeps/ieee754/flt-32/math_config.h: New file.
28818 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28819 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28820 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28821 * sysdeps/i386/fpu/math_errf.c: New file.
28822 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28823 * sysdeps/ia64/fpu/math_errf.c: New file.
28824 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28825 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28827 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28829 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28830 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28831 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28832 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28833 to make sure that these symbols are defined.
28834 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28836 (__need_NULL): Do not define.
28837 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28839 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28840 CMGROUP_MAX, cmsgcred): Do not define.
28841 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28843 * bits/socket.h: Likewise.
28844 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28845 __gettimeofday instead of gettimeofday.
28846 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28847 instead of settimeofday.
28849 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28851 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28852 (asinhf): Define using libm_alias_float.
28853 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28854 (atanf): Define using libm_alias_float.
28855 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28856 (cbrtf): Define using libm_alias_float.
28857 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28858 (ceilf): Define using libm_alias_float.
28859 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28860 <libm-alias-float.h>.
28861 (copysignf): Define using libm_alias_float.
28862 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28863 (cosf): Define using libm_alias_float.
28864 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28865 (erff): Define using libm_alias_float.
28867 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28868 (expm1f): Define using libm_alias_float.
28869 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28870 (fabsf): Define using libm_alias_float.
28871 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28872 (floorf): Define using libm_alias_float.
28873 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28874 (frexpf): Define using libm_alias_float.
28875 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28877 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28878 <libm-alias-float.h>.
28879 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28881 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28882 <libm-alias-float.h>.
28883 (getpayloadf): Define using libm_alias_float.
28884 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28885 <libm-alias-float.h>.
28886 (llrintf): Define using libm_alias_float.
28887 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28888 <libm-alias-float.h>.
28889 (llroundf): Define using libm_alias_float.
28890 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28891 (logbf): Define using libm_alias_float.
28892 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28893 (lrintf): Define using libm_alias_float.
28894 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28895 (lroundf): Define using libm_alias_float.
28896 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28897 (modff): Define using libm_alias_float.
28898 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28899 <libm-alias-float.h>.
28900 (nearbyintf): Define using libm_alias_float.
28901 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28902 <libm-alias-float.h>.
28903 (nextafterf): Define using libm_alias_float.
28904 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28905 <libm-alias-float.h>.
28906 (nextupf): Define using libm_alias_float.
28907 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28908 <libm-alias-float.h>.
28909 (remquof): Define using libm_alias_float.
28910 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28911 (rintf): Define using libm_alias_float.
28912 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28913 <libm-alias-float.h>.
28914 (roundevenf): Define using libm_alias_float.
28915 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28916 (roundf): Define using libm_alias_float.
28917 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28918 using libm_alias_float.
28919 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28920 <libm-alias-float.h>.
28921 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28922 Define using libm_alias_float.
28923 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28924 <libm-alias-float.h>.
28925 (sincosf): Define using libm_alias_float.
28926 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28927 (sinf): Define using libm_alias_float.
28928 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28929 (tanf): Define using libm_alias_float.
28930 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28931 (tanhf): Define using libm_alias_float.
28932 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28933 <libm-alias-float.h>.
28934 (totalorderf): Define using libm_alias_float.
28935 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28936 <libm-alias-float.h>.
28937 (totalordermagf): Define using libm_alias_float.
28938 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28939 (truncf): Define using libm_alias_float.
28940 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28942 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28945 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28948 math/math.h: Let fpclassify use the builtin in C++ mode, even
28949 when optimazing for size.
28951 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28953 * csu/Makefile (generated): Do not add version-info.h.
28954 (before-compile): Likewise.
28955 (all-Banner-files): Remove variable.
28956 ($(objpfx)version-info.h): Remove rule.
28957 * csu/version.c (banner): Do not include "version-info.h".
28958 * libidn/Banner: Remove.
28959 * manual/contrib.texi (Simon Josefsson): New entry.
28961 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28963 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28964 Remove conditionals on LDBL_MANT_DIG.
28965 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28966 (__ieee754_lgammal_r): Likewise.
28968 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28970 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28972 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28973 _Float128 and L(). Replace _Float128 with long double and L(x)
28974 with xL, throughout the file.
28975 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28980 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28983 sysdeps/ieee754/ldbl-128ibm.
28984 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28985 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28986 of including it. Keep _Float128 and L() intact. These will be
28987 reviewed by a separate patch.
28988 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28993 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28996 (__finitef128): Define to __redirect___finitef128.
28997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28998 (__isinff128): Define to __redirect___isinff128.
28999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29000 (__isnanf128): Define to __redirect___isnanf128.
29002 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29004 * sysdeps/powerpc/powerpc64le/Makefile
29005 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29006 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29008 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29009 Carlos O'Donell <carlos@redhat.com>
29012 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29013 * stdlib/test-dlclose-exit-race.c: New file.
29014 * stdlib/test-dlclose-exit-race-helper.c: New file.
29015 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29017 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29019 * crypt/Banner: Remove file.
29020 * nptl/Banner: Likewise.
29021 * resolv/Banner: Likewise.
29022 * soft-fp/Banner: Likewise.
29023 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29024 ($(objpfx)version.d): Remove dependency on banner.h.
29025 ($(objpfx)version.os): Likewise.
29026 * nptl/version.c (banner): Do not include banner.h.
29027 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29028 Jelinek and BIND code.
29030 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29031 Carlos O'Donell <carlos@redhat.com>
29033 * support/xdlfcn.h: New file.
29034 * support/xdlfcn.c: New file.
29035 * support/Makefile (libsupport-routines): Add xdlfcn.
29036 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29038 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29041 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29042 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29043 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29044 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29045 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29046 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29047 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29048 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29050 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29051 Ricky Zhou <rickyz@google.com>
29052 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29055 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29057 (__new_exitfn): Fail registration when we finished at_exit processing.
29058 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29059 * stdlib/on_exit.c (__on_exit): Likewise.
29060 * stdlib/exit.c (__exit_funcs_done): New variable.
29061 (__run_exit_handlers): Use __exit_funcs_lock.
29062 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29064 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29065 (test-cxa_atexit-race, test-on_exit-race): New tests.
29066 * stdlib/test-atexit-race-common.c: New file.
29067 * stdlib/test-atexit-race.c: New file.
29068 * stdlib/test-at_quick_exit-race.c: New file.
29069 * stdlib/test-cxa_atexit-race.c: New file.
29070 * stdlib/test-on_exit-race.c: New file.
29072 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29074 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29075 * benchtests/exp2f-inputs: Copy of expf-inputs.
29076 * benchtests/log2f-inputs: Copy of logf-inputs.
29078 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29080 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29081 Explicitly take address of first element of array arguments in
29082 call to INLINE_SYSCALL.
29084 2017-09-19 Andreas Schwab <schwab@suse.de>
29087 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29089 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29091 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29092 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29093 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29094 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29095 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29096 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29097 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29098 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29099 * posix/Makefile (tests): Add tst-fexecve.
29100 * posix/tst-fexecve.c: New file.
29102 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29104 * benchtests/Makefile: Add logf benchmark.
29105 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29107 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29109 * benchtests/Makefile: Add expf benchmark.
29110 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29112 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29114 * csu/Makefile: Add -funwind-tables to libc-start.c.
29115 * debug/Makefile: Add -funwind-tables to backtrace.c.
29116 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29117 * sysdeps/arm/Makefile: Likewise.
29118 * sysdeps/i386/Makefile: Likewise.
29119 * sysdeps/m68k/Makefile: Likewise.
29120 * sysdeps/mips/Makefile: Likewise.
29121 * sysdeps/nios2/Makefile: Likewise.
29122 * sysdeps/sh/Makefile: Likewise.
29123 * sysdeps/sparc/Makefile: Likewise.
29125 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29127 * benchtests/Makefile (bench-math): Add trunc and truncf.
29128 (CFLAGS-bench-trunc.c): New variable.
29129 (CFLAGS-bench-truncf.c): Likewise.
29130 * benchtests/trunc-inputs: New file.
29131 * benchtests/truncf-inputs: Likewise.
29133 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29135 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29137 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29139 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29140 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29142 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29143 (exp10l): Define as weak alias.
29144 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29145 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29147 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29148 (remainderl): Define as weak alias.
29150 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29151 (fmal): Define using libm_alias_ldouble.
29152 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29153 (acoshl): Define using libm_alias_ldouble.
29154 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29155 (acosl): Define using libm_alias_ldouble.
29156 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29157 (asinl): Define using libm_alias_ldouble.
29158 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29159 (atan2l): Define using libm_alias_ldouble.
29160 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29161 (atanhl): Define using libm_alias_ldouble.
29162 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29163 (coshl): Define using libm_alias_ldouble.
29164 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29165 (exp10l): Define using libm_alias_ldouble.
29166 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29167 (exp2l): Define using libm_alias_ldouble.
29168 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29169 (expl): Define using libm_alias_ldouble.
29170 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29171 (fmodl): Define using libm_alias_ldouble.
29172 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29173 (hypotl): Define using libm_alias_ldouble.
29174 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29175 (j0l): Define using libm_alias_ldouble.
29177 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29178 (j1l): Define using libm_alias_ldouble.
29180 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29181 (jnl): Define using libm_alias_ldouble.
29183 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29184 (log10l): Define using libm_alias_ldouble.
29185 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29186 (log2l): Define using libm_alias_ldouble.
29187 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29188 (logl): Define using libm_alias_ldouble.
29189 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29190 (powl): Define using libm_alias_ldouble.
29191 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29192 (remainderl): Define using libm_alias_ldouble.
29193 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29194 (sinhl): Define using libm_alias_ldouble.
29195 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29196 (sqrtl): Define using libm_alias_ldouble.
29197 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29198 (tgammal): Define using libm_alias_ldouble.
29199 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29200 (exp10l): Do not use long_double_symbol here.
29201 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29202 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29203 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29204 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29205 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29206 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29207 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29208 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29209 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29210 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29211 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29212 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29213 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29214 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29215 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29216 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29217 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29218 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29219 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29220 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29221 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29222 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29224 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29226 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29227 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29229 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29231 * io/read.c (read): Add libc_hidden_weak.
29232 * sysdeps/mach/hurd/read.c (read): Likewise.
29233 * io/write.c (write): Likewise.
29234 * sysdeps/mach/hurd/write.c (write): Likewise.
29235 * io/pread64.c (__pread64): Likewise.
29236 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29237 * posix/pread64.c (__pread64): Add libc_hidden_def.
29239 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29241 * benchtests/scripts/compare_strings.py: New option -g.
29242 (draw_graph): Print a message that a graph is being generated.
29243 (process_results): Generate graph only if -g is passed.
29244 (main): Process option -g.
29246 * benchtests/scripts/compare_strings.py (process_results):
29247 Better spacing for output.
29249 * benchtests/scripts/compare_strings.py: Use argparse.
29250 * benchtests/README: Document existence of compare_strings.py.
29252 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29254 * math/s_fma.c: Include <libm-alias-double.h>.
29255 (fma): Define using libm_alias_double.
29256 * math/s_nextafter.c: Include <libm-alias-double.h>.
29257 (nextafter): Define using libm_alias_double.
29258 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29259 (acos): Define using libm_alias_double.
29260 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29261 (aocsh): Define using libm_alias_double.
29262 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29263 (asin): Define using libm_alias_double.
29264 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29265 (atan2): Define using libm_alias_double.
29266 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29267 (atanh): Define using libm_alias_double.
29268 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29269 (cosh): Define using libm_alias_double.
29270 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29271 (exp10): Define using libm_alias_double.
29272 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29273 (exp2): Define using libm_alias_double.
29274 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29275 (exp): Define using libm_alias_double.
29276 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29277 (fmod): Define using libm_alias_double.
29278 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29279 (hypot): Define using libm_alias_double.
29280 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29281 (j0): Define using libm_alias_double.
29283 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29284 (j1): Define using libm_alias_double.
29286 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29287 (jn): Define using libm_alias_double.
29289 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29290 (log10): Define using libm_alias_double.
29291 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29292 (log2): Define using libm_alias_double.
29293 * math/w_log_compat.c: Include <libm-alias-double.h>.
29294 (log): Define using libm_alias_double.
29295 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29296 (pow): Define using libm_alias_double.
29297 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29298 (remainder): Define using libm_alias_double.
29299 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29300 (sinh): Define using libm_alias_double.
29301 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29302 (sqrt): Define using libm_alias_double.
29303 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29304 (tgamma): Define using libm_alias_double.
29305 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29306 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29307 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29308 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29309 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29310 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29311 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29312 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29313 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29314 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29315 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29316 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29317 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29318 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29319 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29320 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29321 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29322 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29323 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29324 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29325 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29326 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29327 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29328 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29329 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29331 * math/e_acoshl.c: Remove.
29332 * math/e_acosl.c: Likewise.
29333 * math/e_asinl.c: Likewise.
29334 * math/e_atan2l.c: Likewise.
29335 * math/e_atanhl.c: Likewise.
29336 * math/e_coshl.c: Likewise.
29337 * math/e_expl.c: Likewise.
29338 * math/e_fmodl.c: Likewise.
29339 * math/e_gammal_r.c: Likewise.
29340 * math/e_hypotl.c: Likewise.
29341 * math/e_j0l.c: Likewise.
29342 * math/e_j1l.c: Likewise.
29343 * math/e_jnl.c: Likewise.
29344 * math/e_lgammal_r.c: Likewise.
29345 * math/e_log10l.c: Likewise.
29346 * math/e_log2l.c: Likewise.
29347 * math/e_logl.c: Likewise.
29348 * math/e_powl.c: Likewise.
29349 * math/e_rem_pio2l.c: Likewise.
29350 * math/e_sinhl.c: Likewise.
29351 * math/e_sqrtf128.c: Likewise.
29352 * math/e_sqrtl.c: Likewise.
29353 * math/k_cosl.c: Likewise.
29354 * math/k_sinl.c: Likewise.
29355 * math/k_tanl.c: Likewise.
29356 * math/s_asinhl.c: Likewise.
29357 * math/s_atanl.c: Likewise.
29358 * math/s_cbrtl.c: Likewise.
29359 * math/s_erfl.c: Likewise.
29360 * math/s_expm1l.c: Likewise.
29361 * math/s_log1pl.c: Likewise.
29362 * math/s_tanhl.c: Likewise.
29364 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29368 [$(subdir) = math] (sysdep_calls): New variable. Has the
29369 previous contents of sysdep_routines, but re-sorted..
29370 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29372 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29373 defined in sysdep_calls and replace by the respective m_* names.
29374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29375 (compat_symbol): Undefine to avoid duplicated compat symbols in
29378 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29380 * math/s_fmaf.c: Include <libm-alias-float.h>.
29381 (fmaf): Define using libm_alias_float.
29382 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29383 (acosf): Define using libm_alias_float.
29384 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29385 (acoshf): Define using libm_alias_float.
29386 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29387 (asinf): Define using libm_alias_float.
29388 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29389 (atan2f): Define using libm_alias_float.
29390 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29391 (atanhf): Define using libm_alias_float.
29392 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29393 (coshf): Define using libm_alias_float.
29394 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29395 (exp10f): Define using libm_alias_float.
29396 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29397 (fmodf): Define using libm_alias_float.
29398 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29399 (hypotf): Define using libm_alias_float.
29400 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29401 (j0f): Define using libm_alias_float.
29403 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29404 (j1f): Define using libm_alias_float.
29406 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29407 (jnf): Define using libm_alias_float.
29409 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29410 (log10f): Define using libm_alias_float.
29411 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29412 (log2f): Define using libm_alias_float.
29413 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29414 (logf): Define using libm_alias_float.
29415 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29416 (powf): Define using libm_alias_float.
29417 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29418 (remainderf): Define using libm_alias_float.
29419 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29420 (sinhf): Define using libm_alias_float.
29421 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29422 (sqrtf): Define using libm_alias_float.
29423 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29424 (tgammaf): Define using libm_alias_float.
29426 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29428 * include/math.h (roundeven): Change hidden_proto call to
29430 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29432 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29433 (y0): Rename to __y0 and define as weak alias.
29434 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29435 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29437 (y0f): Rename to __y0f and define as weak alias.
29438 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29440 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29441 (y1): Rename to __y1 and define as weak alias.
29442 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29443 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29445 (y1f): Rename to __y1f and define as weak alias.
29446 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29448 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29449 (yn): Rename to __yn and define as weak alias.
29450 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29451 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29453 (ynf): Rename to __ynf and define as weak alias.
29454 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29455 (fromfp): Define as weak alias.
29456 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29457 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29458 (fromfpx): Define as weak alias.
29459 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29460 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29461 __getpayload and define as weak alias.
29462 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29463 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29464 __roundeven and define as weak alias.
29465 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29466 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29468 (setpayload): Define as weak alias.
29469 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29470 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29472 (setpayloadsig): Define as weak alias.
29473 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29474 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29475 __totalorder and define as weak alias.
29476 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29477 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29478 to __totalordermag and define as weak alias.
29479 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29480 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29481 (ufromfp): Define as weak alias.
29482 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29483 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29485 (ufromfpx): Define as weak alias.
29486 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29487 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29488 Rename to __getpayload and define as weak alias.
29489 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29490 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29491 Rename to __roundeven and define as weak alias.
29492 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29493 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29494 Rename to __totalorder and define as weak alias.
29495 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29496 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29497 (totalordermag): Rename to __totalordermag and define as weak
29499 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29500 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29502 (__roundevenl): Likewise.
29503 (__totalorderl): Likewise.
29504 (__totalordermagl): Likewise
29505 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29507 (fromfpf128): Define as weak alias.
29508 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29510 (fromfpxf128): Define as weak alias.
29511 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29513 (setpayloadf128): Define as weak alias.
29514 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29515 __setpayloadsigf128.
29516 (setpayloadsigf128): Define as weak alias.
29517 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29519 (ufromfpf128): Define as weak alias.
29520 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29522 (ufromfpxf128): Define as weak alias.
29523 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29524 (fromfpf): Define as weak alias.
29525 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29527 (fromfpxf): Define as weak alias.
29528 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29529 __getpayloadf and define as weak alias.
29530 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29531 __roundevenf and define as weak alias.
29532 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29534 (setpayloadf): Define as weak alias.
29535 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29537 (setpayloadsigf): Define as weak alias.
29538 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29539 __totalorderf and define as weak alias.
29540 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29541 Rename to __totalordermagf and define as weak alias.
29542 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29544 (ufromfpf): Define as weak alias.
29545 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29547 (ufromfpxf): Define as weak alias.
29548 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29550 (fromfpl): Define as weak alias.
29551 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29553 (fromfpxl): Define as weak alias.
29554 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29555 to __getpayloadl and define as weak alias.
29556 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29557 __roundevenl and define as weak alias.
29558 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29560 (setpayloadl): Define as weak alias.
29561 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29563 (setpayloadsigl): Define as weak alias.
29564 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29565 to __totalorderl and define as weak alias.
29566 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29567 Rename to __totalordermagl and define as weak alias.
29568 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29570 (ufromfpl): Define as weak alias.
29571 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29573 (ufromfpxl): Define as weak alias.
29574 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29576 (fromfpl): Define as weak alias.
29577 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29579 (fromfpxl): Define as weak alias.
29580 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29581 Rename to __getpayloadl and define as weak alias.
29582 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29583 to __roundevenl and define as weak alias. Call __roundeven
29584 instead of roundeven.
29585 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29587 (setpayloadl): Define as weak alias.
29588 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29590 (setpayloadsigl): Define as weak alias.
29591 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29592 Rename to __totalorderl and define as weak alias.
29593 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29594 Rename to __totalordermagl and define as weak alias.
29595 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29597 (ufromfpl): Define as weak alias.
29598 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29600 (ufromfpxl): Define as weak alias.
29601 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29603 (fromfpl): Define as weak alias.
29604 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29606 (fromfpxl): Define as weak alias.
29607 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29608 __getpayloadl and define as weak alias.
29609 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29610 __roundevenl and define as weak alias.
29611 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29613 (setpayloadl): Define as weak alias.
29614 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29616 (setpayloadsigl): Define as weak alias.
29617 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29618 __totalorderl and define as weak alias.
29619 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29620 Rename to __totalordermagl and define as weak alias.
29621 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29623 (ufromfpl): Define as weak alias.
29624 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29626 (ufromfpxl): Define as weak alias.
29628 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29630 * benchtests/bench-string.h (realloc_bufs): New function.
29631 (test_init): Call it.
29632 * benchtests/bench-memset-large.c (do_test): Likewise.
29633 * benchtests/bench-memset.c (do_test): Likewise.
29635 * benchtests/bench-memset-large.c: Print output in JSON
29637 * benchtests/bench-memset.c: Likewise.
29639 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29642 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29643 * iconvdata/Makefile: Add IBM858.
29644 * iconvdata/gconv-modules: Likewise.
29645 * iconvdata/tst-tables.sh: Likewise.
29646 * iconvdata/ibm858.c: New file.
29647 * localedata/charmaps/IBM858: Likewise.
29649 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29652 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29653 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29655 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29658 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29659 and add tel_int_fmt.
29661 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29663 * sysdeps/generic/libm-alias-float128.h: New file.
29664 * sysdeps/generic/math-type-macros-float128.h: Include
29665 <libm-alias-float128.h>.
29666 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29668 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29670 * sysdeps/generic/libm-alias-ldouble.h: New file.
29671 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29672 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29673 * sysdeps/generic/math-type-macros-ldouble.h: Include
29674 <libm-alias-ldouble.h>.
29675 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29676 libm_alias_ldouble.
29678 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29680 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29681 * math/w_exp_compat.c: ... here.
29682 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29683 * math/w_expf_compat.c: ... here.
29684 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29685 * math/w_expl_compat.c: ... here.
29686 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29687 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29688 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29689 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29691 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29693 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29695 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29697 (ldexpl): Only define as compat symbol for libc, not libm.
29698 (scalbnl): Define as compat symbol for libc here.
29699 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29700 define for [IS_IN (libc)].
29701 (__ldexpl_2): Remove alias.
29702 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29703 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29704 name in long_double_symbol call.
29705 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29706 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29707 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29708 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29709 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29711 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29712 Define as compat symbol.
29714 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29716 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29717 * sysdeps/unix/sysv/linux/alpha/Makefile
29718 [$(subdir) = csu] (sysdep_routines): Remove rule.
29720 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29722 * sysdeps/generic/libm-alias-double.h: New file.
29723 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29724 * sysdeps/generic/math-type-macros-double.h: Include
29725 <libm-alias-double.h>.
29726 [declare_mgen_alias] (declare_mgen_alias): Define to use
29728 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29729 (M_LIBM_NEED_COMPAT): Remove macro.
29730 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29731 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29732 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29734 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29735 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29736 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29737 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29738 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29739 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29740 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29741 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29742 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29743 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29744 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29745 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29746 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29747 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29748 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29749 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29750 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29751 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29752 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29753 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29754 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29755 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29756 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29757 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29758 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29759 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29760 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29761 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29762 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29764 (declare_mgen_alias): New macro.
29765 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29766 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29768 (M_LIBM_NEED_COMPAT): Remove macro.
29769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29770 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29771 <first-versions.h>.
29772 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29773 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29775 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29777 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29778 (declare_mgen_alias_2): Remove.
29779 * sysdeps/generic/math-type-macros-double.h
29780 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29782 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29784 (ldexp): Define with declare_mgen_alias.
29785 (scalbn): Likewise.
29787 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29789 * grp/initgroups.c: Include config.h.
29790 (DEFAULT_CONFIG): New macro.
29791 (internal_getgrouplist): Use DEFAULT_CONFIG.
29792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29793 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29794 (DEFAULT_DEFCONFIG): New macro.
29795 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29796 * nss/grp-lookup.c: Include config.h
29797 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29798 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29799 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29800 * manual/nss.texi: Update default values section.
29802 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29805 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29807 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29808 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29809 Handle MathVec_Prefer_No_AVX512.
29810 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29811 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29814 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29816 * posix/sched_primax.c (__sched_get_priority_max): Add
29818 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29819 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29820 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29821 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29822 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29823 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29824 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29825 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29828 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29830 * sysdeps/generic/libm-alias-float.h: New file.
29831 * sysdeps/generic/math-type-macros-float.h: Include
29832 <libm-alias-float.h>.
29833 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29835 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29838 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29839 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29840 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29841 (HWCAP_IMPORTANT): Likewise.
29842 (HWCAP_X86_64): New enum.
29843 (HWCAP_X86_AVX512_1): Updated.
29844 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29845 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29846 (modules-names): Add x86_64/tst-x86_64mod-1.
29847 (LDFLAGS-tst-x86_64mod-1.so): New.
29848 ($(objpfx)tst-x86_64-1): Likewise.
29849 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29850 (tst-x86_64-1-clean): Likewise.
29851 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29852 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29854 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29856 * po/sv.po: Update translations.
29857 * po/fr.po: Likewise.
29859 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29861 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29863 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29865 * elf/rtld-Rules: Fix $(error) use.
29867 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29870 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29871 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29872 * localedata/locales/bn_BD: “Bengali” was still used in some
29873 comments. Change it to “Bangla”.
29875 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29877 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29879 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29881 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29882 thunderx2t99p1 to list of cpu names.
29883 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29884 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29886 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29888 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29889 Use strcmp instead of tunable_is_name.
29891 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29893 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29894 (F_GET_RW_HINT): New macro.
29895 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29896 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29897 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29898 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29899 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29900 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29901 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29902 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29903 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29905 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29906 (F_ADD_SEALS): New macro.
29907 [__USE_GNU] (F_GET_SEALS): Likewise.
29908 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29909 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29910 [__USE_GNU] (F_SEAL_GROW): Likewise.
29911 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29913 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29915 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29916 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29917 * posix/glob_internal.h (__glob_pattern_type):
29918 * posix/glob.c (glob):
29919 * posix/glob_pattern_p.c (__glob_pattern_p):
29922 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29923 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29924 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29925 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29926 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29928 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29929 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29930 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29931 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29932 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29933 * sysdeps/wordsize-64/glob.c: Likewise.
29934 * sysdeps/wordsize-64/glob64.c: Likewise.
29935 * sysdeps/wordsize-64/globfree.c: Likewise.
29936 * sysdeps/wordsize-64/globfree64.c: Likewise.
29937 * sysdeps/unix/sysv/linux/glob.c: New file.
29938 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29939 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29940 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29941 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29942 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29943 adds !GLOB_NO_OLD_VERSION as an extra condition.
29944 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29945 using relative path instead of absolute one.
29946 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29947 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29948 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29949 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29950 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29951 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29954 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29955 (glob): Use the same scratch buffer for both getlogin_r and
29956 getpwnam_r. Don’t require preallocation of the login name. This
29957 simplifies storage allocation, and corrects the handling of
29961 * posix/glob.c (glob): Port recent patches to platforms
29962 lacking getpwnam_r.
29963 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29964 returns an error number rather than setting errno.
29966 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29967 instead of GCC extension.
29968 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29969 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29970 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29974 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29975 * posix/bug-glob1.c: Remove file.
29976 * posix/tst-glob_symlinks.c: New file.
29977 * posix/glob.c (__lstat64): New macro.
29978 (is_dir): New function.
29979 (glob, glob_in_dir): Match symlinks even if they are dangling.
29980 (link_stat, link_exists_p): Remove. All uses removed.
29984 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29985 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29990 * posix/Makefile (routines): Add globfree, globfree64, and
29992 * posix/flexmember.h: New file.
29993 * posix/glob_internal.h: Likewise.
29994 * posix/glob_pattern_p.c: Likewise.
29995 * posix/globfree.c: Likewise.
29996 * posix/globfree64.c: Likewise.
29997 * sysdeps/gnu/globfree64.c: Likewise.
29998 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29999 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30000 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30001 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30002 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30003 * sysdeps/wordsize-64/globfree.c: Likewise.
30004 * sysdeps/wordsize-64/globfree64.c: Likewise.
30005 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30006 [NDEBUG): Remove comments.
30007 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30008 (dirent_type): New type. Use uint_fast8_t not
30009 uint8_t, as C99 does not require uint8_t.
30010 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30011 (struct readdir_result): Use dirent_type. Do not define skip_entry
30012 unless it is needed; this saves a byte on platforms lacking d_ino.
30013 (readdir_result_type, readdir_result_skip_entry):
30014 New functions, replacing ...
30015 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30016 these functions, which were removed. This makes the callers
30017 easier to read. All callers changed.
30018 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30019 (size_add_wrapv, glob_use_alloca): New static functions.
30020 (glob, glob_in_dir): Check for size_t overflow in several places,
30021 and fix some size_t checks that were not quite right.
30022 Remove old code using SHELL since Bash no longer
30024 (glob, prefix_array): Separate MS code better.
30025 (glob_in_dir): Remove old Amiga and VMS code.
30026 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30028 (glob_in_dir): Do not rely on undefined behavior in accessing
30029 struct members beyond their bounds. Use a flexible array member
30031 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30032 0/1. Caller changed.
30033 (glob): Fix memory leaks.
30034 * posix/glob64 (globfree64): Move to separate file.
30035 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30036 (globfree64): Remove hidden alias.
30037 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30039 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30041 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30043 Move compat code to separate file.
30044 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30047 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30049 * resolv/tst-resolv-qtypes.c (domain): Changed to
30050 "const char domain[] =".
30052 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30054 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30057 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30058 (TCP_MD5SIG_EXT): Likewise.
30059 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30060 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30061 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30063 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30065 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30067 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30069 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30072 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30074 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30076 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30077 before assuming that the file is empty. Avoid testing buffer content
30080 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30083 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30085 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30087 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30089 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30091 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30093 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30095 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30098 2017-09-06 Florian Weimer <fweimer@redhat.com>
30100 * malloc/dynarray_emplace_enlarge.c
30101 (__libc_dynarray_emplace_enlarge): Add missing else.
30103 2017-09-06 Florian Weimer <fweimer@redhat.com>
30106 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30107 case of failure to obtain the global conf object.
30109 2017-09-06 Florian Weimer <fweimer@redhat.com>
30112 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30113 dynarray allocation failure.
30115 2017-09-06 Florian Weimer <fweimer@redhat.com>
30117 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30118 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30119 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30121 (response): Call them. Add 'p', '6' flag processing.
30122 (test_reverse): New function.
30123 (test_get2_any): Call it.
30124 (test_no_inet6): Add 'p' test.
30125 (test_inet6): Likewise.
30127 2017-09-06 Florian Weimer <fweimer@redhat.com>
30129 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30130 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30132 (test_gai): Adjust query names. Add additional tests.
30133 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30134 test_get2. Adjust query names. Add additional tests.
30135 (test_no_inet6): New function, extracted from threadfunc.
30136 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30137 Add additional tests.
30139 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30142 * localedata/unicode-gen/utf8_gen.py: Set the width for
30143 characters with Prepended_Concatenation_Mark property to 1
30144 * localedata/charmaps/UTF-8: Updated using the improved script.
30146 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30149 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30150 use the range notation for all ranges of neighbouring characters
30151 with the same width.
30153 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30155 * sysdeps/generic/math-type-macros-double.h: Include
30156 <math-svid-compat.h>.
30157 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30158 * sysdeps/generic/math-type-macros-float.h: Include
30159 <math-svid-compat.h>.
30160 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30161 * sysdeps/generic/math-type-macros-ldouble.h: Include
30162 <math-svid-compat.h>.
30163 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30164 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30166 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30167 * math/w_acosf_compat.c: Likewise.
30168 * math/w_acosh_compat.c: Likewise.
30169 * math/w_acoshf_compat.c: Likewise.
30170 * math/w_acoshl_compat.c: Likewise.
30171 * math/w_acosl_compat.c: Likewise.
30172 * math/w_asin_compat.c: Likewise.
30173 * math/w_asinf_compat.c: Likewise.
30174 * math/w_asinl_compat.c: Likewise.
30175 * math/w_atan2_compat.c: Likewise.
30176 * math/w_atan2f_compat.c: Likewise.
30177 * math/w_atan2l_compat.c: Likewise.
30178 * math/w_atanh_compat.c: Likewise.
30179 * math/w_atanhf_compat.c: Likewise.
30180 * math/w_atanhl_compat.c: Likewise.
30181 * math/w_cosh_compat.c: Likewise.
30182 * math/w_coshf_compat.c: Likewise.
30183 * math/w_coshl_compat.c: Likewise.
30184 * math/w_exp10_compat.c: Likewise.
30185 * math/w_exp10f_compat.c: Likewise.
30186 * math/w_exp10l_compat.c: Likewise.
30187 * math/w_exp2_compat.c: Likewise.
30188 * math/w_exp2f_compat.c: Likewise.
30189 * math/w_exp2l_compat.c: Likewise.
30190 * math/w_fmod_compat.c: Likewise.
30191 * math/w_fmodf_compat.c: Likewise.
30192 * math/w_fmodl_compat.c: Likewise.
30193 * math/w_hypot_compat.c: Likewise.
30194 * math/w_hypotf_compat.c: Likewise.
30195 * math/w_hypotl_compat.c: Likewise.
30196 * math/w_j0_compat.c: Likewise.
30197 * math/w_j0f_compat.c: Likewise.
30198 * math/w_j0l_compat.c: Likewise.
30199 * math/w_j1_compat.c: Likewise.
30200 * math/w_j1f_compat.c: Likewise.
30201 * math/w_j1l_compat.c: Likewise.
30202 * math/w_jn_compat.c: Likewise.
30203 * math/w_jnf_compat.c: Likewise.
30204 * math/w_jnl_compat.c: Likewise.
30205 * math/w_lgamma_r_compat.c: Likewise.
30206 * math/w_lgammaf_r_compat.c: Likewise.
30207 * math/w_lgammal_r_compat.c: Likewise.
30208 * math/w_log10_compat.c: Likewise.
30209 * math/w_log10f_compat.c: Likewise.
30210 * math/w_log10l_compat.c: Likewise.
30211 * math/w_log2_compat.c: Likewise.
30212 * math/w_log2f_compat.c: Likewise.
30213 * math/w_log2l_compat.c: Likewise.
30214 * math/w_log_compat.c: Likewise.
30215 * math/w_logf_compat.c: Likewise.
30216 * math/w_logl_compat.c: Likewise.
30217 * math/w_pow_compat.c: Likewise.
30218 * math/w_powf_compat.c: Likewise.
30219 * math/w_powl_compat.c: Likewise.
30220 * math/w_remainder_compat.c: Likewise.
30221 * math/w_remainderf_compat.c: Likewise.
30222 * math/w_remainderl_compat.c: Likewise.
30223 * math/w_sinh_compat.c: Likewise.
30224 * math/w_sinhf_compat.c: Likewise.
30225 * math/w_sinhl_compat.c: Likewise.
30226 * math/w_sqrt_compat.c: Likewise.
30227 * math/w_sqrtf_compat.c: Likewise.
30228 * math/w_sqrtl_compat.c: Likewise.
30229 * math/w_tgamma_compat.c: Likewise.
30230 * math/w_tgammaf_compat.c: Likewise.
30231 * math/w_tgammal_compat.c: Likewise.
30232 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30233 [LIBM_SVID_COMPAT].
30234 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30235 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30236 [LIBM_SVID_COMPAT].
30237 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30238 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30239 [LIBM_SVID_COMPAT].
30240 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30241 * sysdeps/i386/fpu/w_sqrt.c: New file.
30242 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30243 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30244 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30245 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30246 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30247 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30248 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30249 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30250 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30251 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30252 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30253 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30254 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30255 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30256 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30257 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30258 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30259 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30260 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30261 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30262 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30263 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30264 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30265 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30266 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30267 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30268 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30269 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30270 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30271 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30272 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30273 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30274 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30275 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30276 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30277 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30278 * sysdeps/ia64/fpu/w_log.c: Likewise.
30279 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30280 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30281 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30282 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30283 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30284 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30285 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30286 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30287 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30288 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30289 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30290 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30291 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30292 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30293 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30294 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30295 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30296 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30297 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30298 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30299 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30300 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30301 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30302 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30303 [LIBM_SVID_COMPAT].
30304 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30305 * sysdeps/ieee754/k_standard.c: Likewise.
30306 * sysdeps/ieee754/k_standardf.c: Likewise.
30307 * sysdeps/ieee754/k_standardl.c: Likewise.
30308 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30309 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30310 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30311 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30312 long_double_symbol call on [LIBM_SVID_COMPAT].
30313 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30314 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30315 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30316 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30317 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30318 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30319 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30320 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30321 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30322 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30323 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30324 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30325 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30326 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30327 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30328 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30329 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30330 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30331 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30332 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30333 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30334 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30336 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30338 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30339 * malloc/tst-mallocstate.c: Convert from test-skeleton
30340 to test-driver. Ifdef code using TEST_COMPAT macro.
30341 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30342 * math/test-matherr.c: Likewise.
30344 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30347 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30348 comparing word with byte-swapped constant.
30350 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30353 * locale/iso-639.def: add Miskito.
30354 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30355 * localedata/locales/miq_NI: New file.
30357 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30360 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30361 (__mkdir): Likewise.
30362 * io/chmod.c (__chmod): Add libc_hidden_def.
30363 * io/mkdir.c (__mkdir): Likewise.
30364 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30365 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30366 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30367 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30369 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30371 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30375 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30376 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30378 2017-09-04 Florian Weimer <fweimer@redhat.com>
30380 * math/math.h: Issue warning if log is defined.
30382 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30384 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30385 kernel version to 4.13.
30387 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30389 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30390 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30392 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30393 just <bits/types.h>.
30394 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30395 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30396 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30397 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30398 * misc/preadv2.c: Include <errno.h>.
30399 * misc/preadv64v2.c: Include <errno.h>.
30400 * misc/pwritev2.c: Include <errno.h>.
30401 * misc/pwritev64v2.c: Include <errno.h>.
30402 * sysdeps/posix/preadv2.c: Include <errno.h>.
30403 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30404 Fix <unistd.h> inclusion.
30405 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30406 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30407 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30408 __strtoul_internal): New functions.
30409 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30410 * sysdeps/posix/system.c: Include <sigsetops.h>.
30411 * sysdeps/mach/hurd/i386/Makefile
30412 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30413 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30414 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30415 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30416 __feraiseexcept_renamed to feraiseexcept instead of
30417 __GI_feraiseexcept.
30418 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30419 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30420 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30421 RWF_NOWAIT): Define to 0 if undefined already.
30422 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30424 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30425 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30427 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30429 * manual/math.texi (pow10): Do not document.
30430 (pow10f): Likewise.
30431 (pow10l): Likewise.
30432 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30433 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30434 * math/libm-test-exp10.inc (pow10_test): Remove.
30435 (do_test): Do not call pow10.
30436 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30437 [NO_LONG_DOUBLE] (pow10l): Likewise.
30438 * math/w_exp10f_compat.c (pow10f): Likewise.
30439 * math/w_exp10l_compat.c (pow10l): Likewise.
30440 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30441 (pow10): Make into compat symbol.
30442 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30443 (pow10f): Make into compat symbol.
30444 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30445 (pow10l): Make into compat symbol.
30446 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30448 (CFLAGS-nldbl-pow10.c): Remove variable..
30449 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30450 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30451 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30452 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30453 Undefine and redefine.
30454 (pow10l): Make into compat symbol.
30455 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30456 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30457 * sysdeps/arm/libm-test-ulps: Likewise.
30458 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30459 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30460 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30461 * sysdeps/microblaze/libm-test-ulps: Likewise.
30462 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30463 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30464 * sysdeps/nios2/libm-test-ulps: Likewise.
30465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30466 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30467 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30468 * sysdeps/sh/libm-test-ulps: Likewise.
30469 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30470 * sysdeps/tile/libm-test-ulps: Likewise.
30471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30473 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30475 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30477 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30479 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30480 "../ChangeLog.old/ChangeLog.8".
30481 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30482 "../ChangeLog.old/ChangeLog.14".
30484 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30486 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30489 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30491 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30493 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30495 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30496 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30498 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30500 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30501 32 atexit handlers.
30503 2017-09-01 Zack Weinberg <zackw@panix.com>
30505 * math/math.h (HUGE_VAL): Improve commentary.
30507 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30508 Andreas Schwab <schwab@suse.de>
30511 * include/stdio.h (__gen_tempfd): New function.
30512 * stdio-common/Makefile (routines): Add gentempfd.
30513 * stdio-common/gentempfd.c: New file.
30514 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30515 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30516 unnamed file first.
30518 2017-09-01 Florian Weimer <fweimer@redhat.com>
30522 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30523 result to determine success or failure, not the errno value.
30524 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30525 (tst-nss-files-hosts-erange): Link with -ldl.
30526 * nss/tst-nss-files-hosts-erange.c: New file.
30527 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30528 (do_test): Add NO_DATA tests.
30529 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30530 (do_test): Call it.
30532 2017-09-01 Florian Weimer <fweimer@redhat.com>
30535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30536 coming from gethostbyname2_r.
30538 2017-09-01 Florian Weimer <fweimer@redhat.com>
30540 * support/namespace.h (struct support_chroot_configuration): Add
30542 (struct support_chroot): Add path_hosts, path_host_conf.
30543 * support/support_chroot.c (write_file): New function.
30544 (support_chroot_create): Call it to process /etc/resolv.conf,
30545 /etc/hosts, /etc/host.conf.
30546 (support_chroot_free): Update.
30548 2017-09-01 Florian Weimer <fweimer@redhat.com>
30550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30551 status indicates it is set.
30553 2017-09-01 Florian Weimer <fweimer@redhat.com>
30556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30557 function lookup failures more reliable.
30559 2017-09-01 Florian Weimer <fweimer@redhat.com>
30561 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30562 (getcanonname): Likewise.
30563 (gaih_inet): Likewise.
30565 2017-09-01 Florian Weimer <fweimer@redhat.com>
30567 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30568 (getcanonname): Likewise.
30569 (gaih_inet): Likewise.
30571 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30572 Richard Henderson <rth@twiddle.net>
30574 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30575 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30576 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30577 (IREG_SIZE, OREG_SIZE): New macros.
30578 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30579 (IREG_SIZE, OREG_SIZE): New macros.
30580 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30581 (IREG_SIZE): New macro.
30582 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30583 (IREG_SIZE): New macro.
30584 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30586 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30587 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30588 (__CONCATX): Handle exceptions correctly on large values that may
30590 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30591 Initialize if not already set.
30592 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30594 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30596 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30597 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30599 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30601 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30603 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30605 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30607 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30609 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30611 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30612 (NO_CANCELLATION): Likewise.
30613 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30615 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30617 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30620 (NO_CANCELLATION): Likewise.
30621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30622 (NO_CANCELLATION): Likewise.
30623 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30625 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30627 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30629 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30631 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30633 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30634 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30636 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30638 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30641 2017-08-31 Florian Weimer <fweimer@redhat.com>
30643 * include/libc-symbols.h (internal_function): Remove.
30645 2017-08-31 Florian Weimer <fweimer@redhat.com>
30647 * stdlib/fmtmsg.c (internal_addseverity): Remove
30650 2017-08-31 Florian Weimer <fweimer@redhat.com>
30652 * stdio-common/printf_fp.c (group_number): Remove
30654 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30656 2017-08-31 Florian Weimer <fweimer@redhat.com>
30658 * posix/fnmatch.c (internal_function): Remove definition.
30659 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30660 * posix/regcomp.c (peek_token, init_word_char)
30661 (duplicate_node_closure, fetch_token, peek_token)
30662 (peek_token_bracket, build_range_exp, build_collating_symbol):
30664 * posix/regex_internal.c (re_string_construct_common)
30665 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30666 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30667 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30668 (re_string_translate_buffer, re_string_reconstruct)
30669 (re_string_peek_byte_case, re_string_fetch_byte_case)
30670 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30671 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30672 (re_node_set_add_intersect, re_node_set_init_union)
30673 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30674 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30675 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30676 (re_acquire_state_context): Likewise.
30677 * posix/regex_internal.h (internal_function): Remove definition.
30678 (re_string_realloc_buffers, build_wcs_buffer)
30679 (build_wcs_upper_buffer, build_upper_buffer)
30680 (re_string_translate_buffer, re_string_context_at)
30681 (re_string_char_size_at, re_string_wchar_at)
30682 (re_string_elem_size_at): Likewise.
30683 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30684 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30685 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30686 (re_search_internal, re_search_2_stub, re_search_stub)
30687 (re_copy_regs, prune_impossible_nodes, check_matching)
30688 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30689 (free_fail_stack_return, sift_states_iter_mb)
30690 (sift_states_backward, build_sifted_states)
30691 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30692 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30693 (check_subexp_limits, sift_states_bkref, merge_state_array)
30694 (find_recover_state, transit_state, merge_state_with_log)
30695 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30696 (transit_state_mb, transit_state_bkref, get_subexp)
30697 (get_subexp_sub, find_subexp_node, check_arrival)
30698 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30699 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30700 (check_node_accept_bytes, find_collation_sequence_value)
30701 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30702 (acquire_init_state_context, check_halt_node_context)
30703 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30704 (sub_epsilon_src_nodes): Likewise.
30705 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30706 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30707 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30708 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30709 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30710 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30711 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30712 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30713 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30714 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30715 (PREADV): Likewise.
30716 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30717 (PREADV): Likewise.
30718 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30719 (PWRITEV): Likewise.
30720 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30721 (PWRITEV): Likewise.
30722 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30723 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30725 2017-08-31 Florian Weimer <fweimer@redhat.com>
30727 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30728 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30729 Remove internal_function.
30730 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30731 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30732 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30733 (__deallocate_stack, __libc_pthread_init)
30734 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30735 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30736 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30738 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30739 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30740 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30742 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30743 (__pthread_mutex_unlock_usercnt): Likewise.
30745 2017-08-31 Florian Weimer <fweimer@redhat.com>
30747 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30748 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30749 (fts_safe_changedir): Remove internal_function.
30750 * io/ftw.c (internal_function): Remove definition.
30751 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30753 2017-08-31 Florian Weimer <fweimer@redhat.com>
30755 * inet/deadline.c (__deadline_current_time)
30756 (__deadline_from_timeval, __deadline_to_ms): Remove
30758 * inet/getnameinfo.c (nrl_domainname): Likewise.
30759 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30760 * inet/inet6_option.c (add_pad): Likewise.
30761 * inet/net-internal.h (__deadline_current_time)
30762 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30763 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30764 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30765 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30767 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30769 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30770 include <bits/nan.h>.
30771 * math/Makefile (headers): Remove bits/nan.h.
30772 * bits/nan.h: Remove.
30773 * sysdeps/ieee754/bits/nan.h: Likewise.
30774 * sysdeps/mips/bits/nan.h: Likewise.
30776 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30777 not include <bits/inf.h>.
30778 * math/Makefile (headers): Remove bits/inf.h.
30779 * bits/inf.h: Remove.
30780 * sysdeps/ieee754/bits/inf.h: Likewise.
30782 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30783 bits/huge_vall.h or bits/huge_val_flt128.h.
30784 (HUGE_VAL): Define directly here.
30785 [__USE_ISOC99] (HUGE_VALF): Likewise.
30786 [__USE_ISOC99] (HUGE_VALL): Likewise.
30787 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30788 (HUGE_VAL_F128): Likewise.
30789 * math/Makefile (headers): Remove bits/huge_val.h,
30790 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30791 * bits/huge_val.h: Remove.
30792 * bits/huge_val_flt128.h: Likewise.
30793 * bits/huge_valf.h: Likewise.
30794 * bits/huge_vall.h: Likewise.
30795 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30796 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30797 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30798 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30799 * sysdeps/sh/bits/huge_val.h: Likewise.
30800 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30801 * sysdeps/x86/bits/huge_vall.h: Likewise.
30803 2017-08-31 Florian Weimer <fweimer@redhat.com>
30805 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30807 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30809 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30810 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30811 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30812 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30813 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30814 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30815 * elf/dl-libc.c (dlerror_run): Likewise.
30816 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30817 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30818 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30819 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30821 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30822 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30823 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30824 * elf/dl-profile.c (_dl_start_profile): Likewise.
30825 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30826 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30828 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30829 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30830 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30831 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30832 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30833 (_dl_allocate_tls_storage): Likewise.
30834 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30835 (_dl_check_all_versions): Likewise.
30836 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30837 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30838 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30839 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30840 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30841 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30842 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30843 internal_function from __dl_start.
30844 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30845 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30846 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30847 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30848 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30849 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30850 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30851 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30852 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30853 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30854 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30855 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30856 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30857 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30858 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30860 (struct rtld_global_ro): Remove internal_function from the
30861 _dl_lookup_symbol_x member.
30862 (_dl_symbol_value): Remove. No longer defined anywhere.
30863 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30865 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30866 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30867 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30868 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30869 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30870 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30871 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30872 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30873 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30874 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30875 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30876 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30878 2017-08-31 Florian Weimer <fweimer@redhat.com>
30880 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30881 Remove internal_function.
30882 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30884 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30887 2017-08-31 Florian Weimer <fweimer@redhat.com>
30889 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30890 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30891 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30893 2017-08-31 Florian Weimer <fweimer@redhat.com>
30895 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30896 (__gai_enqueue_request): Remove internal_function.
30897 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30898 (__gai_remove_request, __gai_notify, __gai_notify_only)
30899 (__gai_sigqueue): Likewise.
30900 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30901 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30902 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30903 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30906 2017-08-31 Florian Weimer <fweimer@redhat.com>
30908 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30909 * include/dirent.h (__opendirat, __getdents, __getdents64)
30910 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30911 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30912 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30913 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30915 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30917 2017-08-31 Florian Weimer <fweimer@redhat.com>
30919 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30921 (GETCWD_RETURN_TYPE): Likewise.
30923 2017-08-31 Florian Weimer <fweimer@redhat.com>
30925 * include/time.h (__tz_compute, __strptime_internal): Remove
30927 * time/strptime_l.c (__strptime_internal): Likewise.
30928 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30930 2017-08-31 Florian Weimer <fweimer@redhat.com>
30932 * iconv/gconv.c (__gconv): Remove internal_function.
30933 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30934 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30935 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30936 (__gconv_release_cache): Likewise.
30937 * iconv/gconv_close.c (__gconv_close): Likewise.
30938 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30939 (read_conf_file, __gconv_get_path): Likewise.
30940 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30941 (__gconv_release_step, gen_steps, increment_counter)
30942 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30943 (__gconv_close_transform, free_modules_db): Likewise.
30944 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30946 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30947 (__gconv_find_transform, __gconv_lookup_cache)
30948 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30949 (__gconv_close_transform, __gconv_release_cache)
30950 (__gconv_loaded_object, __gconv_release_shlib)
30951 (__gconv_compare_alias): Likewise.
30952 * iconv/gconv_open.c (__gconv_open): Likewise.
30953 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30954 * iconv/iconvconfig.c (add_module): Likewise.
30955 * intl/dcigettext.c (plural_lookup, guess_category_value)
30956 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30957 * intl/eval-plural.h (plural_eval): Likewise.
30958 * intl/finddomain.c (_nl_find_domain): Likewise.
30959 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30960 (_nl_load_domain, _nl_find_msg): Likewise.
30961 (internal_function): Remove definition.
30962 * intl/loadinfo.h (internal_function): Likewise.
30963 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30965 * intl/localealias.c (internal_function): Remove definition.
30966 (read_alias_file): Remove internal_function.
30967 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30968 * intl/plural-exp.h (internal_function): Remove definition.
30969 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30971 * intl/plural.c: Regenerate.
30972 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30973 * locale/coll-lookup.c (__collidx_table_lookup)
30974 (__collseq_table_lookup): Likewise.
30975 * locale/coll-lookup.h (__collidx_table_lookup)
30976 (__collseq_table_lookup): Likewise.
30977 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30978 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30979 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30980 (_nl_unload_locale): Likewise.
30981 * locale/localeinfo.h (struct __locale_data): Remove
30982 internal_function from cleanup member.
30983 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30984 (_nl_remove_locale, _nl_load_locale_from_archive)
30985 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30986 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30987 (_nl_cleanup_time): Remove internal_function.
30988 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30989 (_nl_parse_alt_digit): Likewise.
30990 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30991 (_nl_select_era_entry): Likewise.
30992 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30993 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30994 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30995 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30996 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30998 2017-08-31 Florian Weimer <fweimer@redhat.com>
31000 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31001 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31002 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31003 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31005 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31006 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31007 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31008 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31010 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31012 2017-08-31 Florian Weimer <fweimer@redhat.com>
31014 * misc/getttyent.c (skip, value): Remove internal_function.
31015 * misc/syslog.c (openlog_internal): Likewise.
31016 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31018 2017-08-31 Florian Weimer <fweimer@redhat.com>
31020 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31021 (__nss_rewrite_field): Remove internal_function.
31022 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31023 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31024 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31025 * nss/nsswitch.c (nss_parse_file, nss_getline)
31026 (nss_parse_service_list, nss_new_service): Likewise.
31027 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31028 * nss/valid_field.c (__nss_valid_field): Likewise.
31029 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31031 2017-08-31 Florian Weimer <fweimer@redhat.com>
31033 * malloc/arena.c (__malloc_fork_lock_parent)
31034 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31035 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31036 internal_function from defintions.
31037 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31038 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31039 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31040 internal_function from declarations.
31041 * malloc/malloc.c (internal_function): Do not define.
31042 (mem2mem_check): Remove internal_function from declaration.
31043 (munmap_chunk, mremap_chunk): Remove internal_function.
31044 * malloc/mtrace.c (tr_where): Likewise.
31046 2017-08-31 Florian Weimer <fweimer@redhat.com>
31048 * include/rpc/pmap_clnt.h (__get_socket): Remove
31050 * sunrpc/auth_des.c (synchronize): Likewise.
31051 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31052 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31053 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31054 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31055 (key_call): Likewise.
31056 * sunrpc/pm_getport.c (__get_socket): Likewise.
31057 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31058 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31059 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31060 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31061 (invalidate): Likewise.
31062 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31063 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31064 (set_input_fragment, get_input_bytes): Likewise.
31066 2017-08-31 Florian Weimer <fweimer@redhat.com>
31068 * malloc/malloc.c (_int_free): Remove locked variable and related
31071 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31074 * Makerules (build-module-helper-objlist): Filter out
31075 $(elf-objpfx)sofini.os.
31076 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31079 2017-08-31 Florian Weimer <fweimer@redhat.com>
31081 * libio/fcloseall.c: Assume weak_alias is defined.
31082 * libio/feof.c: Likewise.
31083 * libio/fileno.c: Likewise.
31084 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31085 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31087 (_IO_file_open): Call __open directly.
31088 (_IO_new_file_sync): Assume ESPIPE is defined.
31089 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31090 (_IO_new_file_write): Call __write directly.
31091 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31092 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31093 * libio/genops.c: Assume _LIBC is defined.
31094 (save_for_backup): Remove internal_function.
31095 * libio/getc.c: Assume weak_alias is defined.
31096 * libio/getwc.c: Likewise.
31097 * libio/iofclose.c: Assume _LIBC is defined.
31098 * libio/iofdopen.c: Likewise.
31099 (_IO_fcntl): Remove macro definition.
31100 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31101 Call __fcntl directly.
31102 * libio/iofflush.c: Assume weak_alias is defined.
31103 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31105 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31106 * libio/iofgets.c: Likewise.
31107 * libio/iofopen.c: Assume _LIBC is defined.
31108 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31109 * libio/iofputs.c: Assume weak_alias is defined.
31110 * libio/iofread.c: Likewise.
31111 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31112 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31113 * libio/ioftell.c: Assume weak_alias is defined.
31114 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31115 * libio/iofwide.c: Assume _LIBC is defined.
31116 (_IO_fwide): Drop SHARED conditional because it is implied by
31118 * libio/iofwrite.c: Assume weak_alias is defined.
31119 * libio/iogetdelim.c: Likewise.
31120 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31121 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31122 (_IO_getwline): Call __wmemcpy directly.
31123 * libio/iopopen.c: Assume _LIBC is defined.
31124 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31125 (_IO_close): Remove macro definitions.
31126 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31128 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31130 * libio/ioputs.c: Assume weak_alias is defined.
31131 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31132 * libio/iosetbuffer.c: Assume weak_alias is defined.
31133 * libio/iosetvbuf.c: Likewise.
31134 * libio/ioungetc.c: Likewise.
31135 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31136 libc_hidden_def, libc_hidden_weak, NULL are defined.
31137 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31138 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31140 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31142 (_IO_old_file_init_internal): Drop SHARED conditional because it
31143 is implied by SHLIB_COMPAT.
31144 (_IO_old_file_fopen): Call __open directly.
31145 (_IO_old_file_sync): Assume ESPIPE is defined.
31146 (_IO_old_file_write): Call __write directly.
31147 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31148 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31149 Call __fcntl directly.
31150 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31151 (_IO_old_fgetpos): Assume EIO is defined.
31152 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31153 (_IO_old_fgetpos64): Assume EIO is defined.
31154 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31155 (_IO_old_fsetpos): Assume EIO is defined.
31156 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31157 (_IO_old_fsetpos64): Assume EIO is defined.
31158 * libio/oldiopopen.c: Assume _LIBC is defined.
31159 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31160 (_IO_close): Remove macro definitions.
31161 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31163 (_IO_old_proc_close): Call __close, __waitpid directly.
31164 * libio/put.c: Assume weak_alias is defined.
31165 * libio/stdfiles.c: Assume _LIBC is defined.
31166 * libio/stdio.c: Likewise.
31167 * libio/wfileops.c: Likewise.
31168 (_IO_wfile_sync): Assume ESPIPE is defined.
31169 * libio/wgenops.c: Assume _LIBC is defined.
31170 (save_for_wbackup): Remove internal_function.
31172 2017-08-31 Florian Weimer <fweimer@redhat.com>
31174 * malloc/malloc.c (top_check): Change return type to void. Remove
31176 * malloc/hooks.c (top_check): Likewise.
31177 (malloc_check, realloc_check, memalign_check): Adjust.
31179 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31182 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31183 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31184 sigcontext and namespace requirements.
31185 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31186 * sysdeps/m68k/sys/ucontext.h: Likewise.
31187 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31188 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31189 <bits/sigcontext.h>.
31190 (__ctx): Define earlier.
31191 (mcontext_t): Define structure contents rather than using struct
31193 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31194 __glibc_reserved1 instead of __reserved.
31195 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31196 <bits/sigcontext.h>.
31197 (__ctx): Define earlier.
31198 (mcontext_t): Define structure contents rather than using struct
31200 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31201 mcontext_t instead of struct sigcontext.
31202 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31203 <bits/sigcontext.h>.
31204 (__ctx): Define earlier.
31205 (mcontext_t): Define structure contents rather than using struct
31207 * sysdeps/unix/sysv/linux/hppa/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/ia64/makecontext.c (__makecontext): Use
31213 mcontext_t instead of struct sigcontext.
31214 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31215 mcontext_t instead of struct sigcontext.
31216 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31217 <bits/sigcontext.h>.
31218 (__ctx): New macro.
31219 (struct __ia64_fpreg_mcontext): New type.
31220 (mcontext_t): Define structure contents rather than using struct
31222 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31223 (uc_sigmask): Define using __ctx.
31224 (uc_stack): Likewise.
31225 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31226 <bits/sigcontext.h>.
31227 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31228 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31229 <bits/sigcontext.h>.
31230 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31231 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31232 <bits/sigcontext.h>.
31233 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31234 <bits/sigcontext.h>.
31235 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31236 <bits/sigcontext.h>.
31237 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31238 <bits/sigcontext.h>.
31239 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31240 <bits/sigcontext.h>.
31241 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31242 <bits/sigcontext.h>.
31243 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31244 <bits/sigcontext.h>.
31245 (__ctx): Define earlier.
31246 (mcontext_t): Define structure contents rather than using struct
31248 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31249 <bits/sigcontext.h>. Include <bits/types.h>.
31250 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31251 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31252 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31253 (test-xfail-UNIX98/signal.h/conform): Likewise.
31254 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31255 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31256 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31257 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31258 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31259 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31260 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31261 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31262 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31264 2017-08-30 Florian Weimer <fweimer@redhat.com>
31266 * malloc/dynarray_emplace_enlarge.c
31267 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31268 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31269 * malloc/tst-dynarray.c (test_long_overflow): New function.
31270 (do_test): Call it.
31272 2017-08-30 Florian Weimer <fweimer@redhat.com>
31274 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31275 (set_arena_corrupt): Remove definitions.
31276 (mtrim): Do not check for corrupt arena.
31277 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31280 2017-08-30 Florian Weimer <fweimer@redhat.com>
31283 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31285 (ptmalloc_init): Do not set or use check_action.
31286 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31287 call to malloc_printerr. Remove return statement.
31288 (free_check): Likewise. Remove arena unlock.
31289 (top_check): Update comment. Adjust call to malloc_printerr.
31290 Remove heap repair code.
31291 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31292 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31293 (sysmalloc): Adjust call to malloc_printerr.
31294 (munmap_chunk, __libc_realloc): Likewise. Remove return
31296 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31297 Remove errout label and corresponding gotos.
31298 (_int_free): Likewise. Remove arena unlock.
31299 (do_set_mallopt_check): Do not set check_action.
31300 (malloc_printerr): Adjust parameter list. Do not mark arena as
31302 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31304 * manual/probes.texi (Memory Allocation Probes): Remove
31305 memory_mallopt_check_action.
31307 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31309 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31310 Use pointer to uint64_t instead of long int for sp.
31312 2017-08-30 Florian Weimer <fweimer@redhat.com>
31315 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31316 without printing a backtrace. Do not leak any information in the
31318 * manual/memory.texi (Heap Consistency Checking): Update.
31319 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31321 2017-08-30 Florian Weimer <fweimer@redhat.com>
31323 Do not scale NPTL tests with available number of CPUs.
31324 * nptl/tst-cond16.c (count): Set to constant value of 8.
31325 * nptl/tst-cond18.c (count): Likewise.
31327 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31330 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31331 Define to take a second argument that is a macro that
31332 concatentates a suffix, not the suffix itself.
31333 (__CONCAT_d): New macro.
31334 (__CONCAT_f): Likewise.
31335 (__CONCAT_l): Likewise.
31337 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31339 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31342 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31343 Aurelien Jarno <aurelien@aurel32.net>
31344 Maciej W. Rozycki <macro@imgtec.com>
31347 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31348 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31349 `mips16-syscall6' and `mips16-syscall7'.
31350 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31351 (CFLAGS-mips16-syscall7.c): Remove.
31352 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31353 Remove `__mips16_syscall5', `__mips16_syscall6' and
31354 `__mips16_syscall7'.
31355 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31356 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31357 `__mips_syscall_return'.
31358 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31359 (__mips16_syscall1): Likewise.
31360 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31361 (__mips16_syscall2): Likewise.
31362 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31363 (__mips16_syscall3): Likewise.
31364 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31365 (__mips16_syscall4): Likewise.
31366 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31368 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31370 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31372 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31373 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31374 `__mips16_syscall5'. Remove prototype.
31375 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31376 `__mips16_syscall6'. Remove prototype.
31377 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31378 `__mips16_syscall7'. Remove prototype.
31379 (__nomips16, __mips16_syscall_return): Move to...
31380 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31381 (__nomips16, __mips_syscall_return): ... here.
31382 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31383 `__mips16_syscall_return' to `__mips_syscall_return'.
31384 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31385 `internal_syscall##nr'.
31386 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31387 `internal_syscall##nr'.
31388 (FORCE_FRAME_POINTER): Remove.
31389 (__mips_syscall5): New prototype.
31390 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31391 (__mips_syscall6): New prototype.
31392 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31393 (__mips_syscall7): New prototype.
31394 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31395 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31396 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31397 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31398 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31399 (sysdep_routines): Add libc-do-syscall.
31400 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31401 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31403 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31406 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31407 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31408 (advise_stack_range): New function.
31409 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31410 stack non required to advise_stack_range at allocatestack.c
31412 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31414 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31416 2017-08-29 Florian Weimer <fweimer@redhat.com>
31419 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31420 __end_fct. Mangle __end_fct after setting it to NULL.
31421 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31422 (modules-names, modules-names-tests): Add
31423 tst-gconv-init-failure-mod.
31424 (gconv-modules): New target.
31425 (tst-gconv-init-failure-mod.so): Link against libsupport.
31426 (tst-gconv-init-failure): Depend on gconv-modules,
31427 tst-gconv-init-failure-mod.so.
31428 * iconv/tst-gconv-init-failure-mod.c: New file.
31429 * iconv/tst-gconv-init-failure.c: Likewise.
31430 * iconv/test-gconv-modules: Likewise.
31432 2017-08-29 Florian Weimer <fweimer@redhat.com>
31435 * iconv/gconv_db.c (free_derivation): Remove redundant
31437 (gen_steps): Unconditionally mangle __btowc_fct after
31439 (increment_counter): Likewise. Do not call init_fct for internal
31442 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31445 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31446 (_MSUF_): Remove macro.
31447 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31449 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31450 (__REDIRFROM_X): New macro.
31451 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31453 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31454 (__REDIRTO_X): Likewise.
31455 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31457 (__MATH_REDIRCALL_2): Likewise.
31458 (__MATH_REDIRCALL_INTERNAL): Likewise.
31459 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31460 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31461 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31462 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31463 * math/test-finite-macros.c: New file.
31464 * math/Makefile (tests): Add test-finite-macros.
31465 (CFLAGS-test-finite-macros.c): New variable.
31467 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31468 Jeff Law <law@redhat.com>
31471 Mangle NULL pointers in iconv/gconv.
31472 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31473 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31474 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31475 is non-NULL before demangling the end_fct. Check for NULL
31476 end_fct after demangling.
31477 (__gconv_release_step): Demangle the end_fct before checking
31478 it for NULL. Remove assert on __shlibc_handle != NULL.
31479 (gen_steps): Don't check btowc_fct for NULL before mangling.
31480 Demangle init_fct before checking for NULL.
31481 (increment_counter): Likewise.
31482 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31483 end_fct for NULL before mangling.
31484 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31487 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31490 * locale/iso-639.def: add Morisyen.
31492 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31495 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31496 (iszero): New C++ implementation that does not use
31497 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31498 signaling nans are enabled, since __builtin_types_compatible_p
31499 is a C-only feature.
31500 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31501 defined, include ieee754_float128.h for access to the union and
31502 member ieee854_float128.ieee.
31503 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31504 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31505 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31506 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31507 options of test-math-zero on powerpc64le.
31509 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31511 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31512 Change double to float.
31514 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31516 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31518 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31519 conditional code; define contents only for [LIBM_SVID_COMPAT].
31521 2017-08-28 Florian Weimer <fweimer@redhat.com>
31523 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31524 (abi-lp64_be-options): Remove.
31525 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31526 (abi-hard-options): Likewise.
31527 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31528 (abi-o32_hard-options, abi-o32_soft_2008-options)
31529 (abi-o32_hard_2008-options, abi-n32_soft-options)
31530 (abi-n32_hard-options, abi-n32_soft_2008-options)
31531 (abi-n32_hard_2008-options, abi-n64_soft-options)
31532 (abi-n64_hard-options, abi-n64_soft_2008-options)
31533 (abi-n64_hard_2008-options): Likewise.
31534 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31535 (abi-64-v1-options, abi-64-v2-options): Likewise.
31536 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31537 (abi-64-options): Likewise.
31538 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31539 (abi-64-options): Likewise.
31540 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31541 (abi-64-options): Likewise.
31542 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31543 (abi-64-options, abi-x32-options): Likewise.
31545 2017-08-28 Florian Weimer <fweimer@redhat.com>
31547 Store supported list of SYS_* system calls in the source tree.
31548 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31549 (bits/syscall.h): Generate from list file.
31550 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31551 [$(subdir) = misc] (tests): Add tst-syscall-list.
31552 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31553 [$(subdir) = misc] (tst-syscall-list-macros.list)
31554 [$(subdir) = misc] (tst-syscall-list-nr.list)
31555 (tst-syscall-list-sys.list): Helper targets for new
31556 tst-syscall-list test.
31557 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31558 tst-syscall-list.sh.
31559 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31560 target. Do not include bits/syscall.d.
31561 [$(subdir) = misc] (generated): Do not update.
31562 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31563 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31564 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31565 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31567 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31569 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31570 (tst-cxa_atexit, tst-on_exit): Likewise.
31571 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31572 tst-cxa_atexit, and tst-on_exit.
31573 * stdlib/tst-atexit-common.c: New file.
31574 * stdlib/tst-atexit.c: New file.
31575 * stdlib/tst-at_quick_exit.c: New file.
31576 * stdlib/tst-cxa_atexit.c: New file.
31577 * stdlib/tst-on_exit.c: New file.
31579 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31581 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31582 * mach/stack_chk_fail_local.c: New file.
31583 * hurd/stack_chk_fail_local.c: New file.
31584 * mach/Machrules ($(interface-library)-routines): Add
31585 stack_chk_fail_local.
31586 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31587 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31588 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31589 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31590 * hurd/Makefile (CFLAGS-hurdstartup.o,
31591 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31593 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31595 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31596 (index_cpu_*, index_arch_*): Removed.
31598 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31600 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31601 Use uint64_t instead of unsigned long.
31603 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31605 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31606 [__HAVE_DISTINCT_FLOAT128].
31608 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31609 of <bits/math-finite.h>.
31610 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31611 inclusion of <bits/math-finite.h>.
31612 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31613 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31614 __NO_LONG_DOUBLE_MATH].
31615 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31616 (__MATH_REDIRCALL_2): Likewise.
31617 (__MATH_REDIRCALL_INTERNAL): Likewise.
31618 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31619 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31620 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31634 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31635 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31636 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31637 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31639 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31640 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31641 w_sqrtf_compat-ppc32.
31643 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31645 * math/math.h [defined __cplusplus] (issignaling): In the long
31646 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31647 is not defined. Call __issignaling, otherwise.
31649 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31651 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31652 syscall definitions and replace __builtin_expect with __glibc_likely.
31653 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31655 (SYSCALL_CANCELLABLE): Removedefinition
31656 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31658 (PSEUDO_END): Likewise.
31659 [IS_IN (libpthread)] (CENABLE): Likewise.
31660 [IS_IN (libpthread)] (CDISABLE): Likewise.
31661 [IS_IN (libc)] (CENABLE): Likewise.
31662 [IS_IN (libc)] (CENABLE): Likewise.
31663 [IS_IN (librt)] (CDISABLE): Likewise.
31664 [IS_IN (librt)] (CDISABLE): Likewise.
31665 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31666 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31668 (PSEUDO_END): Likewise.
31669 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31670 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31671 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31672 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31673 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31674 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31675 (CENABLE): Likewise.
31676 (CDISABLE): Likewise.
31677 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31678 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31680 (PSEUDO_END): Likewise.
31681 [IS_IN (libpthread)] (CENABLE): Likewise.
31682 [IS_IN (libpthread)] (CDISABLE): Likewise.
31683 [IS_IN (libc)] (CENABLE): Likewise.
31684 [IS_IN (libc)] (CENABLE): Likewise.
31685 [IS_IN (librt)] (CDISABLE): Likewise.
31686 [IS_IN (librt)] (CDISABLE): Likewise.
31687 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31688 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31690 (PSEUDO_END): Likewise.
31691 [IS_IN (libpthread)] (CENABLE): Likewise.
31692 [IS_IN (libpthread)] (CDISABLE): Likewise.
31693 [IS_IN (libc)] (CENABLE): Likewise.
31694 [IS_IN (libc)] (CENABLE): Likewise.
31695 [IS_IN (librt)] (CDISABLE): Likewise.
31696 [IS_IN (librt)] (CDISABLE): Likewise.
31697 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31698 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31700 (PSEUDO_END): Likewise.
31701 [IS_IN (libpthread)] (CENABLE): Likewise.
31702 [IS_IN (libpthread)] (CDISABLE): Likewise.
31703 [IS_IN (libc)] (CENABLE): Likewise.
31704 [IS_IN (libc)] (CENABLE): Likewise.
31705 [IS_IN (librt)] (CDISABLE): Likewise.
31706 [IS_IN (librt)] (CDISABLE): Likewise.
31707 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31708 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31710 (PSEUDO_END): Likewise.
31711 [IS_IN (libpthread)] (CENABLE): Likewise.
31712 [IS_IN (libpthread)] (CDISABLE): Likewise.
31713 [IS_IN (libc)] (CENABLE): Likewise.
31714 [IS_IN (libc)] (CENABLE): Likewise.
31715 [IS_IN (librt)] (CDISABLE): Likewise.
31716 [IS_IN (librt)] (CDISABLE): Likewise.
31717 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31718 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31720 (PSEUDO_END): Likewise.
31721 [IS_IN (libpthread)] (CENABLE): Likewise.
31722 [IS_IN (libpthread)] (CDISABLE): Likewise.
31723 [IS_IN (libc)] (CENABLE): Likewise.
31724 [IS_IN (libc)] (CENABLE): Likewise.
31725 [IS_IN (librt)] (CDISABLE): Likewise.
31726 [IS_IN (librt)] (CDISABLE): Likewise.
31727 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31728 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31730 (PSEUDO_END): Likewise.
31731 [IS_IN (libpthread)] (CENABLE): Likewise.
31732 [IS_IN (libpthread)] (CDISABLE): Likewise.
31733 [IS_IN (libc)] (CENABLE): Likewise.
31734 [IS_IN (libc)] (CENABLE): Likewise.
31735 [IS_IN (librt)] (CDISABLE): Likewise.
31736 [IS_IN (librt)] (CDISABLE): Likewise.
31737 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31738 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31740 (PSEUDO_END): Likewise.
31741 [IS_IN (libpthread)] (CENABLE): Likewise.
31742 [IS_IN (libpthread)] (CDISABLE): Likewise.
31743 [IS_IN (libc)] (CENABLE): Likewise.
31744 [IS_IN (libc)] (CENABLE): Likewise.
31745 [IS_IN (librt)] (CDISABLE): Likewise.
31746 [IS_IN (librt)] (CDISABLE): Likewise.
31747 (SINGLE_THREAD_P): Likewise.
31748 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31750 (PSEUDO_END): Likewise.
31751 [IS_IN (libpthread)] (CENABLE): Likewise.
31752 [IS_IN (libpthread)] (CDISABLE): Likewise.
31753 [IS_IN (libc)] (CENABLE): Likewise.
31754 [IS_IN (libc)] (CENABLE): Likewise.
31755 [IS_IN (librt)] (CDISABLE): Likewise.
31756 [IS_IN (librt)] (CDISABLE): Likewise.
31757 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31758 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31760 (PSEUDO_END): Likewise.
31761 [IS_IN (libpthread)] (CENABLE): Likewise.
31762 [IS_IN (libpthread)] (CDISABLE): Likewise.
31763 [IS_IN (libc)] (CENABLE): Likewise.
31764 [IS_IN (libc)] (CENABLE): Likewise.
31765 [IS_IN (librt)] (CDISABLE): Likewise.
31766 [IS_IN (librt)] (CDISABLE): Likewise.
31767 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31768 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31769 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31770 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31773 (PSEUDO_END): Likewise.
31774 [IS_IN (libpthread)] (CENABLE): Likewise.
31775 [IS_IN (libpthread)] (CDISABLE): Likewise.
31776 [IS_IN (libc)] (CENABLE): Likewise.
31777 [IS_IN (libc)] (CENABLE): Likewise.
31778 [IS_IN (librt)] (CDISABLE): Likewise.
31779 [IS_IN (librt)] (CDISABLE): Likewise.
31780 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31783 (PSEUDO_END): Likewise.
31784 [IS_IN (libpthread)] (CENABLE): Likewise.
31785 [IS_IN (libpthread)] (CDISABLE): Likewise.
31786 [IS_IN (libc)] (CENABLE): Likewise.
31787 [IS_IN (libc)] (CENABLE): Likewise.
31788 [IS_IN (librt)] (CDISABLE): Likewise.
31789 [IS_IN (librt)] (CDISABLE): Likewise.
31790 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31791 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31793 (PSEUDO_END): Likewise.
31794 [IS_IN (libpthread)] (CENABLE): Likewise.
31795 [IS_IN (libpthread)] (CDISABLE): Likewise.
31796 [IS_IN (libc)] (CENABLE): Likewise.
31797 [IS_IN (libc)] (CENABLE): Likewise.
31798 [IS_IN (librt)] (CDISABLE): Likewise.
31799 [IS_IN (librt)] (CDISABLE): Likewise.
31800 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31803 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31804 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31806 (PSEUDO_END): Likewise.
31807 [IS_IN (libpthread)] (CENABLE): Likewise.
31808 [IS_IN (libpthread)] (CDISABLE): Likewise.
31809 [IS_IN (libc)] (CENABLE): Likewise.
31810 [IS_IN (libc)] (CENABLE): Likewise.
31811 [IS_IN (librt)] (CDISABLE): Likewise.
31812 [IS_IN (librt)] (CDISABLE): Likewise.
31813 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31814 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31816 (PSEUDO_END): Likewise.
31817 [IS_IN (libpthread)] (CENABLE): Likewise.
31818 [IS_IN (libpthread)] (CDISABLE): Likewise.
31819 [IS_IN (libc)] (CENABLE): Likewise.
31820 [IS_IN (libc)] (CENABLE): Likewise.
31821 [IS_IN (librt)] (CDISABLE): Likewise.
31822 [IS_IN (librt)] (CDISABLE): Likewise.
31823 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31825 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31827 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31829 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31831 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31833 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31836 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31837 middle and outer with size_t instead of int. Repleace %d and
31838 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31839 "MAX (outer, nchars - 64)" to support unsigned outer and
31840 nchars. Also exit loop when outer == 0.
31842 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31844 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31845 * include/signal.h (__sigsuspend_nocancel): Likewise.
31846 * include/time.h (__nanosleep_nocancel): Likewise.
31847 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31848 * login/utmp_file.c: Include non cancellable syscall header.
31849 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31852 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31854 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31855 .byte sequences with AVX512F instructions.
31856 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31857 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31858 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31859 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31861 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31864 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31865 Steve Ellcey <sellcey@cavium.com>
31867 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31868 Use PTR_REG macro in cmp instruction.
31870 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31872 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31873 Change the return type of the ifunc resolver to match the return
31874 type of the target function.
31876 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31878 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31879 (preadv64): Likewise.
31880 (pwrite64(: Likewise.
31881 (pwritev64): Likewise.
31883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31884 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31885 (LOAD_ARGS_0): Likewise.
31886 (LOAD_ARGS_1): Likewise.
31887 (LOAD_ARGS_2): Likewise.
31888 (LOAD_ARGS_3): Likewise.
31889 (LOAD_ARGS_4): Likewise.
31890 (LOAD_ARGS_5): Likewise.
31891 (LOAD_ARGS_6): Likewise.
31892 (LOAD_REGS_0): Likewise.
31893 (LOAD_REGS_1): Likewise.
31894 (LOAD_REGS_2): Likewise.
31895 (LOAD_REGS_3): Likewise.
31896 (LOAD_REGS_4): Likewise.
31897 (LOAD_REGS_5): Likewise.
31898 (LOAD_REGS_6): Likewise.
31899 (ASM_ARGS_0): Likewise.
31900 (ASM_ARGS_1): Likewise.
31901 (ASM_ARGS_2): Likewise.
31902 (ASM_ARGS_3): Likewise.
31903 (ASM_ARGS_4): Likewise.
31904 (ASM_ARGS_5): Likewise.
31905 (ASM_ARGS_6): Likewise.
31906 (LOAD_ARGS_TYPES_1): Likewise.
31907 (LOAD_ARGS_TYPES_2): Likewise.
31908 (LOAD_ARGS_TYPES_3): Likewise.
31909 (LOAD_ARGS_TYPES_4): Likewise.
31910 (LOAD_ARGS_TYPES_5): Likewise.
31911 (LOAD_ARGS_TYPES_6): Likewise.
31912 (LOAD_REGS_TYPES_1): Likewise.
31913 (LOAD_REGS_TYPES_2): Likewise.
31914 (LOAD_REGS_TYPES_3): Likewise.
31915 (LOAD_REGS_TYPES_4): Likewise.
31916 (LOAD_REGS_TYPES_5): Likewise.
31917 (LOAD_REGS_TYPES_6): Likewise.
31918 (TYPEFY): New define.
31919 (ARGIFY): Likewise.
31920 (internal_syscall0): Likewise.
31921 (internal_syscall1): Likewise.
31922 (internal_syscall2): Likewise.
31923 (internal_syscall3): Likewise.
31924 (internal_syscall4): Likewise.
31925 (internal_syscall5): Likewise.
31926 (internal_syscall6): Likewise.
31927 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31928 (INTERNAL_SYSCALL_NCS): Remove define.
31929 (internal_syscall1): Add define.
31931 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31933 * math/w_remainder_compat.c: Remove duplicate inclusion of
31934 math-svid-compat.h.
31935 * math/w_remainderf_compat.c: Likewise.
31936 * math/w_remainderl_compat.c: Likewise.
31938 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31942 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31945 * math/tgmath.h (__floating_type): Simplify definitions.
31946 (__real_integer_type): New macro.
31947 (__complex_integer_type): Likewise.
31948 (__expr_is_real): Likewise.
31949 (__tgmath_real_type_sub): Update comment to describe handling of
31951 (__tgmath_complex_type_sub): New macro.
31952 (__tgmath_complex_type): Likewise.
31953 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31954 (__TGMATH_CF128): Use __expr_is_real.
31955 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31957 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31958 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31959 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31962 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31964 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31966 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31968 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31971 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31972 nanosleep_not_cancel with __nanosleep_nocancel.
31973 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31974 (__nanosleep_nocancel): New macro.
31975 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31977 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31979 (__nanosleep_nocancel): New prototype.
31981 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31982 pause_not_cancel with __pause_nocancel.
31983 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31984 (__pause_nocancel): New macro.
31985 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31987 (__pause_nocancel): New prototype.
31988 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31990 2017-08-22 Martin Sebor <msebor@redhat.com>
31992 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31993 to return a pointer to the same type as the target function.
31995 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31999 * include/printf.h (__printf_fphex): Add attribute_hidden.
32000 (__guess_grouping): New prototype.
32001 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32002 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32003 libc_hidden_proto and libc_hidden_def.
32004 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32005 (__vstrfmon_l): Remove the third argument passed to
32008 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32010 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32011 definition for issignaling that does not rely on __MATH_TG,
32012 since __MATH_TG uses __builtin_types_compatible_p, which is only
32013 available in C mode.
32014 (CFLAGS-test-math-issignaling.cc): New variable.
32015 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32016 * math/test-math-issignaling.cc: New test for C++ implementation
32017 of type-generic issignaling.
32018 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32019 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32020 options of test-math-issignaling on powerpc64le.
32022 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32024 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32026 (hidden_proto): Likewise.
32027 (hidden_tls_proto): Likewise.
32028 (__hidden_proto): Likewise.
32030 2017-08-22 Florian Weimer <fweimer@redhat.com>
32032 math: Statically link tests of internal functionality.
32033 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32035 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32036 (gmp-objs): Remove assignment.
32037 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32039 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32042 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32044 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32046 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32049 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32050 variable definitions above inclusion of ../Rules.
32052 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32054 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32055 case calling __builtin_unreachable.
32057 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32059 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32060 __waitpid_nocancel.
32061 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32062 (__waitpid_nocancel): New macro.
32063 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32065 (__waitpid_nocancel): Replace macro with a function.
32066 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32069 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32071 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32072 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32074 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32075 __writev_nocancel_nostatus.
32076 (write_call_graph): Likewise.
32077 (write_bb_counts): Likewise.
32078 * resolv/herror.c (herror): Likewise.
32079 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32081 (__writev_nocancel_nostatus): New macro.
32082 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32084 (__writev_nocancel_nostatus): New function.
32086 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32089 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32091 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32093 (hidden_proto): Likewise.
32094 (hidden_tls_proto): Likewise.
32095 (__hidden_proto): Likewise.
32098 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32099 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32108 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32109 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32110 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32111 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32112 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32113 GLIBC_2.0 sqrtl symbol.
32115 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32116 [__USE_MISC] (_LIB_VERSION): Likewise.
32117 [__USE_MISC] (struct exception): Likewise.
32118 [__USE_MISC] (matherr): Likewise.
32119 [__USE_MISC] (DOMAIN): Likewise.
32120 [__USE_MISC] (SING): Likewise.
32121 [__USE_MISC] (OVERFLOW): Likewise.
32122 [__USE_MISC] (UNDERFLOW): Likewise.
32123 [__USE_MISC] (TLOSS): Likewise.
32124 [__USE_MISC] (PLOSS): Likewise.
32125 [__USE_MISC] (HUGE): Likewise.
32126 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32127 * math/math-svid-compat.h: New file.
32128 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32130 * include/math.h [!_ISOMAC] (__matherr): Remove.
32131 * manual/arith.texi (FP Exceptions): Do not document matherr.
32132 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32133 (tests-internal): New variable.
32134 (install-lib): Do not add libieee.a.
32135 (non-lib.a): Likewise.
32136 (extra-objs): Do not add libieee.a and ieee-math.o.
32137 (CPPFLAGS-s_lib_version.c): Remove variable.
32138 ($(objpfx)libieee.a): Remove rule.
32139 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32140 * math/ieee-math.c: Remove.
32141 * math/libm-test-support.c (matherr): Remove.
32142 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32143 and license notices. Include <math-svid-compat.h> and
32145 (matherr): Undefine as macro. Use compat_symbol_reference.
32146 (_LIB_VERSION): Likewise.
32147 * math/test-matherr-2.c: New file.
32148 * math/test-matherr-3.c: Likewise.
32149 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32151 (__kernel_standard_f): Likewise.
32152 (__kernel_standard_l): Likewise.
32153 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32154 <math_private.h>. Include <math-svid-compat.h>.
32155 (_LIB_VERSION): Undefine as macro.
32156 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32157 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32158 [LIBM_SVID_COMPAT], use compat_symbol.
32159 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32160 <math_private.h>. Include <math-svid-compat.h>.
32161 (matherr): Undefine as macro.
32162 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32164 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32165 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32166 compat_symbol_reference.
32167 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32168 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32169 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32170 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32171 (MATHERR_D): Remove declaration.
32172 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32173 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32174 [LIBM_BUILD] (pmatherrf): Likewise.
32175 [LIBM_BUILD] (pmatherr): Likewise.
32176 [LIBM_BUILD] (pmatherrl): Likewise.
32177 (DOMAIN): Likewise.
32179 (OVERFLOW): Likewise.
32180 (UNDERFLOW): Likewise.
32183 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32184 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32186 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32187 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32189 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32190 * math/w_acos_compat.c: Likewise.
32191 * math/w_acosf_compat.c: Likewise.
32192 * math/w_acosh_compat.c: Likewise.
32193 * math/w_acoshf_compat.c: Likewise.
32194 * math/w_acoshl_compat.c: Likewise.
32195 * math/w_acosl_compat.c: Likewise.
32196 * math/w_asin_compat.c: Likewise.
32197 * math/w_asinf_compat.c: Likewise.
32198 * math/w_asinl_compat.c: Likewise.
32199 * math/w_atan2_compat.c: Likewise.
32200 * math/w_atan2f_compat.c: Likewise.
32201 * math/w_atan2l_compat.c: Likewise.
32202 * math/w_atanh_compat.c: Likewise.
32203 * math/w_atanhf_compat.c: Likewise.
32204 * math/w_atanhl_compat.c: Likewise.
32205 * math/w_cosh_compat.c: Likewise.
32206 * math/w_coshf_compat.c: Likewise.
32207 * math/w_coshl_compat.c: Likewise.
32208 * math/w_exp10_compat.c: Likewise.
32209 * math/w_exp10f_compat.c: Likewise.
32210 * math/w_exp10l_compat.c: Likewise.
32211 * math/w_exp2_compat.c: Likewise.
32212 * math/w_exp2f_compat.c: Likewise.
32213 * math/w_exp2l_compat.c: Likewise.
32214 * math/w_fmod_compat.c: Likewise.
32215 * math/w_fmodf_compat.c: Likewise.
32216 * math/w_fmodl_compat.c: Likewise.
32217 * math/w_hypot_compat.c: Likewise.
32218 * math/w_hypotf_compat.c: Likewise.
32219 * math/w_hypotl_compat.c: Likewise.
32220 * math/w_j0_compat.c: Likewise.
32221 * math/w_j0f_compat.c: Likewise.
32222 * math/w_j0l_compat.c: Likewise.
32223 * math/w_j1_compat.c: Likewise.
32224 * math/w_j1f_compat.c: Likewise.
32225 * math/w_j1l_compat.c: Likewise.
32226 * math/w_jn_compat.c: Likewise.
32227 * math/w_jnf_compat.c: Likewise.
32228 * math/w_jnl_compat.c: Likewise.
32229 * math/w_lgamma_main.c: Likewise.
32230 * math/w_lgamma_r_compat.c: Likewise.
32231 * math/w_lgammaf_main.c: Likewise.
32232 * math/w_lgammaf_r_compat.c: Likewise.
32233 * math/w_lgammal_main.c: Likewise.
32234 * math/w_lgammal_r_compat.c: Likewise.
32235 * math/w_log10_compat.c: Likewise.
32236 * math/w_log10f_compat.c: Likewise.
32237 * math/w_log10l_compat.c: Likewise.
32238 * math/w_log2_compat.c: Likewise.
32239 * math/w_log2f_compat.c: Likewise.
32240 * math/w_log2l_compat.c: Likewise.
32241 * math/w_log_compat.c: Likewise.
32242 * math/w_logf_compat.c: Likewise.
32243 * math/w_logl_compat.c: Likewise.
32244 * math/w_pow_compat.c: Likewise.
32245 * math/w_powf_compat.c: Likewise.
32246 * math/w_powl_compat.c: Likewise.
32247 * math/w_remainder_compat.c: Likewise.
32248 * math/w_remainderf_compat.c: Likewise.
32249 * math/w_remainderl_compat.c: Likewise.
32250 * math/w_scalb_compat.c: Likewise.
32251 * math/w_scalbf_compat.c: Likewise.
32252 * math/w_scalbl_compat.c: Likewise.
32253 * math/w_sinh_compat.c: Likewise.
32254 * math/w_sinhf_compat.c: Likewise.
32255 * math/w_sinhl_compat.c: Likewise.
32256 * math/w_sqrt_compat.c: Likewise.
32257 * math/w_sqrtf_compat.c: Likewise.
32258 * math/w_sqrtl_compat.c: Likewise.
32259 * math/w_tgamma_compat.c: Likewise.
32260 * math/w_tgammaf_compat.c: Likewise.
32261 * math/w_tgammal_compat.c: Likewise.
32262 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32263 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32264 * sysdeps/ieee754/k_standard.c: Likewise.
32265 * sysdeps/ieee754/k_standardf.c: Likewise.
32266 * sysdeps/ieee754/k_standardl.c: Likewise.
32267 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32268 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32269 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32270 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32271 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32272 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32273 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32274 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32275 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32280 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32281 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32282 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32283 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32285 2017-08-21 Florian Weimer <fweimer@redhat.com>
32288 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32289 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32290 Move before inclusion of ../Rules.
32292 2017-08-21 Florian Weimer <fweimer@redhat.com>
32295 * assert/assert.h (assert): Use static_cast (bool) for C++.
32296 Use the ternary operator in the warning branch for GNU C.
32297 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32298 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32299 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32300 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32301 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32303 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32306 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32307 (__syscall_clock_gettime): Add attribute_hidden.
32308 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32309 (__start_context): Likewise.
32311 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32313 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32315 (hidden_proto): Likewise.
32316 (hidden_tls_proto): Likewise.
32317 (__hidden_proto): Likewise.
32319 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32321 * include/libc-symbols.h (attribute_hidden): Enable hidden
32322 visibility in libc.a compiled with PIE.
32324 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32327 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32328 Add attribute_hidden.
32330 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32333 * Makerules (all-nonlib): Add $(others-extras).
32334 * catgets/Makefile (others-extras): New.
32335 * elf/Makefile (others-extras): Likewise.
32336 * nss/Makefile (others-extras): Likewise.
32338 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32341 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32342 * elf/dl-open.c: Include <libc-internal.h>.
32343 (__libc_multiple_libcs): Removed.
32344 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32346 * include/libc-internal.h (__libc_multiple_libcs): New.
32347 * misc/sbrk.c: Include <libc-internal.h>.
32348 (__libc_multiple_libcs): Removed.
32350 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32353 * grp/initgroups.c (__nss_group_database): Removed.
32354 (__nss_initgroups_database): Likewise.
32355 * nscd/gai.c (__nss_hosts_database): Likewise.
32356 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32357 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32358 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32359 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32360 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32361 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32363 * nss/nsswitch.c (__nss_database_custom): Define only if
32364 USE_NSCD is defined.
32365 (__nss_configure_lookup): Use __nss_database_custom only if
32366 USE_NSCD is defined.
32367 * nss/nsswitch.h (__nss_database_custom): Declare only if
32368 USE_NSCD is defined. Add attribute_hidden.
32369 (__nss_setent): Add attribute_hidden.
32370 (__nss_endent): Likewise.
32371 (__nss_getent_r): Likewise.
32372 (__nss_getent): Likewise.
32373 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32375 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32378 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32379 libc_hidden_proto and libc_hidden_def.
32381 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32384 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32385 Add libc_hidden_proto.
32386 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32387 Add libc_hidden_def.
32389 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32392 * gmon/Makefile (routines): Remove bb_init_func and
32394 (elide-routines.os): Removed.
32395 * gmon/bb_exit_func.c: Likewise.
32396 * gmon/bb_init_func.c: Likewise.
32397 * include/sys/gmon.h (__bb): Likewise.
32398 (__bb_init_func): Likewise.
32399 (__bb_exit_func): Likewise.
32400 * sysdeps/alpha/bb_init_func.S: Likewise.
32402 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32404 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32405 * include/setjmp.h (____longjmp_chk): Here. Add
32408 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32411 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32413 (__strspn_sse2): Likewise.
32415 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32417 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32418 (close_not_cancel_no_status): Likewise.
32419 (__close_nocancel): New macro.
32420 (__close_nocancel_nostatus): Likewise.
32421 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32423 (close_not_cancel): Likewise.
32424 (close_not_cancel_no_status): Likewise.
32425 (__close_nocancel): New prototype.
32426 (__close_nocancel_nostatus): New function.
32427 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32428 * catgets/open_catalog.c (__open_catalog): Replace
32429 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32430 * gmon/gmon.c (write_gmon): Likewise.
32431 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32432 * intl/loadmsgcat.c (close): Likewise.
32433 * io/ftw.c (open_dir_stream): Likewise.
32434 (ftw_startup): Likewise.
32435 * libio/fileops.c (_IO_file_open): Likewise.
32436 (_IO_file_close_mmap): Likewise.
32437 (_IO_file_close): Likewise.
32438 * libio/iopopen.c (_IO_dup2): Likewise.
32439 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32440 * locale/loadlocale.c (_nl_load_locale): Likewise.
32441 * login/utmp_file.c (pututline_file): Likewise.
32442 (endutent_file): Likewise.
32443 * misc/daemon.c (daemon): Likewise.
32444 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32445 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32446 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32447 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32449 * nscd/nscd_helper.c (open_socket): Likewise.
32450 (__nscd_open_socket): Likewise.
32451 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32452 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32453 (__nscd_innetgr): Likewise.
32454 * nss/nss_db/db-open.c (internal_setent): Likewise.
32455 * resolv/res-close.c (__res_iclose): Likewise.
32456 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32457 * sysdeps/posix/closedir.c (__closedir): Likewise.
32458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32459 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32460 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32461 (opendir_tail): Likewise.
32462 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32463 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32464 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32465 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32466 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32467 (gethostid): Likewise.
32468 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32469 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32472 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32473 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32474 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32476 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32477 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32478 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32480 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32481 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32483 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32485 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32486 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32487 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32490 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32491 (openat_not_cancel_3): Likewise.
32492 (openat64_not_cancel_3): Likewise).
32493 (openat_not_cancel_3): Likewise).
32494 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32496 (openat_not_cancel_3): Likewise.
32497 (openat64_not_cancel): Likewise.
32498 (openat64_not_cancel_3): Likewise.
32499 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32500 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32501 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32502 __open{64}_nocancel.
32503 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32504 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32505 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32507 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32510 * include/argz.h (__argz_create_sep): New function prototype.
32511 (__argz_append): Likewise.
32512 (__argz_add): Likewise.
32513 (__argz_add_sep): Likewise.
32514 (__argz_delete): Likewise.
32515 (__argz_insert): Likewise.
32516 (__argz_replace): Likewise.
32517 * string/argz.h (__argz_create_sep): Removed.
32518 (__argz_append): Likewise.
32519 (__argz_add): Likewise.
32520 (__argz_add_sep): Likewise.
32521 (__argz_delete): Likewise.
32522 (__argz_insert): Likewise.
32523 (__argz_replace): Likewise.
32525 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32527 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32528 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32529 (GNU_PROPERTY_STACK_SIZE): Likewie.
32530 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32531 (GNU_PROPERTY_LOPROC): Likewise.
32532 (GNU_PROPERTY_HIPROC): Likewise.
32533 (GNU_PROPERTY_LOUSER): Likewise.
32534 (GNU_PROPERTY_HIUSER): Likewise.
32535 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32536 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32537 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32538 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32539 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32540 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32541 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32542 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32543 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32544 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32545 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32546 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32547 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32548 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32549 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32550 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32551 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32552 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32553 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32554 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32555 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32556 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32557 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32559 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32561 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32564 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32567 * math/math.h (isinf): Check if in C or C++ mode before using
32568 __builtin_types_compatible_p, since this is a C mode feature.
32570 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32572 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32573 (__write_nocancel): New macro.
32574 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32575 Rewrite as a function prototype.
32576 (write_not_cancel): Remove macro.
32577 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32578 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32579 (write_gmon): Likewise.
32580 * libio/fileops.c (_IO_new_file_write): Likewise.
32581 * login/utmp_file.c (pututline_file): Likewise.
32582 (updwtmp_file): Likewise.
32583 * stdio-common/psiginfo.c (psiginfo): Likewise.
32584 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32585 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32586 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32588 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32591 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32592 (__read_nocancel): New macro.
32593 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32595 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32597 (__read_nocancel): New prototype.
32598 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32599 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32600 with __read_nocancel.
32601 * intl/loadmsgcat.c (read): Likewise.
32602 * libio/fileops.c (_IO_file_read): Likewise.
32603 * locale/loadlocale.c (_nl_load_locale): Likewise.
32604 * login/utmp_file.c (getutent_r_file): Likewise.
32605 (internal_getut_r): Likewise.
32606 (getutline_r_file): Likewise.
32607 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32608 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32609 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32610 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32612 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32613 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32614 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32616 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32618 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32620 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32622 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32624 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32627 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32628 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32631 2017-08-17 DJ Delorie <dj@redhat.com>
32633 * bug17079.c: Update to new test harness.
32634 * test-digits-dots.c: Likewise.
32635 * test-netdb.c: Likewise.
32636 * tst-field.c: Likewise.
32637 * tst-nss-getpwent.c: Likewise.
32638 * tst-nss-static.c: Likewise.
32639 * tst-nss-test1.c: Likewise.
32640 * tst-nss-test2.c: Likewise.
32641 * tst-nss-test3.c: Likewise.
32642 * tst-nss-test4.c: Likewise.
32643 * tst-nss-test5.c: Likewise.
32645 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32647 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32648 (open_not_cancel_2): Likewise.
32649 (open_nocancel): New macro.
32650 (open64_nocancel): Likewise.
32651 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32652 (open_not_cancel_2): Likewise.
32653 (__open_nocancel): New prototype.
32654 (__open64_nocancel): Likewise.
32655 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32657 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32658 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32659 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32660 with __open_nocancel.
32661 * csu/check_fds.c (check_one_fd): Likewise.
32662 * gmon/gmon.c (write_gmon): Likewise.
32663 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32664 * intl/loadmsgcat.c (open): Likewise.
32665 * libio/fileops.c (_IO_file_open): Likewise.
32666 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32667 * locale/loadlocale.c (_nl_load_locale): Likewise.
32668 * login/utmp_file.c (setutent_file): Likewise.
32669 * misc/daemon.c (daemon): Likewise.
32670 * nss/nss_db/db-open.c (internal_setent): Likewise.
32671 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32672 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32673 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32674 (__opendir): Likewise.
32675 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32676 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32677 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32678 (gethostid): Likewise.
32679 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32683 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32684 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32685 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32687 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32689 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32691 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32693 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32695 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32697 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32698 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32700 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32702 * benchtests/bench-skeleton.c (main): Add support for
32703 latency benchmarking.
32704 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32706 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32708 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32709 the startup object.
32711 2017-08-17 Florian Weimer <fweimer@redhat.com>
32713 * include/sys/socket.h (__opensock): Remove internal_function.
32714 * socket/opensock.c (__opensock): Likewise.
32715 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32717 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32720 * signal/bits/types/__sigval_t.h: New file.
32721 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32722 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32723 and define sigval_t using __sigval_t.
32724 * include/bits/types/__sigval_t.h: New file.
32725 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32726 instead of <bits/types/__sigval_t.h>.
32727 (struct sigevent): Use __sigval_t instead of sigval_t.
32728 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32729 instead of <bits/types/__sigval_t.h>.
32730 (siginfo_t): Use __sigval_t instead of sigval_t.
32731 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32732 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32733 (struct sigevent): Use __sigval_t instead of sigval_t.
32734 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32735 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32736 (siginfo_t): Use __sigval_t instead of sigval_t.
32737 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32739 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32741 * NEWS: Remove "[Add new features here]" for 2.27.
32743 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32745 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32748 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32750 * NEWS: Mention x86-64 FMA optimization.
32752 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32755 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32757 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32758 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32759 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32761 2017-08-16 Andreas Schwab <schwab@suse.de>
32765 * elf/ldd.bash.in: Never run file directly.
32767 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32770 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32771 (L(SP_INF_0)): Likewise.
32773 2017-08-15 Florian Weimer <fweimer@redhat.com>
32775 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32778 2017-08-15 Florian Weimer <fweimer@redhat.com>
32780 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32781 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32782 BROKEN_THREAD_SIGNALS code.
32783 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32784 request_list): Remove caller_pid member used for
32785 BROKEN_THREAD_SIGNALS.
32786 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32787 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32788 Remove BROKEN_THREAD_SIGNALS support.
32789 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32790 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32792 2017-08-15 Florian Weimer <fweimer@redhat.com>
32794 * gmon/Makefile (tests): Add tst-gmon.
32795 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32797 (tests-special): Add tst-gmon-prof.out.
32798 (tst-gmon.out): Depend on clean-tst-gmon-data.
32799 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32800 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32801 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32803 * aclocal.m4 (GPROF): Set and substitute.
32804 * config.amke.in (GPROF): Set.
32805 * configure: Regenerate.
32807 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32809 * elf/elf.h A (NT_PPC_TAR): New macro.
32810 (NT_PPC_PPR): Likewise.
32811 (NT_PPC_DSCR): Likewise.
32812 (NT_PPC_EBB): Likewise.
32813 (NT_PPC_PMU): Likewise.
32814 (NT_PPC_TM_CGPR): Likewise.
32815 (NT_PPC_TM_CFPR): Likewise.
32816 (NT_PPC_TM_CVMX): Likewise.
32817 (NT_PPC_TM_CVSX): Likewise.
32818 (NT_PPC_TM_SPR): Likewise.
32819 (NT_PPC_TM_CTAR): Likewise.
32820 (NT_PPC_TM_CPPR): Likewise.
32821 (NT_PPC_TM_CDSCR): Likewise.
32823 2017-08-15 Florian Weimer <fweimer@redhat.com>
32825 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32826 regparm (2) instead of internal_function.
32827 (_MCOUNT_DECL): Adjust.
32829 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32831 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32832 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32834 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32836 * conform/data/sys/wait.h-data (si_value): Do not expect for
32839 2017-08-14 Florian Weimer <fweimer@redhat.com>
32842 NSS: Create stubs for accidentally exported lookup functions.
32843 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32844 Remove declaration.
32845 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32846 (ether_hostton): Call __nss_ethers_lookup2 instead.
32847 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32848 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32849 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32850 (setup): Call __nss_netgroup_lookup2 instead.
32851 * nss/Makefile (routines): Add compat-lookup.
32852 * nss/Versions (GLIBC_2.27): Add symbol version.
32853 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32854 (DB_COMPAT_FCT): Remove.
32855 * nss/compat-lookup.c: New file.
32856 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32857 from databases.def.
32858 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32859 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32860 (netname2user): Call __nss_publickey_lookup2 instead.
32861 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32862 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32865 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32866 Sergei Trofimovich <slyfox@inbox.ru>
32869 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32870 Rename to MMAP2_PAGE_UNIT.
32871 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32872 __OFF_T_MATCHES_OFF64_T is not defined.
32873 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32875 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32876 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32878 2017-08-14 Florian Weimer <fweimer@redhat.com>
32880 i386: Do not set internal_function.
32881 * config.h.in (USE_REGPARMS, internal_function): Remove.
32882 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32883 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32885 2017-08-14 Florian Weimer <fweimer@redhat.com>
32887 * elf/dl-init.c (_dl_init): Remove internal_function.
32888 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32889 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32891 2017-08-14 Florian Weimer <fweimer@redhat.com>
32893 * elf/rtld.c (_dl_start): Remove internal_function.
32894 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32897 2017-08-14 Florian Weimer <fweimer@redhat.com>
32899 * elf/dl-fini.c (_dl_fini): Remove internal_function
32900 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32902 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32904 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32905 (bit_cpu_SHSTK): Likewise.
32906 (index_cpu_IBT): Likewise.
32907 (index_cpu_SHSTK): Likewise.
32908 (reg_IBT): Likewise.
32909 (reg_SHSTK): Likewise.
32910 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32911 Handle index_cpu_IBT and index_cpu_SHSTK.
32913 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32916 * po/fr.po: Fix spelling mistake.
32918 2017-08-13 Florian Weimer <fweimer@redhat.com>
32920 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32921 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32922 (_dl_catch_error, _dl_receive_error): Likewise.
32923 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32924 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32925 (_dl_deallocate_tls): Likewise.
32926 * include/dlfcn.h (_dl_addr): Likewise.
32927 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32928 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32929 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32932 2017-08-13 Florian Weimer <fweimer@redhat.com>
32934 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32935 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32937 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32939 2017-08-13 Florian Weimer <fweimer@redhat.com>
32941 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32943 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32944 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32945 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32946 internal_function from _dl_make_stack_executable_hook member.
32947 (_dl_make_stack_executable): Remove internal_function.
32948 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32950 * sysdeps/unix/sysv/linux/dl-execstack.c
32951 (_dl_make_stack_executable): Likewise.
32953 2017-08-13 Florian Weimer <fweimer@redhat.com>
32955 * sysdeps/unix/sysv/linux/netlinkaccess.h
32956 (__netlink_assert_response): Remove internal_function.
32957 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32958 (__netlink_assert_response): Likewise.
32960 2017-08-13 Florian Weimer <fweimer@redhat.com>
32962 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32964 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32966 2017-08-13 Florian Weimer <fweimer@redhat.com>
32968 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32970 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32971 * inet/netgroup.h (__internal_setnetgrent)
32972 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32973 * inet/getnetgrent_r.c (__internal_setnetgrent)
32974 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32975 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32976 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32977 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32978 * nss/nsswitch.h (db_lookup_function): Likewise.
32980 2017-08-13 Florian Weimer <fweimer@redhat.com>
32982 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32983 Remove internal_function.
32984 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32985 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32986 message argument on the stack.
32987 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32990 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32992 Adapt test case data to the changes in the thousands
32996 * localedata/tst-langinfo.sh: Adapt test case data.
32997 * stdlib/tst-strfmon_l.c: Likewise.
32998 * stdlib/tst-strtod4.c: Likewise.
32999 * stdlib/tst-strtod5i.c: Likewise.
33001 2017-08-11 Florian Weimer <fweimer@redhat.com>
33004 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33005 Suppress pedantic warning resulting from statement expression.
33006 (__ASSERT_FUNCTION): Add missing __extension__.
33008 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33010 * benchtests/bench-memmove-large.c: Print output in JSON
33012 * benchtests/bench-memmove.c: Likewise.
33014 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33015 * benchtests/bench-memchr.c (do_one_test): Likewise.
33016 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33017 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33018 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33019 * benchtests/bench-memmove.c (do_one_test): Likewise.
33020 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33021 * benchtests/bench-memset.c (do_one_test): Likewise.
33022 * benchtests/bench-string.h (test_init): Remove memsets.
33024 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33027 (Computing the Width of an Integer Data Type): Rename section to
33028 "Width of an Integer Type". Remove inaccurate statement regarding
33029 lack of C language facilities for determining width of integer
33030 types, and reorder content to improve flow and context of
33033 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33035 * lang.texi (va_copy): Change standard from ISO to C99.
33036 (__va_copy): Add standard and header annotation.
33037 Update description for clarity of origins and current use.
33039 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33042 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33043 xssqrtqp requires operands to be in Vector Registers
33044 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33045 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33046 (__ieee754_sqrtf128): Likewise.
33048 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33050 * sysdeps/aarch64/memcmp.S (memcmp):
33051 Rewrite of optimized memcmp.
33053 2017-08-10 Florian Weimer <fweimer@redhat.com>
33055 Introduce ld.so exceptions.
33056 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33057 (_dl_exception_create, _dl_exception_create_format)
33058 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33059 (_dl_catch_exception): Declare.
33060 (_dl_catch_error): Update comment.
33061 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33062 errstring, malloced members with exception member.
33063 (_dl_out_of_memory): Remove.
33064 (fatal_error): New function, extracted from _dl_signal_error.
33065 (_dl_signal_exception, _dl_signal_cexception): New functions.
33066 (_dl_signal_error): Call _dl_exception_create to allocate an
33068 (_dl_catch_exception): New function, based on _dl_catch_error.
33069 (_dl_catch_error): Implement using _dl_catch_exception.
33070 * elf/dl-exception.c: New file.
33071 * elf/Makefile (dl-routines): Add dl-exception.
33072 (elide-routines.os): Likewise.
33073 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33074 _dl_exception_create_format, _dl_exception_free.
33075 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33076 _dl_signal_exception.
33077 * elf/dl-lookup.c (make_string): Remove.
33078 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33079 _dl_signal_cexception, _dl_exception_free.
33080 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33081 _dl_signal_exception.
33082 * elf/dl-sym.c (do_sym): Likewise.
33083 * elf/dl-version.c (make_string): Remove.
33084 (match_symbol): Use _dl_exception_create_format,
33085 _dl_signal_cexception, _dl_exception_free.
33086 (_dl_check_map_versions): Likewise.
33087 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33088 _dl_catch_exception.
33089 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33090 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33091 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33092 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33093 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33094 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33095 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33096 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33098 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33105 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33106 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33107 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33109 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33111 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33113 2017-08-10 Florian Weimer <fweimer@redhat.com>
33115 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33116 attribute_hidden, internal_function.
33117 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33120 2017-08-10 Florian Weimer <fweimer@redhat.com>
33122 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33123 function which calls __builtin_unreachable.
33125 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33127 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33128 Indian monetary formatting
33129 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33132 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33134 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33135 Fix typo in comment.
33138 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33139 PTRACE_SEIZE_DEVEL): Remove.
33140 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33141 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33142 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33144 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33146 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33148 * posix/bits/types.h (__qaddr_t): Remove.
33151 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33152 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33154 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33155 (ucontext_t): Use __ctx with uc_flags.
33156 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33157 (__ctxt): Likewise.
33158 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33160 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33161 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33163 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33164 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33166 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33168 (ucontext_t): Use __ctx with uc_flags.
33169 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33170 (ucontext_t): Use __ctx with uc_flags.
33171 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33172 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33173 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33174 (ucontext_t): Use __ctx with uc_flags.
33175 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33176 undefine further down.
33177 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33179 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33180 undefine further down.
33181 (ucontext_t): Use __ctx with uc_flags.
33182 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33183 undefine further down.
33184 (ucontext_t): Use __ctx with uc_flags.
33185 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33186 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33187 Rename uc_pad to __glibc_reserved1.
33188 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33189 undefine further down.
33190 (ucontext_t): Use __ctx with uc_flags.
33191 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33193 (ucontext_t): Use __ctx with uc_flags.
33194 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33195 __ctx with uc_flags.
33196 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33197 (ucontext_t): Use __ctx with uc_flags.
33198 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33199 __ctx with uc_flags.
33201 2017-08-09 Florian Weimer <fweimer@redhat.com>
33204 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33205 before early return.
33207 2017-08-09 Andreas Schwab <schwab@suse.de>
33210 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33214 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33215 tst-compat-forwarder.
33216 (modules-names): Add tst-compat-forwarder-mod.
33217 ($(objpfx)tst-compat-forwarder): Depend on
33218 $(objpfx)tst-compat-forwarder-mod.so.
33219 * nptl/tst-compat-forwarder.c: New file.
33220 * nptl/tst-compat-forwarder-mod.c: New file.
33222 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33224 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33227 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33228 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33230 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33232 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33233 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33234 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33235 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33237 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33240 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33243 * manual/setjmp.texi (getcontex): Document uc_stack value
33244 compatibility differences.
33246 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33248 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33249 (old_malloc_hook): Likewise.
33250 (old_memalign_hook): Likewise.
33251 (old_realloc_hook): Likewise.
33252 (struct hdr): Likewise.
33254 (freehook): Likewise.
33255 (mallochook): Likewise.
33256 (memalignhook): Likewise.
33257 (reallochook): Likewise.
33258 (mprobe): Likewise.
33259 * malloc/mtrace.c (mallwatch): Likewise.
33260 (tr_old_free_hook): Likewise.
33261 (tr_old_malloc_hook): Likewise.
33262 (tr_old_realloc_hook): Likewise.
33263 (tr_old_memalign_hook): Likewise.
33264 (tr_where): Likewise.
33265 (lock_and_info): Likewise.
33266 (tr_freehook): Likewise.
33267 (tr_mallochook): Likewise.
33268 (tr_reallochook): Likewise.
33269 (tr_memalignhook): Likewise.
33270 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33271 * misc/mmap.c (__mmap): Likewise.
33272 * misc/mmap64.c (__mmap64): Likewise.
33273 * misc/mprotect.c (__mprotect): Likewise.
33274 * misc/msync.c (msync): Likewise.
33275 * misc/munmap.c (__munmap): Likewise.
33276 * posix/posix_madvise.c (posix_madvise): Likewise.
33277 * socket/send.c (__send): Likewise.
33278 * socket/sendto.c (__sendto): Likewise.
33279 * socket/setsockopt.c (__setsockopt): Likewise.
33280 * string/memcmp.c (__ptr_t): Remove macro.
33281 (MEMCMP): Use void * instead of ptr_t.
33282 * string/memrchr.c (__ptr_t): Remove macro.
33283 (__memrchr): Use void * instead of ptr_t.
33284 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33285 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33286 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33287 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33288 * sysdeps/mach/msync.c (msync): Likewise.
33289 * sysdeps/mach/munmap.c (__munmap): Likewise.
33290 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33292 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33293 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33294 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33295 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33296 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33297 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33298 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33299 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33301 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33302 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33303 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33304 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33305 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33306 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33307 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33308 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33311 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33312 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33313 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33314 (MEMCMP): Use void * instead of ptr_t.
33315 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33316 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33318 2017-08-08 Florian Weimer <fweimer@redhat.com>
33320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33323 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33326 * csu/libc-tls.c: Include <startup.h> first.
33327 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33328 * elf/dl-tunables.c: Include <startup.h> first.
33329 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33330 * sysdeps/generic/startup.h: New file.
33331 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33332 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33333 (I386_USE_SYSENTER): New. Defined to 0.
33335 2017-08-08 Andreas Schwab <schwab@suse.de>
33338 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33339 * nptl/pt-system.c (system): Likewise.
33341 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33344 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33346 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33347 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33348 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33349 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33350 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33351 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33352 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33354 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33357 * bits/sigaction.h (struct sigaction): Define sa_handler and
33358 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33359 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33360 [__USE_XOPEN_EXTENDED].
33361 (SA_RESTART): Likewise.
33362 (SA_NODEFER): Likewise.
33363 (SA_RESETHAND): Likewise.
33364 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33365 (struct sigaction): Define sa_handler and sa_sigaction using union
33366 also for [__USE_XOPEN_EXTENDED].
33367 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33368 [__USE_XOPEN_EXTENDED].
33369 (SA_RESTART): Likewise.
33370 (SA_NODEFER): Likewise.
33371 (SA_RESETHAND): Likewise.
33372 * sysdeps/unix/sysv/linux/bits/sigaction.h
33373 (struct sigaction): Define sa_handler and sa_sigaction using union
33374 also for [__USE_XOPEN_EXTENDED].
33375 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33376 [__USE_XOPEN_EXTENDED].
33377 (SA_RESTART): Likewise.
33378 (SA_NODEFER): Likewise.
33379 (SA_RESETHAND): Likewise.
33380 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33381 (struct sigaction): Define sa_handler and sa_sigaction using union
33382 also for [__USE_XOPEN_EXTENDED].
33383 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33384 [__USE_XOPEN_EXTENDED].
33385 (SA_RESTART): Likewise.
33386 (SA_NODEFER): Likewise.
33387 (SA_RESETHAND): Likewise.
33388 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33389 (struct sigaction): Define sa_handler and sa_sigaction using union
33390 also for [__USE_XOPEN_EXTENDED].
33391 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33392 [__USE_XOPEN_EXTENDED].
33393 (SA_RESTART): Likewise.
33394 (SA_NODEFER): Likewise.
33395 (SA_RESETHAND): Likewise.
33396 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33397 (struct sigaction): Define sa_handler and sa_sigaction using union
33398 also for [__USE_XOPEN_EXTENDED].
33399 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33400 [__USE_XOPEN_EXTENDED].
33401 (SA_RESTART): Likewise.
33402 (SA_NODEFER): Likewise.
33403 (SA_RESETHAND): Likewise.
33404 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33405 (struct sigaction): Define sa_handler and sa_sigaction using union
33406 also for [__USE_XOPEN_EXTENDED].
33407 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33408 [__USE_XOPEN_EXTENDED].
33409 (SA_RESTART): Likewise.
33410 (SA_NODEFER): Likewise.
33411 (SA_RESETHAND): Likewise.
33412 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33413 (struct sigaction): Define sa_handler and sa_sigaction using union
33414 also for [__USE_XOPEN_EXTENDED].
33415 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33416 [__USE_XOPEN_EXTENDED].
33417 (SA_RESTART): Likewise.
33418 (SA_NODEFER): Likewise. Define directly rather than as alias.
33419 (SA_RESETHAND): Likewise.
33420 (SA_INTERRUPT): Define only for [__USE_MISC].
33421 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33422 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33424 (SA_STACK): Define only for [__USE_MISC].
33425 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33426 (struct sigaction): Define sa_handler and sa_sigaction using union
33427 also for [__USE_XOPEN_EXTENDED].
33428 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33429 [__USE_XOPEN_EXTENDED].
33430 (SA_RESTART): Likewise.
33431 (SA_NODEFER): Likewise.
33432 (SA_RESETHAND): Likewise.
33433 (SA_NOPTRACE): Define only for [__USE_MISC].
33435 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33436 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33437 (struct catalog_info): Likewise.
33438 * inet/htontest.c (lo): Likewise.
33440 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33441 * inet/inet_net.c (inet_network): Likewise.
33442 * inet/inet_netof.c (inet_netof): Likewise.
33443 * inet/rcmd.c (__ivaliduser): Likewise.
33444 (iruserok): Likewise.
33445 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33446 * locale/programs/locale-spec.c (locale_special): Likewise.
33447 * nis/nis_findserv.c (struct findserv_req): Likewise.
33448 (__nis_findfastest_with_timeout): Likewise.
33449 * nss/test-netdb.c (test_network): Likewise.
33450 * resolv/inet_neta.c (inet_neta): Likewise.
33451 * resolv/ns_date.c (ns_datetosecs): Likewise.
33452 (SECS_PER_DAY): Likewise.
33453 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33455 * resolv/res_comp.c (__putlong): Likewise.
33456 (__putshort): Likewise.
33457 (_getlong): Likewise.
33458 (_getshort): Likewise.
33459 * resolv/res_debug.c (p_time): Likewise.
33460 (precsize_ntoa): Likewise.
33461 (precsize_aton): Likewise.
33462 (latlon2ul): Likewise.
33463 (loc_aton): Likewise.
33464 (loc_ntoa): Likewise.
33465 * resolv/res_hconf.c (struct netaddr): Likewise.
33466 (_res_hconf_reorder_addrs): Likewise.
33467 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33468 (clnttcp_control): Likewise.
33469 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33470 (clntudp_control): Likewise.
33471 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33472 (clntunix_control): Likewise.
33473 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33474 * sunrpc/rpc/auth.h (union des_block): Likewise.
33475 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33476 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33477 (xdrrec_create): Likewise.
33478 (xdrrec_endofrecord): Likewise.
33479 (flush_out): Likewise.
33480 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33481 (xdrstdio_putlong): Likewise.
33482 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33485 * misc/sys/cdefs.h (__long_double_t): Remove.
33486 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33487 instead of __long_double_t,
33488 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33490 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33492 * benchtests/scripts/compare_strings.py: Avoid display error when
33493 running on a text terminal.
33495 * benchtests/scripts/compare_strings.py (main): Add an
33496 optional -base option.
33497 (process_results): New argument base_func.
33499 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33501 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33502 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33504 2017-08-07 Andreas Schwab <schwab@suse.de>
33506 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33507 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33508 * intl/Makefile ($(objpfx)tst-gettext.out)
33509 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33510 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33511 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33512 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33513 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33514 * posix/Makefile ($(objpfx)globtest.out)
33515 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33516 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33517 ($(objpfx)tst-printf.out): Likewise.
33518 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33519 ($(objpfx)tst-setcontext3.out): Likewise.
33521 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33523 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33524 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33525 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33526 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33527 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33529 (CFLAGS-doasin-fma.c): New.
33530 (CFLAGS-dosincos-fma.c): Likewise.
33531 (CFLAGS-e_asin-fma.c): Likewise.
33532 (CFLAGS-e_atan2-fma.c): Likewise.
33533 (CFLAGS-e_exp-fma.c): Likewise.
33534 (CFLAGS-e_log-fma.c): Likewise.
33535 (CFLAGS-e_pow-fma.c): Likewise.
33536 (CFLAGS-halfulp-fma.c): Likewise.
33537 (CFLAGS-mpa-fma.c): Likewise.
33538 (CFLAGS-mpatan-fma.c): Likewise.
33539 (CFLAGS-mpatan2-fma.c): Likewise.
33540 (CFLAGS-mpexp-fma.c): Likewise.
33541 (CFLAGS-mplog-fma.c): Likewise.
33542 (CFLAGS-mpsqrt-fma.c): Likewise.
33543 (CFLAGS-mptan-fma.c): Likewise.
33544 (CFLAGS-s_atan-fma.c): Likewise.
33545 (CFLAGS-sincos32-fma.c): Likewise.
33546 (CFLAGS-slowexp-fma.c): Likewise.
33547 (CFLAGS-slowpow-fma.c): Likewise.
33548 (CFLAGS-s_sin-fma.c): Likewise.
33549 (CFLAGS-s_tan-fma.c): Likewise.
33550 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33551 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33552 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33553 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33554 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33555 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33556 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33557 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33558 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33559 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33560 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33561 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33562 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33563 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33564 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33566 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33567 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33568 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33569 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33570 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33571 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33572 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33573 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33574 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33575 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33576 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33577 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33578 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33579 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33580 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33582 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33584 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33585 (min_of_type_f): New macro.
33586 (min_of_type_): Likewise.
33587 (min_of_type_l): Likewise.
33588 (min_of_type_f128): Likewise.
33589 (min_of_type): Define using __MATH_TG and taking an expression
33591 (math_check_force_underflow): Pass expression instead of type to
33593 (math_check_force_underflow_nonneg): Likewise.
33595 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33597 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33598 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33599 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33601 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33604 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33605 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33606 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33607 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33608 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33609 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33610 memmove_chk-nonshared and memset_chk-nonshared
33611 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33612 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33613 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33614 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33615 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33616 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33617 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33618 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33619 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33620 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33621 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33622 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33623 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33624 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33625 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33626 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33627 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33628 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33629 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33630 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33631 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33632 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33633 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33634 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33635 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33636 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33637 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33638 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33639 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33640 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33641 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33642 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33643 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33644 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33645 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33646 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33647 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33648 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33649 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33650 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33651 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33652 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33653 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33654 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33655 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33656 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33657 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33658 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33659 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33660 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33661 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33662 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33663 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33664 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33665 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33666 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33667 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33668 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33669 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33670 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33671 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33672 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33673 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33674 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33675 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33676 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33677 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33678 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33679 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33680 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33681 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33682 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33683 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33684 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33685 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33686 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33687 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33688 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33689 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33690 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33691 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33692 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33693 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33694 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33695 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33696 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33697 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33698 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33699 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33700 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33701 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33702 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33703 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33705 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33706 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33707 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33708 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33709 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33710 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33711 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33712 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33713 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33714 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33715 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33716 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33717 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33718 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33720 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33722 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33723 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33724 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33725 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33726 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33727 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33728 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33729 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33730 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33731 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33732 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33733 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33734 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33735 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33736 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33737 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33738 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33739 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33740 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33741 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33742 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33743 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33744 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33745 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33746 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33747 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33748 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33749 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33750 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33751 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33752 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33753 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33754 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33755 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33756 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33757 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33758 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33759 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33760 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33761 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33762 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33763 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33764 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33765 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33766 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33767 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33768 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33769 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33770 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33771 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33772 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33773 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33774 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33775 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33776 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33777 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33778 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33779 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33780 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33782 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33783 Don't include <sysdep.h> nor <init-arch.h>.
33784 (_ZGVbN2v_cos): Removed.
33785 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33787 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33788 Don't include <sysdep.h> nor <init-arch.h>.
33789 (_ZGVdN4v_cos): Removed.
33790 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33792 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33793 Don't include <sysdep.h> nor <init-arch.h>.
33794 (_ZGVeN8v_cos): Removed.
33795 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33797 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33798 Don't include <sysdep.h> nor <init-arch.h>.
33799 (_ZGVbN2v_exp): Removed.
33800 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33802 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33803 Don't include <sysdep.h> nor <init-arch.h>.
33804 (_ZGVdN4v_exp): Removed.
33805 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33807 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33808 Don't include <sysdep.h> nor <init-arch.h>.
33809 (_ZGVeN8v_exp): Removed.
33810 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33812 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33813 Don't include <sysdep.h> nor <init-arch.h>.
33814 (_ZGVbN2v_log): Removed.
33815 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33817 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33818 Don't include <sysdep.h> nor <init-arch.h>.
33819 (_ZGVdN4v_log): Removed.
33820 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33822 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33823 Don't include <sysdep.h> nor <init-arch.h>.
33824 (_ZGVeN8v_log): Removed.
33825 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33827 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33828 Don't include <sysdep.h> nor <init-arch.h>.
33829 (_ZGVbN2vv_pow): Removed.
33830 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33832 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33833 Don't include <sysdep.h> nor <init-arch.h>.
33834 (_ZGVdN4vv_pow): Removed.
33835 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33837 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33838 Don't include <sysdep.h> nor <init-arch.h>.
33839 (_ZGVeN8vv_pow): Removed.
33840 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33842 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33843 Don't include <sysdep.h> nor <init-arch.h>.
33844 (_ZGVbN2v_sin): Removed.
33845 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33847 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33848 Don't include <sysdep.h> nor <init-arch.h>.
33849 (_ZGVbN4v_sin): Removed.
33850 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33852 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33853 Don't include <sysdep.h> nor <init-arch.h>.
33854 (_ZGVbN8v_sin): Removed.
33855 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33857 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33858 Don't include <sysdep.h> nor <init-arch.h>.
33859 (_ZGVbN2vvv_sincos): Removed.
33860 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33862 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33863 Don't include <sysdep.h> nor <init-arch.h>.
33864 (_ZGVdN4vvv_sincos): Removed.
33865 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33867 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33868 Don't include <sysdep.h> nor <init-arch.h>.
33869 (_ZGVeN8vvv_sincos): Removed.
33870 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33872 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33873 Don't include <sysdep.h> nor <init-arch.h>.
33874 (_ZGVeN16v_cosf): Removed.
33875 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33877 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33878 Don't include <sysdep.h> nor <init-arch.h>.
33879 (_ZGVbN4v_cosf): Removed.
33880 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33882 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33883 Don't include <sysdep.h> nor <init-arch.h>.
33884 (_ZGVdN8v_cosf): Removed.
33885 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33887 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33888 Don't include <sysdep.h> nor <init-arch.h>.
33889 (_ZGVeN16v_expf): Removed.
33890 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33892 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33893 Don't include <sysdep.h> nor <init-arch.h>.
33894 (_ZGVbN4v_expf): Removed.
33895 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33897 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33898 Don't include <sysdep.h> nor <init-arch.h>.
33899 (_ZGVdN8v_expf): Removed.
33900 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33902 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33903 Don't include <sysdep.h> nor <init-arch.h>.
33904 (_ZGVeN16v_logf): Removed.
33905 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33907 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33908 Don't include <sysdep.h> nor <init-arch.h>.
33909 (_ZGVbN4v_logf): Removed.
33910 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33912 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33913 Don't include <sysdep.h> nor <init-arch.h>.
33914 (_ZGVdN8v_logf): Removed.
33915 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33917 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33918 Don't include <sysdep.h> nor <init-arch.h>.
33919 (_ZGVeN16vv_powf): Removed.
33920 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33922 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33923 Don't include <sysdep.h> nor <init-arch.h>.
33924 (_ZGVbN4vv_powf): Removed.
33925 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33927 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33928 Don't include <sysdep.h> nor <init-arch.h>.
33929 (_ZGVdN8vv_powf): Removed.
33930 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33932 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33933 Don't include <sysdep.h> nor <init-arch.h>.
33934 (_ZGVeN16vvv_sincosf): Removed.
33935 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33937 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33938 Don't include <sysdep.h> nor <init-arch.h>.
33939 (_ZGVbN4vvv_sincosf): Removed.
33940 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33942 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33943 Don't include <sysdep.h> nor <init-arch.h>.
33944 (_ZGVdN8vvv_sincosf): Removed.
33945 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33947 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33948 Don't include <sysdep.h> nor <init-arch.h>.
33949 (_ZGVeN16v_sinf): Removed.
33950 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33952 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33953 Don't include <sysdep.h> nor <init-arch.h>.
33954 (_ZGVbN4v_sinf): Removed.
33955 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33957 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33958 Don't include <sysdep.h> nor <init-arch.h>.
33959 (_ZGVdN8v_sinf): Removed.
33961 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33963 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33964 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33965 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33966 s_rint-sse4_1 and s_rintf-sse4_1.
33967 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33968 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33969 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33970 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33971 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33972 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33973 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33974 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33975 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33976 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33977 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33978 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33980 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33981 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33982 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33983 (__ceilf): Removed.
33984 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33985 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33986 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33987 (__floor): Removed.
33988 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33989 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33990 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33991 (__floorf): Removed.
33992 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33993 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33994 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33995 (__nearbyint): Removed.
33996 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33997 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33998 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33999 (__nearbyintf): Removed.
34000 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34001 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34002 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34004 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34005 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34006 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34007 (__rintf): Removed.
34009 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34011 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34012 SHARED. Avoid dynamic relocation against main in static PIE.
34014 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34017 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34018 (LDFLAGS-tst-prelink): Likewise.
34020 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34022 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34023 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34024 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34025 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34026 (INTERNAL_SYSCALL_NCS): Likewise.
34027 (LOADARGS_1): Likewise.
34028 (LOADARGS_5): Likewise.
34029 (RESTOREARGS_1): Likewise.
34030 (RESTOREARGS_5): Likewise.
34032 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34034 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34035 (MEMPCPY_SYMBOL): Likewise.
34036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34037 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34041 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34043 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34044 (__hidden_ver1): Don't use in libc.a.
34045 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34046 (__mempcpy): Don't create a weak alias in libc.a.
34047 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34049 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34050 (__hidden_ver1): Don't use in libc.a.
34052 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34054 * config.make.in (have-insert): New.
34055 * configure.ac (libc_cv_insert): New. Set to yes if linker
34056 supports INSERT in linker script.
34057 (AC_SUBST(libc_cv_insert): New.
34058 * configure: Regenerated.
34059 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34060 if $(have-insert) == yes.
34062 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34064 * elf/Makefile (tests): Add vismain only if
34065 $(have-protected-data) == yes.
34066 (tests-pie): Likewise.
34068 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34071 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34072 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34074 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34077 * sysdeps/i386/i586/memset.S
34078 (__memset_zero_constant_len_parameter): Removed.
34079 * sysdeps/i386/i686/memset.S
34080 (__memset_zero_constant_len_parameter): Likewise.
34081 * sysdeps/i386/i686/multiarch/memset_chk.S
34082 (__memset_zero_constant_len_parameter): Likewise.
34083 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34086 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34088 * stdlib/getentropy.c (getentropy): Change return type to int.
34090 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34092 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34094 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34096 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34098 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34099 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34101 (ieee_float_shape_type): Likewise.
34102 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34103 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34104 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34105 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34106 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34107 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34108 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34109 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34110 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34112 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34113 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34114 (__ieee754_yn): Likewise.
34115 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34116 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34117 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34119 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34120 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34121 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34122 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34123 (__erfc): Likewise.
34124 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34125 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34126 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34127 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34128 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34129 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34131 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34132 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34133 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34134 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34135 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34136 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34137 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34138 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34139 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34140 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34141 (__issignaling): Likewise.
34142 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34143 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34144 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34146 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34147 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34148 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34149 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34151 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34153 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34154 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34155 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34156 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34157 (__erfcf): Likewise.
34158 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34159 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34160 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34161 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34163 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34164 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34166 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34167 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34168 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34169 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34170 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34171 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34172 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34173 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34175 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34177 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34179 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34180 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34182 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34184 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34185 (__ieee754_ynl): Likewise.
34186 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34187 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34189 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34191 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34192 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34193 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34195 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34196 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34197 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34198 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34199 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34200 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34201 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34202 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34204 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34205 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34206 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34208 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34209 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34210 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34211 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34212 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34215 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34217 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34219 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34221 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34222 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34223 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34224 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34225 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34226 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34229 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34231 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34232 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34234 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34235 (__ieee754_remainderl): Likewise.
34236 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34237 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34238 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34239 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34241 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34242 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34244 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34245 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34246 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34247 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34248 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34249 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34251 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34252 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34253 (__ieee754_y0l): Likewise.
34256 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34257 (__ieee754_y1l): Likewise.
34260 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34261 (__ieee754_ynl): Likewise.
34262 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34263 (__ieee754_lgammal_r): Likewise.
34264 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34266 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34267 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34268 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34269 (__erfcl): Likewise.
34270 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34271 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34273 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34274 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34275 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34276 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34277 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34278 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34279 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34281 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34282 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34283 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34284 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34285 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34287 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34288 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34290 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34291 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34292 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34293 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34294 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34296 2017-08-03 Florian Weimer <fweimer@redhat.com>
34299 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34300 on memory allocation failure.
34302 2017-08-03 Alan Modra <amodra@gmail.com>
34304 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34305 tst-tlsopt-powerpc.c with function name change and no test harness.
34306 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34307 Call tls_get_addr_opt_test.
34308 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34309 (modules-names): Add mod-tlsopt-powerpc.
34310 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34311 (tst-tlsopt-powerpc): Depend on .so.
34312 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34313 define. Expand use in TLS_GD and TLS_LD.
34315 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34317 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34319 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34321 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34324 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34325 comparing size with that of double.
34326 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34327 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34328 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34329 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34330 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34331 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34332 unsigned __int128 types.
34334 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34336 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34337 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34338 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34339 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34340 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34342 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34344 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34346 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34348 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34350 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34351 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34352 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34353 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34354 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34355 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34356 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34358 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34361 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34362 bit-field expressions passed to sizeof or typeof.
34363 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34364 (__TGMATH_F128): Likewise.
34365 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34366 (__TGMATH_CF128): Likewise.
34367 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34368 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34369 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34370 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34371 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34372 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34373 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34374 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34375 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34376 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34377 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34378 (__TGMATH_UNARY_IMAG): Likewise.
34379 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34380 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34381 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34383 (define_vars_for_type): Handle bit_field type specially.
34384 (Tests.__init__): Declare structure with bit-field element.
34386 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34389 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34390 (MEMCPY_CHK): Define only if SHARED is defined.
34391 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34396 See ChangeLog.18 for earlier changes.