1 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
5 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
7 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
8 * localedata/unicode-gen/PropList.txt: Likewise.
9 * localedata/unicode-gen/UnicodeData.txt: Likewise.
10 * localedata/charmaps/UTF-8: Regenerate.
11 * localedata/locales/i18n_ctype: Likewise.
12 * localedata/locales/tr_TR: Likewise.
13 * localedata/locales/translit_circle: Likewise.
14 * localedata/locales/translit_cjk_compat: Likewise.
15 * localedata/locales/translit_combining: Likewise.
16 * localedata/locales/translit_compat: Likewise.
17 * localedata/locales/translit_font: Likewise.
18 * localedata/locales/translit_fraction: Likewise.
20 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
23 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
24 (do_set_tcache_count): Only update if count is small enough.
25 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
27 2019-05-10 Florian Weimer <fweimer@redhat.com>
29 * nptl/sem_close.c (struct walk_closure): Define.
30 (walker): Adjust for __twalk_r.
31 (sem_close): Call __twalk_r.
33 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35 * support/timespec.c (test_timespec_before_impl,
36 test_timespec_equal_or_after_impl): print timespec member as intmax_t
39 2019-05-09 Mike Crowe <mac@mcrowe.com>
41 * nptl/tst-abstime.c: Use libsupport.
43 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
44 small bug where only tv.tv_usec was checked which could cause an
45 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
48 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
51 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
52 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
54 * nptl/tst-cond11.c: Use libsupport.
56 * support/timespec.h: New file. Provide timespec helper functions
57 along with macros in the style of those in check.h.
58 * support/timespec.c: New file. Implement check functions declared
59 in support/timespec.h.
60 * support/timespec-add.c: New file from gnulib containing
61 timespec_add implementation that handles overflow.
62 * support/timespec-sub.c: New file from gnulib containing
63 timespec_sub implementation that handles overflow.
64 * support/README: Mention timespec.h.
66 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
69 * nptl/Makefile: Move tst-eintr1 to xtests.
71 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
73 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
75 (round_mode): Add definition for TRUNC.
76 * sysdeps/powerpc/fpu/s_trunc.c: New file.
77 * sysdeps/powerpc/fpu/s_truncf.c: New file.
78 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
79 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
80 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
82 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
84 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
86 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
88 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
90 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
92 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
94 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
96 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
97 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
98 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
99 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
100 s_truncf-power5+, and s_truncf-ppc64.
101 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
102 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
104 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
106 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
107 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
109 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
112 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
114 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
115 s_truncf-power5+, and s_truncf-ppc64.
116 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
118 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
119 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
121 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
122 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
123 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
124 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
125 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
127 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
129 (round_mode): Add definition for ROUND.
130 (round_to_integer_float): Likewise.
131 * sysdeps/powerpc/fpu/s_round.c: New file.
132 * sysdeps/powerpc/fpu/s_roundf.c: New file.
133 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
134 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
135 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
137 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
139 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
141 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
143 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
145 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
147 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
149 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
151 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
152 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
153 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
154 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
155 s_roundf-power5+, and s_roundf-ppc64.
156 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
157 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
159 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
161 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
162 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
164 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
167 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
169 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
170 s_roundf-power5+, and s_roundf-ppc64.
171 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
173 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
174 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
176 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
177 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
178 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
179 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
180 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
182 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
184 (round_mode): Add definition for FLOOR.
185 * sysdeps/powerpc/fpu/s_floor.c: New file.
186 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
187 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
188 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
205 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
206 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
207 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
208 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
209 s_floorf-power5+, and s_floorf-ppc64.
210 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
211 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
213 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
215 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
216 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
218 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
221 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
222 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
223 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
224 s_floorf-power5+, and s_floorf-ppc64.
225 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
233 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
234 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
235 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
236 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
238 2019-05-08 Mike Crowe <mac@mcrowe.com>
240 * support/xclock_gettime.c (xclock_gettime): New file. Provide
241 clock_gettime wrapper for use in tests that fails the test rather
242 than returning failure.
244 * support/xtime.h: New file to declare xclock_gettime.
246 * support/Makefile: Add xclock_gettime.c.
248 * support/README: Mention xtime.h.
250 2019-05-08 Florian Weimer <fweimer@redhat.com>
252 malloc/tst-mallocfork2: Use process-shared barriers.
253 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
254 (signal_count, sigusr1_sender_pid): Remove.
255 (iterations): Define constant.
256 (shared): New variable.
257 (sigusr1_received): Update comment.
258 (sigusr1_handler): Do not send SIGSTOP to the sender process.
259 (signal_sender): Optional use barriers to avoid sending signals
260 during irrelevant times.
261 (do_it): Initialize variable shared. Use xfork for error
262 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
263 the iteration count, independent of signal delivery. Check for
264 deadlocks in fork. Introduce barriers for reducing signal
265 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
266 replaced by the barriers. Count signals during fork/free/malloc
268 * malloc/Makefile (tst-mallocfork): Link with libpthread.
270 2019-05-07 Joseph Myers <joseph@codesourcery.com>
272 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
274 (clock_adjtime64) New syscall.
275 (clock_getres_time64) Likewise.
276 (clock_gettime64) Likewise.
277 (clock_nanosleep_time64) Likewise.
278 (clock_settime64) Likewise.
279 (futex_time64) Likewise.
280 (io_pgetevents_time64) Likewise.
281 (io_uring_enter) Likewise.
282 (io_uring_register) Likewise.
283 (io_uring_setup) Likewise.
284 (mq_timedreceive_time64) Likewise.
285 (mq_timedsend_time64) Likewise.
286 (pidfd_send_signal) Likewise.
287 (ppoll_time64) Likewise.
288 (pselect6_time64) Likewise.
289 (recvmmsg_time64) Likewise.
290 (rt_sigtimedwait_time64) Likewise.
291 (sched_rr_get_interval_time64) Likewise.
292 (semtimedop_time64) Likewise.
293 (timer_gettime64) Likewise.
294 (timer_settime64) Likewise.
295 (timerfd_gettime64) Likewise.
296 (timerfd_settime64) Likewise.
297 (utimensat_time64) Likewise.
299 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
302 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
304 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
305 __memmove_thunderx2 to the list of implementations
306 * sysdeps/aarch64/multiarch/memmove.c: Likewise
307 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
308 (__memmove_thunderx2): Rewritten using SIMD ld/st
309 (__memcpy_thunderx2): Fixed handling overlapping cases.
310 Used ldp/stp instead of ldr/str if possible. Made loops
313 2019-05-03 Florian Weimer <fweimer@redhat.com>
315 * misc/tst-tsearch.c (walk_tree): Add more error checking.
317 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
320 * elf/tst-pldd.c (in_str_list): New function.
321 (do_test): Add default names for ld and libc as one option.
323 2019-05-02 Florian Weimer <fweimer@redhat.com>
325 misc: Add twalk_r function.
326 * include/search.h (__twalk_r): Declare.
327 * manual/examples/twalk.c: New file.
328 * manual/search.texi (Tree Search Function): Document twalk_r.
329 * misc/Versions (2.30): Export twalk_r.
330 (GLIBC_PRIVATE): Export __twalk_r.
331 * misc/search.h [__USE_GNU] (twalk_r): Declare.
332 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
333 (twalk_r): Add weak alias.
334 * misc/tst-tsearch.c (struct walk_trace_element): Define.
335 (walk_trace): New variable.
336 (struct twalk_with_twalk_r_closure): Define.
337 (twalk_with_twalk_r_action): New function.
338 (twalk_with_twalk_r): Likewise.
339 (walk_action): Call walk_trace_add.
340 (walk_tree_with): Rename from walk_tree. Add walk argument.
341 (walk_tree): New function.
342 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
343 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
345 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
347 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
348 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
349 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
350 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
351 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
352 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
354 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
356 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
358 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
359 (GLIBC_2.30): Likewise.
360 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
361 (GLIBC_2.30): Likewise.
362 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
363 (GLIBC_2.30): Likewise.
364 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
365 (GLIBC_2.30): Likewise.
366 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
369 (GLIBC_2.30): Likewise.
370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
371 (GLIBC_2.30): Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
373 (GLIBC_2.30): Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
375 (GLIBC_2.30): Likewise.
376 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
378 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
380 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
382 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
383 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
385 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
387 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
389 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
392 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
394 Make mktime etc. compatible with __time64_t
395 Keep these functions compatible with Gnulib while adding
396 __time64_t support. The basic idea is to move private API
397 declarations from include/time.h to time/mktime-internal.h, since
398 the former file cannot easily be shared with Gnulib whereas the
400 Also, do some other minor cleanup while in the neighborhood.
401 * include/time.h: Include stdbool.h, time/mktime-internal.h.
402 (__mktime_internal): Move this prototype to time/mktime-internal.h,
403 since Gnulib needs it.
404 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
405 Move these macros to time/mktime-internal.h, since Gnulib needs them.
406 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
407 (in_time_t_range): New static function.
408 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
409 so that glibc users are not tempted to use __time64_t.
410 * time/mktime-internal.h: Rewrite so that it does both glibc
411 and Gnulib work. Include time.h if not _LIBC.
412 (mktime_offset_t) [!_LIBC]: Define for gnulib.
413 (__time64_t): New type or macro, moved here from
415 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
416 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
418 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
419 New macros, taken from GNulib.
420 (__mktime_internal): New prototype, moved here from include/time.h.
421 * time/mktime.c (mktime_min, mktime_max, convert_time)
422 (ranged_convert, __mktime_internal, __mktime64):
423 * time/timegm.c (__timegm64):
424 Use __time64_t, not time_t.
425 * time/mktime.c: Stop worrying about whether time_t is floating-point.
426 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
428 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
429 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
432 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
434 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
436 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
439 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
440 from `-Wmaybe-uninitialized'.
441 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
443 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
445 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
447 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
448 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
449 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
450 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
451 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
453 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
470 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
471 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
472 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
473 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
475 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
478 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
479 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
481 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
484 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
487 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
488 s_ceilf-power5+, and s_ceilf-ppc64.
489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
494 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
495 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
496 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
497 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
499 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
500 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
501 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
503 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
505 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
506 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
507 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
508 (sem_getvalue): Likewise.
510 2019-04-26 Florian Weimer <fweimer@redhat.com>
512 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
513 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
515 2019-04-26 Florian Weimer <fweimer@redhat.com>
517 Makeconfig: Move -Wl,-rpath-link options before library references.
518 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
519 (link-libc): Remove $(link-libc-rpath-link).
521 2019-04-25 Florian Weimer <fweimer@redhat.com>
523 * Makeconfig (+link-pie-before-libc): Remove $(CC).
524 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
525 (+link-static-before-libc): Remove $(CC).
526 (+link-static, +link-static-tests): Add $(CC).
527 (+link-before-libc): Remove $(CC).
528 (+link, +link-pie, +link-pie-printers): Add $(CC).
530 2019-04-26 Florian Weimer <fweimer@redhat.com>
532 * Makeconfig (+link-pie-before-libc): Remove $(CC).
533 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
534 (+link-static-before-libc): Remove $(CC).
535 (+link-static, +link-static-tests): Add $(CC).
536 (+link-before-libc): Remove $(CC).
537 (+link, +link-pie, +link-pie-printers): Add $(CC).
539 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
542 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
544 2019-04-25 Florian Weimer <fweimer@redhat.com>
546 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
547 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
548 (bench-link-targets): New variable.
549 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
551 2019-04-25 Florian Weimer <fweimer@redhat.com>
553 Also enable BIND_NOW for programs if --enable-bind-now.
554 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
555 (+link-pie): Use $(link-extra-flags).
556 (+link-static): Likewise.
557 [! $(build-pie-default)] (+link): Likewise.
558 * manual/install.texi (Configuring and compiling): Update
559 --enable-bind-now description.
560 * INSTALL: Regenerated.
562 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
564 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
565 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
567 2019-04-24 Mike Frysinger <vapier@gentoo.org>
570 * malloc/Makefile (others): Add memusagestat.
571 ($(objpfx)memusagestat): Delete rule.
572 (LDLIBS-memusagestat): New variable.
574 2019-04-24 Florian Weimer <fweimer@redhat.com>
576 * locale/Makefile (tests-special): Guard setting by
577 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
578 to run while cross-compiling.
580 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
583 * elf/Makefile (tests-container): Add tst-pldd.
584 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
585 (E(find_maps)): Avoid use alloca, use default read file operations
586 instead of explicit LFS names, and fix infinite loop.
587 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
588 (get_process_info): Use _Static_assert instead of assert, use default
589 directory operations instead of explicit LFS names, and free some
591 * elf/tst-pldd.c: New file.
593 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
595 * malloc/arena.c (do_set_mallopt_check): Removed.
597 2019-04-23 Florian Weimer <fweimer@redhat.com>
599 locale: Add LOCPATH diagnostics to the locale program.
600 * locale/programs/locale.c (setlocale_failed): New variable.
601 (try_setlocale): New function.
602 (quote_string): Likewise.
603 (setlocale_diagnostics): Likewise.
604 (main): Call try_setlocale instead of setlocale. Call
605 setlocale_diagnostics.
606 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
607 (tst-locale-locpath.out): New target.
608 * locale/tst-locale-locpath.sh: New file.
610 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
612 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
615 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
618 * malloc/hooks.c (malloc_check, realloc_check): Use
619 __builtin_add_overflow on overflow check and adapt to
620 checked_request2size change.
621 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
622 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
623 allocation size to PTRDIFF_MAX.
624 (REQUEST_OUT_OF_RANGE): Remove macro.
625 (checked_request2size): Change to inline function and limit maximum
626 requested size to PTRDIFF_MAX.
627 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
628 maximum allocation size to PTRDIFF_MAX.
629 (_mid_memalign): Use _int_memalign call for overflow check.
630 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
631 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
632 limit maximum requested size to PTRDIFF_MAX.
633 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
634 valloc, pvalloc): Add __attribute_alloc_size__.
635 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
636 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
637 larger than PTRDIFF_MAX.
638 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
639 around tests of malloc with negative sizes.
640 * malloc/tst-posix_memalign.c (do_test): Likewise.
641 * malloc/tst-pvalloc.c (do_test): Likewise.
642 * malloc/tst-valloc.c (do_test): Likewise.
643 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
644 with resulting size allocation larger than PTRDIFF_MAX with
646 (reallocarray_nowarn): New function.
647 * NEWS: Mention the malloc function semantic change.
649 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
651 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
652 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
654 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
655 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
656 * sysdeps/powerpc/fpu/s_fma.c: New file.
657 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
659 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
660 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
662 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
663 the magic flag store.
664 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
666 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
668 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
669 Remove rt_sigreturn call.
671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
672 Remove rt_sigreturn call.
673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
678 * support/Makefile (libsupport-routines): Add support_subprocess,
679 xposix_spawn, xposix_spawn_file_actions_addclose, and
680 xposix_spawn_file_actions_adddup2.
681 (tst-support_capture_subprocess-ARGS): New rule.
682 * support/capture_subprocess.h (support_capture_subprogram): New
684 * support/support_capture_subprocess.c (support_capture_subprocess):
685 Refactor to use support_subprocess and support_capture_poll.
686 (support_capture_subprogram): New function.
687 * support/tst-support_capture_subprocess.c (write_mode_to_str,
688 str_to_write_mode, test_common, parse_int, handle_restart,
689 do_subprocess, do_subprogram, do_multiple_tests): New functions.
690 (do_test): Add support_capture_subprogram tests.
691 * support/subprocess.h: New file.
692 * support/support_subprocess.c: Likewise.
693 * support/xposix_spawn.c: Likewise.
694 * support/xposix_spawn_file_actions_addclose.c: Likewise.
695 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
696 * support/xspawn.h: Likewise.
698 2019-04-17 Mike Gerow <gerow@google.com>
700 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
703 2019-04-11 Florian Weimer <fweimer@redhat.com>
705 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
706 domain with empty string.
707 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
709 2019-04-11 Florian Weimer <fweimer@redhat.com>
711 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
713 (alloc_buffer_next): Change return type to non-const. Update
716 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
718 * manual/time.texi (Formatting Calendar Time): Add missing percent
719 sign to conversion specifier.
721 2019-04-09 Carlos O'Donell <carlos@redhat.com>
722 Kwok Cheung Yeung <kcy@codesourcery.com>
725 * malloc/mtrace.c: Define prototypes for all hooks.
726 (set_default_hooks): New function.
727 (set_trace_hooks): Likewise.
728 (save_default_hooks): Likewise.
729 (tr_freehook): Use new s*_hooks functions.
730 (tr_mallochook): Likewise.
731 (tr_reallochook): Likewise.
732 (tr_memalignhook): Likewise.
734 (muntrace): Likewise.
736 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
738 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
739 (generic_stpcpy): New function.
740 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
741 (generic_stpncpy): New function.
742 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
743 (generic_strcat): New function.
744 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
745 (generic_strcpy): New function.
746 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
747 (STUPID_STRNCAT): Remove function.
748 (generic_strncat): New function.
749 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
750 (STUPID_STRNCPY): Remove function.
751 (generic_strncpy): New function.
752 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
753 (generic_strnlen): New function.
754 (memchr_strnlen): New function.
755 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
756 (memchr_strlen): Likewise.
758 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
760 * benchtests/bench-strstr.c (input): Add realistic input text.
761 (stupid_strstr): Remove function.
762 (basic_strstr): Add function.
763 (twoway_strstr): Add function.
764 (do_one_test): Add result checking.
765 (do_test): Use new input text. Remove accidental early matches.
766 (test_main): Improve range of tests, reduce unaligned cases.
768 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
770 * benchtests/bench-memmem.c (simple_memmem): Remove function.
771 (basic_memmem): Add function.
772 (twoway_memmem): Add function.
774 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
776 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
777 * benchtests/bench-malloc-thread.c: Likewise.
778 * benchtests/bench-skeleton.c: Likewise.
779 * benchtests/bench-strtod.c: Likewise.
780 * benchtests/bench-timing.h: Likewise.
782 2019-04-08 Florian Weimer <fweimer@redhat.com>
784 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
786 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
787 RES_INSECURE2 security checks.
788 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
789 RES_INSECURE2 handling.
791 2019-04-08 Florian Weimer <fweimer@redhat.com>
793 resolv: Remove support for RES_USE_INET6 and the inet6 option.
794 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
795 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
797 * resolv/Makefile (tests): Remove tst-res_use_inet6.
798 (tests-internal): Update justification for tst-resolv-res_init,
799 tst-resolv-res_init-thread.
800 (tst-res_use_inet6): Remove target.
801 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
802 * resolv/res_debug.c (p_option): Remove "inet6" support.
803 * resolv/res_init.c (res_setoptions): Likewise.
804 * resolv/res_use_inet6.h: Remove file.
805 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
807 (res_use_inet6): Always return false.
808 * resolv/resolv.h (RES_USE_INET6): Remove definition.
809 * resolv/resolv_context.h: Adjust file comment.
810 (struct resolv_context): Update comment on __next field.
811 (__resolv_context_put): Update comment.
812 * resolv/tst-res_use_inet6.c: Remove file.
813 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
815 (test_cases): Adjust test case.
816 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
817 (thread_byname2_af_inet6): Use old byname_inet6 code.
818 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
819 (gai): Remove do_inet6 argument.
820 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
821 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
822 (thread_gai_unspec_inet6): Remove functions.
823 (do_test): Adjust thread_funcs.
824 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
826 (gaih_inet): Do not disable RES_USE_INET6 flag.
828 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
830 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
831 and remove redundant code.
833 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
835 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
837 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
845 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
846 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
847 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
848 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
849 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
851 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
853 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
856 Remove wcsrchr optimizations.
857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
859 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
862 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
864 * sysdeps/powerpc/power6/wcschr.c: Remove file.
865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
872 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
873 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
874 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
875 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
876 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
878 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
880 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
883 Remove wcschr optimizations.
884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
886 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
889 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
891 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
898 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
899 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
900 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
901 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
902 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
903 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
905 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
907 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
910 Remove wcscpy optimizations.
911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
913 * include/loop_unroll.h: New file.
914 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
915 besides generic implementation.
917 2019-04-03 DJ Delorie <dj@redhat.com>
919 * time/tst-strftime3.c (tm_to_printed): Disable warning about
920 snprintf truncating output.
922 2019-04-02 DJ Delorie <dj@redhat.com>
924 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
927 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
930 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
932 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
933 (mkreftable): Add rules for the new Japanese era and the new dates.
935 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
936 Rafal Luzynski <digitalfreak@lingonborough.com>
938 * time/tst-strftime2.c (date_t): Explicitly define the type.
939 (dates): Use natural month and year numbers to express a date.
940 (is_before): New function to compare dates.
941 (mkreftable): Minor improvements to simplify maintenance.
942 (do_test): Reflect the changes in dates array.
945 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
946 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
947 * time/tst-strftime2.c (locales): Likewise.
948 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
949 2010-04-01, and 2011-04-01.
950 (mkreftable): Add rules for the new locales and the new dates.
952 2019-04-01 Carlos O'Donell <carlos@redhat.com>
954 * localedata/locales/ja_JP: Add comments to era entries.
956 2019-04-01 DJ Delorie <dj@redhat.com>
959 * time/strptime_l.c (%Ey): Fix fencepost error.
960 * time/tst-strftime3.c: New.
961 * time/Makefile (tests): Add tst-strftime3.
963 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
965 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
966 conditional branch to DIVBYZERO. Fix unwind info.
967 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
968 excb after conditional branch to $powerof2. Add missing unop
969 instructions and .align directives and reorder instructions to
972 2019-04-01 Richard Henderson <rth@twiddle.net>
974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
976 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
979 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
981 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
982 $libc_cv_riscv_float_abi in `test' invocation.
983 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
985 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
987 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
989 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
991 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
992 (_GET_SI_FPSCR): Likewise.
993 (_SET_SI_FPSCR): Likewise.
995 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
997 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
999 (signbit): Use builtin for clang 3.3.
1000 (isinf): Use builtin for clang 3.7.
1002 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1004 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1006 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1008 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1011 2019-03-25 Mike Crowe <mac@mcrowe.com>
1013 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1014 pthread_rwlock_timedrdlock with calls to
1015 pthread_rwlock_timedwrlock to ensure that the latter is tested
1016 too. Use new function name in diagnostic messages too.
1018 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1019 (do_test) Use libsupport test macros rather than hand-coded
1020 conditionals and error messages. Ensure that sem_init returns zero
1021 rather than not -1. Use <support/test-driver.c> rather than
1024 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1025 test macros rather than hand-coded conditionals and error messages.
1026 Use <support/test-driver.c> rather than test-skeleton.c.
1028 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1030 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1032 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1033 (NT_MIPS_MSA): Likewise.
1035 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1037 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1038 * benchtests/README: Update description.
1039 * benchtests/bench-timing.h: Default to hp-timing.
1040 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1041 HP_TIMING_PRINT): Remove.
1042 (HP_TIMING_NOW): Add generic implementation.
1043 (hp_timing_t): Change to uint64_t.
1045 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1047 * nptl/descr.h: Likewise.
1048 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1049 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1050 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1051 Abstract hp-timing usage with RTLD_* macros.
1052 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1053 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1054 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1055 HP_TIMING_NONAVAIL): Likewise.
1056 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1059 HP_SMALL_TIMING_AVAIL): Likewise.
1060 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1061 HP_SMALL_TIMING_AVAIL): Likewise.
1062 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1063 HP_SMALL_TIMING_AVAIL): Likewise.
1064 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1065 HP_SMALL_TIMING_AVAIL): Likewise.
1066 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1068 * sysdeps/generic/hp-timing-common.h: Update comment with
1069 HP_TIMING_AVAIL removal.
1071 * include/random-bits.h: New file.
1072 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1073 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1075 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1076 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1079 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1080 * rt/Makefile (clock-routines): Remove get_clockfreq.
1081 * rt/get_clockfreq.c: Remove file.
1082 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1083 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1085 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1086 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1088 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1089 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1090 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1091 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1092 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1094 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1095 pthread_clock_settime.
1096 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1097 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1098 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1099 * elf/rtld.c (_dl_start_final): Likewise.
1100 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1101 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1103 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1104 (_dl_cpuclock_offset): Remove.
1105 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1106 cpuclock_offset_ununsed.
1107 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1108 cpuclock_offset set.
1109 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1110 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1111 * nptl/pthread_clock_gettime.c: Remove file.
1112 * nptl/pthread_clock_settime.c: Likewise.
1113 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1114 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1115 and CLOCK_PROCESS_CPUTIME_ID support.
1116 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1117 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1118 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1119 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1120 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1122 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1124 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1126 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1127 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1128 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1130 * sysdeps/s390/memmem-arch13.S: New file.
1131 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1132 if it is only used as fallback.
1133 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1134 * sysdeps/s390/multiarch/ifunc-impl-list.c
1135 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1137 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1139 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1140 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1141 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1143 * sysdeps/s390/multiarch/ifunc-impl-list.c
1144 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1145 * sysdeps/s390/strstr-arch13.S: New file.
1146 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1147 if it is only used as fallback.
1148 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1150 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1152 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1153 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1154 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1155 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1157 * sysdeps/s390/multiarch/ifunc-impl-list.c
1158 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1159 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1160 S390_IS_ARCH13_MIE3): New defines.
1162 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1164 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1165 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1166 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1167 * sysdeps/s390/configure: Regenerated.
1169 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1171 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1172 Add vxe2, vxp, dflt, sort flags.
1173 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1174 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1176 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1177 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1178 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1179 HWCAP_S390_DFLT): Define.
1181 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1184 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1185 of compiler warning.
1186 * locale/programs/ld-collate.c (collate_output): Likewise.
1188 2019-03-21 DJ Delorie <dj@redhat.com>
1191 * iconv/iconvconfig.c (write_output): Replace floating point math
1192 with integer math to avoid imprecise results.
1193 * locale/programs/ld-collate.c (collate_output): Likewise.
1195 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1197 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1198 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1200 2019-03-20 mansayk <6688000@gmail.com>
1203 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1204 (abday): Likewise, but remove the trailing dots.
1206 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1208 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1210 (HWCAP_PACA): Likewise.
1211 (HWCAP_PACG): Likewise.
1212 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1214 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1216 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1218 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1221 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1223 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1225 (old_getpagesize): New syscall.
1227 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1230 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1231 * localedata/locales/cmn_TW (era): Likewise.
1232 * localedata/locales/hak_TW (era): Likewise.
1233 * localedata/locales/lzh_TW (era): Likewise.
1234 * localedata/locales/nan_TW (era): Likewise.
1236 2019-03-14 Florian Weimer <fweimer@redhat.com>
1238 Remove obsolete, never-implemented XSI STREAMS declarations.
1239 * manual/terminal.texi (Allocation): Remove portability note and
1241 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1243 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1244 * sysdeps/unix/inet/Subdirs (streams): Remove.
1245 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1246 (conformtest-headers-UNIX98): Likewise.
1247 (conformtest-headers-XOPEN2K): Likewise.
1248 (conformtest-headers-POSIX2008): Likewise.
1249 * posix/compat-streams.c: New file.
1250 * posix/Makefile (routines): Add it.
1251 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1252 getpmsg, isastream, putmsg, putpmsg.
1253 (GLIBC_2.30): New section.
1254 * bits/stropts.h: Remove file.
1255 * bits/xtitypes.h: Likewise.
1256 * conform/data/stropts.h-data: Likewise.
1257 * include/stropts.h: Likewise.
1258 * include/sys/stropts.h: Likewise.
1259 * include/xtitypes.h: Likewise.
1260 * streams/Makefile: Likewise.
1261 * streams/fattach.c: Likewise.
1262 * streams/fdetach.c: Likewise.
1263 * streams/getmsg.c: Likewise.
1264 * streams/getpmsg.c: Likewise.
1265 * streams/isastream.c: Likewise.
1266 * streams/putmsg.c: Likewise.
1267 * streams/putpmsg.c: Likewise.
1268 * streams/stropts.h: Likewise.
1269 * streams/sys/stropts.h: Likewise.
1270 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1271 * sysdeps/s390/bits/xtitypes.h: Likewise.
1272 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1273 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1274 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1275 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1276 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1277 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1278 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1279 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1280 * sysdeps/x86/bits/xtitypes.h: Likewise.
1282 2019-03-14 Florian Weimer <fweimer@redhat.com>
1284 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1286 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1287 but not with libnss_files.
1288 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1290 2019-03-14 Zack Weinberg <zackw@panix.com>
1292 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1293 Specify encoding="utf-8" when opening headers to check.
1295 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1297 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1299 (Context.checkout_tar): Handle variable major version for Linux
1302 2019-03-13 Florian Weimer <fweimer@redhat.com>
1305 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1307 2019-03-13 Zack Weinberg <zackw@panix.com>
1309 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1311 * include/inttypes.h: Adjust to match.
1312 * include/stdint.h: New wrapper.
1314 2019-03-13 Zack Weinberg <zackw@panix.com>
1316 * scripts/check-obsolete-constructs.py: New test script.
1317 * scripts/check-installed-headers.sh: Remove tests for
1318 obsolete typedefs, superseded by check-obsolete-constructs.py.
1319 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1320 as a special test. Update commentary.
1321 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1322 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1324 * posix/sys/types.h (__u_intN_t): Remove.
1325 (u_int8_t): Typedef using __uint8_t.
1326 (u_int16_t): Typedef using __uint16_t.
1327 (u_int32_t): Typedef using __uint32_t.
1328 (u_int64_t): Typedef using __uint64_t.
1330 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1332 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1334 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1335 Ignore types other than AT_HWCAP.
1336 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1337 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1339 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1340 in the case of falling back to generic output mechanism.
1341 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1344 2019-03-12 Florian Weimer <fweimer@redhat.com>
1346 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1348 2019-03-12 Florian Weimer <fweimer@redhat.com>
1351 resolv: Enable full ICMP errors for UDP DNS sockets
1352 * resolv/res_enable_icmp.c: New file.
1353 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1354 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1355 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1358 2019-03-11 Mao Han <han_mao@c-sky.com>
1360 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1361 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1363 2019-03-11 Mao Han <han_mao@c-sky.com>
1365 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1366 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1367 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1369 2019-03-11 Mao Han <han_mao@c-sky.com>
1371 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1373 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1376 2019-03-11 Mao Han <han_mao@c-sky.com>
1378 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1379 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1382 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1385 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1386 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1388 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1389 * localedata/unicode-gen/PropList.txt: Likewise.
1390 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1391 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1392 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1393 * localedata/charmaps/UTF-8: Regenerate.
1394 * localedata/locales/i18n_ctype: Likewise.
1395 * localedata/locales/tr_TR: Likewise.
1396 * localedata/locales/translit_circle: Likewise.
1397 * localedata/locales/translit_cjk_compat: Likewise.
1398 * localedata/locales/translit_combining: Likewise.
1399 * localedata/locales/translit_compat: Likewise.
1400 * localedata/locales/translit_font: Likewise.
1401 * localedata/locales/translit_fraction: Likewise.
1403 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1405 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1406 than after operators.
1407 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1408 (setitimer_locked): Likewise.
1409 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1410 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1411 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1412 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1413 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1414 (PPC_CPU_SUPPORTED): Likewise.
1415 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1416 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1417 (stat_overflow): Likewise.
1418 (statfs_overflow): Likewise.
1419 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1420 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1421 (eq_ttyname_r): Likewise.
1422 (run_chroot_tests): Likewise.
1424 2019-03-07 Florian Weimer <fweimer@redhat.com>
1426 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1429 2019-03-07 Martin Liska <mliska@suse.cz>
1431 * math/Makefile: Change location where math-vector-fortran.h is
1433 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1434 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1435 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1436 * scripts/check-installed-headers.sh: Skip Fortran header files.
1437 * scripts/check-wrapper-headers.py: Likewise.
1439 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1441 * nptl/nptl-init.c (__have_futex_clock_realtime,
1442 __have_futex_clock_realtime): Remove definition.
1443 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1444 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1445 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1446 __ASSUME_FUTEX_CLOCK_REALTIME support.
1447 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1448 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1449 * sysdeps/unix/sysv/linux/kernel-features.h
1450 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1451 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1454 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1456 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1457 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1458 __GI___wcscpy and wcscpy.
1460 2019-03-04 Florian Weimer <fweimer@redhat.com>
1462 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1464 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1467 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1469 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1470 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1472 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1475 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1476 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1478 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1480 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1482 (do_test): Likewise.
1483 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1484 (do_test_call_varg): Likewise.
1485 (do_test_call_rarg): Likewise.
1486 * sysdeps/ieee754/ldbl-opt/Makefile
1487 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1489 ($(objpfx)tst-nldbl-warn.c): New rule.
1490 ($(objpfx)tst-nldbl-error.c): Likewise.
1491 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1494 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1497 * include/bits/error-ldbl.h: New file.
1498 * include/error.h: Include stdarg.h. Declare internal functions
1499 __error_internal and __error_at_line_internal.
1500 * misc/Makefile (headers): Add bits/error-ldbl.h.
1501 * misc/bits/error-ldbl.h: New file.
1502 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1503 avoid the inclusion of bits/error.h.
1504 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1505 and __nldbl_error_at_line.
1506 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1507 (__nldbl_error, __ndlbl_error_at_line): New functions.
1508 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1509 Redirect error and error_at_line.
1510 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1519 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1520 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1521 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1523 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1526 * include/bits/err-ldbl.h: New file.
1527 * include/err.h: Add prototypes for the internal functions:
1528 __vwarnx_internal and __vwarn_internal.
1529 * misc/Makefile (headers): Add bits/err-ldbl.h.
1530 * misc/bits/err-ldbl.h: New file.
1531 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1532 defined, i.e.: when -mlong-double-64 is in use.
1533 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1534 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1535 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1536 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1537 (VA_CALL): New macro.
1538 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1539 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1541 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1542 declare prototypes for the new functions.
1543 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1552 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1553 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1554 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1556 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1558 * sysdeps/ieee754/ldbl-opt/Makefile
1559 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1560 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1561 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1563 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1566 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1567 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1568 * argp/bits/argp-ldbl.h: New file.
1569 * include/argp.h: Include stdarg.h. Add prototypes for internal
1570 functions: __argp_error_internal and __argp_failure_internal.
1571 * include/bits/argp-ldbl.h: New file.
1572 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1573 __nldbl_argp_error and __nldbl_argp_failure.
1574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1575 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1576 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1577 Redirect argp_error and argp_failure calls.
1578 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1587 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1588 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1591 2019-03-01 Florian Weimer <fweimer@redhat.com>
1594 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1595 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1596 code, to avoid creating an ABI tag note.
1597 (modules-names-nobuild): Add tst-big-note-lib.
1599 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1601 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1602 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1604 2019-03-01 Florian Weimer <fweimer@redhat.com>
1607 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1608 (__netlink_assert_response): Add additional missing newlines.
1610 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1612 * sysdeps/powerpc/powerpc32/dl-machine.c
1613 (__elf_machine_fixup_plt): Use space before '('.
1614 (__process_machine_rela): Likewise.
1615 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1617 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1619 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1621 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1622 (pattern): Likewise.
1624 (check_result): Likewise.
1625 (check_excepts): Likewise.
1626 (check_op): Likewise.
1627 (fail_xr): Likewise.
1628 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1629 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1631 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1634 (__makecontext): Likewise.
1635 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1638 2019-02-28 Florian Weimer <fweimer@redhat.com>
1641 elf: Add test with a local IFUNC resolver.
1642 * elf/ifuncmain9.c: New file.
1643 * elf/ifuncmain9pic.c: Likewise.
1644 * elf/ifuncmain9picstatic.c: Likewise.
1645 * elf/ifuncmain9pie.c: Likewise.
1646 * elf/ifuncmain9static.c: Likewise.
1647 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1648 ifuncmain9static, ifuncmain9picstatic.
1649 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1650 Add ifuncmain9, ifuncmain9pic.
1651 * elf/Makefile [multi-arch && build-shared && have-fpie]
1652 (ifunc-pie-tests): Add ifuncmain9pie.
1653 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1654 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1655 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1657 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1659 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1660 * configure: Regenerated.
1661 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1663 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1666 symbol as __wcspcy instead of wcscpy.
1668 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1670 * include/stdio.h (__renameat2): New hidden prototype.
1671 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1672 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1673 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1674 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1676 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1678 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1681 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1682 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1683 * benchtests/bench-strlen.c (do_test): Likewise.
1684 (test_main): Likewise.
1685 * catgets/gencat.c (read_old): Likewise.
1686 * elf/cache.c (load_aux_cache): Likewise.
1687 * iconvdata/bug-iconv8.c (do_test): Likewise.
1688 * math/test-tgmath-ret.c (do_test): Likewise.
1689 * nis/nis_call.c (rec_dirsearch): Likewise.
1690 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1691 * nptl/tst-audit-threads.c (do_test): Likewise.
1692 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1693 * nss/nss_test1.c (init): Likewise.
1694 * nss/test-netdb.c (test_hosts): Likewise.
1695 * posix/execvpe.c (maybe_script_execute): Likewise.
1696 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1697 * stdio-common/tst-printf.c (do_test): Likewise.
1698 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1699 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1700 * stdlib/qsort.c (STACK_SIZE): Likewise.
1701 * stdlib/test-canon.c (do_test): Likewise.
1702 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1703 * string/memcmp.c (OPSIZ): Likewise.
1704 * string/test-strcpy.c (do_test): Likewise.
1705 (do_random_tests): Likewise.
1706 * string/test-strlen.c (do_test): Likewise.
1707 (test_main): Likewise.
1708 * string/test-strrchr.c (do_test): Likewise.
1709 (do_random_tests): Likewise.
1710 * string/tester.c (test_memrchr): Likewise.
1711 (test_memchr): Likewise.
1712 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1713 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1714 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1715 (read_encoded_value_with_base): Likewise.
1716 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1717 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1718 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1719 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1720 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1721 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1723 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1725 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1726 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1727 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1729 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1731 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1733 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1735 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1736 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1737 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1738 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1739 * time/test_time.c (main): Likewise.
1741 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1743 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1745 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1748 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1751 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1753 * include/wchar.h (__wcscpy): New prototype.
1754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1755 (__wcscpy): Route internal symbol to generic implementation.
1756 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1757 Add internal __wcscpy alias.
1758 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1759 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1760 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1761 * wcsmbs/wcscpy.c (wcscpy): Add
1762 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1763 use generic implementation.
1764 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1766 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1769 * sysdeps/m68k/wcpcpy.c: Remove file.
1770 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1772 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1774 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1775 than after operators.
1776 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1777 * sysdeps/mach/hurd/getcwd.c
1778 (__hurd_canonicalize_directory_name_internal): Likewise.
1779 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1780 (pthread_mutex_consistent): Likewise.
1781 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1783 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1784 (__pthread_mutex_transfer_np): Likewise.
1785 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1786 (__pthread_mutex_unlock): Likewise.
1787 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1788 (mtx_owned_p): Likewise.
1789 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1790 (pthread_mutexattr_getrobust): Likewise.
1791 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1792 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1794 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1795 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1796 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1797 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1798 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1799 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1800 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1802 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1804 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1805 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1806 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1807 (____longjmp_chk): Likewise.
1808 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1810 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1811 (INTERNAL_SYSCALL): Likewise.
1812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1813 (INTERNAL_SYSCALL): Likewise.
1814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1815 (__get_clockfreq_via_cpuinfo): Likewise.
1817 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1819 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1820 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1821 (WORD_COPY_BWD): Likewise.
1822 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1825 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1826 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1828 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1830 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1832 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1833 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1834 rather than after operators.
1835 * elf/cache.c (print_cache): Likewise.
1836 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1837 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1838 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1839 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1840 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1841 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1842 (reauth_proc): Likewise.
1843 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1844 (__file_name_split_at): Likewise.
1845 (__directory_name_split_at): Likewise.
1846 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1847 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1848 * iconv/gconv_dl.c (do_print): Likewise.
1849 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1850 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1851 * locale/setlocale.c (new_composite_name): Likewise.
1852 * malloc/memusagestat.c (main): Likewise.
1853 * misc/fstab.c (fstab_convert): Likewise.
1854 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1856 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1857 (getgrent_next_file): Likewise.
1858 (internal_getgrnam_r): Likewise.
1859 (internal_getgrgid_r): Likewise.
1860 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1862 (internal_getgrent_r): Likewise.
1863 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1864 (getpwent_next_nss): Likewise.
1865 (getpwent_next_file): Likewise.
1866 (internal_getpwnam_r): Likewise.
1867 (internal_getpwuid_r): Likewise.
1868 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1870 (getspent_next_nss): Likewise.
1871 (internal_getspnam_r): Likewise.
1872 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1873 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1874 * string/strchr.c (STRCHR): Likewise.
1875 * string/strchrnul.c (STRCHRNUL): Likewise.
1876 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1877 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1878 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1879 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1880 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1882 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1883 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1884 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1885 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1886 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1887 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1888 (open_file): Likewise.
1889 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1890 (pthread_mutexattr_setprotocol): Likewise.
1891 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1892 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1893 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1894 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1895 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1897 (elf_machine_rela): Likewise.
1898 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1899 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1900 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1901 * sysdeps/posix/rename.c (rename): Likewise.
1902 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1903 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1904 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1905 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1906 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1907 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1908 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1910 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1912 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1913 * time/tzfile.c (__tzfile_compute): Likewise.
1915 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1917 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1918 rather than after operators.
1919 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1920 * crypt/md5.c (md5_finish_ctx): Likewise.
1921 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1922 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1923 * elf/cache.c (load_aux_cache): Likewise.
1924 * elf/dl-load.c (open_verify): Likewise.
1925 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1926 * elf/readelflib.c (process_elf_file): Likewise.
1927 * elf/rtld.c (dl_main): Likewise.
1928 * elf/sprof.c (generate_call_graph): Likewise.
1929 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1930 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1931 * hurd/dtable.c (reauth_dtable): Likewise.
1932 * hurd/getdport.c (__getdport): Likewise.
1933 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1934 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1935 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1937 * hurd/hurdioctl.c (fioctl): Likewise.
1938 * hurd/hurdselect.c (_hurd_select): Likewise.
1939 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1940 (STOPSIGS): Likewise.
1941 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1942 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1943 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1944 * hurd/msgportdemux.c (msgport_server): Likewise.
1945 * hurd/setauth.c (_hurd_setauth): Likewise.
1946 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1947 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1948 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1949 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1950 * login/tst-utmp.c (do_check): Likewise.
1951 (simulate_login): Likewise.
1952 * mach/lowlevellock.h (lll_lock): Likewise.
1953 (lll_trylock): Likewise.
1954 * math/test-fenv.c (ALL_EXC): Likewise.
1955 * math/test-fenvinline.c (ALL_EXC): Likewise.
1956 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1957 * nis/nis_call.c (__do_niscall3): Likewise.
1958 * nis/nis_callback.c (cb_prog_1): Likewise.
1959 * nis/nis_defaults.c (searchaccess): Likewise.
1960 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1961 * nis/nis_ismember.c (internal_ismember): Likewise.
1962 * nis/nis_local_names.c (nis_local_principal): Likewise.
1963 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1964 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1966 * nis/ypclnt.c (yp_match): Likewise.
1967 (yp_first): Likewise.
1968 (yp_next): Likewise.
1969 (yp_master): Likewise.
1970 (yp_order): Likewise.
1971 * nscd/hstcache.c (cache_addhst): Likewise.
1972 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1973 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1974 (internal_getpwuid_r): Likewise.
1975 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1976 * posix/glob.h (__GLOB_FLAGS): Likewise.
1977 * posix/regcomp.c (peek_token): Likewise.
1978 (peek_token_bracket): Likewise.
1979 (parse_expression): Likewise.
1980 * posix/regexec.c (sift_states_iter_mb): Likewise.
1981 (check_node_accept_bytes): Likewise.
1982 * posix/tst-spawn3.c (do_test): Likewise.
1983 * posix/wordexp-test.c (testit): Likewise.
1984 * posix/wordexp.c (parse_tilde): Likewise.
1985 (exec_comm): Likewise.
1986 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1987 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1988 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1989 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1990 * stdio-common/tst-fileno.c (do_test): Likewise.
1991 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1992 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1993 * stdlib/strtod_l.c (round_and_return): Likewise.
1994 (____STRTOF_INTERNAL): Likewise.
1995 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1996 * string/strcspn.c (STRCSPN): Likewise.
1997 * string/test-memmem.c (simple_memmem): Likewise.
1998 * termios/tcsetattr.c (tcsetattr): Likewise.
1999 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2000 * time/asctime.c (asctime_internal): Likewise.
2001 * time/strptime_l.c (__strptime_internal): Likewise.
2002 * time/sys/time.h (timercmp): Likewise.
2003 * time/tzfile.c (__tzfile_compute): Likewise.
2005 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2008 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2010 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2012 * argp/argp-help.c (__argp_error_internal): New function,
2013 renamed from __argp_error, but that takes a 'mode_flags'
2014 parameter to control the format of long double parameters.
2015 (__argp_error): Converted into a call __argp_error_internal.
2016 (__argp_failure_internal): New function, renamed from
2017 __argp_failure, but that takes a 'mode_flags' parameter.
2018 (__argp_failure): Converted into a call __argp_failure_internal.
2019 * misc/err.c (__vwarnx_internal): New function, renamed from
2020 vwarnx, but that takes a 'mode_flags' parameter.
2021 (vwarnx): Converted into a call to __vwarnx_internal.
2022 (__vwarn_internal): New function, renamed from vwarn, but that
2023 takes a 'mode_flags' parameter.
2024 (vwarn): Converted into a call to __vwarn_internal.
2025 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2026 call to __vfxprintf with 'mode_flags'.
2027 (__error_internal): New function, renamed from error, but that
2028 takes a 'mode_flags' parameter.
2029 (error): Converted into a call to __error_internal.
2030 (__error_at_line_internal): New function, renamed from
2031 error_at_line, but that takes a 'mode_flags' parameter.
2032 (error_at_line): Converted into a call to
2033 __error_at_line_internal.
2034 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2035 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2038 2019-02-20 Martin Liska <mliska@suse.cz>
2040 * math/Makefile: Install math-vector-fortran.h.
2041 * bits/math-vector-fortran.h: New file.
2042 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2044 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2046 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2047 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2049 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2051 * nptl/pthread_mutex_trylock.c: Fix comment.
2053 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2055 * nptl/pthread_tryjoin.c: Fix comment.
2057 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2060 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2061 after R_SPARC_H34 case.
2063 2019-02-18 Florian Weimer <fweimer@redhat.com>
2065 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2066 (getanswer): Do not call Dprintf.
2067 (res_gethostbyname2_context): Likewise.
2068 (res_gethostbyaddr_context): Likewise.
2070 2019-02-18 Florian Weimer <fweimer@redhat.com>
2072 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2074 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2076 * libio/stdfiles.c: Update comment.
2077 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2078 set _IO_stdin, _IO_stdout, _IO_stderr.
2079 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2080 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2082 (_IO_deallocate_file): New inline function.
2083 * libio/iolibio.h (_IO_vprintf): Remove definition.
2084 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2085 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2086 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2088 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2089 __builtin_expect. Use _IO_legacy_file.
2091 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2093 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2094 Initialize ctid with a known value and remove update of ctid
2096 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2097 as assumed current value of ctid_ptr.
2099 2019-02-16 Florian Weimer <fweimer@redhat.com>
2101 Check that non-sysdeps headers have wrapper headers.
2102 * scripts/check-wrapper-headers.py: New file.
2103 * Makefile (tests-special): Add check-wrapper-headers.out.
2104 (check-wrapper-headers.out): New target.
2105 * Rules (tests-special): Add check-wrapper-headers.out.
2106 (check-wrapper-headers.out): New target.
2108 2019-02-16 Florian Weimer <fweimer@redhat.com>
2110 Add missing header wrappers under include/.
2111 * include/ar.h: New file.
2112 * include/bits/mqueue2.h: Likewise.
2113 * include/bits/stdio.h: Likewise.
2114 * include/bits/stdio2.h: Likewise.
2115 * include/fstab.h: Likewise.
2116 * include/fts.h: Likewise.
2117 * include/lastlog.h: Likewise.
2118 * include/netinet/icmp6.h: Likewise.
2119 * include/netinet/igmp.h: Likewise.
2120 * include/netinet/ip6.h: Likewise.
2121 * include/re_comp.h: Likewise.
2122 * include/regexp.h: Likewise.
2123 * include/rpcsvc/bootparam.h: Likewise.
2124 * include/rpcsvc/yp_prot.h: Likewise.
2125 * include/sys/random.h: Likewise.
2126 * include/sys/stropts.h: Likewise.
2127 * include/sys/ttychars.h: Likewise.
2128 * include/sys/vfs.h: Likewise.
2129 * include/wait.h: Likewise.
2131 2019-02-16 Florian Weimer <fweimer@redhat.com>
2133 * nptl_db/proc_service.h: Move to ...
2134 * sysdeps/nptl/proc_service.h: ... here.
2135 * nptl_db/thread_db.h: Move to ...
2136 * sysdeps/nptl/thread_db.h: ... here.
2137 * nptl/descr.h: Include <thread_db.h>.
2139 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2141 * io/Makefile (tests): Add tst-lockf.
2142 * io/lockf.c (lockf): Use __fcntl and only define for
2143 !__OFF_T_MATCHES_OFF64_T.
2144 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2145 __OFF_T_MATCHES_OFF64_T case.
2146 * io/tst-lockf.c: New file.
2147 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2148 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2149 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2150 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2151 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2153 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2154 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2155 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2157 2019-02-15 Florian Weimer <fweimer@redhat.com>
2160 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2161 pd->result after the thread descriptor has been freed.
2163 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2165 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2166 from function return type.
2168 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2170 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2172 * scripts/test_printers_common.py: Set TERM to a known harmless
2175 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2177 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2178 (xdr_u_int): Likewise.
2179 (xdr_enum): Likewise.
2180 (xdr_bytes): Reword fall-through comment.
2181 (xdr_string): Likewise.
2183 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2186 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2187 (tests): Add tst-join8 tst-join9.
2188 * nptl/lll_timedwait_tid.c: Remove file.
2189 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2190 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2191 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2192 * nptl/pthread_join_common.c (timedwait_tid): New function.
2193 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2195 * nptl/tst-join5.c (thread_join): New function.
2196 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2198 * nptl/tst-join8.c: New file.
2199 * nptl/tst-join9.c: Likewise.
2200 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2201 lll_futex_timed_wait_cancel): Add generic macros.
2202 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2204 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2205 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2206 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2207 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2209 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2211 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2212 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2213 (lll_futex_timed_wait_cancel): New macro.
2215 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2217 * benchtests/Makefile: Add malloc-simple benchmark.
2218 * benchtests/bench-malloc-simple.c: New benchmark.
2220 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2222 * benchtests/bench-memmove.c (do_one_test): Remove unused
2225 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2229 2019-01-13 Jim Wilson <jimw@sifive.com>
2232 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2233 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2235 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2237 * nptl/Makefile (tests): Add tst-unwind-thread.
2238 (CFLAGS-tst-unwind-thread.c): Define.
2239 * nptl/tst-unwind-thread.c: New file.
2240 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2243 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2245 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2247 * nis/nis_call.c (__do_niscall3): Likewise.
2249 * catgets/gencat.c (normalize_line): Use braces around empty
2251 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2252 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2253 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2254 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2255 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2256 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2257 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2260 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2263 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2265 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2266 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2267 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2268 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2269 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2270 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2271 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2272 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2273 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2274 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2275 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2276 * benchtests/bench-bcopy.c: Delete file.
2277 * benchtests/bench-bzero.c: Likewise.
2278 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2279 (simple_memccpy): Remove.
2280 (generic_memccpy): Add function.
2281 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2282 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2283 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2284 (generic_mempcpy): Add new function.
2285 * benchtests/bench-memset.c (simple_bzero): Remove.
2286 (builtin_bzero): Remove.
2287 (builtin_memset): Remove.
2288 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2289 (generic_rawmemchr): Add new function.
2291 2019-02-12 Florian Weimer <fweimer@redhat.com>
2293 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2295 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2298 * elf/Makefile (tests): Add tst-audit13.
2299 (modules-names): Add tst-audit13mod1.
2300 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2302 * elf/tst-audit13.c: New file.
2303 * elf/tst-audit13mod1.c: Likewise.
2305 2019-02-12 Florian Weimer <fweimer@redhat.com>
2308 * elf/rtld.c (unload_audit_module): New function.
2309 (report_audit_module_load_error): Likewise.
2310 (load_audit_module): Likewise. Extracted from dl_main. Call
2311 _dl_close if the laversion symbol cannot be found. Use early
2312 returns for error handling. Add malloc error check. Check for a
2313 zero return value from la_version. Remove spurious comment about
2314 static TLS initialization. Remove useless casts.
2315 (notify_audit_modules_of_loaded_object): New function. Extracted
2317 (load_audit_module): Likewise.
2318 (dl_main): Call load_audit_modules.
2320 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2322 * elf/dl-exception.c (_dl_exception_create_format): Add
2323 fall-through comments.
2324 * elf/ldconfig.c (parse_conf_include): Likewise.
2325 * elf/rtld.c (print_statistics): Likewise.
2326 * locale/programs/charmap.c (parse_charmap): Likewise.
2327 * misc/mntent_r.c (__getmntent_r): Likewise.
2328 * posix/wordexp.c (parse_arith): Likewise.
2329 (parse_backtick): Likewise.
2330 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2331 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2334 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2336 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2337 Use float instead of double.
2339 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2341 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2343 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2345 * sysdeps/powerpc/bits/mathinline.h: Remove.
2347 2019-02-08 Florian Weimer <fweimer@redhat.com>
2349 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2350 * math/bits/math-finite.h: Move to ...
2351 * bits/math-finite.h: ... here.
2353 2019-02-08 Florian Weimer <fweimer@redhat.com>
2355 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2356 * bits/unistd_ext.h: here.
2358 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2361 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2362 * nss/tst-nss-files-hosts-long.c: New file.
2363 * nss/tst-nss-files-hosts-long.root: New directory.
2364 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2365 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2367 2019-02-08 Florian Weimer <fweimer@redhat.com>
2369 * include/bits/unistd_ext.h: Remove file.
2370 * posix/bits/unistd_ext.h: Move to ...
2371 * sysdeps/generic/bits/unistd_ext.h: ... here.
2373 2019-02-08 Florian Weimer <fweimer@redhat.com>
2375 * include/bits/unistd_ext.h: New file.
2377 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2379 * time/tst-strftime2.c: Use array_length macros instead of magic
2382 2019-02-08 Florian Weimer <fweimer@redhat.com>
2385 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2387 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2388 locking if the new do_locking argument is true.
2389 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2390 __run_fork_handlers.
2392 2019-02-08 Florian Weimer <fweimer@redhat.com>
2395 Linux: Add gettid system call wrapper.
2396 * posix/Makefile (headers): Add bits/unistd_ext.h.
2397 * posix/bits/unistd_ext.h: New file.
2398 * posix/unistd.h: Include it.
2399 * manual/process.texi (Process Identification): Document gettid.
2400 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2401 tst-gettid, tst-gettid-kill.
2402 (tst-gettid): Link with $(shared-thread-library).
2403 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2404 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2405 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2406 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2407 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2408 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2410 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2412 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2413 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2415 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2417 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2419 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2421 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2423 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2425 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2427 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2428 (GLIBC_2.30): Likewise.
2429 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2430 (GLIBC_2.30): Likewise.
2431 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2432 (GLIBC_2.30): Likewise.
2433 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2434 (GLIBC_2.30): Likewise.
2435 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2438 (GLIBC_2.30): Likewise.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2440 (GLIBC_2.30): Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2442 (GLIBC_2.30): Likewise.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2444 (GLIBC_2.30): Likewise.
2445 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2447 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2449 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2451 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2452 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2454 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2456 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2458 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2460 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2462 2019-02-08 Florian Weimer <fweimer@redhat.com>
2464 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2465 compatibility symbols.
2467 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2470 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2471 Add compiler barriers and comments.
2473 2019-02-07 Florian Weimer <fweimer@redhat.com>
2475 * include/array_length.h (array_length): Do not use a statement
2476 expression and _Static_assert, so that array_length can be used at
2477 file scope and as a constant expression.
2479 2019-02-07 Florian Weimer <fweimer@redhat.com>
2481 * support/xdlfcn.h (xdlmopen): Declare.
2482 * support/xdlmopen.c: New file.
2483 * support/Makefile (libsupport-routines): Add xdlmopen.
2485 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2487 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2488 before return type, without separate inline.
2489 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2490 * elf/dl-tunables.h (tunable_is_name): Likewise.
2491 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2492 (do_set_top_pad): Likewise.
2493 (do_set_mmap_threshold): Likewise.
2494 (do_set_mmaps_max): Likewise.
2495 (do_set_mallopt_check): Likewise.
2496 (do_set_perturb_byte): Likewise.
2497 (do_set_arena_test): Likewise.
2498 (do_set_arena_max): Likewise.
2499 (do_set_tcache_max): Likewise.
2500 (do_set_tcache_count): Likewise.
2501 (do_set_tcache_unsorted_limit): Likewise.
2502 * nis/nis_subr.c (count_dots): Likewise.
2503 * nptl/allocatestack.c (advise_stack_range): Likewise.
2504 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2506 (reduce_sincos): Likewise.
2507 (do_sincos): Likewise.
2508 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2509 (do_set_elision_enable): Likewise.
2510 (TUNABLE_CALLBACK_FNDECL): Likewise.
2512 2019-02-06 Florian Weimer <fweimer@redhat.com>
2514 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2515 (xdlsym): Use dlerror to detect a NULL symbol.
2517 2019-02-06 Florian Weimer <fweimer@redhat.com>
2519 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2521 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2523 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2525 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2527 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2529 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2530 __wmemcmp and weak alias to wmemcmp.
2532 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2535 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2536 TLS_TCB_AT_TP tls variant.
2537 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2538 Add alignment checks.
2539 * support/Makefile (libsupport-routines): Add xposix_memalign and
2541 * support/support.h: Add xposix_memalign.
2542 * support/xthread.h: Add xpthread_attr_setstack.
2543 * support/xposix_memalign.c: New File.
2544 * support/xpthread_attr_setstack.c: Likewise.
2546 2019-02-05 Florian Weimer <fweimer@redhat.com>
2549 arm: Use "nr" constraint for Systemtap probes, to avoid the
2550 compiler using memory operands for constants, due to the "o"
2551 alternative in the default "nor" constraint.
2552 * include/stap-probe.h [USE_STAP_PROBE]: Include
2553 <stap-probe-machine.h>
2554 * sysdeps/generic/stap-probe-machine.h: New file.
2555 * sysdeps/arm/stap-probe-machine.h: Likewise.
2557 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2559 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2560 with 0, not tcache->entries[tc_idx].
2562 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2565 2019-02-04 Andreas Schwab <schwab@suse.de>
2569 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2570 looking up collating elements match against (wide) character
2571 sequence instead of name. Correct alignment adjustment.
2572 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2573 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2574 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2575 (LOCALES): Add cs_CZ.ISO-8859-2.
2576 * posix/tst-fnmatch4.c: New file.
2577 * posix/tst-fnmatch5.c: New file.
2578 * include/wchar.h (__wmemcmp): Declare.
2579 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2580 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2581 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2582 * sysdeps/s390/wmemcmp.c: Likewise.
2584 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2588 * NEWS: Updated for CVE-2019-7309.
2589 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2590 upper 32 bits of RDX register for x32. Use unsigned Jcc
2591 instructions, instead of signed.
2592 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2593 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2595 2019-02-04 Florian Weimer <fweimer@redhat.com>
2597 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2598 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2599 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2601 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2602 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2603 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2604 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2606 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2608 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2610 (posix_spawn_file_actions_addopen): Likewise.
2611 (posix_spawn_file_actions_addclose): Likewise.
2612 (posix_spawn_file_actions_adddup2): Likewise.
2613 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2615 (posix_spawn_file_actions_addfchdir_np): Likewise.
2617 2019-02-04 David Newall <glibc@davidnewall.com>
2619 elf: Implement --preload option for the dynamic linker.
2620 * elf/rtld.c (preloadarg): New variable.
2621 (handle_preload_list): Pass through “where” argument to
2623 (dl_main): Handle "--preload" and add second call to
2624 handle_preload_list.
2625 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2626 (tst-rtld-preload-OBJS): Set variable.
2627 (tst-rtld-preload.out): New target.
2628 * elf/tst-rtld-preload.sh: New file.
2630 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2632 * Makefile (testrun.sh): Exit in case of incorrect argument.
2634 2019-02-04 Florian Weimer <fweimer@redhat.com>
2636 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2639 2019-02-03 Florian Weimer <fweimer@redhat.com>
2641 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2642 implicit overflow checks.
2644 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2646 * stdlib/isomac.c: Include <unistd.h>.
2648 2019-02-03 Florian Weimer <fweimer@redhat.com>
2650 * include/time.h (__tzfile_default): Use int, not long int, for
2652 * time/tzfile.c (struct ttinfo): Change type of the offset member
2654 (__tzfile_read): Remove useless cast.
2655 (__tzfile_default): Adjust prototype.
2656 * time/tzset.c (tz_rule): Change type of the offset member to int.
2657 (parse_offset): Change the type of the sign variable to int.
2659 2019-02-03 Florian Weimer <fweimer@redhat.com>
2662 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2663 * libio/getchar.c (getchar): Likewise.
2664 * libio/getchar_u.c (getchar_unlocked): Likewise.
2665 * libio/getwchar.c (getwchar): Likewise.
2666 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2667 * libio/iogets.c (_IO_gets): Likewise.
2668 * libio/vscanf.c (_IO_vscanf): Likewise.
2669 * libio/vwscanf.c (__vwscanf): Likewise.
2670 * libio/tst-bz24153.c: New file.
2671 * libio/Makefile (tests): Add it.
2673 2019-02-02 Florian Weimer <fweimer@redhat.com>
2676 * manual/resource.texi (Basic Scheduling Functions): Add
2677 portability note. Change process to task throughout the section.
2678 Remove incorrect comment about sched_yield as it affects
2679 tasks/threads, not entire processes.
2680 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2681 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2683 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2685 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2686 * configure: Regenerated.
2687 * manual/install.texi (Tools for Compilation): Update minimum GCC
2689 * INSTALL: Regenerated.
2691 2019-02-01 Florian Weimer <fweimer@redhat.com>
2693 * support/support_test_compare_string.c
2694 (support_test_compare_string): Use "string" in error message.
2695 * support/tst-test_compare_string.c (do_test): Adjust.
2697 2019-02-01 Florian Weimer <fweimer@redhat.com>
2699 * support/support_format_address_family.c
2700 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2702 2019-02-01 Florian Weimer <fweimer@redhat.com>
2704 * manual/socket.texi (Internet Address Formats): Clarify the byte
2705 order of struct sockaddr_in, struct sockaddr_in6. Document
2706 sin6_flowinfo and sin6_scope_id.
2708 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2710 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2711 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2712 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2713 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2714 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2715 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2717 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2719 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2720 [!MEMCHR](MEMCHR): Set to __memchr.
2721 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2722 Add memchr_generic and memchr_nosimd.
2723 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2724 (__libc_ifunc_impl_list): Add memchr ifuncs.
2725 * sysdeps/aarch64/multiarch/memchr.c: New file.
2726 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2727 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2729 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2731 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2733 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2734 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2735 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2736 Add IS_EMAG check for ifunc dispatch.
2737 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2738 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2740 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2742 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2743 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2745 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2748 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2750 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2752 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2754 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2755 syscall-template file.
2757 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2758 Torvald Riegel <triegel@redhat.com>
2759 Rik Prohaska <prohaska7@gmail.com>
2762 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2763 tst-rwlock-trywrlock-stall.
2764 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2765 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2766 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2767 Set __wrphase_fute to 1 only if we started the write phase.
2768 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2769 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2770 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2771 * support/xpthread_rwlock_destroy.c: New file.
2772 * support/xthread.h: Declare xpthread_rwlock_destroy.
2774 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2776 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2779 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2782 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2783 * libio/fileops.c (_IO_new_file_underflow): Likewise
2784 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2785 * libio/putchar.c (putchar): Likewise.
2786 * libio/putchar_u.c (putchar_unlocked): Likewise.
2787 * libio/putwchar.c (putchar): Likewise.
2788 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2789 * libio/tst-bz24051.c: New test.
2790 * libio/Makefile (tests): Add tst-bz24051
2792 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2795 regex: fix read overrun [BZ #24114]
2796 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2797 https://debbugs.gnu.org/34140
2798 * posix/regexec.c (proceed_next_node):
2799 Do not read past end of input buffer.
2801 2019-01-31 Florian Weimer <fweimer@redhat.com>
2804 * nss/nss_files/files-alias.c (get_next_alias): Handle
2805 continuation line without newline at the end.
2806 * nss/tst-nss-files-alias-truncated.c: New file.
2807 * nss/Makefile [$(build-shared)] (tests): Add
2808 tst-nss-files-alias-truncated.
2809 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2810 * support/namespace.h (struct support_chroot_configuration): Add
2812 (struct support_chroot): Add path_aliases member.
2813 * support/support_chroot.c (support_chroot_create): Handle
2815 (support_chroot_free): Free path_aliases.
2817 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2819 * version.h (RELEASE): Set to "development".
2820 (VERSION): Set to "2.29.9000".
2821 * NEWS: Add section for 2.30.
2823 * version.h (RELEASE): Set to "stable".
2824 (VERSION): Set to "2.29".
2825 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2827 * NEWS: Add the list of bugs fixed in 2.29.
2828 * manual/contrib.texi: Update contributors list with some more
2830 * manual/install.texi: Update latest versions of packages
2832 * INSTALL: Regenerated.
2834 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2836 * po/be.po: Update translations.
2837 * po/bg.po: Likewise.
2838 * po/ca.po: Likewise.
2839 * po/cs.po: Likewise.
2840 * po/da.po: Likewise.
2841 * po/de.po: Likewise.
2842 * po/el.po: Likewise.
2843 * po/eo.po: Likewise.
2844 * po/es.po: Likewise.
2845 * po/fi.po: Likewise.
2846 * po/fr.po: Likewise.
2847 * po/gl.po: Likewise.
2848 * po/hr.po: Likewise.
2849 * po/hu.po: Likewise.
2850 * po/ia.po: Likewise.
2851 * po/id.po: Likewise.
2852 * po/it.po: Likewise.
2853 * po/ja.po: Likewise.
2854 * po/ko.po: Likewise.
2855 * po/lt.po: Likewise.
2856 * po/nb.po: Likewise.
2857 * po/nl.po: Likewise.
2858 * po/pl.po: Likewise.
2859 * po/pt_BR.po: Likewise.
2860 * po/ru.po: Likewise.
2861 * po/rw.po: Likewise.
2862 * po/sk.po: Likewise.
2863 * po/sl.po: Likewise.
2864 * po/sv.po: Likewise.
2865 * po/tr.po: Likewise.
2866 * po/uk.po: Likewise.
2867 * po/vi.po: Likewise.
2868 * po/zh_CN.po: Likewise.
2869 * po/zh_TW.po: Likewise.
2871 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2874 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2875 of $f3 register on $y_is_neg path.
2877 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2880 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2881 sigaltstack.ss_flags.
2883 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2886 * manual/time.texi (strftime): Document "%Ey".
2887 * time/strftime_l.c (__strftime_internal): Set the default width
2888 padding with zero of "%Ey" to 2.
2891 * manual/time.texi (strftime): Document "%EC" and "%EY".
2892 * time/Makefile (tests): Add tst-strftime2.
2893 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2894 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2895 override padding for "%Ey".
2896 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2897 "%Ey" in the subformat as if decorated with that flag.
2898 * time/tst-strftime2.c: New file.
2900 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2902 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2906 * elf/Makefile (tests): Add tst-audit13.
2907 (modules-names): Add tst-audit13mod1.
2908 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2910 * elf/rtld.c (dl_main): Handle invalid audit module version.
2911 * elf/tst-audit13.c: New file.
2912 * elf/tst-audit13mod1.c: Likewise.
2914 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2916 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2917 returned by __hurd_at_flags.
2918 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2919 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2920 directly instead of __hurd_file_name_lookup.
2922 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2924 * scripts/build-many-glibcs.py (Context.checkout): Default
2925 binutils version to 2.32 branch.
2927 2019-01-21 Florian Weimer <fweimer@redhat.com>
2931 resolv: Reject trailing characters in host names
2932 * include/arpa/inet.h (__inet_aton_exact): Declare.
2933 (inet_aton): Remove hidden prototype. No longer used internally.
2934 * nscd/gai.c (__inet_aton): Do not define.
2935 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2936 * nss/digits_dots.c (__inet_aton): Likewise.
2937 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2938 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2939 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2940 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2941 (tst-resolv-trailing): Likewise.
2942 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2944 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2945 Make static. Add endp parameter.
2946 (__inet_aton_exact): New function.
2947 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2948 (__inet_addr): Call inet_aton_end.
2949 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2950 not just IPv6. Call __inet_aton_exact.
2951 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2952 (tests): Make const. Add additional test cases with trailing
2954 (do_test): Use array_length.
2955 * resolv/tst-inet_aton_exact.c: New file.
2956 * resolv/tst-resolv-trailing.c: Likewise.
2957 * resolv/tst-resolv-nondecimal.c: Likewise.
2958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2960 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2964 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2965 Clear the upper 32 bits of RSI register.
2966 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2967 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2968 and tst-size_t-wcsnlen.
2969 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2970 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2972 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2976 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2977 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2978 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2979 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2980 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2982 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2986 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2988 * sysdeps/x86_64/strcmp.S: Likewise.
2989 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2990 tst-size_t-strncmp and tst-size_t-wcsncmp.
2991 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2992 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2993 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2995 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2999 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3000 RDX_LP for length. Clear the upper 32 bits of RDX register.
3001 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3002 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3003 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3004 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3006 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3010 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3011 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3012 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3013 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3015 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3019 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3020 length. Clear the upper 32 bits of RDX register.
3021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3022 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3024 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3026 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3028 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3030 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3034 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3035 length. Clear the upper 32 bits of RDX register.
3036 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3037 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3038 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3040 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3041 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3043 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3047 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3048 upper 32 bits of RDX register.
3049 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3050 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3052 * sysdeps/x86_64/x32/test-size_t.h: New file.
3053 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3054 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3056 2019-01-18 Florian Weimer <fweimer@redhat.com>
3059 resolv: Do not send queries for non-host-names in nss_dns.
3060 * resolv/nss_dns/dns-host.c (check_name): New function.
3061 (_nss_dns_gethostbyname2_r): Use it.
3062 (_nss_dns_gethostbyname_r): Likewise.
3063 (_nss_dns_gethostbyname4_r): Likewise.
3065 2019-01-21 Florian Weimer <fweimer@redhat.com>
3067 * resolv/inet_addr.c: Reformat to GNU style.
3068 (__inet_addr, __inet_aton): Update comment.
3070 2019-01-18 Florian Weimer <fweimer@redhat.com>
3072 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3073 ("malloc: Use current (C11-style) atomics for fastbin access").
3074 This commit introduces a substantial performance regression on
3076 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3077 (REMOVE_FB): Define.
3078 (_int_malloc): Use it and reindent.
3079 (_int_free): Use CAS loop with
3080 catomic_compare_and_exchange_val_rel.
3081 (malloc_consolidate): Use atomic_exchange_acq.
3084 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3086 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3088 (LDFLAGS-tst-minsigstksz-2): Likewise.
3089 (LDFLAGS-tst-minsigstksz-3): Likewise.
3090 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3091 (LDFLAGS-tst-minsigstksz-4): Likewise.
3093 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3095 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3098 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3100 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3102 2019-01-16 Zack Weinberg <zackw@panix.com>
3104 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3105 (xget_sigstack_location): New test support functions.
3106 * support/xsigstack.c: New file, implementing them.
3107 * support/tst-xsigstack.c: New test for them.
3108 * support/Makefile: Update.
3110 * signal/tst-minsigstksz-1.c
3111 * signal/tst-minsigstksz-2.c
3112 * signal/tst-minsigstksz-3.c
3113 * signal/tst-minsigstksz-3a.c
3114 * signal/tst-minsigstksz-4.c: New tests.
3115 * signal/Makefile: Run them.
3117 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3119 * po/libc.pot: Regenerate.
3121 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3123 * math/libm-test-fma.inc (fma_test_data): Set
3124 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3126 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3128 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3129 (do_test): Changed __vector __int128_t to __vector unsigned int.
3131 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3134 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3135 stpcpy-avx2 and stpncpy-avx2.
3136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3137 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3138 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3140 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3141 ifunc-strcpy.h}: rename header for a more generic name.
3142 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3143 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3144 AVX unaligned load is fast and vzeroupper is preferred.
3145 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3146 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3147 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3148 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3149 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3150 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3152 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3154 * argp/argp-help.c: Fix typo in comment.
3155 * misc/sys/cdefs.h: Likewise.
3156 * posix/regexec.c (sift_states_iter_mb): Likewise.
3157 * socket/sockatmark.c: Likewise.
3158 * socket/sys/socket.h: Likewise.
3159 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3160 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3161 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3163 * sysdeps/unix/sockatmark.c: Likewise.
3164 * time/strptime_l.c: Likewise.
3166 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3168 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3169 missing space after the cast of "_NL_CURRENT".
3171 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3173 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3174 ifdef to fix read of VSCR.
3175 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3176 tst-ucontext-ppc64-vscr.c to test list.
3177 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3179 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3181 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3184 2019-01-09 Jim Wilson <jimw@sifive.com>
3186 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3188 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3190 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3191 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3192 __memcpy_falkor for ares.
3193 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3195 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3198 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3201 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3202 4_FP_W_TYPEs are used for IEEE quad precision.
3203 * soft-fp/extendhftf2.c: Likewise.
3204 * soft-fp/extendsftf2.c: Likewise.
3205 * soft-fp/extendxftf2.c: Likewise.
3206 * soft-fp/trunctfdf2.c: Likewise.
3207 * soft-fp/trunctfhf2.c: Likewise.
3208 * soft-fp/trunctfsf2.c: Likewise.
3209 * soft-fp/trunctfxf2.c: Likewise.
3210 * sysdeps/alpha/ots_cvttx.c: Likewise.
3211 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3212 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3213 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3214 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3215 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3216 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3217 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3218 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3219 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3220 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3221 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3222 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3223 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3224 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3225 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3226 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3227 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3229 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3232 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3233 code with -fmath-errno.
3234 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3235 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3236 * string/test-strerror-errno.c: New file.
3238 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3241 * localedata/locales/en_US (date_fmt): Add, set to
3242 "%a %d %b %Y %r %Z".
3244 2019-01-07 Florian Weimer <fweimer@redhat.com>
3247 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3248 instead of @var{errno}.
3249 (Parsing of Integers): Likewise.
3250 (Parsing of Floats): Likewise.
3251 * manual/filesys.texi (Working with Directory Trees): Likewise.
3252 (Temporary Files): Likewise.
3253 * manual/job.texi (Terminal Access Functions): Likewise.
3254 * manual/llio.texi (Synchronizing I/O): Likewise.
3255 * manual/math.texi (SVID Random): Likewise.
3256 * manual/message.texi (The catgets Functions): Likewise.
3257 (Translation with gettext): Likewise.
3258 (Locating gettext catalog): Likewise.
3259 (Charset conversion in gettext): Likewise.
3260 * manual/nss.texi (NSS Module Function Internals): Likewise.
3261 * manual/search.texi (Hash Search Function): Likewise.
3262 * manual/setjmp.texi (System V contexts): Likewise.
3263 * manual/time.texi (Sleeping): Likewise.
3264 * manual/users.texi (Lookup User): Likewise.
3265 (Lookup Group): Likewise.
3267 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3269 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3272 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3275 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3276 __builtin_unreachable for default case in switch.
3277 (__ieee754_yn): Likewise.
3278 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3279 (__ieee754_ynl): Likewise.
3280 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3281 (__ieee754_ynl): Likewise.
3282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3283 (__ieee754_ynl): Likewise.
3285 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3287 * manual/maint.texi: Use @{ and @}.
3289 2019-01-04 Florian Weimer <fweimer@redhat.com>
3291 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3293 (do_in_chroot_1): Call it.
3295 Improve error reporting in case it is not possible to create a
3296 collision for the PTY name required by the test.
3298 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3300 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3301 lll_wait_tid with timeout.
3302 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3303 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3304 futex_reltimed_wait_cancelable for cancelabla mode.
3305 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3306 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3308 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3309 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3310 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3311 SYSCALL_CANCEL_NCS): New macro.
3312 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3313 (lll_timedwait_tid): Remove macro.
3314 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3316 (lll_timedwait_tid): Likewise.
3317 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3319 (lll_timedwait_tid): Likewise.
3320 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3322 (lll_timedwait_tid): Likewise.
3323 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3324 Use INTERNAL_SYSCALL_CANCEL.
3325 * sysdeps/unix/sysv/linux/futex-internal.h
3326 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3327 instead of __pthread_{enable,disable}_asynccancel.
3328 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3329 (lll_futex_wait_cancel): New macro.
3331 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3332 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3334 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3335 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3337 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3338 in backtrace analysis.
3339 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3341 (tf_send): Likewise.
3343 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3344 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3345 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3346 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3347 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3348 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3349 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3350 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3351 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3352 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3353 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3354 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3356 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3357 tst-cancel-wrappers.sh.
3358 (generated): Remove tst-cancel-wrappers.out.
3359 (tst-cancel-wrappers.out): Remove rule.
3360 * nptl/tst-cancel-wrappers.sh: Remove file.
3362 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3364 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3365 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3368 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3371 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3372 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3373 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3374 close-on-exec reset for adddup2 file action.
3375 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3377 2019-01-03 Zack Weinberg <zackw@panix.com>
3379 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3380 parameter. Only use deprecated scanf when __USE_GNU is defined
3381 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3382 than 201103L, whichever is relevant for the language being compiled.
3384 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3385 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3386 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3387 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3388 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3392 * libio/iovswscanf.c
3397 * stdio-common/fscanf.c
3398 * stdio-common/scanf.c
3399 * stdio-common/vfscanf.c
3400 * stdio-common/vfwscanf.c
3401 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3402 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3403 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3404 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3405 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3406 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3407 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3408 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3409 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3410 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3411 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3412 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3413 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3414 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3415 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3417 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3418 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3419 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3421 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3422 with a preprocessor macro.
3424 * stdio-common/bug21.c, stdio-common/scanf14.c:
3425 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3426 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3427 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3428 to xscanf, xfscanf, xsscanf.
3430 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3431 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3432 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3433 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3435 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3436 override feature selection macros or provide definitions of u_char etc.
3437 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3438 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3439 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3442 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3445 bits/termios-misc.h.
3446 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3447 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3448 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3449 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3450 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3451 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3453 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3455 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3456 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3457 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3458 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3460 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3461 (sysdep_headers): Add termios-misc.h.
3463 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3464 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3465 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3469 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3470 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3471 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3472 TCSAFLUSH): Move to termios-tcflow.h.
3473 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3474 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3475 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3476 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3480 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3481 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3482 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3483 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3484 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3485 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3486 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3487 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3489 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3490 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3491 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3492 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3496 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3497 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3498 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3499 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3500 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3502 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3503 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3504 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3505 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3510 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3511 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3512 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3513 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3514 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3515 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3516 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3517 __MAX_BAUD): Move to termios-baud.h.
3518 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3519 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3520 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3521 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3524 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3526 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3527 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3528 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3529 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3530 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3531 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3533 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3534 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3536 [USE_MISC] (XTABS): Likewise.
3537 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3538 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3539 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3540 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3542 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3544 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3545 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3546 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3547 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3548 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3549 IUTF8): Move to termios-c_iflag.h.
3550 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3551 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3552 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3553 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3555 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3557 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3558 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3559 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3560 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3561 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3562 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3563 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3564 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3565 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3566 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3567 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3568 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3570 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3571 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3572 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3573 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3576 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3578 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3580 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3582 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3584 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3586 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3587 _HAVE_C_OSPEED): Define.
3588 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3589 _HAVE_C_OSPEED): Likewise.
3590 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3591 _HAVE_C_OSPEED): Likewise.
3592 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3593 (cfsetospeed): Check for define value instead of existence.
3594 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3595 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3596 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3597 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3598 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3601 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3603 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3604 (TIOCSER_TEMT): Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3606 (TEOCSER_TEMT): Likewise.
3608 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3611 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3613 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3615 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3617 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3619 * sysdeps/htl/pt-barrierattr-setpshared.c
3620 (pthread_barrierattr_setpshared): Add stub warning.
3621 * sysdeps/htl/pt-condattr-setpshared.c
3622 (pthread_condattr_setpshared): Likewise.
3623 * sysdeps/htl/pt-mutexattr-setpshared.c
3624 (pthread_mutexattr_setpshared): Likewise.
3625 * sysdeps/htl/pt-rwlockattr-setpshared.c
3626 (pthread_rwlockattr_setpshared): Likewise.
3627 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3628 (pthread_mutexattr_setpshared): Likewise.
3630 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3632 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3633 constants to match with Linux 4.20.
3635 * sysdeps/mips/mips32/libm-test-ulps: Update.
3636 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3638 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3641 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3642 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3643 than __typeof (...) for the a_ptr variable.
3645 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3647 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3648 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3649 * libio/Makefile (tests): Add tst-sprintf-ub and
3651 (CFLAGS-tst-sprintf-ub.c): New variable.
3652 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3653 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3654 destination buffer and check for overflows in fortified mode.
3655 * libio/libioP.h (PRINTF_CHK): New macro.
3656 * libio/tst-sprintf-chk-ub.c: New file.
3657 * libio/tst-sprintf-ub.c: Likewise.
3659 2019-01-02 Florian Weimer <fweimer@redhat.com>
3662 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3665 2019-01-02 Florian Weimer <fweimer@redhat.com>
3667 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3669 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3671 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3674 * sysdeps/unix/sysv/linux/netpacket/packet.h
3675 (PACKET_IGNORE_OUTGOING): New macro.
3677 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3680 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3682 (riscv_flush_icache): New syscall.
3684 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3685 trailing whitespace removed.
3686 * scripts/config.guess: Update to version 2019-01-01.
3687 * scripts/config.sub: Update to version 2019-01-01.
3688 * scripts/move-if-change: Update from gnulib.
3690 * NEWS: Update copyright dates.
3691 * catgets/gencat.c (print_version): Likewise.
3692 * csu/version.c (banner): Likewise.
3693 * debug/catchsegv.sh: Likewise.
3694 * debug/pcprofiledump.c (print_version): Likewise.
3695 * debug/xtrace.sh (do_version): Likewise.
3696 * elf/ldconfig.c (print_version): Likewise.
3697 * elf/ldd.bash.in: Likewise.
3698 * elf/pldd.c (print_version): Likewise.
3699 * elf/sotruss.sh: Likewise.
3700 * elf/sprof.c (print_version): Likewise.
3701 * iconv/iconv_prog.c (print_version): Likewise.
3702 * iconv/iconvconfig.c (print_version): Likewise.
3703 * locale/programs/locale.c (print_version): Likewise.
3704 * locale/programs/localedef.c (print_version): Likewise.
3705 * login/programs/pt_chown.c (print_version): Likewise.
3706 * malloc/memusage.sh (do_version): Likewise.
3707 * malloc/memusagestat.c (print_version): Likewise.
3708 * malloc/mtrace.pl: Likewise.
3709 * manual/libc.texinfo: Likewise.
3710 * nptl/version.c (banner): Likewise.
3711 * nscd/nscd.c (print_version): Likewise.
3712 * nss/getent.c (print_version): Likewise.
3713 * nss/makedb.c (print_version): Likewise.
3714 * posix/getconf.c (main): Likewise.
3715 * scripts/test-installation.pl: Likewise.
3716 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3718 * All files with FSF copyright notices: Update copyright dates
3719 using scripts/update-copyrights.
3720 * locale/programs/charmap-kw.h: Regenerated.
3721 * locale/programs/locfile-kw.h: Likewise.
3723 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3725 * timezone/zdump.c: Update from tzcode 2018i.
3726 * timezone/zic.c: Likewise.
3728 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3730 regex: improve Gnulib port to AIX
3731 From the glibc point of view, this removes duplicate macro
3732 definitions and is obviously safe.
3733 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3734 * posix/regex_internal.h:
3735 (__attribute__, __attribute_warn_unused_result__):
3736 Remove; already defined elsewhere.
3738 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3741 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3742 copying operation. (ncopies had the wrong type, resulting in an
3743 integer wraparound and too few elements being copied.)
3745 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3748 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3749 <asm/syscalls.h> exists with __has_include__ before including it.
3751 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3753 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3756 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3758 * hurd/lookup-retry: Include <unistd.h>.
3759 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3760 Release it on return. Handle "pid" magical lookup retry.
3762 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3765 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3766 (t_fmt_ampm): Likewise.
3767 * localedata/locales/aa_ER (t_fmt): Likewise.
3768 (t_fmt_ampm): Likewise.
3769 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3770 (t_fmt_ampm): Likewise.
3771 * localedata/locales/aa_ET (t_fmt): Likewise.
3772 (t_fmt_ampm): Likewise.
3773 * localedata/locales/am_ET (t_fmt): Likewise.
3774 (t_fmt_ampm): Likewise.
3775 * localedata/locales/byn_ER (t_fmt): Likewise.
3776 (t_fmt_ampm): Likewise.
3777 * localedata/locales/om_ET (t_fmt): Likewise.
3778 (t_fmt_ampm): Likewise.
3779 * localedata/locales/sid_ET (t_fmt): Likewise.
3780 (t_fmt_ampm): Likewise.
3781 * localedata/locales/so_DJ (t_fmt): Likewise.
3782 (t_fmt_ampm): Likewise.
3783 * localedata/locales/so_ET (t_fmt): Likewise.
3784 (t_fmt_ampm): Likewise.
3785 * localedata/locales/so_SO (t_fmt): Likewise.
3786 (t_fmt_ampm): Likewise.
3787 * localedata/locales/ti_ER (t_fmt): Likewise.
3788 (t_fmt_ampm): Likewise.
3789 * localedata/locales/ti_ET (t_fmt): Likewise.
3790 (t_fmt_ampm): Likewise.
3791 * localedata/locales/tig_ER (t_fmt): Likewise.
3792 (t_fmt_ampm): Likewise.
3793 * localedata/locales/wal_ET (t_fmt): Likewise.
3794 (t_fmt_ampm): Likewise.
3796 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3797 * localedata/locales/ar_IN (t_fmt): Likewise.
3798 * localedata/locales/bhb_IN (t_fmt): Likewise.
3799 * localedata/locales/bho_IN (t_fmt): Likewise.
3800 * localedata/locales/bi_VU (t_fmt): Likewise.
3801 * localedata/locales/bn_BD (t_fmt): Likewise.
3802 * localedata/locales/bn_IN (t_fmt): Likewise.
3803 * localedata/locales/brx_IN (t_fmt): Likewise.
3804 * localedata/locales/doi_IN (t_fmt): Likewise.
3805 * localedata/locales/en_HK (t_fmt): Likewise.
3806 (t_fmt_ampm): Likewise.
3807 * localedata/locales/en_IN (t_fmt): Likewise.
3808 * localedata/locales/en_PH (t_fmt): Likewise.
3809 * localedata/locales/gu_IN (t_fmt): Likewise.
3810 * localedata/locales/hi_IN (t_fmt): Likewise.
3811 * localedata/locales/hif_FJ (t_fmt): Likewise.
3812 * localedata/locales/hne_IN (t_fmt): Likewise.
3813 * localedata/locales/kn_IN (t_fmt): Likewise.
3814 * localedata/locales/kok_IN (t_fmt): Likewise.
3815 * localedata/locales/ks_IN (t_fmt): Likewise.
3816 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3817 * localedata/locales/mag_IN (t_fmt): Likewise.
3818 * localedata/locales/mai_IN (t_fmt): Likewise.
3819 * localedata/locales/mjw_IN (t_fmt): Likewise.
3820 * localedata/locales/ml_IN (t_fmt): Likewise.
3821 * localedata/locales/mni_IN (t_fmt): Likewise.
3822 * localedata/locales/mr_IN (t_fmt): Likewise.
3823 * localedata/locales/ms_MY (t_fmt): Likewise.
3824 * localedata/locales/pa_IN (t_fmt): Likewise.
3825 * localedata/locales/raj_IN (t_fmt): Likewise.
3826 * localedata/locales/sa_IN (t_fmt): Likewise.
3827 * localedata/locales/sat_IN (t_fmt): Likewise.
3828 * localedata/locales/sd_IN (t_fmt): Likewise.
3829 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3830 * localedata/locales/tcy_IN (t_fmt): Likewise.
3831 * localedata/locales/the_NP (t_fmt): Likewise.
3832 * localedata/locales/to_TO (t_fmt): Likewise.
3833 * localedata/locales/ur_IN (t_fmt): Likewise.
3835 * localedata/locales/hif_FJ (d_t_fmt): Set to
3836 "%A %d %b %Y %I:%M:%S %p".
3837 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3839 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3840 * localedata/locales/ar_BH (t_fmt): Likewise.
3841 * localedata/locales/ar_DZ (t_fmt): Likewise.
3842 * localedata/locales/ar_EG (t_fmt): Likewise.
3843 * localedata/locales/ar_IQ (t_fmt): Likewise.
3844 * localedata/locales/ar_JO (t_fmt): Likewise.
3845 * localedata/locales/ar_KW (t_fmt): Likewise.
3846 * localedata/locales/ar_LB (t_fmt): Likewise.
3847 * localedata/locales/ar_LY (t_fmt): Likewise.
3848 * localedata/locales/ar_OM (t_fmt): Likewise.
3849 * localedata/locales/ar_QA (t_fmt): Likewise.
3850 * localedata/locales/ar_SD (t_fmt): Likewise.
3851 * localedata/locales/ar_SS (t_fmt): Likewise.
3852 * localedata/locales/ar_SY (t_fmt): Likewise.
3853 * localedata/locales/ar_TN (t_fmt): Likewise.
3854 * localedata/locales/ar_YE (t_fmt): Likewise.
3856 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3857 (t_fmt_ampm): Likewise.
3858 * localedata/locales/gez_ET (t_fmt): Likewise.
3859 (t_fmt_ampm): Likewise.
3861 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3862 (t_fmt_ampm): Likewise.
3863 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3865 * localedata/locales/zh_HK (t_fmt):
3866 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3868 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3869 because this locale does not use the 12-hour clock.
3870 (t_fmt): Set to "%Z %H:%M:%S".
3871 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3873 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3874 because this locale does not use the 12-hour clock.
3875 (t_fmt): Set to "%H:%M:%S %Z".
3876 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3878 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3879 because this locale does not use the 12-hour clock.
3880 (t_fmt): Set to "%T".
3881 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3882 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3884 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3885 because this locale does not use the 12-hour clock.
3886 (t_fmt): Set to "%H:%M:%S %Z".
3887 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3889 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3890 because this locale does not use the 12-hour clock.
3891 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3892 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3894 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3898 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3899 (t_fmt_ampm): Likewise.
3900 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3901 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3902 (d_fmt): Set to "%-d.%-m.%y".
3904 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3906 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3907 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3908 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3910 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3911 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3912 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3914 * support/blob_repeat.c (check_mul_overflow_size_t,
3915 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3917 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3919 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3921 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3923 regex: simplify Gnulib port
3924 This simplifies the code, by removing stuff intended for porting
3925 to Gnulib but no longer needed there.
3926 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3927 uses of libc_hidden_def, weak_alias.
3928 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3929 _Restrict_ except for public-facing headers.
3930 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3931 Remove; already defined elsewhere.
3932 * posix/regex.c, posix/regex_internal.h:
3933 Use __GNUC_PREREQ instead of rolling our own.
3934 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3936 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3938 * benchtests/bench-strlen.c (generic_strlen): New function.
3939 (memchr_strlen): New function.
3941 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3943 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3944 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3945 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3947 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3949 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3951 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3953 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3954 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3955 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3956 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3957 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3958 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3959 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3961 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3964 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3965 PLT reference in libc.so.
3966 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3967 _Q_lltoq and _Q_qtod PLT references in libc.so.
3969 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3971 * benchtests/bench-memchr.c: Cleanup defines.
3972 * benchtests/bench-memcmp.c: Likewise.
3973 * benchtests/bench-memset.c: Likewise.
3974 * benchtests/bench-memset-large.c: Likewise.
3975 * benchtests/bench-memset-walk.c: Likewise.
3976 * benchtests/bench-stpcpy.c: Likewise.
3977 * benchtests/bench-stpncpy.c: Likewise.
3978 * benchtests/bench-strcat.c: Likewise.
3979 * benchtests/bench-strchr.c: Likewise.
3980 * benchtests/bench-strcmp.c: Likewise.
3981 * benchtests/bench-strcpy.c: Likewise.
3982 * benchtests/bench-strcspn.c: Likewise.
3983 * benchtests/bench-string.h: Likewise.
3984 * benchtests/bench-strlen.c: Likewise.
3985 * benchtests/bench-strncat.c: Likewise.
3986 * benchtests/bench-strncmp.c: Likewise.
3987 * benchtests/bench-strncpy.c: Likewise.
3988 * benchtests/bench-strnlen.c: Likewise.
3989 * benchtests/bench-strpbrk.c: Likewise.
3990 * benchtests/bench-strrchr.c: Likewise.
3991 * benchtests/bench-strspn.c: Likewise.
3993 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3995 * stdlib/longlong.h: Update from GCC.
3998 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3999 * configure: Regenerated.
4000 * manual/install.texi (Tools for Compilation): Update minimum GCC
4002 * INSTALL: Regenerated.
4004 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4006 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4008 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4010 * malloc/malloc.c (mremap_chunk): Additional checks.
4012 2018-12-21 Mao Han <han_mao@c-sky.com>
4014 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4015 * scripts/build-many-glibcs.py: Add C-SKY targets.
4016 * sysdeps/csky/Implies: New file.
4017 * sysdeps/csky/Makefile: Likewise.
4018 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4019 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4020 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4021 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4022 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4023 * sysdeps/csky/abiv2/memmove.S: Likewise.
4024 * sysdeps/csky/abiv2/memset.S: Likewise.
4025 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4026 * sysdeps/csky/abiv2/start.S: Likewise.
4027 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4028 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4029 * sysdeps/csky/abiv2/strlen.S: Likewise.
4030 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4031 * sysdeps/csky/abort-instr.h: Likewise.
4032 * sysdeps/csky/atomic-machine.h: Likewise.
4033 * sysdeps/csky/bits/endian.h: Likewise.
4034 * sysdeps/csky/bits/fenv.h: Likewise.
4035 * sysdeps/csky/bits/link.h: Likewise.
4036 * sysdeps/csky/bits/setjmp.h: Likewise.
4037 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4038 * sysdeps/csky/bsd-setjmp.S: Likewise.
4039 * sysdeps/csky/configure: Likewise.
4040 * sysdeps/csky/configure.ac: Likewise.
4041 * sysdeps/csky/dl-machine.h: Likewise.
4042 * sysdeps/csky/dl-procinfo.c: Likewise.
4043 * sysdeps/csky/dl-procinfo.h: Likewise.
4044 * sysdeps/csky/dl-sysdep.h: Likewise.
4045 * sysdeps/csky/dl-tls.h: Likewise.
4046 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4047 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4048 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4049 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4050 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4051 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4052 * sysdeps/csky/fpu/fegetround.c: Likewise.
4053 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4054 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4055 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4056 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4057 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4058 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4059 * sysdeps/csky/fpu/fesetround.c: Likewise.
4060 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4061 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4062 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4063 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4064 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4065 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4066 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4067 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4068 * sysdeps/csky/fpu_control.h: Likewise.
4069 * sysdeps/csky/gccframe.h: Likewise.
4070 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4071 * sysdeps/csky/ldsodefs.h: Likewise.
4072 * sysdeps/csky/libc-tls.c: Likewise.
4073 * sysdeps/csky/linkmap.h: Likewise.
4074 * sysdeps/csky/machine-gmon.h: Likewise.
4075 * sysdeps/csky/memusage.h: Likewise.
4076 * sysdeps/csky/nofpu/Implies: Likewise.
4077 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4078 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4079 * sysdeps/csky/nptl/Makefile: Likewise.
4080 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4081 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4082 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4083 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4084 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4085 * sysdeps/csky/nptl/tls.h: Likewise.
4086 * sysdeps/csky/preconfigure: Likewise.
4087 * sysdeps/csky/sfp-machine.h: Likewise.
4088 * sysdeps/csky/sotruss-lib.c: Likewise.
4089 * sysdeps/csky/stackinfo.h: Likewise.
4090 * sysdeps/csky/sysdep.h: Likewise.
4091 * sysdeps/csky/tininess.h: Likewise.
4092 * sysdeps/csky/tst-audit.h: Likewise.
4093 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4094 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4095 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4096 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4097 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4098 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4099 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4100 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4101 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4102 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4103 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4104 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4105 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4106 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4107 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4108 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4109 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4110 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4111 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4112 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4113 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4114 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4115 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4116 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4117 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4118 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4119 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4120 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4121 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4122 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4123 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4124 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4125 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4126 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4127 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4128 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4129 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4130 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4131 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4132 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4133 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4134 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4135 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4136 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4138 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4140 * include/time.h (__difftime64): Add.
4141 * time/difftime.c (subtract): convert to 64-bit time.
4142 * time/difftime.c (__difftime64): Add.
4143 * time/difftime.c (__difftime): Wrap around __difftime64.
4145 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4147 * manual/examples/add.c: Remove redundant "if not".
4148 * manual/examples/argp-ex1.c: Likewise.
4149 * manual/examples/argp-ex2.c: Likewise.
4150 * manual/examples/argp-ex3.c: Likewise.
4151 * manual/examples/argp-ex4.c: Likewise.
4152 * manual/examples/atexit.c: Likewise.
4153 * manual/examples/db.c: Likewise.
4154 * manual/examples/dir.c: Likewise.
4155 * manual/examples/dir2.c: Likewise.
4156 * manual/examples/execinfo.c: Likewise.
4157 * manual/examples/filecli.c: Likewise.
4158 * manual/examples/filesrv.c: Likewise.
4159 * manual/examples/fmtmsgexpl.c: Likewise.
4160 * manual/examples/genpass.c: Likewise.
4161 * manual/examples/inetcli.c: Likewise.
4162 * manual/examples/inetsrv.c: Likewise.
4163 * manual/examples/isockad.c: Likewise.
4164 * manual/examples/longopt.c: Likewise.
4165 * manual/examples/memopen.c: Likewise.
4166 * manual/examples/memstrm.c: Likewise.
4167 * manual/examples/mkdirent.c: Likewise.
4168 * manual/examples/mkfsock.c: Likewise.
4169 * manual/examples/mkisock.c: Likewise.
4170 * manual/examples/mygetpass.c: Likewise.
4171 * manual/examples/pipe.c: Likewise.
4172 * manual/examples/popen.c: Likewise.
4173 * manual/examples/rprintf.c: Likewise.
4174 * manual/examples/search.c: Likewise.
4175 * manual/examples/select.c: Likewise.
4176 * manual/examples/setjmp.c: Likewise.
4177 * manual/examples/sigh1.c: Likewise.
4178 * manual/examples/sigusr.c: Likewise.
4179 * manual/examples/stpcpy.c: Likewise.
4180 * manual/examples/strdupa.c: Likewise.
4181 * manual/examples/strftim.c: Likewise.
4182 * manual/examples/subopt.c: Likewise.
4183 * manual/examples/swapcontext.c: Likewise.
4184 * manual/examples/termios.c: Likewise.
4185 * manual/examples/testopt.c: Likewise.
4186 * manual/examples/testpass.c: Likewise.
4187 * manual/examples/timeval_subtract.c: Likewise.
4189 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4191 * sysdeps/x86/fpu/math_private.h: New file.
4192 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4194 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4199 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4201 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4202 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4203 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4204 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4206 (_dl_show_auxv): Give a special treatment to
4207 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4208 and AT_L3_CACHEGEOMETRY.
4209 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4210 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4211 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4212 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4214 2018-12-19 Andreas Schwab <schwab@suse.de>
4216 * nscd/connections.c (check_use): Don't abort on invalid len.
4218 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4220 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4221 values in the 64bit value cases.
4223 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4229 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4235 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4238 (__gmtime64_r): Add.
4240 (__gmtime64_r): Add.
4241 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4247 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4250 (__localtime64_r): Add.
4252 (__localtime64_r): Add.
4253 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4255 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4257 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4258 kernel_sigction definition.
4260 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4262 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4264 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4265 __syscall_rt_sigaction.
4266 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4267 (kernel_sigaction): Use Linux generic defintion.
4269 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4270 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4271 (__syscall_rt_sigaction): Remove implementation.
4272 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4274 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4275 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4276 INTERNAL_SYSCALL): Remove definitions.
4277 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4278 action and signal set size.
4279 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4280 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4282 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4283 James Clarke <jrtc27@jrtc27.com>
4286 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4287 Define if SA_RESTORER is defined.
4288 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4289 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4291 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4292 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4294 (HAS_SA_RESTORER): Define.
4295 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4296 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4297 (HAS_SA_RESTORER): Define.
4298 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4299 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4300 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4301 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4302 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4304 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4306 * sysdeps/unix/sysv/linux/kernel-features.h
4307 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4308 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4309 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4310 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4311 (__ASSUME_ST_INO_64_BIT): Likewise.
4312 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4313 <kernel-features.h>.
4314 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4315 Remove conditional code.
4316 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4317 <kernel-features.h>.
4318 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4319 Remove conditional code.
4320 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4321 <kernel-features.h>.
4322 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4323 Remove conditional code.
4324 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4325 <kernel-features.h>.
4326 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4327 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4329 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4331 * sysdeps/s390/multiarch/ifunc-resolve.h
4332 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4333 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4334 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4335 Delete macro definition.
4336 (s390_libc_ifunc_init): Rename to
4337 s390_libc_ifunc_expr_stfle_init.
4338 * sysdeps/s390/bzero: Use
4339 s390_libc_ifunc_expr_stfle_init instead of
4340 s390_libc_ifunc_init.
4341 * sysdeps/s390/memcmp.c: Likewise.
4342 * sysdeps/s390/memcpy.c: Likewise.
4343 * sysdeps/s390/mempcpy.c: Likewise.
4344 * sysdeps/s390/memset.c: Likewise.
4346 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4348 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4349 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4351 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4353 * sysdeps/s390/multiarch/Makefile
4354 (sysdep_routines): Remove wmemcmp variants.
4355 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4356 * sysdeps/s390/multiarch/ifunc-impl-list.c
4357 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4358 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4359 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4360 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4361 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4362 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4363 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4364 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4366 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4368 * sysdeps/s390/multiarch/Makefile
4369 (sysdep_routines): Remove wmemset variants.
4370 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4371 * sysdeps/s390/multiarch/ifunc-impl-list.c
4372 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4373 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4374 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4375 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4376 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4377 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4378 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4379 * sysdeps/s390/ifunc-wmemset.h: New file.
4381 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4383 * sysdeps/s390/multiarch/Makefile
4384 (sysdep_routines): Remove wmemchr variants.
4385 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4386 * sysdeps/s390/multiarch/ifunc-impl-list.c
4387 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4388 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4389 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4390 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4391 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4392 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4393 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4394 * sysdeps/s390/ifunc-wmemchr.h: New file.
4396 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4398 * sysdeps/s390/multiarch/Makefile
4399 (sysdep_routines): Remove wcscspn variants.
4400 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4401 * sysdeps/s390/multiarch/ifunc-impl-list.c
4402 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4403 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4404 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4405 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4406 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4407 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4408 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4409 * sysdeps/s390/ifunc-wcscspn.h: New file.
4411 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4413 * sysdeps/s390/multiarch/Makefile
4414 (sysdep_routines): Remove wcspbrk variants.
4415 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4416 * sysdeps/s390/multiarch/ifunc-impl-list.c
4417 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4418 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4419 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4420 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4421 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4422 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4423 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4424 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4426 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4428 * sysdeps/s390/multiarch/Makefile
4429 (sysdep_routines): Remove wcsspn variants.
4430 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4431 * sysdeps/s390/multiarch/ifunc-impl-list.c
4432 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4433 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4434 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4435 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4436 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4437 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4438 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4439 * sysdeps/s390/ifunc-wcsspn.h: New file.
4441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4443 * sysdeps/s390/multiarch/Makefile
4444 (sysdep_routines): Remove wcsrchr variants.
4445 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4446 * sysdeps/s390/multiarch/ifunc-impl-list.c
4447 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4448 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4449 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4450 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4451 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4452 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4453 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4454 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4456 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4458 * sysdeps/s390/multiarch/Makefile
4459 (sysdep_routines): Remove wcschrnul variants.
4460 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4461 * sysdeps/s390/multiarch/ifunc-impl-list.c
4462 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4463 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4464 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4465 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4466 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4467 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4468 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4469 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4473 * sysdeps/s390/multiarch/Makefile
4474 (sysdep_routines): Remove wcschr variants.
4475 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4476 * sysdeps/s390/multiarch/ifunc-impl-list.c
4477 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4478 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4479 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4480 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4481 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4482 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4483 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4484 * sysdeps/s390/ifunc-wcschr.h: New file.
4486 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4488 * sysdeps/s390/multiarch/Makefile
4489 (sysdep_routines): Remove wcsncmp variants.
4490 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4491 * sysdeps/s390/multiarch/ifunc-impl-list.c
4492 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4493 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4494 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4495 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4496 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4497 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4498 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4499 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4501 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4503 * sysdeps/s390/multiarch/Makefile
4504 (sysdep_routines): Remove wcscmp variants.
4505 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4506 * sysdeps/s390/multiarch/ifunc-impl-list.c
4507 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4508 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4509 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4510 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4511 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4512 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4513 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4514 * sysdeps/s390/ifunc-wcscmp.h: New file.
4516 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4518 * sysdeps/s390/multiarch/Makefile
4519 (sysdep_routines): Remove wcsncat variants.
4520 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4521 * sysdeps/s390/multiarch/ifunc-impl-list.c
4522 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4523 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4524 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4525 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4526 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4527 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4528 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4529 * sysdeps/s390/ifunc-wcsncat.h: New file.
4531 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4533 * sysdeps/s390/multiarch/Makefile
4534 (sysdep_routines): Remove wcscat variants.
4535 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4536 * sysdeps/s390/multiarch/ifunc-impl-list.c
4537 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4538 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4539 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4540 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4541 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4542 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4543 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4544 * sysdeps/s390/ifunc-wcscat.h: New file.
4546 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4548 * sysdeps/s390/multiarch/Makefile
4549 (sysdep_routines): Remove wcpncpy variants.
4550 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4551 * sysdeps/s390/multiarch/ifunc-impl-list.c
4552 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4553 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4554 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4555 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4556 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4557 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4558 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4559 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4561 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4563 * sysdeps/s390/multiarch/Makefile
4564 (sysdep_routines): Remove wcsncpy variants.
4565 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4566 * sysdeps/s390/multiarch/ifunc-impl-list.c
4567 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4568 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4569 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4570 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4571 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4572 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4573 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4574 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4576 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4578 * sysdeps/s390/multiarch/Makefile
4579 (sysdep_routines): Remove wcpcpy variants.
4580 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4581 * sysdeps/s390/multiarch/ifunc-impl-list.c
4582 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4583 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4584 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4585 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4586 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4587 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4588 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4589 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4591 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4593 * sysdeps/s390/multiarch/Makefile
4594 (sysdep_routines): Remove wcscpy variants.
4595 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4596 * sysdeps/s390/multiarch/ifunc-impl-list.c
4597 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4598 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4599 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4600 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4601 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4602 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4603 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4604 * sysdeps/s390/ifunc-wcscpy.h: New file.
4606 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4608 * sysdeps/s390/multiarch/Makefile
4609 (sysdep_routines): Remove wcsnlen variants.
4610 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4611 * sysdeps/s390/multiarch/ifunc-impl-list.c
4612 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4613 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4614 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4615 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4616 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4617 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4618 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4619 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4621 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4623 * sysdeps/s390/multiarch/Makefile
4624 (sysdep_routines): Remove wcslen variants.
4625 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4626 * sysdeps/s390/multiarch/ifunc-impl-list.c
4627 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4628 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4629 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4630 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4631 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4632 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4633 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4634 * sysdeps/s390/ifunc-wcslen.h: New file.
4636 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4638 * sysdeps/s390/multiarch/Makefile
4639 (sysdep_routines): Remove memrchr variants.
4640 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4641 * sysdeps/s390/multiarch/ifunc-impl-list.c
4642 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4643 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4644 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4645 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4646 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4647 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4648 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4649 * sysdeps/s390/ifunc-memrchr.h: New file.
4651 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4653 * sysdeps/s390/multiarch/Makefile
4654 (sysdep_routines): Remove memccpy variants.
4655 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4656 * sysdeps/s390/multiarch/ifunc-impl-list.c
4657 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4658 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4659 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4660 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4661 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4662 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4663 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4664 * sysdeps/s390/ifunc-memccpy.h: New file.
4666 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4668 * sysdeps/s390/multiarch/Makefile
4669 (sysdep_routines): Remove rawmemchr variants.
4670 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4671 * sysdeps/s390/multiarch/ifunc-impl-list.c
4672 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4673 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4674 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4675 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4676 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4677 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4678 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4679 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4681 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4683 * sysdeps/s390/multiarch/Makefile
4684 (sysdep_routines): Remove memchr variants.
4685 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4686 * sysdeps/s390/multiarch/ifunc-impl-list.c
4687 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4688 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4689 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4690 * sysdeps/s390/multiarch/memchr.c: Move to ...
4691 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4692 * sysdeps/s390/ifunc-memchr.h: New file.
4693 * sysdeps/s390/s390-64/memchr.S: Move to ...
4694 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4695 for 31/64bit and ifunc handling.
4696 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4697 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4698 * sysdeps/s390/s390-32/memchr.S: Likewise.
4700 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4702 * sysdeps/s390/multiarch/Makefile
4703 (sysdep_routines): Remove strcspn variants.
4704 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4705 * sysdeps/s390/multiarch/ifunc-impl-list.c
4706 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4707 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4708 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4709 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4710 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4711 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4712 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4713 * sysdeps/s390/ifunc-strcspn.h: New file.
4715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4717 * sysdeps/s390/multiarch/Makefile
4718 (sysdep_routines): Remove strpbrk variants.
4719 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4720 * sysdeps/s390/multiarch/ifunc-impl-list.c
4721 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4722 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4723 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4724 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4725 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4726 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4727 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4728 * sysdeps/s390/ifunc-strpbrk.h: New file.
4730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4732 * sysdeps/s390/multiarch/Makefile
4733 (sysdep_routines): Remove strspn variants.
4734 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4735 * sysdeps/s390/multiarch/ifunc-impl-list.c
4736 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4737 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4738 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4739 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4740 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4741 * sysdeps/s390/multiarch/strspn.c: Move to ...
4742 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4743 * sysdeps/s390/ifunc-strspn.h: New file.
4745 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4747 * sysdeps/s390/multiarch/Makefile
4748 (sysdep_routines): Remove strrchr variants.
4749 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4750 * sysdeps/s390/multiarch/ifunc-impl-list.c
4751 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4752 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4753 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4754 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4755 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4756 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4757 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4758 * sysdeps/s390/ifunc-strrchr.h: New file.
4760 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4762 * sysdeps/s390/multiarch/Makefile
4763 (sysdep_routines): Remove strchrnul variants.
4764 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4765 * sysdeps/s390/multiarch/ifunc-impl-list.c
4766 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4767 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4768 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4769 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4770 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4771 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4772 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4773 * sysdeps/s390/ifunc-strchrnul.h: New file.
4775 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4777 * sysdeps/s390/multiarch/Makefile
4778 (sysdep_routines): Remove strchr variants.
4779 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4780 * sysdeps/s390/multiarch/ifunc-impl-list.c
4781 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4782 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4783 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4784 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4785 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4786 * sysdeps/s390/multiarch/strchr.c: Move to ...
4787 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4788 * sysdeps/s390/ifunc-strchr.h: New file.
4790 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4792 * sysdeps/s390/multiarch/Makefile
4793 (sysdep_routines): Remove strncmp variants.
4794 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4795 * sysdeps/s390/multiarch/ifunc-impl-list.c
4796 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4797 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4798 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4799 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4800 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4801 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4802 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4803 * sysdeps/s390/ifunc-strncmp.h: New file.
4805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4807 * sysdeps/s390/multiarch/Makefile
4808 (sysdep_routines): Remove strcmp variants.
4809 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4810 * sysdeps/s390/multiarch/ifunc-impl-list.c
4811 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4812 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4813 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4814 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4815 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4816 * sysdeps/s390/ifunc-strcmp.h: New file.
4817 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4818 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4819 for 31/64bit and ifunc handling.
4820 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4821 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4822 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4824 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4826 * sysdeps/s390/multiarch/Makefile
4827 (sysdep_routines): Remove strncat variants.
4828 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4829 * sysdeps/s390/multiarch/ifunc-impl-list.c
4830 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4831 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4832 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4833 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4834 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4835 * sysdeps/s390/multiarch/strncat.c: Move to ...
4836 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4837 * sysdeps/s390/ifunc-strncat.h: New file.
4839 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4841 * sysdeps/s390/multiarch/Makefile
4842 (sysdep_routines): Remove strcat variants.
4843 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4844 * sysdeps/s390/multiarch/ifunc-impl-list.c
4845 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4846 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4847 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4848 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4849 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4850 * sysdeps/s390/multiarch/strcat.c: Move to ...
4851 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4852 * sysdeps/s390/ifunc-strcat.h: New file.
4854 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4856 * sysdeps/s390/multiarch/Makefile
4857 (sysdep_routines): Remove stpncpy variants.
4858 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4859 * sysdeps/s390/multiarch/ifunc-impl-list.c
4860 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4861 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4862 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4863 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4864 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4865 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4866 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4867 * sysdeps/s390/ifunc-stpncpy.h: New file.
4869 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4871 * sysdeps/s390/multiarch/Makefile
4872 (sysdep_routines): Remove strncpy variants.
4873 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4874 * sysdeps/s390/multiarch/ifunc-impl-list.c
4875 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4876 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4877 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4878 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4879 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4880 * sysdeps/s390/ifunc-strncpy.h: New file.
4881 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4882 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4883 and adjust ifunc handling.
4884 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4885 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4886 and adjust ifunc handling.
4887 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4888 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4890 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4892 * sysdeps/s390/multiarch/Makefile
4893 (sysdep_routines): Remove stpcpy variants.
4894 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4895 * sysdeps/s390/multiarch/ifunc-impl-list.c
4896 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4897 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4898 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4899 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4900 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4901 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4902 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4903 * sysdeps/s390/ifunc-stpcpy.h: New file.
4905 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4907 * sysdeps/s390/multiarch/Makefile
4908 (sysdep_routines): Remove strcpy variants.
4909 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4910 * sysdeps/s390/multiarch/ifunc-impl-list.c
4911 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4912 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4913 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4914 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4915 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4916 * sysdeps/s390/ifunc-strcpy.h: New file.
4917 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4918 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4919 for 31/64bit and ifunc handling.
4920 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4921 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4922 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4924 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4926 * sysdeps/s390/multiarch/Makefile
4927 (sysdep_routines): Remove strnlen variants.
4928 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4929 * sysdeps/s390/multiarch/ifunc-impl-list.c
4930 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4931 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4932 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4933 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4934 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4935 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4936 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4937 * sysdeps/s390/ifunc-strnlen.h: New file.
4939 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4941 * sysdeps/s390/multiarch/Makefile
4942 (sysdep_routines): Remove strlen variants.
4943 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4944 * sysdeps/s390/multiarch/ifunc-impl-list.c
4945 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4946 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4947 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4948 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4949 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4950 * sysdeps/s390/multiarch/strlen.c: Move to ...
4951 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4952 * sysdeps/s390/ifunc-strlen.h: New file.
4954 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4956 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4957 * sysdeps/s390/multiarch/ifunc-impl-list.c
4958 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4959 * sysdeps/s390/ifunc-memmem.h: New file.
4960 * sysdeps/s390/memmem.c: Likewise.
4961 * sysdeps/s390/memmem-c.c: Likewise.
4962 * sysdeps/s390/memmem-vx.c: Likewise.
4964 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4966 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4967 * sysdeps/s390/multiarch/ifunc-impl-list.c
4968 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4969 * sysdeps/s390/ifunc-strstr.h: New file.
4970 * sysdeps/s390/strstr.c: Likewise.
4971 * sysdeps/s390/strstr-c.c: Likewise.
4972 * sysdeps/s390/strstr-vx.c: Likewise.
4974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4976 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4977 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4978 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4979 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4981 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4982 * sysdeps/s390/memmove-c.c: New file.
4983 * sysdeps/s390/memmove.c: Likewise.
4984 * sysdeps/s390/multiarch/ifunc-impl-list.c
4985 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4989 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4990 * sysdeps/s390/configure.ac: Add check for z13 support.
4991 * sysdeps/s390/configure: Regenerated.
4993 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4995 * sysdeps/s390/memcopy.h: New file.
4997 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4999 * sysdeps/s390/s390-32/bcopy.S: Remove.
5000 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5002 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5004 * sysdeps/s390/ifunc-memcpy.h: New File.
5005 * sysdeps/s390/memcpy.S: Move to ...
5006 * sysdeps/s390/memcpy-z900.S ... here.
5007 Move implementations from memcpy-s390x.s to here.
5008 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5009 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5010 Remove memcpy/mempcpy variants.
5011 * sysdeps/s390/Makefile (sysdep_routines):
5012 Add memcpy/mempcpy variants.
5013 * sysdeps/s390/multiarch/ifunc-impl-list.c
5014 (__libc_ifunc_impl_list): Adjust ifunc variants for
5016 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5018 * sysdeps/s390/memcpy.c: ... here.
5019 Adjust ifunc variants for memcpy.
5020 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5021 * sysdeps/s390/mempcpy.c: ... here.
5022 Adjust ifunc variants for mempcpy.
5023 * sysdeps/s390/mempcpy.S: Delete file.
5025 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5027 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5028 * sysdeps/s390/memcpy.S: ... here.
5029 Adjust to be usable for 31/64bit.
5030 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5031 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5032 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5033 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5034 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5035 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5036 Adjust to be usable for 31/64bit.
5037 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5038 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5039 * sysdeps/s390/multiarch/memcpy.c: ... here.
5040 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5044 * sysdeps/s390/ifunc-memcmp.h: New File.
5045 * sysdeps/s390/memcmp.S: Move to ...
5046 * sysdeps/s390/memcmp-z900.S ... here.
5047 Move implementations from memcmp-s390x.s to here.
5048 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5049 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5050 Remove memcmp variants.
5051 * sysdeps/s390/Makefile (sysdep_routines):
5052 Add memcmp variants.
5053 * sysdeps/s390/multiarch/ifunc-impl-list.c
5054 (__libc_ifunc_impl_list): Adjust ifunc variants for
5056 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5058 * sysdeps/s390/memcmp.c: ... here.
5059 Adjust ifunc variants for memcmp.
5061 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5063 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5064 * sysdeps/s390/memcmp.S: ... here.
5065 Adjust to be usable for 31/64bit.
5066 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5067 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5068 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5070 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5071 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5072 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5073 Adjust to be usable for 31/64bit.
5074 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5075 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5076 * sysdeps/s390/multiarch/memcmp.c: ... here.
5077 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5079 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5081 * sysdeps/s390/s390-32/bzero.S: Delete file.
5082 * sysdeps/s390/s390-64/bzero.S: Likewise.
5083 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5084 * sysdeps/s390/bzero.c: New file.
5085 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5086 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5087 * sysdeps/s390/multiarch/ifunc-impl-list.c
5088 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5092 * sysdeps/s390/ifunc-memset.h: New File.
5093 * sysdeps/s390/memset.S: Move to ...
5094 * sysdeps/s390/memset-z900.S ... here.
5095 Move implementations from memset-s390x.s to here.
5096 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5097 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5098 Remove memset variants.
5099 * sysdeps/s390/Makefile (sysdep_routines):
5100 Add memset variants.
5101 * sysdeps/s390/multiarch/ifunc-impl-list.c
5102 (__libc_ifunc_impl_list): Adjust ifunc variants for
5104 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5106 * sysdeps/s390/memset.c: ... here.
5107 Adjust ifunc variants for memset.
5109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5111 * sysdeps/s390/s390-64/memset.S: Move to ...
5112 * sysdeps/s390/memset.S: ... here.
5113 Adjust to be usable for 31/64bit.
5114 * sysdeps/s390/s390-32/memset.S: Delete File.
5115 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5116 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5118 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5119 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5120 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5121 Adjust to be usable for 31/64bit.
5122 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5123 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5124 * sysdeps/s390/multiarch/memset.c: ... here.
5125 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5127 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5129 * sysdeps/s390/multiarch/ifunc-resolve.h
5130 (s390_libc_ifunc_init, s390_libc_ifunc,
5131 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5133 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5135 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5136 * sysdeps/s390/configure.ac: Add check for z10 support.
5137 * sysdeps/s390/configure: Regenerated.
5139 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5141 * sysdeps/i386/atomic-machine.h: Merged with ...
5142 * sysdeps/x86_64/atomic-machine.h: To ...
5143 * sysdeps/x86/atomic-machine.h: This. New file.
5145 2018-12-18 Florian Weimer <fweimer@redhat.com>
5147 Rewrite locale/gen-translit.pl in Python.
5148 * locale/Makefile (generated): Add C-translit.h.
5149 (before-compile): Add $(objpfx)C-translit.h.
5150 (C-translit.h): Move to $(objpfx). Create target directory.
5151 Build using Python script.
5152 * locale/gen-translit.py: New file.
5153 * locale/gen-translit.pl: Remove file.
5154 * locale/C-translit.h.in: Change comment character to '#' for
5155 easier parsing without a C preprocessor.
5156 * locale/C-translit.h: Remove generated file.
5157 * manual/install.texi (Tools for Compilation): Do not mention
5159 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5160 Remove locale/C-translit.h.
5161 * scripts/update-copyrights: Likewise.
5162 * INSTALL: Regenerate.
5164 2018-12-18 Florian Weimer <fweimer@redhat.com>
5167 * localedata/locales/bi_VU: Remove executable bit from file.
5169 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5172 (__localtime64): Add.
5173 * manual/maint.texi: Document Y2038 symbol handling.
5175 (__localtime64): Add.
5176 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5178 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5180 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5183 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5184 to allow extra macros from first or second sources.
5185 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5186 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5187 (tests-special): Add $(objpfx)tst-mman-consts.out.
5188 ($(objpfx)tst-mman-consts.out): New makefile target.
5190 2018-12-17 Mao Han <han_mao@c-sky.com>
5192 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5193 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5194 without stat64 system call support.
5195 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5196 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5197 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5198 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5199 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5200 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5201 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5202 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5203 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5204 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5205 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5207 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5209 regex: fix storage-exhaustion error
5211 * posix/regexec.c (get_subexp):
5212 Do not continue if storage is exhausted.
5214 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5216 regex: fix heap-use-after-free error
5218 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5219 https://debbugs.gnu.org/32592
5220 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5221 call extend_buffers which reallocates the re_string_t internal buffer.
5222 Local variable 'buf' was not updated in such case, resulting in
5224 * posix/regexec.c (get_subexp): Update 'buf' after call to
5227 2018-12-15 Florian Weimer <fweimer@redhat.com>
5229 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5230 (minimum_stride_size): Use it.
5231 (support_blob_repeat_allocate): Likewise.
5233 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5235 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5240 2018-12-14 Florian Weimer <fweimer@redhat.com>
5242 * manual/process.texi (Process Creation Concepts): Remove
5243 documentation of process (ID) lifetime. List more process
5244 creation functions. Reference Process Identification section.
5245 (Process Identification): Add information about process ID
5246 lifetime. Describe Linux thread/task IDs.
5247 * manual/signal.texi (Signaling Another Process): Mention that the
5248 signal is always sent to the process.
5250 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5252 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5253 and tst-ldbl-efgcvt.
5254 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5255 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5256 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5257 (fcvt_tests, output_error, output_r_error, do_test): Use the
5258 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5259 select the type of floating-point variables and arguments; to
5260 produce extra tests for double and conversion specifiers for
5261 printf; and to set the names of called functions.
5262 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5263 in tst-efgcvt-template.c.
5264 * misc/tst-ldbl-efgcvt.c: Likewise.
5266 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5268 * nss/Makefile (tst-nss-test3.out): New rule.
5270 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5272 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5275 2018-12-13 fanjinke <fanjinke@hygon.cn>
5277 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5280 2018-12-13 Andreas Schwab <schwab@suse.de>
5283 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5284 (__pthread_rwlock_rdlock_full): Update expected value for
5285 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5286 * nptl/tst-rwlock-pwn.c: New file.
5287 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5289 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5291 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5294 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5296 * benchtests/scripts/compare_bench.py (do_compare): write to
5297 stderr in casestat is not present.
5298 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5299 stderr in case timings field is not present. Also string showing
5300 the output filename goes into the stderr.
5302 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5304 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5305 and ZeroDivisorError exceptions.
5306 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5307 argument to loop through user provided statistics.
5308 * benchtests/scripts/compare_bench.py (main): Include the --stats
5311 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5313 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5316 2018-12-12 Florian Weimer <fweimer@redhat.com>
5318 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5319 clause to copyright header.
5321 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5324 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5325 registers saved in the stack frame.
5326 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5327 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5329 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5331 * include/bits/monetary-ldbl.h: New file.
5332 * include/bits/printf-ldbl.h: Likewise.
5333 * include/bits/stdio-ldbl.h: Likewise.
5334 * include/bits/stdlib-ldbl.h: Likewise.
5335 * include/bits/syslog-ldbl.h: Likewise.
5336 * include/bits/wchar-ldbl.h: Likewise.
5338 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5340 * libio/libio.h: Remove redirection for _IO_vfprintf.
5342 2018-12-11 Andreas Schwab <schwab@suse.de>
5344 * Makerules: Remove all references to abilist-pattern.
5345 (update-all-abi): Simplify find expression.
5347 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5350 * math/auto-libm-test-in: Add new test case.
5351 * math/auto-libm-test-out-pow: Regenerated.
5352 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5354 2018-12-10 DJ Delorie <dj@redhat.com>
5357 * support/test-container.c: Move postclean step to before we
5360 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5362 * scripts/gen-as-const.py (main): Handle --python option.
5363 * scripts/gen-py-const.awk: Remove.
5364 * Makerules (py-const-script): Use gen-as-const.py.
5365 ($(py-const)): Likewise.
5366 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5367 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5368 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5369 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5370 ~PTHREAD_MUTEX_NO_ELISION_NP.
5371 * manual/README.pretty-printers: Update reference to
5374 * scripts/glibcextract.py: New file.
5375 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5376 or tempfile. Import glibcexctract.
5377 (compute_c_consts): Remove. Moved to glibcextract.py.
5378 (gen_test): Update reference to compute_c_consts.
5380 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5381 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5382 * sysdeps/unix/sysv/linux/Makefile
5383 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5384 Redirect stderr as well as stdout.
5386 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5389 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5390 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5391 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5392 ALWAYS_USE_VSYSCALL.
5393 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5394 ALWAYS_USE_VSYSCALL.
5395 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5396 ALWAYS_USE_VSYSCALL.
5398 2018-12-10 Florian Weimer <fweimer@redhat.com>
5401 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5402 offset instead of count for clarity. Fix typo in comment.
5403 (__old_getdents64): Keep track of previous offset. Use it to call
5405 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5406 that d_off is never zero.
5408 2018-12-10 Andreas Schwab <schwab@suse.de>
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5411 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5413 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5414 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5416 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5418 * timezone/private.h: Update from tzcode 2018g.
5419 * timezone/tzfile.h: Likewise.
5420 * timezone/tzselect.ksh: Likewise.
5421 * timezone/zdump.c: Likewise.
5422 * timezone/zic.c: Likewise.
5424 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5427 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5428 (do_test): Adjust buffer size and fix format.
5430 2018-12-07 DJ Delorie <dj@redhat.com>
5433 * malloc/tst-tcfree3.c: New.
5434 * malloc/Makefile: Add it.
5436 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5438 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5440 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5442 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5443 used as a mask for the mode argument of __vfscanf_internal and
5444 __vfwscanf_internal.
5445 * stdio-common/vfscanf-internal.c
5446 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5447 (__strtof128_internal): Define to __wcstof128_internal.
5448 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5449 __strtof128_internal or __wcstof128_internal when the format of
5450 long double is the same as _Float128.
5452 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5454 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5455 * posix/confstr.c (confstr): Rename to __confstr.
5456 (__confstr): Add hidden def.
5457 (confstr): Add weak alias for __confstr.
5458 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5461 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5463 * NEWS: Mention getcpu.
5464 * include/sched.h (__getcpu): New libc_hidden_proto.
5465 * manual/resource.texi: Document getcpu.
5466 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5467 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5468 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5469 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5470 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5471 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5472 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5473 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5474 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5475 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5476 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5477 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5478 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5480 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5481 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5482 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5491 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5492 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5493 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5494 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5495 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5496 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5497 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5498 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5499 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5500 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5501 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5504 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5506 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5508 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5510 2018-12-07 Florian Weimer <fweimer@redhat.com>
5513 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5514 * posix/Versions (GLIBC_2.29): Export
5515 posix_spawn_file_actions_addfchdir_np.
5516 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5517 * posix/spawn_faction_destroy.c
5518 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5519 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5520 and the field action.fchdir_action.
5521 * posix/tst-spawn-chdir.c (add_chdir): New function.
5522 (do_test): Add do_fchdir loop. Call add_chdir.
5523 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5524 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5525 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5526 posix_spawn_file_actions_addfchdir_np.
5527 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5529 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5531 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5532 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5534 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5536 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5538 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5540 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5542 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5544 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5545 (GLIBC_2.29): Likewise.
5546 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5547 (GLIBC_2.29): Likewise.
5548 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5549 (GLIBC_2.29): Likewise.
5550 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5551 (GLIBC_2.29): Likewise.
5552 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5555 (GLIBC_2.29): Likewise.
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5557 (GLIBC_2.29): Likewise.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5559 (GLIBC_2.29): Likewise.
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5561 (GLIBC_2.29): Likewise.
5562 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5564 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5566 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5568 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5569 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5571 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5573 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5575 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5578 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5580 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5581 trailing whitespace removed.
5582 * scripts/config.guess: Update to version 2018-11-28.
5583 * scripts/config.sub: Update to version 2018-11-28.
5584 * scripts/install-sh: Update to version 2018-03-11.20.
5585 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5586 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5588 2018-12-07 Florian Weimer <fweimer@redhat.com>
5592 * inet/tst-if_index-long.c: New file.
5593 * inet/Makefile (tests): Add tst-if_index-long.
5595 2018-12-07 Florian Weimer <fweimer@redhat.com>
5597 * support/check.h (support_record_failure_is_failed): Declare.
5598 * support/descriptors.h: New file.
5599 * support/support_descriptors.c: Likewise.
5600 * support/tst-support_descriptors.c: Likewise.
5601 * support/support_record_failure.c
5602 (support_record_failure_is_failed): New function.
5603 * support/Makefile (libsupport-routines): Add support_descriptors.
5604 (tests): Add tst-support_descriptors.
5606 2018-12-05 Zack Weinberg <zackw@panix.com>
5607 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5609 * stdio-common/vfprintf-internal.c
5610 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5611 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5612 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5613 and __no_long_double.
5614 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5615 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5616 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5617 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5618 and __nldbl_*syslog* functions.
5619 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5620 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5621 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5622 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5623 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5624 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5625 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5626 (__nldbl_vwprintf, __nldbl_wprintf):
5627 Directly call the appropriate __v*printf_internal routine, passing
5628 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5630 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5631 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5632 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5633 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5634 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5635 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5636 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5637 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5638 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5639 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5640 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5641 (__nldbl_syslog, __nldbl_vsyslog):
5642 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5643 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5645 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5648 2018-12-05 Zack Weinberg <zackw@panix.com>
5649 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5652 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5653 Moved here from debug/vsprintf_chk.c.
5654 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5655 and completion logic for the strfile to match exactly what
5656 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5657 _IO_str_init_static_internal instead of maxlen-1.
5658 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5659 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5660 __vsprintf_internal.
5662 * debug/vsprintf_chk.c (__vsprintf_chk)
5663 * debug/sprintf_chk.c (__sprintf_chk):
5664 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5665 'flags' argument is positive, and slen as maxlen. No need to lock
5666 the FILE and/or construct a temporary FILE. Minimize and normalize
5667 header inclusions and variable names. Do not libc_hidden_def anything.
5669 * debug/asprintf_chk.c (__asprintf_chk)
5670 * debug/dprintf_chk.c (__dprintf_chk)
5671 * debug/fprintf_chk.c (__fprintf_chk)
5672 * debug/fwprintf_chk.c (__fwprintf_chk)
5673 * debug/printf_chk.c (__printf_chk)
5674 * debug/snprintf_chk.c (__snprintf_chk)
5675 * debug/swprintf_chk.c (__swprintf_chk)
5676 * debug/vasprintf_chk.c (__vasprintf_chk)
5677 * debug/vdprintf_chk.c (__vdprintf_chk)
5678 * debug/vfprintf_chk.c (__vfprintf_chk)
5679 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5680 * debug/vprintf_chk.c (__vprintf_chk)
5681 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5682 * debug/vswprintf_chk.c (__vswprintf_chk)
5683 * debug/vwprintf_chk.c (__vwprintf_chk)
5684 * debug/wprintf_chk.c (__wprintf_chk):
5685 Directly call the corresponding vxxprintf_internal function, passing
5686 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5687 the FILE and/or construct a temporary FILE. Minimize and normalize
5688 header inclusions and variable names. Do not libc_hidden_def anything.
5690 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5691 __obstack_vprintf_internal.
5692 (__obstack_vprintf_chk): Convert into a wrapper that calls
5693 __obstack_vprintf_internal (these two functions already had the
5694 same code) and move to new file...
5695 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5697 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5698 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5699 * debug/Makefile (routines): Add vobprintf_chk.
5701 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5702 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5703 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5704 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5705 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5706 (__nldbl___obstack_vfprintf_chk):
5707 Directly call the corresponding vxxprintf_internal function,
5708 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5709 duplicate comparison of slen with 0 or maxlen from the corresponding
5710 non-__nldbl function.
5712 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5713 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5714 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5715 Remove libc_hidden_proto.
5717 * stdio-common/vfprintf-internal.c
5718 (__vfprintf_internal, __vfwprintf_internal):
5719 Do not check _IO_FLAGS2_FORTIFY.
5720 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5721 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5722 a comment explaining why it has the maxlen argument.
5723 (_IO_acquire_lock_clear_flags2_fct): Remove.
5724 (_IO_acquire_lock_clear_flags2): Remove.
5725 (_IO_release_lock): Remove conditional statement which will
5727 (_IO_acquire_lock): Remove variable which is now unused.
5728 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5729 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5731 * stdio-common/Makefile (tests): Add tst-bz11319 and
5732 tst-bz11319-fortify2.
5733 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5734 * stdio-common/tst-bz11319-fortify2.c: New file.
5735 * stdio-common/tst-bz11319.c: Likewise.
5737 2018-12-05 Zack Weinberg <zackw@panix.com>
5738 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5740 * misc/syslog.c: Include libioP.h, not iolibio.h.
5741 (__vsyslog_internal): New function with the former body of
5742 __vsyslog_chk; takes mode_flags argument same as
5743 __v*printf_internal. Call __vfprintf_internal directly.
5745 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5746 Remove libc_hidden_def.
5747 (__syslog, __syslog_chk): Use __vsyslog_internal.
5748 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5750 * include/sys/syslog.h: Add multiple inclusion guard.
5751 Add prototype for __vsyslog_internal.
5752 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5754 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5755 Use __vsyslog_internal.
5757 2018-12-05 Zack Weinberg <zackw@panix.com>
5758 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5760 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5761 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5762 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5764 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5765 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5767 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5768 Include wctype.h here if COMPILE_WPRINTF is defined.
5769 Define __vfprintf_internal or __vfwprintf_internal, depending
5771 Temporarily, on entry to this function, update mode_flags
5772 according to the environmental settings corresponding to
5773 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5774 Throughout, check mode_flags instead of __ldbl_is_dbl and
5775 _IO_FLAGS2_FORTIFY on the destination FILE.
5776 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5777 Include vfprintf-internal.c. Don't include wctype.h.
5778 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5779 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5781 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5782 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5784 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5786 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5787 and add mode_flags argument; use __vfprintf_internal.
5788 (__vdprintf): New function. Alias vdprintf to this.
5789 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5790 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5791 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5792 (__obstack_printf): Use __obstack_printf_internal.
5793 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5794 public aliases __vsnprintf and vsnprintf.
5795 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5797 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5798 public aliases _IO_vsprintf and vsprintf.
5799 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5800 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5801 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5802 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5803 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5805 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5806 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5807 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5808 * stdio-common/printf.c: Use __vfprintf_internal.
5810 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5811 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5812 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5814 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5815 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5816 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5817 __vfwprintf_internal.
5819 * libio/libio.h: Remove libc_hidden_proto and declaration for
5821 Remove declaration of _IO_vfwprintf.
5822 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5824 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5826 * include/stdio.h: Add prototype for __vasprintf.
5827 (__vsnprintf): Remove declaration, because there are no more
5829 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5830 declaration, because there are no more internal calls.
5832 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5833 __vsnprintf_internal, instead of _IO_vsnprintf.
5834 * argp/argp-help.c (__argp_error, __argp_failure): Use
5835 __vasprintf_internal, instead of _IO_vasprintf.
5836 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5837 redefine, because there are no more internal calls.
5839 2018-12-05 Zack Weinberg <zackw@panix.com>
5840 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5842 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5843 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5844 Include libio/strfile.h instead of libioP.h.
5845 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5846 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5847 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5848 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5849 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5850 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5851 necessary. Do not set __no_long_double. Normalize variable names.
5852 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5853 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5854 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5855 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5856 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5857 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5858 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5859 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5860 Do not set __no_long_double. Normalize variable names.
5862 2018-12-05 Zack Weinberg <zackw@panix.com>
5863 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5865 * stdio-common/isoc99_scanf.c
5866 * stdio-common/isoc99_fscanf.c
5867 * stdio-common/isoc99_sscanf.c
5868 * stdio-common/isoc99_vscanf.c
5869 * stdio-common/isoc99_vfscanf.c
5870 * stdio-common/isoc99_vsscanf.c
5871 * wcsmbs/isoc99_wscanf.c
5872 * wcsmbs/isoc99_fwscanf.c
5873 * wcsmbs/isoc99_swscanf.c
5874 * wcsmbs/isoc99_vwscanf.c
5875 * wcsmbs/isoc99_vfwscanf.c
5876 * wcsmbs/isoc99_vswscanf.c:
5877 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5878 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5879 No need to lock and unlock the FILE passed to that function.
5881 * stdio-common/vfscanf-internal.c
5882 (__vfscanf_internal, __vfwscanf_internal):
5883 Don't look at _IO_FLAGS2_SCANF_STD.
5884 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5885 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5886 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5888 2018-12-05 Zack Weinberg <zackw@panix.com>
5889 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5891 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5892 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5893 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5894 * libio/strfile.h: Add multiple inclusion guard.
5895 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5897 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5898 consistency with the other version of this file.
5899 (ldbl_compat_symbol): New macro.
5900 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5903 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5904 Define __vfscanf_internal or __vfwscanf_internal, depending on
5905 COMPILE_WSCANF; don't define any other public symbols.
5906 Remove errval and code to set errp.
5907 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5908 as the mode_flags argument.
5909 (encode_error, conv_error, input_error): Don't set errval.
5910 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5911 Include vfscanf-internal.c.
5912 * stdio-common/vfscanf.c: New file defining the public entry
5913 point vfscanf, which calls __vfscanf_internal.
5914 * stdio-common/vfwscanf.c: New file defining the public entry
5915 point vfwscanf, which calls __vfwscanf_internal.
5917 * stdio-common/iovfscanf.c: New file.
5918 * stdio-common/iovfwscanf.c: Likewise.
5920 * stdio-common/Makefile (routines): Add vfscanf-internal,
5921 vfwscanf-internal, iovfscanf, iovfwscanf.
5922 * stdio-common/Versions: Mention GLIBC_2.29, so that
5923 it can be used in SHLIB_COMPAT expressions.
5924 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5925 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5926 Call __vfscanf_internal, instead of _IO_vfscanf.
5927 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5929 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5932 * libio/iovsscanf.c: Clean up includes, when possible. Use
5933 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5934 __vfscanf_internal or __vfwscanf_internal directly.
5935 * libio/iovswscanf.c: Likewise.
5936 * libio/swscanf.c: Likewise.
5937 * libio/vscanf.c: Likewise.
5938 * libio/vwscanf.c: Likewise.
5939 * libio/wscanf.c: Likewise.
5940 * stdio-common/isoc99_fscanf.c: Likewise.
5941 * stdio-common/isoc99_scanf.c: Likewise.
5942 * stdio-common/isoc99_sscanf.c: Likewise.
5943 * stdio-common/isoc99_vfscanf.c: Likewise.
5944 * stdio-common/isoc99_vscanf.c: Likewise.
5945 * stdio-common/isoc99_vsscanf.c: Likewise.
5946 * stdio-common/scanf.c: Likewise.
5947 * stdio-common/sscanf.c: Likewise.
5948 * wcsmbs/isoc99_fwscanf.c: Likewise.
5949 * wcsmbs/isoc99_swscanf.c: Likewise.
5950 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5951 * wcsmbs/isoc99_vswscanf.c: Likewise.
5952 * wcsmbs/isoc99_vwscanf.c: Likewise.
5953 * wcsmbs/isoc99_wscanf.c: Likewise.
5955 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5958 (__tz_compute): Replace time_t with __time64_t.
5959 (__tz_convert): Replace time_t* with __time64_t.
5960 (__offtime): Replace time_t* with __time64_t.
5962 (__gmtime_r): Adjust call to __tz_convert.
5965 (__localtime_r): Likewise.
5966 (localtime): Likewise.
5967 * time/offtime.c: Replace time_t with __time64_t.
5968 * time/tzset.c: Likewise.
5970 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5972 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5973 dynamic linker unless [$(run-built-tests) = yes].
5975 2018-12-03 DJ Delorie <dj@delorie.com>
5977 * support/test-container.c (check_for_unshare_hints): New.
5978 (main): Call it if unshare fails. Add support for "su" scriptlet
5981 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5983 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5984 'START' to indicate that start text should be output.
5985 (gen_test): Likewise.
5986 (main): Generate 'START' for first symbol or '--' line, or at end
5987 of input if not previously generated.
5989 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5992 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5993 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5994 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5995 ALWAYS_USE_VSYSCALL.
5997 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6000 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6003 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6006 * locale/programs/localedef.c: Declare boolean hard_links default true.
6007 (options): Add --no-hard-links option.
6008 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6009 * locale/programs/localedef.h: Declare prototype for hard_links.
6010 * locale/programs/locfile.c (write_locale_data): Don't use hard
6011 links if hard_links is false.
6013 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6015 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6017 (__cache_sysconf): Likewise.
6018 (init_cacheinfo): Likewise.
6019 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6020 populate COMMON_CPUID_INDEX_80000007 and
6021 COMMON_CPUID_INDEX_80000008.
6022 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6023 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6024 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6025 (init_cpu_features): Use _Static_assert on
6026 index_arch_Fast_Unaligned_Load.
6027 __get_cpuid_registers and __get_arch_feature. Updated for
6028 cpu_features_basic. Set stepping in cpu_features.
6029 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6030 (FEATURE_INDEX_2): New.
6031 (FEATURE_INDEX_MAX): Changed to enum.
6032 (COMMON_CPUID_INDEX_D_ECX_1): New.
6033 (COMMON_CPUID_INDEX_80000007): Likewise.
6034 (COMMON_CPUID_INDEX_80000008): Likewise.
6035 (cpuid_registers): Likewise.
6036 (cpu_features_basic): Likewise.
6037 (CPU_FEATURE_USABLE): Likewise.
6038 (bit_arch_XXX_Usable): Likewise.
6039 (cpu_features): Use cpuid_registers and cpu_features_basic.
6040 (bit_arch_XXX): Reweritten.
6041 (bit_cpu_XXX): Likewise.
6042 (index_cpu_XXX): Likewise.
6043 (reg_XXX): Likewise.
6044 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6046 (CHECK_CPU_FEATURE): New.
6047 (CHECK_CPU_FEATURE_USABLE): Likewise.
6048 (cpu_kinds): Likewise.
6049 (do_test): Print vendor, family, model and stepping. Check
6050 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6051 (TEST_FUNCTION): Removed.
6052 Include <support/test-driver.c> instead of
6053 "../../test-skeleton.c".
6054 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6055 Check POPCNT instead of POPCOUNT.
6056 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6058 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6060 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6061 there is no element in `consts'.
6063 2018-12-01 Florian Weimer <fweimer@redhat.com>
6065 * support/support_capture_subprocess.c
6066 (support_capture_subprocess): Check that pipe descriptors have
6067 expected values. Close original pipe descriptors in subprocess.
6069 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6072 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6073 attr with __pthread_default_barrierattr.
6074 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6075 attr with __pthread_default_condattr.
6076 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6077 attr with __pthread_default_mutexattr.
6078 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6079 attr with __pthread_default_rwlockattr.
6081 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6083 * manual/tunables.texi (POSIX Thread Tunables): New node.
6084 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6085 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6086 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6087 __pthread_tunables_init.
6088 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6089 (max_adaptive_count): Define.
6090 * nptl/pthread_mutex_conf.c: New file.
6091 * nptl/pthread_mutex_conf.h: New file.
6092 * sysdeps/generic/adaptive_spin_count.h: New file.
6093 * sysdeps/nptl/dl-tunables.list: New file.
6094 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6095 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6096 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6099 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6102 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6103 * stdlib/on_exit.c (__on_exit): Likewise.
6104 * stdlib/Makefile (tests): Add tst-bz20544.
6105 * stdlib/tst-bz20544.c: New test.
6107 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6110 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6111 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6114 2018-11-30 Florian Weimer <fweimer@redhat.com>
6116 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6117 Extend error logging.
6118 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6121 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6123 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6124 __sigismember instead of sigismember.
6125 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6126 cancel_handler): New definitions.
6127 (do_system): Use posix_spawn instead of fork and execl and remove
6129 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6130 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6131 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6132 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6133 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6134 * sysdeps/unix/sysv/linux/system.c: Likewise.
6138 * NEWS: Add new semantic for atfork with popen and system.
6139 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6142 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6145 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6146 modification order when accessing reloc_result->addr.
6147 * include/link.h (reloc_result): Add field init.
6148 * nptl/Makefile (tests): Add tst-audit-threads.
6149 (modules-names): Add tst-audit-threads-mod1 and
6150 tst-audit-threads-mod2.
6151 Add rules to build tst-audit-threads.
6152 * nptl/tst-audit-threads-mod1.c: New file.
6153 * nptl/tst-audit-threads-mod2.c: Likewise.
6154 * nptl/tst-audit-threads.c: Likewise.
6155 * nptl/tst-audit-threads.h: Likewise.
6157 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6159 * scripts/gen-as-const.py: New file.
6160 * scripts/gen-as-const.awk: Remove.
6161 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6163 ($(objpfx)test-as-const-%.c): Likewise.
6165 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6167 * elf/dl-exception.c: Include <_itoa.h>.
6169 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6171 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6172 returned by __f_setlk.
6174 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6175 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6177 * elf/Makefile (tests-internal): Add tst-create_format1.
6178 * elf/dl-exception.c (_dl_exception_create_format): Support
6180 * elf/tst-create_format1.c: New file.
6182 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6184 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6185 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6187 * argp/argp-help.c (__argp_failure): Likewise.
6189 2018-11-29 Mao Han <han_mao@c-sky.com>
6191 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6192 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6193 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6194 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6195 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6196 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6197 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6198 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6199 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6200 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6201 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6202 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6203 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6204 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6205 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6206 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6207 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6208 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6209 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6210 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6211 (R_CKCORE_TLS_TPOFF32): New defines.
6213 2018-11-29 Florian Weimer <fweimer@redhat.com>
6215 * posix/Makefile (before-compile): Remove testcases.h and
6217 (generated): Add testcases.h and ptestcases.h.
6218 (testcases.h, ptestcases.h): Move to $(objpfx).
6219 (runtests.o): Add dependency on testcases.h.
6220 (runptests.o): Add dependency on ptestcases.h.
6221 * posix/testcases.h, posix/ptestcases.h: Remove files.
6222 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6223 not touch posix/testcases.h and posix/ptestcases.h.
6225 2018-11-28 Florian Weimer <fweimer@redhat.com>
6227 support: Add signal support to support_capture_subprocess_check.
6228 * support/capture_subprocess.h (support_capture_subprocess_check):
6229 Adjust comment and rename parameter.
6230 * support/support_capture_subprocess_check.c
6231 (print_actual_status): New function.
6232 (support_capture_subprocess_check): Support negative
6233 status_or_signal. Call print_actual_status.
6234 * support/tst-support_capture_subprocess.c (do_test): Call
6235 support_capture_subprocess_check.
6236 * libio/tst-vtables-common.c (termination_status)
6237 (init_termination_status): Remove.
6238 (check_for_termination): Adjust support_capture_subprocess_check
6240 (do_test): Remove call to init_termination_status.
6242 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6244 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6245 source directory instead of a copy.
6246 (CommandList.create_copy_dir): Remove.
6248 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6250 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6252 2018-11-28 Florian Weimer <fweimer@redhat.com>
6254 * support/support.h (support_quote_string): Do not use str
6257 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6259 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6260 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6262 2018-11-27 Florian Weimer <fweimer@redhat.com>
6264 * support/support.h (support_quote_string): Declare.
6265 * support/support_quote_string.c: New file.
6266 * support/tst-support_quote_string.c: Likewise.
6267 * support/Makefile (libsupport-routines): Add
6268 support_quote_string.
6269 (tests): Add tst-support_quote_string.
6271 2018-11-27 Florian Weimer <fweimer@redhat.com>
6275 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6276 descriptor leak in case of ENODEV error.
6278 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6281 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6282 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6283 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6285 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6287 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6288 Error for unknown lines.
6290 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6292 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6293 Touch additional files.
6295 2018-11-26 Florian Weimer <fweimer@redhat.com>
6298 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6301 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6304 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6305 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6306 SHARED. Include sysdep.h.
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6308 ALWAYS_USE_VSYSCALL.
6309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6310 ALWAYS_USE_VSYSCALL.
6312 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6315 * nptl/Makefile (tests-static): Add tst-cond11-static.
6317 * nptl/tst-cond11-static.c: New File.
6318 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6319 tst-affinity-static.
6321 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6323 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6324 (USE_VSYSCALL): Likewise.
6325 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6326 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6328 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6333 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6336 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6337 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6340 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6342 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6343 (tst-cet-legacy-1a-ARGS): New.
6344 ($(objpfx)tst-cet-legacy-1a): New target.
6345 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6347 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6349 * conform/conformtest.py (CompileSubTest.__init__): Set
6350 self.run_early to False.
6351 (ExecuteSubTest.__init__): Likewise.
6352 (HeaderTests.run): Try running all non-optional, non-XFAILed
6353 compilation tests in a single execution of the compiler.
6355 * conform/conformtest.py (CompileSubTest): New class.
6356 (ExecuteSubTest): Likewise.
6357 (ElementTest.run): Rename to gen_subtests. Append tests to
6358 self.subtests instead of running them.
6359 (ConstantTest.run): Likewise.
6360 (SymbolTest.run): Likewise.
6361 (TypeTest.run): Likewise.
6362 (TagTest.run): Likewise.
6363 (FunctionTest.run): Likewise.
6364 (VariableTest.run): Likewise.
6365 (MacroFunctionTest.run): Likewise.
6366 (MacroStrTest.run): Likewise.
6367 (HeaderTests.handle_test_line): Generate subtests for tests.
6368 (HeaderTests.run): Run subtests for tests.
6370 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6372 * math/Versions (GLIBC_2.29): Add pow.
6373 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6375 * math/w_pow.c: New file.
6376 * sysdeps/i386/fpu/w_pow.c: New file.
6377 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6379 and add necessary aliases.
6380 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6381 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6382 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6383 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6384 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6385 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6386 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6387 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6388 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6389 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6390 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6391 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6392 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6393 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6394 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6399 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6400 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6401 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6402 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6403 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6404 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6405 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6406 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6408 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6409 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6410 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6412 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6414 * math/Versions (GLIBC_2.29): Add log2.
6415 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6417 * math/w_log2.c: New file.
6418 * sysdeps/i386/fpu/w_log2.c: New file.
6419 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6420 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6421 and add necessary aliases.
6422 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6423 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6424 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6425 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6426 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6427 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6428 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6429 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6430 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6431 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6432 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6433 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6434 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6435 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6436 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6441 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6442 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6443 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6445 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6446 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6447 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6449 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6451 * math/Versions (GLIBC_2.29): Add log.
6452 * math/w_log_compat.c (__log_compat): Change to versioned compat
6454 * math/w_log.c: New file.
6455 * sysdeps/i386/fpu/w_log.c: New file.
6456 * sysdeps/ia64/fpu/e_log.S: Update.
6457 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6458 and add necessary aliases.
6459 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6460 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6461 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6462 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6463 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6464 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6465 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6466 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6467 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6468 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6469 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6470 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6471 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6472 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6473 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6478 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6479 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6480 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6481 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6482 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6483 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6484 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6485 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6487 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6488 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6489 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6490 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6492 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6494 * math/Versions (GLIBC_2.29): Add exp and exp2.
6495 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6496 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6497 * math/w_exp_compat.c (__exp_compat): Likewise.
6498 * math/w_exp.c: New file.
6499 * math/w_exp2.c: New file.
6500 * sysdeps/i386/fpu/w_exp.c: New file.
6501 * sysdeps/i386/fpu/w_exp2.c: New file.
6502 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6503 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6504 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6505 and add necessary aliases.
6506 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6507 and add necessary aliases.
6508 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6509 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6510 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6511 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6512 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6513 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6514 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6515 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6516 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6517 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6518 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6519 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6520 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6521 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6522 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6523 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6524 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6529 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6530 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6531 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6532 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6534 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6535 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6536 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6537 (__ieee754_exp): Rename to __exp.
6538 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6539 (__ieee754_exp): Rename to __exp.
6540 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6541 (__ieee754_exp): Rename to __exp.
6542 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6544 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6546 2018-11-20 DJ Delorie <dj@redhat.com>
6548 * malloc/malloc.c (tcache_entry): Add key field.
6549 (tcache_put): Set it.
6550 (tcache_get): Likewise.
6551 (_int_free): Check for double free in tcache.
6552 * malloc/tst-tcfree1.c: New.
6553 * malloc/tst-tcfree2.c: New.
6554 * malloc/Makefile: Run the new tests.
6555 * manual/probes.texi: Document memory_tcache_double_free probe.
6557 * dlfcn/dlerror.c (check_free): Prevent double frees.
6559 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6561 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6563 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6565 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6566 in tests. Use names for format arguments.
6567 (ConstantTest.run): Likewise.
6568 (SymbolTest.run): Likewise.
6569 (TypeTest.run): Likewise.
6570 (TagTest.run): Likewise.
6571 (FunctionTest.run): Likewise.
6572 (VariableTest.run): Likewise.
6573 (MacroFunctionTest.run): Likewise.
6574 (MacroStrTest.run): Likewise.
6575 (HeaderTests.__init__): Set self.num_tests.
6576 (HeaderTests.handle_test_line): Set test.num. Increment
6579 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6581 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6582 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6585 2018-11-19 Mao Han <han_mao@c-sky.com>
6587 * scripts/config.guess: Update to version 2018-08-29.
6588 * scripts/config.sub: Update to version 2018-08-29.
6590 2018-11-19 Florian Weimer <fweimer@redhat.com>
6592 support: Print timestamps in timeout handler.
6593 * support/support_test_main.c (print_timestamp): New function.
6594 (signal_handler): Use it to print the termination time and the
6595 time of the last write to standard output.
6597 2018-11-16 Zack Weinberg <zackw@panix.com>
6598 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6600 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6601 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6603 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6604 and add flags argument. Check flags instead of __ldbl_is_dbl when
6605 deciding whether to set is_long_double.
6606 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6607 passing zero for flags argument.
6608 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6610 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6611 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6612 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6613 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6614 variable names. Remove libc_hidden_def/libc_hidden_proto from
6615 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6616 longer called from within the library.
6617 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6618 for __nldbl___vstrfmon_l, declare it explicitly.
6620 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6622 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6624 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6626 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6627 F_SETLK64, F_SETLKW64, respectively.
6628 * sysdeps/mach/hurd/f_setlk.c: New file.
6629 * sysdeps/mach/hurd/f_setlk.h: New file.
6630 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6632 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6633 (__libc_fcntl): Move non-flock operations to...
6634 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6635 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6637 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6639 mktime: DEBUG_MKTIME cleanup
6640 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6641 And it’s no longer needed now that glibc and Gnulib both have
6642 their own testing mechanisms for mktime.
6643 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6645 mktime: fix non-EOVERFLOW errno handling
6647 mktime was not properly reporting failures when the underlying
6648 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6649 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6650 The problem could happen on non-glibc platforms, with Gnulib.
6651 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6652 (tm_diff): ... this simpler function, which does not change errno.
6653 All callers changed to deal with errno themselves.
6654 (ranged_convert, __mktime_internal): Return failure immediately if
6655 the underlying function reports any failure other than EOVERFLOW.
6656 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6659 mktime: fix bug with Y2038 DST transition
6661 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6662 mishandle a DST transition that jumps over the Y2038 boundary.
6663 No such DST transitions are known so this is only a theoretical
6664 bug, but we might as well do things right.
6666 mktime: make more room for overflow
6668 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6669 This is so that we can add tm_diff results to a previous guess,
6670 which will be useful in a later patch.
6672 mktime: simplify offset guess
6674 * time/mktime.c (__mktime_internal): Omit excess precision.
6676 mktime: new test for mktime failure
6678 Based on a test suggested by Albert Aribaud in:
6679 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6680 * time/Makefile (tests): Add bug-mktime4.
6681 * time/bug-mktime4.c: New file.
6683 mktime: fix EOVERFLOW bug
6685 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6686 Include libc-config.h, not config.h, for __set_errno.
6687 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6689 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6691 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6692 __attribute_copy__ to copy attributes from name. Drop static qualifier
6693 to avoid warnings about leaf attribute not having effect on static
6696 2018-11-13 Florian Weimer <fweimer@redhat.com>
6698 * malloc/malloc.c (fastbin_push_entry): New function.
6699 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6700 (REMOVE_FB): Remove macro.
6701 (_int_malloc): Use fastbin_pop_entry and reindent.
6702 (_int_free): Use fastbin_push_entry.
6703 (malloc_consolidate): Use atomic_exchange_acquire.
6705 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6707 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6708 alias attribute, not with strong_alias.
6710 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6711 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6712 with additional parameter thread.
6713 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6714 in terms of __hidden_ver2.
6715 (hidden_tls_def): New macro.
6716 (libc_hidden_tls_def): Likewise.
6717 (rtld_hidden_tls_def): Likewise.
6718 (libm_hidden_tls_def): Likewise.
6719 (libmvec_hidden_tls_def): Likewise.
6720 (libresolv_hidden_tls_def): Likewise.
6721 (librt_hidden_tls_def): Likewise.
6722 (libdl_hidden_tls_def): Likewise.
6723 (libnss_files_hidden_tls_def): Likewise.
6724 (libnsl_hidden_tls_def): Likewise.
6725 (libnss_nisplus_hidden_tls_def): Likewise.
6726 (libutil_hidden_tls_def): Likewise.
6727 (libutil_hidden_tls_def): Likweise.
6728 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6729 libc_hidden_tls_def.
6730 (__sim_disabled_exceptions_thread): Likewise.
6731 (__sim_round_mode_thread): Likewise.
6733 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6734 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6735 copy attributes from name.
6737 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6739 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6740 Use __attribute_copy__ to copy attributes from name.
6742 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6743 with __hidden_ver1 call.
6744 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6745 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6746 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6747 (__cosf): Do not declare here.
6748 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6749 (__sincosf): Do not declare here.
6750 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6751 (__sinf): Do not declare here.
6753 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6754 (__BIG_ENDIAN): Likewise.
6755 (__BYTE_ORDER): Likewise.
6756 (strong_alias): Likewise.
6757 (_strong_alias): Likewise.
6759 2018-11-12 Florian Weimer <fweimer@redhat.com>
6761 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6762 function. Move after the definition of in_smallbin_range. Do not
6763 use __builtin_expect for paths that lead to a noreturn function.
6764 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6765 because it is unclear whether this is in fact an unlikely
6767 (_int_malloc, _int_free): Adjust.
6768 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6770 * malloc/arena.c (heap_trim): Likewise.
6772 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6774 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6775 it, free it if needed.
6776 (reauthenticate): Test and use ccwdir.
6777 (child_init_port): In non-resetids case, test and use ccwdir.
6778 (child_chdir): New nested function to set ccwdir.
6779 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6780 * hurd/hurd/port.h (_hurd_port_move): New function.
6781 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6782 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6783 * hurd/Versions (_hurd_port_move): Export function.
6784 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6786 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6787 of dtablesize for allocating dtable_cloexec.
6789 2018-11-09 Martin Sebor <msebor@redhat.com>
6791 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6792 it's already defined.
6793 (_strong_alias): Use __attribute_copy__.
6794 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6795 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6796 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6797 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6798 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6799 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6800 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6801 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6802 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6803 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6804 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6805 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6806 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6807 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6808 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6809 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6810 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6811 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6812 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6814 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6816 * misc/tst-efgcvt.c: Include support/check.h and
6817 support/test-driver.c. Do not include test-skeleton.c.
6818 (error_count): Remove.
6819 (output_error): Replace increments to error_count with calls to
6820 support_record_failure.
6821 (output_r_error): Likewise.
6822 (special): Likewise.
6823 (do_test): Unconditionally return zero.
6824 (TEST_FUNCTION): Remove.
6826 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6828 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6830 ($(linknamespace-header-tests)): Likewise.
6832 * conform/conformtest.py: New file.
6833 * conform/conformtest.pl: Remove.
6834 * conform/GlibcConform.pm: Likewise.
6835 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6836 (KEYWORDS_C99): Likewise.
6837 (KEYWORDS): Likewise.
6838 * conform/Makefile ($(conformtest-header-tests)): Use
6839 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6840 option. Use --header instead of --headers.
6841 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6843 * conform/data/spawn.h-data: Likewise.
6844 * conform/data/fcntl.h-data (openat): Add space after function
6846 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6847 (wcscasecmp_l): Likewise.
6848 * conform/data/termios.h-data (c_cc): Add space after element
6851 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6853 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6854 instead of manually comparing and reporting mismatching strings.
6855 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6856 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6858 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6860 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6861 __ASSUME_SOCKETCALL.
6862 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6863 (__ASSUME_SOCKETCALL): Remove.
6864 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6865 (__ASSUME_SOCKETCALL): Likewise.
6866 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6867 (__ASSUME_SOCKETCALL): Likewise.
6868 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6869 (__ASSUME_SOCKETCALL): Likewise.
6870 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6871 (__ASSUME_SOCKETCALL): Likewise.
6872 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6873 (__ASSUME_SOCKETCALL): Likewise.
6874 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6875 (__ASSUME_SOCKETCALL): Likewise.
6877 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6880 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6881 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6882 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6883 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6884 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6887 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6890 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6892 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6895 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6896 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6897 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6898 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6900 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6902 * support/support_test_compare_string.c
6903 (support_test_compare_string): Fix printf format.
6905 2018-11-07 Florian Weimer <fweimer@redhat.com>
6907 Implement TEST_COMPARE_STRING.
6908 * support/check.h (TEST_COMPARE_STRING): Define.
6909 (support_test_compare_string): Declare.
6910 * support/Makefile (libsupport-routines): Add
6911 support_test_compare_string.
6912 (tests): Add tst-test_compare_string.
6913 * support/support_test_compare_string.c: New file.
6914 * support/tst-test_compare_string.c: Likewise.
6916 2018-11-07 Andreas Schwab <schwab@suse.de>
6919 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6920 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6923 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6926 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6927 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6928 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6929 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6932 2018-11-06 Florian Weimer <fweimer@redhat.com>
6935 * posix/Makefile (routines): Add spawn_faction_addchdir.
6936 (tests): Add tst-spawn-chdir.
6937 * posix/Versions (GLIBC_2.29): Add
6938 posix_spawn_file_actions_addchdir_np.
6939 * posix/spawn_faction_addchdir.c: New file.
6940 * posix/spawn_faction_destroy.c
6941 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6942 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6943 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6945 * posix/tst-spawn-chdir.c: New file.
6946 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6947 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6948 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6949 posix_spawn_file_actions_addchdir_np.
6950 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6952 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6954 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6955 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6957 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6959 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6961 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6963 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6965 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6967 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6968 (GLIBC_2.29): Likewise.
6969 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6970 (GLIBC_2.29): Likewise.
6971 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6972 (GLIBC_2.29): Likewise.
6973 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6974 (GLIBC_2.29): Likewise.
6975 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6978 (GLIBC_2.29): Likewise.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6980 (GLIBC_2.29): Likewise.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6982 (GLIBC_2.29): Likewise.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6984 (GLIBC_2.29): Likewise.
6985 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6987 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6989 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6991 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6992 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6994 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6996 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6998 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7001 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7003 * misc/Makefile (tests): Add tst-ldbl-error.
7004 * misc/tst-ldbl-error.c: New file.
7006 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7008 * misc/Makefile (tests): Add tst-ldbl-warn.
7009 * misc/tst-ldbl-warn.c: New file.
7011 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7013 * argp/Makefile (tests): Add tst-ldbl-argp.
7014 * argp/tst-ldbl-argp.c: New file.
7016 2018-11-05 Arjun Shankar <arjun@redhat.com>
7018 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7019 __gconv_path_elem and call __gconv_get_path unconditionally.
7021 2018-11-05 Andreas Schwab <schwab@suse.de>
7024 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7025 creating the first helper thread failed.
7027 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7029 * sysdeps/mach/hurd/msync.c: New file.
7031 2018-11-02 Florian Weimer <fweimer@redhat.com>
7033 * support/shell-container.c (copy_func): Call
7034 support_copy_file_range instead of copy_file_range to support
7035 cross-device copies.
7037 2018-11-02 Florian Weimer <fweimer@redhat.com>
7039 * support/test-container.c: Include <libc-pointer-arith.h> for
7042 2018-11-01 Zong Li <zong@andestech.com>
7044 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7045 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7046 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7047 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7049 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7050 variable to avoid overlap arguments.
7052 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7054 * posix/bug-regex22.c (main): Use puts with distinct error
7055 messages for unexpected success of re_compile_pattern, not printf
7056 with NULL argument to %s.
7058 * stdio-common/bug22.c: Include <libc-diag.h>.
7059 (do_test): Disable -Wformat-overflow= warnings around fprintf
7060 calls outputting more than INT_MAX characters.
7061 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7062 around printf call with NULL %s argument.
7065 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7066 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7068 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7069 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7070 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7071 (__ASSUME_SENDTO_SYSCALL): Likewise.
7072 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7073 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7075 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7076 (__ASSUME_CONNECT_SYSCALL): Likewise.
7077 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7078 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7079 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7081 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7083 [__LINUX_KERNEL_VERSION >= 0x040400]
7084 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7085 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7088 (setsockopt): Likewise.
7090 2018-11-01 Fredrik Noring <noring@nocrew.org>
7092 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7093 with the ISA override.
7095 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7097 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7100 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7102 * manual/errno.texi (EIEIO): Document how translators should
7103 translate the error message.
7104 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7105 printing trailing whitespaces refused by git.
7106 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7107 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7108 * hurd/Makefile (user-interfaces): Add pci.
7110 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7112 * conform/linknamespace.py: New file.
7113 * conform/linknamespace.pl: Remove file.
7114 * conform/Makefile ($(linknamespace-header-tests)): Use
7115 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7118 2018-10-30 Florian Weimer <fweimer@redhat.com>
7120 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7123 2018-10-30 Florian Weimer <fweimer@redhat.com>
7125 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7127 2018-10-30 Florian Weimer <fweimer@redhat.com>
7129 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7130 support_blob_repeat.
7132 2018-10-30 Florian Weimer <fweimer@redhat.com>
7134 Avoid spurious test failures in stdlib/test-bz22786.
7135 * support/Makefile (libsupport-routines): Add blob_repeat.
7136 (tests): Add tst-support_blob_repeat.
7137 * support/blob_repeat.h: New file.
7138 * support/blob_repeat.c: Likewise.
7139 * support/tst-support_blob_repeat.c: Likewise.
7140 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7141 support_blob_repeat_allocate.
7143 2018-10-30 Andreas Schwab <schwab@suse.de>
7146 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7147 Don't use tail call.
7148 * elf/tst-unwind-main.c: New file.
7149 * elf/Makefile (tests): Add tst-unwind-main.
7150 (CFLAGS-tst-unwind-main.c): Define.
7152 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7155 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7157 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7159 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7161 * conform/glibcconform.py: Do not import shutil.
7162 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7165 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7166 critic_missing for versions before 3.4.
7167 * configure: Regenerated.
7168 * manual/install.texi (Tools for Compilation): Document
7169 requirement for Python to build glibc.
7170 * INSTALL: Regenerated.
7171 * Rules [PYTHON]: Make code unconditional.
7172 * benchtests/Makefile [PYTHON]: Likewise.
7173 * conform/Makefile [PYTHON]: Likewise.
7174 * manual/Makefile [PYTHON]: Likewise.
7175 * math/Makefile [PYTHON]: Likewise.
7177 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7179 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7180 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7181 answer to interrupt_operation, return EIEIO instead of EINTR.
7182 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7183 _hurd_intr_rpc_msg_about_to global point to start of controlled
7184 assembly snippet. Make it check canceled flag.
7185 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7186 the _hurd_intr_rpc_msg_about_to point.
7187 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7188 issue, remove cancel flag check.
7190 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7192 * scripts/build-many-glibcs.py: Remove compatibility for missing
7193 os.cpu_count and re.fullmatch.
7195 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7198 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7199 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7200 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7202 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7204 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7207 2018-10-25 Florian Weimer <fweimer@redhat.com>
7211 XFAIL siginfo_t si_band conform test on sparc64.
7212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7213 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7214 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7215 (conformtest-xfail-conds): Add sparc64-linux.
7216 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7218 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7220 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7222 * elf/elf.h (NT_MIPS_DSP): New macro.
7223 (NT_MIPS_FP_MODE): Likewise.
7225 2018-10-25 Zong Li <zong@andestech.com>
7227 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7228 name by adding the file extension (.so).
7230 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7232 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7233 (test-xfail-ISO11/threads.h/linknamespace,
7234 test-xfail-ISO11/threads.h/conform): Add.
7236 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7238 * math/gen-libm-test.py: Import os.
7239 (ALL_FLOATS_MANUAL): New constant.
7240 (ALL_FLOATS_SUFFIX): Likewise.
7241 (Ulps.all_functions): New function.
7242 (real_all_ulps): Likewise.
7243 (generate_err_table_sub): Likewise.
7244 (generate_err_table): Likewise.
7245 (main): Handle -s and -m options.
7246 * manual/libm-err-tab.pl: Remove.
7247 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7248 instead of libm-err-tab.pl.
7249 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7251 * manual/install.texi (Tools for Compilation): Document
7252 requirement for Python to build manual.
7253 * INSTALL: Regenerated.
7255 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7257 * bits/time64.h: New file.
7258 * include/time.h: Replace internal_time_t with __time64_t.
7259 * posix/bits/types (__time64_t): Add.
7260 * stdlib/Makefile: Add bits/time64.h to includes.
7261 * time/tzfile.c: Replace internal_time_t with __time64_t.
7263 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7265 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7266 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7267 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7268 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7269 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7271 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7272 * posix/spawn_faction_addclose.c
7273 (__posix_spawn_file_actions_addclose): Add hidden definition.
7274 * posix/spawn_faction_adddup2.c
7275 (__posix_spawn_file_actions_adddup2): Likewise.
7276 * posix/spawn_faction_destroy.c
7277 (__posix_spawn_file_actions_destroy): Likewise.
7278 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7280 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7281 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7282 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7284 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7285 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7288 2018-10-24 Andreas Schwab <schwab@suse.de>
7291 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7293 * elf/cache.c (print_cache): Likewise.
7295 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7297 * bits/timesize.h: New file.
7298 * stdlib/Makefile (headers): Add bits/timesize.h.
7299 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7300 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7301 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7302 (__SEM_PAD_AFTER_TIME): Likewise.
7303 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7304 (__SHM_PAD_AFTER_TIME): Likewise.
7305 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7306 (__MSQ_PAD_BEFORE_TIME): Likewise.
7307 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7308 (__SEM_PAD_BEFORE_TIME): Likewise.
7309 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7310 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7311 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7312 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7314 (__MSQ_PAD_BEFORE_TIME): Likewise.
7315 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7316 (__SEM_PAD_BEFORE_TIME): Likewise.
7317 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7318 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7319 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7320 (__MSQ_PAD_BEFORE_TIME): Likewise.
7321 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7322 (__SEM_PAD_BEFORE_TIME): Likewise.
7323 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7324 (__SHM_PAD_BEFORE_TIME): Likewise.
7325 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7326 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7327 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7329 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7331 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7332 USE_RDTSCP is defined.
7333 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7334 USE_RDTSCP is defined.
7336 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7338 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7342 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7343 independently of other flags.
7345 2018-10-23 Florian Weimer <fweimer@redhat.com>
7347 * time/tst-mktime2.c (N_STRINGS): Remove.
7348 (set_timezone): New function.
7349 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7350 (mktime_test1): Report localtime failure and check errno value.
7352 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7353 (do_test): Remove alarm call. Use set_timezone and array_length.
7355 2018-10-23 Andreas Schwab <schwab@suse.de>
7357 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7358 (__start_context): Use END instead of PSEUDO_END.
7360 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7362 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7365 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7369 * wcsmbs/c32rtomb.c: New file.
7370 * wcsmbs/mbrtoc32.c: Likewise.
7371 * wcsmbs/tst-c32-state.c: Likewise.
7372 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7373 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7374 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7375 (tests): Add tst-c32-state.
7376 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7379 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7381 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7382 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7384 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7387 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7388 pair and return 0 in that case, and use saved character to
7389 interpret following character.
7390 * wcsmbs/tst-c16-surrogate.c: New file.
7391 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7392 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7393 Depend on $(gen-locales)
7395 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7398 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7399 (struct siginfo_t): Use correct type for si_band.
7401 2018-10-19 Florian Weimer <fweimer@redhat.com>
7404 * resource/bits/types/struct_rusage.h (struct rusage): Update
7405 comment on struct. Remove extraneous field comment.
7407 2018-10-18 David S. Miller <davem@davemloft.net>
7409 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7410 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7411 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7412 sysdep_routines in subdir elf.
7413 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7414 version for __vdso_clock_gettime.
7415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7417 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7418 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7420 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7422 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7424 * sysdeps/i386/init-arch.h: Removed.
7425 * sysdeps/i386/i586/init-arch.h: Likewise.
7426 * sysdeps/i386/i686/init-arch.h: Likewise.
7427 * sysdeps/i386/i686/hp-timing.h: Likewise.
7428 * sysdeps/x86_64/hp-timing.h: Likewise.
7429 * sysdeps/i386/isa.h: New file.
7430 * sysdeps/i386/i586/isa.h: Likewise.
7431 * sysdeps/i386/i686/isa.h: Likewise.
7432 * sysdeps/x86_64/isa.h: Likewise.
7433 * sysdeps/x86/hp-timing.h: New file.
7434 * sysdeps/x86/init-arch.h: Include <isa.h>.
7436 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7438 * math/libm-test-pow.inc (pow_test_data): Do not allow
7439 divide-by-zero exception for pow(+/- 0, -Inf).
7441 2018-10-17 Zack Weinberg <zackw@panix.com>
7443 * manual/job.texi (Job Control is Optional): Remove node, as
7444 job control has not been optional in quite some time.
7445 (Job Control): Mention briefly that systems older than
7446 POSIX.1-2001 might not support job control.
7447 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7448 defined on systems conforming to POSIX.1-2001.
7450 2018-10-17 Arjun Shankar <arjun@redhat.com>
7453 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7455 * (__gconv_read_conf): Mark function static.
7456 * (once): New static variable.
7457 * (__gconv_load_conf): New function.
7458 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7459 * iconv/gconv_db.c (once): Remove static variable.
7460 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7462 * (__gconv_find_transform): Likewise.
7463 * iconv/tst-iconv-mt.c: New test.
7464 * iconv/Makefile: Add tst-iconv_mt.
7466 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7470 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7471 (shmatt_t): Define as __syscall_ulong_t.
7472 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7473 and [__SHM_PAD_AFTER_TIME].
7474 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7475 Define shm_segsz and associated padding based on
7476 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7477 Use __syscall_ulong_t instead of unsigned long int.
7478 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7480 [__USE_MISC] (struct shm_info): Likewise.
7481 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7482 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7483 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7484 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7485 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7486 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7487 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7488 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7489 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7490 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7491 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7495 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7496 (SHMLBA): Remove macro.
7497 (__getpagesize): Remove function declaration.
7498 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7500 (SHMLBA): Remove macro.
7501 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7503 (SHMLBA): Remove macro.
7504 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7506 (SHMLBA): Remove macro.
7507 (__getpagesize): Remove function declaration.
7508 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7510 (SHMLBA): Remove macro.
7511 (__getshmlba): Remove function declaration.
7512 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7513 (SHMLBA): Remove macro.
7514 (__getpagesize): Remove function declaration.
7515 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7516 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7517 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7518 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7519 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7520 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7521 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7522 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7523 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7524 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7526 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7529 * nptl/tst-mutex10.c: New File.
7530 * nptl/Makefile (tests): Add tst-mutex10.
7531 (tst-mutex10-ENV): New variable.
7532 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7533 Ensure that elision path is used if elision is available.
7534 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7536 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7538 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7539 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7540 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7541 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7543 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7544 (__pthread_mutex_cond_lock_adjust): Likewise.
7545 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7547 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7548 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7549 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7550 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7552 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7553 Use atomic_load_relaxed and atomic_store_relaxed.
7554 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7555 Use atomic_store_relaxed.
7557 2018-10-17 Andreas Schwab <schwab@suse.de>
7559 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7560 * crypt/badsalttest.c (TIMEOUT): Likewise.
7561 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7562 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7563 * io/test-lfs.c (TIMEOUT): Likewise.
7564 * libio/tst-atime.c (TIMEOUT): Likewise.
7565 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7566 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7567 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7568 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7569 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7570 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7571 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7572 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7573 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7574 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7575 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7576 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7577 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7578 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7579 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7580 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7581 * nptl/tst-once2.c (TIMEOUT): Likewise.
7582 * nptl/tst-once3.c (TIMEOUT): Likewise.
7583 * nptl/tst-once4.c (TIMEOUT): Likewise.
7584 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7585 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7586 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7587 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7588 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7589 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7590 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7591 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7592 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7593 * posix/tst-chmod.c (TIMEOUT): Likewise.
7594 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7595 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7596 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7597 * posix/tst-regex2.c (TIMEOUT): Likewise.
7598 * posix/tst-waitid.c (TIMEOUT): Likewise.
7599 * rt/tst-aio.c (TIMEOUT): Likewise.
7600 * rt/tst-aio10.c (TIMEOUT): Likewise.
7601 * rt/tst-aio4.c (TIMEOUT): Likewise.
7602 * rt/tst-aio5.c (TIMEOUT): Likewise.
7603 * rt/tst-aio6.c (TIMEOUT): Likewise.
7604 * rt/tst-aio64.c (TIMEOUT): Likewise.
7605 * rt/tst-aio7.c (TIMEOUT): Likewise.
7606 * rt/tst-aio9.c (TIMEOUT): Likewise.
7607 * rt/tst-clock.c (TIMEOUT): Likewise.
7608 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7609 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7610 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7611 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7612 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7613 * rt/tst-timer4.c (TIMEOUT): Likewise.
7614 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7615 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7616 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7617 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7618 * time/tst-ftime.c (TIMEOUT): Likewise.
7619 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7621 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7623 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7624 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7627 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7631 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7632 instead of <bits/wordsize.h>.
7633 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7634 and [__SEM_PAD_AFTER_TIME].
7635 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7636 __syscall_ulong_t instead of unsigned long int.
7637 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7638 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7639 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7640 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7641 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7642 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7643 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7644 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7645 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7647 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7649 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7651 regex: simplify by using intprops.h
7653 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7654 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7655 intprops.h defines them.
7657 regex: __builtin_expect → __glibc_unlikely
7659 This refactoring was prompted by a problem when the regex code is
7660 used as part of Gnulib and when the builder’s compiler does not grok
7661 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7662 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7663 Although this refactoring does not fix the problem directly,
7664 we might as well have Gawk use the now-preferred glibc style for when
7665 __builtin_expect is unavailable.
7666 * posix/regex_internal.h (BE): Remove.
7667 All uses replaced by __glibc_unlikely or __glibc_likely.
7669 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7673 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7674 instead of <bits/wordsize.h>.
7675 (msgqnum_t): Define as __syscall_ulong_t.
7676 (msglen_t): Likewise.
7677 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7678 and [__MSQ_PAD_AFTER_TIME].
7679 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7680 __syscall_ulong_t instead of unsigned long int.
7681 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7682 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7683 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7684 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7685 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7686 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7687 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7688 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7689 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7690 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7691 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7693 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7695 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7696 (struct shmid_ds): Condition padding after time fields on
7698 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7699 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7700 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7702 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7703 (struct semid_ds): Condition padding after time fields on
7705 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7706 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7707 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7708 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7710 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7711 (struct msqid_ds): Condition padding after time fields on
7713 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7714 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7715 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7716 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7718 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7720 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7722 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7724 * libio/tst-readline.c (TIMEOUT): Define.
7726 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7728 mktime fix for Gnulib + coreutils
7730 This fix affects only Gnulib. Problem discovered when
7731 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7733 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7734 Do not define since it is not used. Defining an unused static
7735 function prompts a warning from GCC when Coreutils is configured
7736 with --enable-gcc-warnings.
7738 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7740 * benchtests/scripts/compare_bench.py (main): set float type on
7743 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7746 * localedata/locales/kl_GL (mon): Update, the relative case.
7747 (alt_mon): Add, fill with month names in the nominative case.
7748 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7749 (d_fmt): Set to "%b %d %Y".
7751 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7753 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7754 <bits/mman-linux.h>.
7755 (PROT_READ): Don't define here.
7756 (PROT_WRITE): Likewise.
7757 (PROT_EXEC): Likewise.
7758 (PROT_NONE): Likewise.
7759 (PROT_GROWSDOWN): Likewise.
7760 (PROT_GROWSUP): Likewise.
7761 (MAP_SHARED): Likewise.
7762 (MAP_PRIVATE): Likewise.
7763 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7764 [__USE_MISC] (MAP_FILE): Likewise.
7765 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7766 [__USE_MISC] (MAP_ANON): Likewise.
7767 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7768 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7769 (MCL_CURRENT): Likewise.
7770 (MCL_FUTURE): Likewise.
7771 (MCL_ONFAULT): Likewise.
7772 [__USE_MISC] (MADV_NORMAL): Likewise.
7773 [__USE_MISC] (MADV_RANDOM): Likewise.
7774 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7775 [__USE_MISC] (MADV_WILLNEED): Likewise.
7776 [__USE_MISC] (MADV_DONTNEED): Likewise.
7777 [__USE_MISC] (MADV_FREE): Likewise.
7778 [__USE_MISC] (MADV_REMOVE): Likewise.
7779 [__USE_MISC] (MADV_DONTFORK): Likewise.
7780 [__USE_MISC] (MADV_DOFORK): Likewise.
7781 [__USE_MISC] (MADV_HWPOISON): Likewise.
7782 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7783 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7784 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7785 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7786 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7787 (__MAP_ANONYMOUS): New macro.
7788 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7789 <bits/mman-linux.h> inclusion.
7790 (MAP_FIXED): Likewise.
7791 (MS_SYNC): Likewise.
7792 (MS_ASYNC): Likewise.
7793 (MS_INVALIDATE): Likewise.
7794 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7795 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7796 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7797 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7798 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7799 [__USE_MISC] (MADV_DODUMP): Likewise.
7800 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7801 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7804 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7806 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7807 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7808 Add test-nldbl-redirect.
7809 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7810 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7811 $(objpfx)libnldbl_nonshared.a.
7813 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7815 * support/support.h (support_objdir_elf_ldso): New variable.
7816 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7817 * support/Makefile (CFLAGS-support_paths.c): Add definition
7818 for OBJDIR_ELF_LDSO_PATH.
7819 * support/test-container.c (main): Search for the ld.so
7820 which is also used by the testsuite.
7822 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7825 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7826 should be "sap" rather than "sab".
7827 (day): Fix spelling of Sunday, should be "sapaat" rather than
7830 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7832 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7834 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7837 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7838 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7839 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7841 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7843 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7845 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7847 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7849 (CFLAGS-elision-unlock.c): Likewise.
7850 (CFLAGS-elision-timed.c): Likewise.
7851 (CFLAGS-elision-trylock.c): Likewise.
7852 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7854 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7857 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7858 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7859 new fd_to_filename interface.
7860 * libio/freopen64.c (freopen64): Likewise.
7861 * libio/tst-memstream.h: New file.
7862 * libio/tst-memstream4.c: Likewise.
7863 * libio/tst-wmemstream4.c: Likewise.
7864 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7865 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7866 and remove internal dynamic allocation.
7868 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7870 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7871 (MREMAP_MAYMOVE): Do not define here.
7872 [__USE_GNU] (MREMAP_FIXED): Likewise.
7873 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7874 (MREMAP_MAYMOVE): Define here instead.
7875 [__USE_GNU] (MREMAP_FIXED): Likewise.
7876 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7877 (MREMAP_MAYMOVE): Remove.
7878 [__USE_GNU] (MREMAP_FIXED): Likewise.
7880 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7882 * math/fromfp.h: Do not include <math_private.h>.
7883 * math/s_cacosh_template.c: Likewise.
7884 * math/s_casin_template.c: Likewise.
7885 * math/s_casinh_template.c: Likewise.
7886 * math/s_ccos_template.c: Likewise.
7887 * math/s_cproj_template.c: Likewise.
7888 * math/s_fdim_template.c: Likewise.
7889 * math/s_fmaxmag_template.c: Likewise.
7890 * math/s_fminmag_template.c: Likewise.
7891 * math/s_iseqsig_template.c: Likewise.
7892 * math/s_ldexp_template.c: Likewise.
7893 * math/s_nextdown_template.c: Likewise.
7894 * math/w_log1p_template.c: Likewise.
7895 * math/w_scalbln_template.c: Likewise.
7896 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7897 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7898 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7899 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7900 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7901 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7902 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7903 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7904 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7905 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7906 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7907 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7908 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7909 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7910 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7911 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7912 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7913 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7914 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7915 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7916 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7917 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7918 * sysdeps/ieee754/k_standardf.c: Likewise.
7919 * sysdeps/ieee754/k_standardl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7921 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7922 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7923 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7924 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7925 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7926 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7927 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7928 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7929 * sysdeps/ieee754/s_signgam.c: Likewise.
7930 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7931 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7932 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7933 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7934 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7935 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7936 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7937 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7938 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7939 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7940 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7941 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7942 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7943 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7944 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7945 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7946 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7947 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7948 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7949 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7950 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7951 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7952 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7953 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7954 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7955 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7956 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7957 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7958 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7959 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7960 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7961 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7962 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7963 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7964 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7965 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7966 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7968 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7970 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7973 * sysdeps/i386/dl-cet.c: Removed.
7974 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7976 (_dl_runtime_profile_shstk): Likewise.
7977 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7978 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7980 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7983 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7984 do_test_with_invalid_iov): New tests.
7985 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7986 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7987 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7989 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7990 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7991 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7993 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7995 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7996 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7997 (MATH_REDIRECT_BINARY_ARGS): New macro.
7998 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7999 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8000 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8002 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8003 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8004 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8005 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8007 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8008 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8015 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8016 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8021 * sysdeps/generic/math_private_calls.h
8022 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8023 Do not declare and define as an inline function.
8024 * math/divtc3.c (__divtc3): Use copysign functions instead of
8025 __copysign variants.
8026 * math/multc3.c (__multc3): Likewise.
8027 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8028 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8029 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8030 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8032 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8033 (__ieee754_yn): Likewise.
8034 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8035 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8036 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8037 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8038 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8040 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8047 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8048 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8050 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8051 (__ieee754_ynf): Likewise.
8052 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8053 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8054 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8055 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8057 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8058 (__ieee754_ynl): Likewise.
8059 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8060 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8061 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8064 (__ieee754_ynl): Likewise.
8065 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8066 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8067 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8068 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8070 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8072 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8074 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8075 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8076 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8078 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8079 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8080 using MATH_REDIRECT.
8081 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8083 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8086 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8088 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8089 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8094 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8095 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8097 (round): Redirect to __round.
8098 (__roundl): Call round instead of __round.
8099 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8101 [_ARCH_PWR5X] (__roundf): Likewise.
8102 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8103 functions instead of __round variants.
8104 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8105 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8107 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8109 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8111 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8114 (__ieee754_expl): Call roundl instead of __roundl.
8116 2018-09-27 Andreas Schwab <schwab@suse.de>
8119 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8120 (do_test): Make st1 static.
8122 2018-09-26 Andreas Schwab <schwab@suse.de>
8125 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8126 * elf/Makefile (tests): Add tst-unwind-ctor.
8127 (modules-names): Add tst-unwind-ctor-lib.
8128 ($(objpfx)tst-unwind-ctor): Depend on
8129 $(objpfx)tst-unwind-ctor-lib.so.
8131 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8133 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8134 file. Most contents moved from ....
8135 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8136 and include <bits/mman-map-flags-generic.h>.
8137 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8138 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8139 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8140 <bits/mman-map-flags-generic.h>.
8141 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8142 macros defined in <bits/mman-map-flags-generic.h>.
8143 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8144 <bits/mman-map-flags-generic.h>.
8145 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8146 defined in <bits/mman-map-flags-generic.h>.
8148 2018-09-26 Andreas Schwab <schwab@suse.de>
8150 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8153 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8154 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8155 Fangrui Song <maskray@google.com>
8158 * config.make.in (have-textrel_ifunc): New define.
8159 * configure.ac: Add check if linker supports textrel relocation with
8161 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8163 (CFLAGS-tst-ifunc-textrel.c): New rule.
8164 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8165 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8166 * elf/tst-ifunc-textrel.c: New file.
8168 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8170 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8171 <bits/procfs-prregset.h>.
8172 (prgregset_t): Define using __prgregset_t.
8173 (prfpregset_t): Define using __prfpregset_t.
8174 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8175 (sysdep_headers): Add bits/procfs-prregset.h.
8176 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8177 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8178 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8179 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8181 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8182 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8183 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8185 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8186 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8187 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8188 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8189 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8190 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8191 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8192 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8193 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8194 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8195 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8196 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8197 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8198 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8199 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8200 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8201 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8202 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8203 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8204 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8205 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8206 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8207 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8208 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8210 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8211 AArch64 version. Include <bits/procfs.h>.
8212 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8213 (sysdep_headers): Add bits/procfs.h.
8214 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8215 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8216 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8217 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8218 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8219 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8220 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8221 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8222 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8223 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8224 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8225 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8226 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8227 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8228 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8229 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8230 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8232 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8234 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8237 2018-09-25 Arjun Shankar <arjun@redhat.com>
8239 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8240 (__gconv_max_path_elem_len): Likewise.
8241 (__gconv_nmodules): Likewise.
8242 (__gconv_get_path): Likewise.
8243 (path_elem): Move to ...
8244 * iconv/gconv_conf.c: ... here.
8245 (__gconv_get_path): Mark function static.
8246 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8247 * iconv/gconv_open.c: ... here.
8249 2018-09-24 Andreas Schwab <schwab@suse.de>
8251 * scripts/haveversions.awk: New file.
8252 * Makerules ($(common-objpfx)Versions.def)
8253 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8254 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8256 * Makeconfig ($(common-objpfx)Versions.def)
8257 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8258 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8260 ($(common-objpfx)Versions.mk): New rule. Include it.
8261 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8262 Emit error if build-obsolete-nsl = yes.
8263 * manual/install.texi (Configuring and compiling): Describe
8264 --enable-obsolete-nsl as unavaiable after version 2.28.
8265 * INSTALL: Regenerate.
8267 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8269 * NEWS: Add note about new TLE support on powerpc64le.
8270 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8271 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8273 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8274 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8275 * sysdeps/powerpc/powerpc32/sysdep.h,
8276 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8277 ABORT_TRANSACTION): Remove macros.
8278 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8279 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8280 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8282 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8283 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8285 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8287 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8290 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8291 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8292 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8293 which is the same as in it_IT.
8294 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8295 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8297 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8299 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8300 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8301 using MATH_REDIRECT.
8302 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8304 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8306 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8308 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8314 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8315 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8316 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8317 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8318 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8319 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8320 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8322 (ceil): Redirect to __ceil.
8323 (floor): Redirect to __floor.
8324 (trunc): Redirect to __trunc.
8325 (__truncl): Call trunc instead of __trunc.
8326 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8328 [_ARCH_PWR5X] (__truncf): Likewise.
8329 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8330 trunc functions instead of __trunc variants.
8331 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8333 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8335 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8337 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8340 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8341 [__i586__ || __pentium__].
8342 [__i486__]: Handle explicitly.
8343 (HAS_CPUID): Define to 1 if above macros are undefined.
8344 (HAS_I586): Likewise.
8345 (HAS_I686): Likewise.
8347 2018-09-20 Florian Weimer <fweimer@redhat.com>
8349 * misc/tst-gethostid.c: New file.
8350 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8351 (tst-gethostid): Link with -ldl.
8353 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8355 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8356 value from gethostbyname_r.
8358 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8360 * stdlib/tst-setcontext9.c (f1): Rename to...
8362 (f1b): New function implementing lower half of f1 in alternate stack.
8364 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8366 Fix mktime localtime offset confusion
8368 * include/time.h (__mktime_internal): The localtime offset is now
8369 of type long int instead of time_t. This is the longstanding type
8370 in glibc, and it is more than enough to represent difference
8371 between localtime and gmtime even if it is 32 bits and time_t is
8372 64. Changing it now will let us avoid an unnecessary change when
8373 time_t is widened to 64 bits on 32-bit platforms.
8374 * time/mktime-internal.h (mktime_offset_t): Now long int.
8376 Merge mktime, timegm from upstream Gnulib
8377 [BZ #23603][BZ #16346]
8378 This fixes some obscure problems with integer overflow.
8379 Although it looks scary, it is almost all a byte-for-byte copy
8380 from Gnulib, and the Gnulib code has been tested reasonably well.
8381 * include/intprops.h: New file, copied from Gnulib.
8382 * include/verify.h, time/mktime-internal.h:
8383 New tiny files, simplified from Gnulib.
8384 * time/mktime.c: Copy from Gnulib. This has the following changes:
8385 Do not include config.h if DEBUG_MKTIME is nonzero.
8386 Include stdbool.h, intprops.h, verify.h.
8387 Include string.h only if needed.
8388 Include stdlib.h on MS-Windows.
8389 Include mktime-internal.h.
8390 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8391 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8392 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8393 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8394 simplify later conditionals; default the others to zero. Use
8395 these conditionals to express only the code needed on the current
8396 platform. In uses of these conditionals, explicitly spell out how
8397 _LIBC affects things, so it’s easier to review from a glibc
8399 (WRAPV): Remove; no longer needed now that we have
8400 systematic overflow checking.
8401 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8402 compartmentalize tzset issues. Move system-dependent tzsettish
8403 code here from mktime.
8404 (verify): Remove; now done by verify.h. All uses changed.
8405 (long_int): Use a more-conservative definition, to avoid
8407 (SHR): Remove, replacing with ...
8408 (shr): New function, which means we needn’t worry about side
8409 effects in args, and conversion analysis is simpler.
8410 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8411 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8412 (time_t_avg, time_t_add_ok): Remove.
8413 (mktime_min, mktime_max): New constants.
8414 (leapyear, isdst_differ): Use bool for booleans.
8415 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8416 Use long_int, not time_t, for mktime differences.
8417 (long_int_avg): New function, replacing time_t_avg.
8418 INT_ADD_WRAPV replaces time_t_add_ok.
8419 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8421 (convert_time): New function.
8422 (ranged_convert): Use it.
8423 (__mktime_internal): Last arg now points to mktime_offset_t, not
8424 time_t. All uses changed. This is a no-op on glibc, where
8425 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8426 offset guess. Directly check for integer overflow instead of
8427 using a heuristic that works only 99.9...% of the time.
8428 Access *OFFSET only once, to avoid an unlikely race if the
8429 compiler delays a load and if this cascades into a signed integer
8431 (mktime): Move tzsettish code to my_tzset, and move
8432 localtime_offset to within mktime so that it doesn’t
8433 need a separate ifdef.
8434 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8435 instead of localtime.
8436 * time/timegm.c: Copy from Gnulib. This has the following changes:
8437 Include mktime-internal.h.
8438 [!_LIBC]: Include config.h and time.h. Do not include
8439 timegm.h or time_r.h. Make __mktime_internal a macro,
8440 and include mktime-internal.h to get its declaration.
8441 (timegm): Temporary is now mktime_offset_t, not time_t.
8442 This affects only Gnulib.
8444 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8447 * string/test-strstr.c (pr23637): New function.
8448 (test_main): Add tests with longer needles.
8449 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8450 * string/strstr.c (AVAILABLE): Likewise.
8452 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8454 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8456 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8458 * NEWS: Mention pow improvements.
8459 * math/Makefile (type-double-routines): Add e_pow_log_data.
8460 * sysdeps/generic/math_private.h (__exp1): Remove.
8461 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8462 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8463 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8465 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8466 (exp_inline): Remove.
8467 (__ieee754_exp): Only single double input is handled.
8468 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8469 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8470 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8471 (__pow_log_data): Define.
8472 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8473 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8474 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8475 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8477 (CFLAGS-e_pow-fma4.c): Likewise.
8479 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8481 Simplify tzfile fstat failure code
8483 * time/tzfile.c (__tzfile_read): Simplify slightly.
8485 Fix tzfile low-memory assertion failure
8487 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8488 when registering time zone abbreviations.
8490 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8492 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8493 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8494 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8495 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8496 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8497 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8498 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8499 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8504 (__ceill): Call ceil instead of __ceil.
8505 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8507 (__floorl): Call floor instead of __floor.
8509 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8511 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8512 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8513 using MATH_REDIRECT.
8514 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8516 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8519 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8520 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8523 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8528 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8529 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8532 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8533 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8534 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8536 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8537 functions instead of __ceil variants.
8538 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8539 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8541 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8543 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8544 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8546 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8547 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8550 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8552 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8553 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8554 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8555 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8556 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8557 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8558 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8559 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8560 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8561 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8562 (ILL_BADIADDR): Remove constant.
8563 (TRAP_BRANCH): Likewise.
8564 (TRAP_HWBKPT): Likewise.
8566 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8569 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8570 Remove [_MIPS_SIM = _ABIN32] conditional case.
8571 (struct elf_prpsinfo): Likewise.
8574 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8575 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8576 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8578 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8579 elf_prpsinfo): Likewise.
8580 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8581 elf_prpsinfo): Likewise.
8582 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8585 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8586 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8587 using MATH_REDIRECT.
8588 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8590 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8591 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8592 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8593 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8596 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8597 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8600 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8601 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8602 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8603 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8604 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8605 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8606 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8607 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8608 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8613 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8614 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8615 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8616 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8618 * math/e_scalbf.c (invalid_fn): Likewise.
8619 * math/e_scalbl.c (invalid_fn): Likewise.
8620 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8622 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8624 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8625 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8626 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8628 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8630 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8632 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8633 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8635 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8636 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8638 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8639 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8640 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8641 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8642 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8643 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8644 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8645 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8646 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8647 && !NO_MATH_REDIRECT] (floor): Likewise.
8648 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8650 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8653 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8657 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8662 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8663 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8666 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8667 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8668 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8670 [_ARCH_PWR5X] (__floorf): Likewise.
8671 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8673 [__SSE4_1__] (__floorf): Likewise.
8674 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8675 instead of __floor variants.
8676 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8677 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8678 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8679 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8680 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8681 * math/w_tgamma_compat.c (__tgamma): Likewise.
8682 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8683 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8684 * math/w_tgammal_compat.c (__tgammal): Likewise.
8685 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8686 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8688 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8689 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8690 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8691 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8693 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8694 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8696 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8699 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8702 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8704 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8705 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8706 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8707 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8709 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8711 * elf/Makefile (modules-names-tests): New variable.
8713 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8715 * NEWS: Mention log2 improvements.
8716 * math/Makefile (type-double-routines): Add e_log2_data.
8717 * sysdeps/i386/fpu/e_log2_data.c: New file.
8718 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8719 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8720 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8721 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8722 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8723 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8725 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8727 * NEWS: Mention log improvement.
8728 * math/Makefile (type-double-routines): Add e_log_data.
8729 * sysdeps/i386/fpu/e_log_data.c: New file.
8730 * sysdeps/ia64/fpu/e_log_data.c: New file.
8731 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8732 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8733 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8734 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8735 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8736 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8738 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8739 Xuepeng Guo <xuepeng.guo@intel.com>
8742 * sysdeps/i386/start.S: Include <sysdep.h>
8743 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8744 enabled. Add cfi_undefined (eip).
8746 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8748 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8750 (EXTRACT_WORDS64): Likewise.
8751 (INSERT_WORDS64): Likewise.
8752 (GET_FLOAT_WORD): Likewise.
8753 (SET_FLOAT_WORD): Likewise.
8755 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8757 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8758 build, but not for second build if --full-gcc. Use
8759 --enable-languages=all for second build if --full-gcc.
8760 (get_parser): Add --full-gcc option.
8761 (main): Update call to Context.
8763 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8766 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8767 Single Quotation Mark).
8768 (thousands_sep): Likewise.
8769 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8770 * localedata/locales/it_IT (thousands_sep): Use ".".
8771 (grouping): Use "3;3".
8773 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8775 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8776 x86_64 and i686 configs using --enable-obsolete-rpc
8777 --enable-obsolete-nsl.
8779 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8781 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8783 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8785 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8786 Increment size of new_argv by one.
8788 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8791 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8792 * localedata/locales/ar_IN (d_fmt): Likewise.
8793 * localedata/locales/bhb_IN (d_fmt): Likewise.
8794 * localedata/locales/bho_IN (d_fmt): Likewise.
8795 * localedata/locales/bn_BD (d_fmt): Likewise.
8796 * localedata/locales/bn_IN (d_fmt): Likewise.
8797 * localedata/locales/doi_IN (d_fmt): Likewise.
8798 * localedata/locales/gu_IN (d_fmt): Likewise.
8799 * localedata/locales/hi_IN (d_fmt): Likewise.
8800 * localedata/locales/hne_IN (d_fmt): Likewise.
8801 * localedata/locales/kn_IN (d_fmt): Likewise.
8802 * localedata/locales/mag_IN (d_fmt): Likewise.
8803 * localedata/locales/mai_IN (d_fmt): Likewise.
8804 * localedata/locales/mjw_IN (d_fmt): Likewise.
8805 * localedata/locales/ml_IN (d_fmt): Likewise.
8806 * localedata/locales/mni_IN (d_fmt): Likewise.
8807 * localedata/locales/mr_IN (d_fmt): Likewise.
8808 * localedata/locales/pa_IN (d_fmt): Likewise.
8809 * localedata/locales/raj_IN (d_fmt): Likewise.
8810 * localedata/locales/sat_IN (d_fmt): Likewise.
8811 * localedata/locales/sd_IN (d_fmt): Likewise.
8812 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8813 * localedata/locales/ta_IN (d_fmt): Likewise.
8814 * localedata/locales/ta_LK (d_fmt): Likewise.
8815 * localedata/locales/tcy_IN (d_fmt): Likewise.
8816 * localedata/locales/ur_IN (d_fmt): Likewise.
8818 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8819 * localedata/locales/ks_IN (d_fmt): Likewise.
8820 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8822 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8823 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8824 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8825 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8827 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8829 * NEWS: Mention exp and exp2 improvements.
8830 * math/Makefile (libm-support): Remove t_exp.
8831 (type-double-routines): Add math_err and e_exp_data.
8832 * sysdeps/aarch64/libm-test-ulps: Update.
8833 * sysdeps/arm/libm-test-ulps: Update.
8834 * sysdeps/i386/fpu/e_exp_data.c: New file.
8835 * sysdeps/i386/fpu/math_err.c: New file.
8836 * sysdeps/i386/fpu/t_exp.c: Remove.
8837 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8838 * sysdeps/ia64/fpu/math_err.c: New file.
8839 * sysdeps/ia64/fpu/t_exp.c: Remove.
8840 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8841 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8842 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8844 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8845 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8846 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8847 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8848 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8849 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8850 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8851 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8852 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8853 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8857 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8859 * sysdeps/alpha/fpu/math_private.h: Remove.
8861 * sysdeps/generic/math_private.h
8862 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8863 Move this inline function ....
8864 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8865 * include/math.h [!_ISOMAC]: To here....
8867 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8869 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8871 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8872 * include/fenv.h [!_ISOMAC]: ... to here.
8873 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8874 (feraiseexcept): Likewise.
8875 * math/fromfp.h: Do not include <fenv_private.h>.
8876 * math/s_cexp_template.c: Likewise.
8877 * math/s_csin_template.c: Likewise.
8878 * math/s_csinh_template.c: Likewise.
8879 * math/s_ctan_template.c: Likewise.
8880 * math/s_ctanh_template.c: Likewise.
8881 * math/s_iseqsig_template.c: Likewise.
8882 * math/w_acos_compat.c: Likewise.
8883 * math/w_acosf_compat.c: Likewise.
8884 * math/w_acosl_compat.c: Likewise.
8885 * math/w_asin_compat.c: Likewise.
8886 * math/w_asinf_compat.c: Likewise.
8887 * math/w_asinl_compat.c: Likewise.
8888 * math/w_j0_compat.c: Likewise.
8889 * math/w_j0f_compat.c: Likewise.
8890 * math/w_j0l_compat.c: Likewise.
8891 * math/w_j1_compat.c: Likewise.
8892 * math/w_j1f_compat.c: Likewise.
8893 * math/w_j1l_compat.c: Likewise.
8894 * math/w_jn_compat.c: Likewise.
8895 * math/w_jnf_compat.c: Likewise.
8896 * math/w_log10_compat.c: Likewise.
8897 * math/w_log10f_compat.c: Likewise.
8898 * math/w_log10l_compat.c: Likewise.
8899 * math/w_log2_compat.c: Likewise.
8900 * math/w_log2f_compat.c: Likewise.
8901 * math/w_log2l_compat.c: Likewise.
8902 * math/w_log_compat.c: Likewise.
8903 * math/w_logf_compat.c: Likewise.
8904 * math/w_logl_compat.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8910 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8911 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8912 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8913 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8914 * sysdeps/ieee754/k_standardl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8927 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8928 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8932 * math/w_ilogb_template.c: Include <fenv.h> instead of
8934 * math/w_llogb_template.c: Likewise.
8935 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8936 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8938 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8940 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8941 * math/fromfp.h: Include <fenv_private.h>.
8942 * math/math-narrow.h: Likewise.
8943 * math/s_cexp_template.c: Likewise.
8944 * math/s_csin_template.c: Likewise.
8945 * math/s_csinh_template.c: Likewise.
8946 * math/s_ctan_template.c: Likewise.
8947 * math/s_ctanh_template.c: Likewise.
8948 * math/s_iseqsig_template.c: Likewise.
8949 * math/w_acos_compat.c: Likewise.
8950 * math/w_acosf_compat.c: Likewise.
8951 * math/w_acosl_compat.c: Likewise.
8952 * math/w_asin_compat.c: Likewise.
8953 * math/w_asinf_compat.c: Likewise.
8954 * math/w_asinl_compat.c: Likewise.
8955 * math/w_ilogb_template.c: Likewise.
8956 * math/w_j0_compat.c: Likewise.
8957 * math/w_j0f_compat.c: Likewise.
8958 * math/w_j0l_compat.c: Likewise.
8959 * math/w_j1_compat.c: Likewise.
8960 * math/w_j1f_compat.c: Likewise.
8961 * math/w_j1l_compat.c: Likewise.
8962 * math/w_jn_compat.c: Likewise.
8963 * math/w_jnf_compat.c: Likewise.
8964 * math/w_llogb_template.c: Likewise.
8965 * math/w_log10_compat.c: Likewise.
8966 * math/w_log10f_compat.c: Likewise.
8967 * math/w_log10l_compat.c: Likewise.
8968 * math/w_log2_compat.c: Likewise.
8969 * math/w_log2f_compat.c: Likewise.
8970 * math/w_log2l_compat.c: Likewise.
8971 * math/w_log_compat.c: Likewise.
8972 * math/w_logf_compat.c: Likewise.
8973 * math/w_logl_compat.c: Likewise.
8974 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8975 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8976 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8977 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9002 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9003 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9004 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9005 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9006 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9007 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9008 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9009 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9010 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9011 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9012 * sysdeps/ieee754/k_standardl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9038 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9039 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9043 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9044 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9049 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9050 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9051 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9052 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9053 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9054 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9055 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9056 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9057 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9058 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9059 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9060 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9061 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9062 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9063 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9064 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9065 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9066 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9067 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9068 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9069 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9070 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9071 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9072 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9073 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9074 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9075 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9076 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9077 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9078 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9079 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9080 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9081 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9082 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9083 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9085 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9088 * include/stdio.h (__libc_fatal): Mention newline in comment.
9089 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9090 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9091 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9092 * nss/nsswitch.c (__nss_next2): Likewise.
9093 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9094 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9095 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9096 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9097 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9098 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9099 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9100 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9101 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9102 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9103 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9104 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9105 (__netlink_assert_response): Likewise.
9107 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9109 * conform/glibcconform.py: New file.
9110 * conform/list-header-symbols.py: Likewise.
9111 * conform/list-header-symbols.pl: Remove.
9112 * conform/Makefile (tests-special): Only add linknamespace tests
9114 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9116 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9119 * support/Makefile (libsupport-routines): Add
9120 support_copy_file_range and xcopy_file_range.
9121 * support/support.h: Include <sys/types.h>.
9122 (support_copy_file_range): New prototype.
9123 * support/support_copy_file_range.c: New file. Copied and
9124 modified from io/copy_file_range-compat.c.
9125 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9126 instead of copy_file_range.
9127 * support/xcopy_file_range.c: New file.
9128 * support/xunistd.h (xcopy_file_range): New prototype.
9130 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9132 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9133 xpthread_create and xpthread_join.
9135 2018-08-30 Florian Weimer <fweimer@redhat.com>
9137 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9139 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9141 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9144 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9146 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9147 and minus_oflow as non-finite.
9149 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9151 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9152 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9153 moved to fenv_private.h except for ...
9154 (TOINT_INTRINSICS): Kept in math_private.h.
9155 (roundtoint): Likewise.
9156 (converttoint): Likewise.
9157 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9158 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9159 * sysdeps/arm/math_private.h: Remove.
9160 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9162 * sysdeps/generic/math_private.h: ... this file. Include
9163 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9164 Include <fenv_private.h>. Remove functions and macros moved to
9166 * sysdeps/i386/fpu/math_private.h: Remove.
9167 * sysdeps/mips/math_private.h: Move to ....
9168 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9169 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9170 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9171 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9172 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9173 * sysdeps/powerpc/fpu/math_private.h: Do not include
9175 * sysdeps/riscv/rvf/math_private.h: Move to ....
9176 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9177 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9179 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9180 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9181 * sysdeps/sparc/fpu/math_private.h: Remove.
9182 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9183 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9184 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9186 * sysdeps/x86_64/fpu/math_private.h: Do not include
9187 <sysdeps/i386/fpu/fenv_private.h>.
9189 2018-08-28 Florian Weimer <fweimer@redhat.com>
9192 * posix/tst-regcomp-truncated.c: New file.
9193 * posix/Makefile (tests): Add it.
9194 (tst-regcomp-truncated.out): Depend on generated locales.
9196 2018-08-28 Florian Weimer <fweimer@redhat.com>
9198 * support/test-container.c (main): Treat unshare failure with
9199 EPERM as an unsupported test.
9201 2018-08-28 Florian Weimer <fweimer@redhat.com>
9204 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9205 * nscd/netgroupcache.c
9206 (addgetnetgrentX): Add tofreep parameter. Do not free
9207 heap-allocated buffer.
9208 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9209 (addgetnetgrentX_ignore): New function.
9210 (addgetnetgrent): Call it.
9211 (readdgetnetgrent): Likewise.
9213 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9215 * string/memmem.c: Use memcmp for first match.
9217 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9220 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9222 2018-08-27 DJ Delorie <dj@redhat.com>
9224 * support/Makefile (others): Don't list programs explicitly as a
9225 dependency of "others".
9227 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9229 * sysdeps/generic/math-tests-trap-force.h: New file.
9230 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9231 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9232 * sysdeps/powerpc/math-tests.h: Remove file.
9233 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9235 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9236 Torvald Riegel <triegel@redhat.com>
9239 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9240 Update r to include the set wake-request flag if waiters are
9241 remaining after spinning.
9243 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9245 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9247 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9250 regex: fix uninitialized memory access
9251 I introduced this bug into gnulib in commit
9252 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9253 eventually it was merged into glibc. The bug was found by
9254 project-repo <bugs@feusi.co> and reported here:
9255 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9256 Diagnosis and draft fix reported by Assaf Gordon here:
9257 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9258 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9259 * posix/regex_internal.c (build_wcs_upper_buffer):
9260 Fix bug when mbrtowc returns 0.
9262 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9264 * po/be.po: Update translation.
9266 2018-08-24 DJ Delorie <dj@delorie.com>
9268 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9271 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9274 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9275 create temporary files in source tree.
9277 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9279 * sysdeps/generic/math-tests-trap.h: New file.
9280 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9281 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9282 * sysdeps/aarch64/math-tests.h: Remove file.
9283 * sysdeps/arm/math-tests.h: Likewise.
9284 * sysdeps/riscv/math-tests.h: Likewise.
9285 * sysdeps/aarch64/math-tests-trap.h: New file.
9286 * sysdeps/arm/math-tests-trap.h: Likewise.
9287 * sysdeps/riscv/math-tests-trap.h: Likewise.
9289 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9291 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9292 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9293 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9294 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9295 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9296 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9298 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9300 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9301 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9303 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9304 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9305 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9306 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9307 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9308 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9310 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9312 * sysdeps/generic/math-tests-exceptions.h: New file.
9313 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9314 (EXCEPTION_TESTS_float): Do not define here.
9315 (EXCEPTION_TESTS_double): Likewise.
9316 (EXCEPTION_TESTS_long_double): Likewise.
9317 (EXCEPTION_TESTS_float128): Likewise.
9318 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9320 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9321 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9322 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9323 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9324 * sysdeps/mips/math-tests.h: Likewise.
9325 * sysdeps/nios2/math-tests.h: Likewise.
9326 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9327 (EXCEPTION_TESTS_float): Do not define here.
9328 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9329 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9330 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9332 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9334 * NEWS: Move optimized sinf entry to 2.29.
9336 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9338 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9340 2018-08-22 DJ Delorie <dj@redhat.com>
9342 * Makefile (testroot.pristine): New rules to initialize the
9343 test-in-container "testroot".
9344 * Makerules (all-testsuite): Add tests-container.
9345 * Rules (tests-expected): Add tests-container.
9346 (binaries-all-tests): Likewise.
9347 (tests-container): New, run these tests in the testroot container.
9348 * support/Makefile (others): Add *-container, support_paths.c,
9349 xmkdirp, and links-dso-program.
9350 * support/links-dso-program-c.c: New.
9351 * support/links-dso-program.cc: New.
9352 * support/test-container.c: New.
9353 * support/shell-container.c: New.
9354 * support/echo-container.c: New.
9355 * support/true-container.c: New.
9356 * support/xmkdirp.c: New.
9357 * support/xsymlink.c: New.
9358 * support/support_paths.c: New.
9359 * support/support.h: Add support paths prototypes.
9360 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9362 * nss/tst-nss-test3.c: Convert to test-in-container.
9363 * nss/tst-nss-test3.root/: New.
9365 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9367 regex: port Gnulib code to z/OS POSIX environment
9368 Problem reported by Arnold Robbins in:
9369 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9370 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9373 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9375 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9376 (ROUNDING_TESTS_double): Remove.
9377 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9378 (ROUNDING_TESTS_double): Remove.
9379 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9380 (ROUNDING_TESTS_double): Remove.
9381 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9382 (ROUNDING_TESTS_float): Remove.
9383 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9384 (ROUNDING_TESTS_float): Remove.
9385 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9386 (ROUNDING_TESTS_float): Remove.
9387 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9389 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9390 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9392 * sysdeps/generic/math-tests-rounding.h: New file.
9393 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9394 (ROUNDING_TESTS_float): Do not define here.
9395 (ROUNDING_TESTS_double): Likewise.
9396 (ROUNDING_TESTS_long_double): Likewise.
9397 (ROUNDING_TESTS_float128): Likewise.
9398 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9399 (ROUNDING_TESTS_double): Undefine before defining.
9400 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9401 (ROUNDING_TESTS_double): Undefine before defining.
9402 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9403 (ROUNDING_TESTS_double): Undefine before defining.
9404 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9405 (ROUNDING_TESTS_float): Undefine before defining.
9406 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9407 (ROUNDING_TESTS_float): Undefine before defining.
9408 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9409 (ROUNDING_TESTS_float): Undefine before defining.
9410 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9411 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9413 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9414 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9415 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9416 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9417 (ROUNDING_TESTS_float): Do not define here.
9418 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9419 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9420 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9421 (ROUNDING_TESTS_float): Likewise.
9422 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9423 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9424 * sysdeps/mips/math-tests.h [__mips_soft_float]
9425 (ROUNDING_TESTS_float): Likewise.
9426 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9427 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9428 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9429 (ROUNDING_TESTS_double): Likewise.
9430 (ROUNDING_TESTS_long_double): Likewise.
9432 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9434 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9435 (PF_XDP): New macro.
9436 (AF_XDP): New macro.
9437 (SOL_XDP): New macro.
9439 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9441 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9442 (TCP_INQ): Likewise.
9443 (TCP_CM_INQ): Likewise.
9444 (TCP_REPAIR_ON): Likewise.
9445 (TCP_REPAIR_OFF): Likewise.
9446 (TCP_REPAIR_OFF_NO_WP): Likewise.
9447 (struct tcp_zerocopy_receive): New type.
9449 2018-08-21 Florian Weimer <fweimer@redhat.com>
9451 * support/support.h (support_descriptor_supports_holes): Declare.
9452 * support/Makefile (libsupport-routines): Add
9453 support_descriptor_supports_holes.
9454 * support/support_descriptor_supports_holes.c: New file.
9455 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9456 and stop testing if holes are not supported.
9457 * io/test-lfs.c (do_prepare): Likewise.
9458 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9460 * timezone/tst-tzset.c (create_tz_file): Likewise.
9461 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9463 (do_prepare): Set it.
9464 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9466 2018-08-21 Florian Weimer <fweimer@redhat.com>
9469 * Makeconfig (+cflags): Do not sort (and deduplicate).
9471 2018-08-21 Florian Weimer <fweimer@redhat.com>
9473 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9474 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9476 2018-08-20 Florian Weimer <fweimer@redhat.com>
9478 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9479 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9481 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9483 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9484 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9485 and ssi_arch members.
9487 * elf/elf.c (NT_VMCOREDD): New macro.
9488 (AT_MINSIGSTKSZ): Likewise.
9490 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9493 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9494 s_cosf-ppc64 and s_cosf-power8.
9495 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9496 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9497 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9498 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9505 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9506 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9508 2018-08-17 Florian Weimer <fweimer@redhat.com>
9510 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9512 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9514 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9516 2018-08-16 Florian Weimer <fweimer@redhat.com>
9518 * configure.ac: Add --with-nonshared-cflags option.
9519 * config.make.in (extra-nonshared-cflags): Set variable.
9520 * Makeconfig (CFLAGS-.oS): Use it.
9521 * manual/install.texi (Configuring and compiling): Document
9522 --with-nonshared-cflags.
9523 * configure: Regenerate.
9524 * INSTALL: Likewise.
9526 2018-08-16 Florian Weimer <fweimer@redhat.com>
9528 * Makeconfig (ASFLAGS): Always append required assembler flags.
9530 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9532 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9533 (malloc_consolidate): Likewise.
9535 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9537 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9539 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9541 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9544 * benchtests/bench-strlen.c: Print performance numbers in json.
9546 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9548 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9549 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9550 only for little endian.
9551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9552 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9553 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9554 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9555 Add check for little endian.
9556 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9557 (__strcmp_power9): Add check for little endian.
9558 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9559 Add check for little endian.
9560 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9561 (__strncmp_power9): Add check for little endian.
9562 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9563 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9564 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9565 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9566 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9568 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9570 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9571 [!STRLEN](STRLEN): Set to __strlen.
9572 * sysdeps/aarch64/multiarch/strlen.c: New file.
9573 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9574 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9575 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9576 (__libc_ifunc_impl_list): Add strlen.
9577 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9578 strlen_generic and strlen_asimd.
9580 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9582 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9583 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9584 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9586 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9588 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9590 2018-08-14 Florian Weimer <fweimer@redhat.com>
9593 * include/stdio.h (__vfxprintf): Declare.
9594 * stdio-common/fxprintf.c (__vfxprintf): New function.
9595 (__fxprintf): Call it.
9596 * misc/err.c (convert_and_print): Remove function.
9597 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9598 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9599 * misc/Makefile (tests): Add tst-warn-wide.
9600 * misc/tst-warn-wide.c: New file.
9602 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9603 Szabolcs Nagy <szabolcs.nagy@arm.com>
9605 * NEWS: Mention sinf, cosf, sincosf.
9606 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9607 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9608 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9609 constants rather than including generic sincosf.h.
9610 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9611 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9612 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9613 (reduced_cos): Remove.
9614 (sinf_poly): New function.
9615 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9617 2018-08-14 Florian Weimer <fweimer@redhat.com>
9621 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9622 processing, bail out if no room, and close the stream before
9624 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9625 (tst-nss-files-alias-leak): Link with libdl.
9626 (tst-nss-files-alias-leak.out): Depend on nss_files.
9628 * nss/tst-nss-files-alias-leak.c: New file.
9630 2018-08-14 Florian Weimer <fweimer@redhat.com>
9632 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9633 server_user, stat_user.
9635 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9637 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9639 (io_pgetevents): New syscall.
9642 * manual/install.texi (Configuring and compiling): Do not list
9643 tools used for testing pretty printers here.
9644 (Tools for Compilation): List Python, PExpect and GDB here.
9645 Update descriptions of uses of Perl and Python.
9646 * INSTALL: Regenerate.
9648 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9651 2018-08-13 Florian Weimer <fweimer@redhat.com>
9653 * misc/error.c (error): Add missing va_end call.
9654 (error_at_line): Likewise.
9656 2018-08-13 Florian Weimer <fweimer@redhat.com>
9658 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9660 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9662 * benchtests/scripts/benchout.schema.json (properties): Add
9665 * benchtests/bench-skeleton.c (main): Add duration and
9666 iterations attributes.
9668 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9670 regex: Gnulib unibyte RRI uses bytes not chars
9671 Adjust the non-glibc code to agree with what Gawk needs for
9672 rational range interpretation (RRI) for regular expression ranges.
9673 In unibyte locales, Gawk wants ranges to use the underlying byte
9674 rather than the character code point. This change does not affect
9676 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9677 In unibyte locales, use the byte value rather than
9678 running it through btowc.
9680 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9682 * sysdeps/generic/math-tests-snan.h: New file.
9683 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9684 (SNAN_TESTS_float): Do not define here.
9685 (SNAN_TESTS_double): Likewise.
9686 (SNAN_TESTS_long_double): Likewise.
9687 (SNAN_TESTS_float128): Likewise.
9688 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9689 * sysdeps/i386/fpu/math-tests.h: Remove file.
9690 * sysdeps/ia64/math-tests-snan.h: New file.
9691 * sysdeps/ia64/math-tests.h: Remove file.
9692 * sysdeps/x86/math-tests.h: Likewise.
9693 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9695 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9696 Szabolcs Nagy <szabolcs.nagy@arm.com>
9698 * math/Makefile: Add s_sincosf_data.c.
9699 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9700 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9701 (sincosf_poly): Likewise.
9702 (reduce_small): Likewise.
9703 (reduce_large): Likewise.
9704 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9705 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9706 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9707 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9709 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9710 Szabolcs Nagy <szabolcs.nagy@arm.com>
9712 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9713 (converttoint): Use lround.
9714 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9715 document the semantics when TOINT_INTRINSICS is set.
9716 (converttoint): Likewise.
9717 (TOINT_RINT): Remove.
9718 (TOINT_SHIFT): Remove.
9719 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9722 2018-08-10 Florian Weimer <fweimer@redhat.com>
9725 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9727 (__old_getdents64): Use getdents64. Convert entries without
9729 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9730 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9731 tst-readdir64-compat.
9733 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9735 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9738 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9740 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9741 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9742 code to s390x-mcount.h and #include it.
9743 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9744 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9747 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9749 * stdlib/Versions: Remove __fentry__.
9750 * sysdeps/i386/Versions: Add __fentry__.
9751 * sysdeps/x86_64/Versions: Add __fentry__.
9753 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9755 * sysdeps/s390/Makefile: Register the new tests.
9756 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9757 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9758 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9759 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9760 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9761 * sysdeps/s390/tst-dl-runtime.c: New file.
9763 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9765 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9768 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9770 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9773 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9775 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9778 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9780 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9783 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9785 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9786 Use symbolic offsets for stack variables.
9788 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9790 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9791 Use symbolic offsets for stack variables.
9793 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9795 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9796 Use symbolic offsets for stack variables.
9798 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9800 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9801 Use symbolic offsets for stack variables.
9803 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9805 * math/gen-libm-test.py: New file.
9806 * math/gen-libm-test.pl: Remove.
9807 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9808 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9810 ($(libm-test-c-noauto-obj)): Likewise.
9811 ($(libm-test-c-auto-obj)): Likewise.
9812 ($(libm-test-c-narrow-obj)): Likewise.
9813 (regen-ulps): Likewise.
9814 * math/README.libm-test: Update references to gen-libm-test.pl.
9815 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9816 referencing gen-libm-test.pl.
9817 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9818 * math/libm-test-support.c: Likewise.
9819 * math/libm-test-support.h: Likewise.
9820 * sysdeps/generic/libm-test-ulps: Likewise.
9822 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9824 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9827 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9829 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9830 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9832 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9834 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9836 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9837 __pthread_setspecific): Add hidden proto.
9838 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9839 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9841 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9843 * benchtests/bench-string.h (buf1_size, buf2_size): New
9845 (init_sizes): New function.
9846 (test_init): Use it.
9847 (alloc_buf, exit_error): New functions.
9848 (alloc_bufs): Use ALLOC_BUF.
9849 (realloc_bufs): Remove.
9850 * benchtests/bench-memcmp.c (do_test): Adjust.
9851 * benchtests/bench-memset-large.c (do_test): Likewise.
9852 * benchtests/bench-memset-walk.c (do_test): Likewise.
9853 * benchtests/bench-memset.c (do_test): Likewise.
9854 * benchtests/bench-strncmp.c (do_test): Likewise.
9856 2018-08-06 Andreas Schwab <schwab@suse.de>
9858 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9859 of CONST_THREAD_AREA.
9861 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9863 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9864 (STATE_SAVE_MASK): Likewise.
9865 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9866 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9867 (STATE_SAVE_MASK): Likewise.
9868 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9869 instead of <cpu-features.h>.
9871 2018-08-03 DJ Delorie <dj@redhat.com>
9873 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9874 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9876 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9878 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9880 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9882 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9883 * math/libm-test-logb.inc (logb_test_data): Likewise.
9885 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9887 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9888 * string/strstr.c (AVAILABLE): Likewise.
9890 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9892 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9894 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9895 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9896 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9898 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9900 * po/be.po: Update translation.
9902 * po/be.po: Update translation.
9904 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9906 * sysdeps/x86/cpu-features-offsets.sym
9907 (rtld_global_ro_offsetof): Removed.
9908 (CPU_FEATURES_SIZE): Likewise.
9909 (CPUID_OFFSET): Likewise.
9910 (CPUID_SIZE): Likewise.
9911 (CPUID_EAX_OFFSET): Likewise.
9912 (CPUID_EBX_OFFSET): Likewise.
9913 (CPUID_ECX_OFFSET): Likewise.
9914 (CPUID_EDX_OFFSET): Likewise.
9915 (FAMILY_OFFSET): Likewise.
9916 (MODEL_OFFSET): Likewise.
9917 (FEATURE_OFFSET): Likewise.
9918 (FEATURE_SIZ): Likewise.
9919 (COMMON_CPUID_INDEX_1): Likewise.
9920 (COMMON_CPUID_INDEX_7): Likewise.
9921 (FEATURE_INDEX_1): Likewise.
9922 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9924 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9926 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9927 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9928 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9929 (install-locales): Depend on install-locale-archive.
9930 (install-locale-archive): Define.
9931 (install-locale-files): Define.
9932 (build-one-locale): Define macro.
9933 * manual/install.texi (Running make install): Document.
9934 * manual/INSTALL: Regenerate.
9936 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9938 * benchtests/scripts/compare_strings.py: Import traceback.
9939 (parse_file): Pretty-print error.
9941 * NEWS: Mention the change.
9942 * elf/dl-tunables.list: Rename tune namespace to cpu.
9943 * sysdeps/powerpc/dl-tunables.list: Likewise.
9944 * sysdeps/x86/dl-tunables.list: Likewise.
9945 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9947 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9948 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9949 * manual/README.tunables: Likewise.
9950 * manual/tunables.texi: Likewise.
9951 * sysdeps/powerpc/cpu-features.c: Likewise.
9952 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9953 (init_cpu_features): Likewise.
9954 * sysdeps/x86/cpu-features.c: Likewise.
9955 * sysdeps/x86/cpu-features.h: Likewise.
9956 * sysdeps/x86/cpu-tunables.c: Likewise.
9957 * sysdeps/x86_64/Makefile: Likewise.
9958 * sysdeps/x86/dl-cet.c: Likewise.
9960 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9963 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9964 [__mips_hard_float].
9965 (FE_UNDERFLOW): Likewise.
9966 (FE_OVERFLOW): Likewise.
9967 (FE_DIVBYZERO): Likewise.
9968 (FE_INVALID): Likewise.
9969 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9970 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9971 (FE_UPWARD): Likewise.
9972 (FE_DOWNWARD): Likewise.
9973 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9974 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9975 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9976 [__mips_hard_float].
9977 (FP_ROUNDMODE): Likewise.
9978 (FP_RND_NEAREST): Likewise.
9979 (FP_RND_ZERO): Likewise.
9980 (FP_RND_PINF): Likewise.
9981 (FP_RND_MINF): Likewise.
9982 (FP_EX_INVALID): Likewise.
9983 (FP_EX_OVERFLOW): Likewise.
9984 (FP_EX_UNDERFLOW): Likewise.
9985 (FP_EX_DIVZERO): Likewise.
9986 (FP_EX_INEXACT): Likewise.
9987 (FP_INIT_ROUNDMODE): Likewise.
9988 * sysdeps/mips/nofpu/fesetenv.c: New file.
9989 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9991 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9993 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9994 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9995 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9996 conditional on [FE_UPWARD].
9998 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10000 regex: fix memory leak in Gnulib
10001 Problem and fix reported by Assaf Gordon in:
10002 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10003 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10004 range_ends members too, as they are defined in 'struct
10005 re_charset_t' even if not _LIBC. This affects only Gnulib.
10007 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10009 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10011 (get_common_indices): This.
10012 (init_cpu_features): Updated.
10014 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10016 * sysdeps/generic/math-tests-snan-payload.h: New file.
10017 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10018 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10019 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10020 * sysdeps/generic/math-tests.h: Include
10021 <math-tests-snan-payload.h>.
10022 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10023 * sysdeps/hppa/math-tests.h: Remove file.
10024 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10025 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10026 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10029 * sysdeps/generic/math-tests-snan-cast.h: New file.
10030 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10031 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10032 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10033 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10035 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10037 * version.h (RELEASE): Set to "development".
10038 (VERSION): Set to "2.28.9000".
10039 * NEWS (2.29): New section.
10041 * version.h (RELEASE): Set to "stable".
10042 (VERSION): Set to "2.28".
10043 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10044 * NEWS: Add the list of bugs fixed in 2.28.
10046 * po/ca.po: Update to latest version.
10047 * po/cs.po: Likewise
10048 * po/da.po: Likewise
10049 * po/el.po: Likewise
10050 * po/eo.po: Likewise
10051 * po/es.po: Likewise
10052 * po/fi.po: Likewise
10053 * po/fr.po: Likewise
10054 * po/gl.po: Likewise
10055 * po/hu.po: Likewise
10056 * po/ia.po: Likewise
10057 * po/id.po: Likewise
10058 * po/it.po: Likewise
10059 * po/ja.po: Likewise
10060 * po/ko.po: Likewise
10061 * po/lt.po: Likewise
10062 * po/nb.po: Likewise
10063 * po/nl.po: Likewise
10064 * po/pt_BR.po: Likewise
10065 * po/ru.po: Likewise
10066 * po/rw.po: Likewise
10067 * po/sk.po: Likewise
10068 * po/sl.po: Likewise
10069 * po/tr.po: Likewise
10070 * po/zh_CN.po: Likewise
10071 * po/zh_TW.po: Likewise
10073 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10075 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10077 (init): ... before initializing libpthread.
10079 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10080 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10081 (__mach_setup_tls): ... new function.
10082 (mach_setup_tls): New alias.
10083 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10084 __mach_setup_thread.
10085 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10086 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10087 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10088 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10090 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10092 * manual/install.texi: Update versions.
10093 * INSTALL: Regenerate.
10095 * manual/contrib.texi (Contributors): Update contributions.
10097 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10099 * po/be.po: Update translations.
10101 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10103 * sysdeps/sh/libm-test-ulps: Update.
10105 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10107 * po/bg.po: Update translations.
10108 * po/de.po: Likewise.
10109 * po/hr.po: Likewise.
10110 * po/pt_BR.po: Likewise.
10111 * po/sv.po: Likewise.
10112 * po/vi.po: Likewise.
10114 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10117 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10118 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10119 (CFLAGS-tst-cet-property-1.o): New.
10120 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10121 ($(objpfx)tst-cet-property-2): Likewise.
10122 ($(objpfx)tst-cet-property-2.out): Likewise.
10123 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10124 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10125 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10126 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10127 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10129 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10132 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10134 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10136 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10137 __sbrk): Do not set attribute_hidden.
10138 * sysdeps/mach/hurd/not-errno.h: New file.
10139 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10140 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10142 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10144 * po/uk.po: Update translations.
10145 * po/cs.po: Likewise.
10146 * po/pl.po: Likewise.
10148 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10150 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10151 parse beyond the note end.
10153 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10155 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10156 kernel does not support OFD locks.
10157 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10159 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10161 * sysdeps/mach/hurd/Versions (libc): Make __access and
10162 __access_noerrno external so they can override the ld symbols.
10163 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10164 __writev, __open64, __access_noerrno extern so they can be overrided.
10165 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10166 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10168 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10170 * po/libc.pot: Regenerate.
10172 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10174 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10176 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10179 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10181 (init_cpu_features): Call get_extended_indices for both Intel
10183 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10184 Remove "for AMD" comment.
10186 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10189 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10190 COMMON_CPUID_INDEX_80000001.
10192 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10194 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10195 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10197 2018-07-26 Florian Weimer <fweimer@redhat.com>
10199 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10200 aliases for symbols not in the implementation namespace.
10202 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10205 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10206 lowercase in LATIN script.
10207 * localedata/Makefile (test-input): Add en_US.UTF-8.
10208 * localedata/en_US.UTF-8.in: New file.
10209 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10210 and restore old tests.
10211 * posix/tst-regexloc.c (do_test): Add back range expression test.
10213 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10215 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10217 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10219 * nptl/threads.h: Move to ...
10220 * sysdeps/nptl/threads.h: ... here.
10221 * sysdeps/hurd/stdc-predef.h: New file.
10223 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10225 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10226 tst-cet-setcontext-1 if CET is enabled.
10227 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10228 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10230 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10232 * include/threads.h: Move to ...
10233 * sysdeps/nptl/threads.h: ... here.
10234 * sysdeps/htl/threads.h: New file.
10235 * conform/Makefile (linknamespace-libs-ISO11): Use
10236 static-thread-library instead of linking libpthread.
10237 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10239 2018-07-25 Florian Weimer <fweimer@redhat.com>
10241 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10242 nanoseconds into seconds.
10243 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10244 (do_test): Likewise.
10245 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10246 (do_test): Likewise. Avoid nanosecond overflow and spurious
10247 timeouts due to system load.
10248 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10249 (child_wait): Increment it.
10250 (do_test): Wait as long as necessary until all expected threads
10253 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10254 H.J. Lu <hongjiu.lu@intel.com>
10256 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10258 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10259 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10260 (__push___start_context): New.
10261 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10263 (__getcontext): Record the current shadow stack base. Save the
10264 caller's shadow stack pointer and base.
10265 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10266 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10267 (__push___start_context): New prototype.
10268 (__makecontext): Call __push___start_context to allocate a new
10269 shadow stack, push __start_context onto the new stack as well
10270 as the new shadow stack.
10271 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10273 (__setcontext): Restore the target shadow stack.
10274 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10276 (__swapcontext): Record the current shadow stack base. Save
10277 the caller's shadow stack pointer and base. Restore the target
10279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10280 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10281 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10283 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10285 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10286 tst-setcontext8 and tst-setcontext9.
10287 * stdlib/tst-setcontext6.c: New file.
10288 * stdlib/tst-setcontext7.c: Likewise.
10289 * stdlib/tst-setcontext8.c: Likewise.
10290 * stdlib/tst-setcontext9.c: Likewise.
10292 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10294 * stdlib/Makefile ((tests): Add tst-setcontext5.
10295 * stdlib/tst-setcontext5.c: New file.
10297 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10299 * stdlib/Makefile (tests): Add tst-setcontext4.
10300 * stdlib/tst-setcontext4.c: New file.
10302 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10304 * stdlib/Makefile (tests): Add tst-swapcontext1.
10305 * stdlib/tst-swapcontext1.c: New test.
10307 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10309 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10310 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10311 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10312 and tst-cet-legacy-4c.
10313 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10314 and tst-cet-legacy-mod-4.
10315 (CFLAGS-tst-cet-legacy-2.c): New.
10316 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10317 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10318 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10319 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10320 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10321 ($(objpfx)tst-cet-legacy-1): Likewise.
10322 ($(objpfx)tst-cet-legacy-2): Likewise.
10323 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10324 ($(objpfx)tst-cet-legacy-2a): Likewise.
10325 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10326 ($(objpfx)tst-cet-legacy-4): Likewise.
10327 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10328 ($(objpfx)tst-cet-legacy-4a): Likewise.
10329 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10330 (tst-cet-legacy-4a-ENV): Likewise.
10331 ($(objpfx)tst-cet-legacy-4b): Likewise.
10332 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10333 (tst-cet-legacy-4b-ENV): Likewise.
10334 ($(objpfx)tst-cet-legacy-4c): Likewise.
10335 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10336 (tst-cet-legacy-4c-ENV): Likewise.
10337 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10338 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10339 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10340 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10341 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10342 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10343 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10344 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10345 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10346 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10347 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10349 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10351 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10352 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10354 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10355 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10358 2018-07-25 Andreas Schwab <schwab@suse.de>
10361 * locale/weightwc.h (findidx): Handle the case where usrc is a
10362 prefix of cp but one character too short.
10364 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10366 * NEWS: Add ISO C threads addition.
10368 2018-07-24 Florian Weimer <fweimer@redhat.com>
10370 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10371 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10372 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10375 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10377 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10378 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10379 <sys/prctl.h> and <asm/prctl.h>.
10380 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10381 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10383 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10384 ARCH_CET_LEGACY_BITMAP.
10385 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10386 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10387 * sysdeps/x86/libc-start.c: Include <startup.h>.
10389 2018-07-24 Florian Weimer <fweimer@redhat.com>
10391 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10392 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10394 2018-07-24 Rical Jasan <rj@2c3t.io>
10395 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10396 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10399 * manual/debug.texi: Update adjacent chapter name.
10400 * manual/probes.texi: Likewise.
10401 * manual/threads.texi (ISO C Threads): New section.
10402 (POSIX Threads): Convert to a section.
10404 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10405 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10408 * nptl/Makefile (tests): Add new test files.
10409 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10410 * nptl/tst-cnd-basic.c: Likewise.
10411 * nptl/tst-cnd-broadcast.c: Likewise.
10412 * nptl/tst-cnd-timedwait.c: Likewise.
10413 * nptl/tst-mtx-basic.c: Likewise.
10414 * nptl/tst-mtx-recursive.c: Likewise.
10415 * nptl/tst-mtx-timedlock.c: Likewise.
10416 * nptl/tst-mtx-trylock.c: Likewise.
10417 * nptl/tst-thrd-basic.c: Likewise.
10418 * nptl/tst-thrd-detach.c: Likewise.
10419 * nptl/tst-thrd-sleep.c: Likewise.
10420 * nptl/tst-tss-basic.c: Likewise.
10422 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10425 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10426 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10428 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10430 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10433 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10434 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10435 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10436 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10437 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10438 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10439 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10447 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10448 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10449 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10450 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10451 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10452 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10453 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10454 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10455 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10456 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10457 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10458 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10459 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10461 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10462 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10463 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10464 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10465 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10466 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10467 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10468 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10469 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10470 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10471 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10472 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10479 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10480 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10481 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10482 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10483 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10484 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10485 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10486 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10489 * conform/data/threads.h-data (thread_local): New macro.
10490 (TSS_DTOR_ITERATIONS): Likewise.
10492 (tss_dtor_t): Likewise.
10493 (tss_create): New function.
10494 (tss_get): Likewise.
10495 (tss_set): Likewise.
10496 (tss_delete): Likewise.
10497 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10498 tss_get, and tss_set objects.
10499 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10500 * nptl/tss_create.c: New file.
10501 * nptl/tss_delete.c: Likewise.
10502 * nptl/tss_get.c: Likewise.
10503 * nptl/tss_set.c: Likewise.
10504 * sysdeps/nptl/threads.h (thread_local): New define.
10505 (TSS_DTOR_ITERATIONS): Likewise.
10506 (tss_t): New typedef.
10507 (tss_dtor_t): Likewise.
10508 (tss_create): New prototype.
10509 (tss_get): Likewise.
10510 (tss_set): Likewise.
10511 (tss_delete): Likewise.
10514 * conform/data/threads.h-data (cnd_t): New type.
10515 (cnd_init): New function.
10516 (cnd_signal): Likewise.
10517 (cnd_broadcast): Likewise.
10518 (cnd_wait): Likewise.
10519 (cnd_timedwait): Likewise.
10520 (cnd_destroy): Likewise.
10521 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10522 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10524 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10525 * nptl/cnd_broadcast.c: New file.
10526 * nptl/cnd_destroy.c: Likewise.
10527 * nptl/cnd_init.c: Likewise.
10528 * nptl/cnd_signal.c: Likewise.
10529 * nptl/cnd_timedwait.c: Likewise.
10530 * nptl/cnd_wait.c: Likewise.
10531 * sysdeps/nptl/threads.h (cnd_t): New type.
10532 (cnd_init): New prototype.
10533 (cnd_signa): Likewise.
10534 (cnd_broadcast): Likewise.
10535 (cnd_wait): Likewise.
10536 (cnd_timedwait): Likewise.
10537 (cnd_destroy): Likewise.
10540 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10541 (once_flag): New type.
10542 (call_once): New function.
10543 * nptl/Makefile (libpthread-routines): Add call_once object.
10544 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10545 * nptl/call_once.c: New file.
10546 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10547 (once_flag): New type.
10548 (call_once): New prototype.
10551 * conform/data/threads.h-data (mtx_plain): New constant.
10552 (mtx_recursive): Likewise.
10553 (mtx_timed): Likewise.
10555 (mtx_init): New function.
10556 (mtx_lock): Likewise.
10557 (mtx_timedlock): Likewise.
10558 (mtx_trylock): Likewise.
10559 (mtx_unlock): Likewise.
10560 (mtx_destroy): Likewise.
10561 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10562 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10563 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10564 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10565 * nptl/mtx_destroy.c: New file.
10566 * nptl/mtx_init.c: Likewise.
10567 * nptl/mtx_lock.c: Likewise.
10568 * nptl/mtx_timedlock.c: Likewise.
10569 * nptl/mtx_trylock.c: Likewise.
10570 * nptl/mtx_unlock.c: Likewise.
10571 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10572 (mtx_recursive): Likewise.
10573 (mtx_timed): Likewise.
10575 (mtx_init): New prototype.
10576 (mtx_lock): Likewise.
10577 (mtx_timedlock): Likewise.
10578 (mtx_trylock): Likewise.
10579 (mtx_unlock): Likewise.
10580 (mtx_destroy): Likewise.
10583 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10584 (linknamespace-libs-ISO11): Add libpthread.a.
10585 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10587 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10588 * nptl/Makefile (headers): Add threads.h.
10589 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10590 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10592 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10593 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10594 thrd_join, thrd_sleep, and thrd_yield symbols.
10595 * nptl/descr.h (struct pthread): Add c11 field.
10596 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10597 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10598 routine with expected function prototype.
10599 (__pthread_create_2_1): Add C11 threads check based on attribute
10601 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10602 * nptl/thrd_create.c: New file.
10603 * nptl/thrd_current.c: Likewise.
10604 * nptl/thrd_detach.c: Likewise.
10605 * nptl/thrd_equal.c: Likewise.
10606 * nptl/thrd_exit.c: Likewise.
10607 * nptl/thrd_join.c: Likewise.
10608 * nptl/thrd_priv.h: Likewise.
10609 * nptl/thrd_sleep.c: Likewise.
10610 * nptl/thrd_yield.c: Likewise.
10611 * include/threads.h: Likewise.
10613 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10615 * bits/indirect-return.h: New file.
10616 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10617 * sysdeps/x86/bits/indirect-return.h: Likewise.
10618 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10619 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10620 (swapcontext): Add __INDIRECT_RETURN.
10621 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10622 (prepare_test_buffer): Use it.
10624 2018-07-24 Andreas Schwab <schwab@suse.de>
10627 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10628 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10630 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10632 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10633 Redefine if shadow stack is enabled.
10634 (SYSCALL_ERROR_LABEL): Likewise.
10635 (__vfork): Pop shadow stack and jump back to to caller directly
10636 when shadow stack is in use.
10637 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10638 Redefine if shadow stack is enabled.
10639 (SYSCALL_ERROR_LABEL): Likewise.
10640 (__vfork): Pop shadow stack and jump back to to caller directly
10641 when shadow stack is in use.
10643 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10645 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10648 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10651 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10653 * scripts/build-many-glibcs.py (Context.checkout): Default
10654 binutils version to 2.31 branch.
10656 2018-07-20 Zong Li <zong@andestech.com>
10658 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10659 URL of gcc's tarball.
10661 2018-07-20 Florian Weimer <fweimer@redhat.com>
10664 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10665 not compare an extra byte after the end of the weights.
10667 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10669 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10671 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10673 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10674 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10675 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10676 list of libraries whose stack executability is expected.
10677 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10678 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10680 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10681 libc.so libpthread.so.
10683 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10685 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10687 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10689 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10691 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10693 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10695 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10696 library to improve command line parsing.
10697 (__main__): make schema file as optional parameter (--schema),
10698 defaulting to benchtests/scripts/benchout.schema.json.
10699 (main): move out of the parsing stuff to __main_ and leave it
10700 only as caller of main comparison functions.
10702 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10704 * NEWS: Add a note for Intel CET status.
10705 * manual/install.texi: Likewise.
10706 * INSTALL: Regenerated.
10708 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10711 * localedata/locales/oc_FR (mon): Rename to...
10712 (alt_mon): This, then update October (typo fix).
10713 (mon): New content (genitive case, month names preceded by
10717 * localedata/locales/oc_FR (abday): Update all items.
10718 (day): Update Wednesday and Saturday (typo fixes).
10719 (abmon): Update all items, except May.
10720 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10721 (LC_IDENTIFICATION): Bump the revision number and date.
10722 Keep the "category" entries in alphabetic order.
10723 (LC_ADDRESS): Remove no longer needed comment.
10724 (LC_COLLATE): Use “copy "ca_ES"”.
10725 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10728 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10730 * grp/tst_fgetgrent.c: Include <unistd.h>.
10731 (main): Use mkstemp instead of tmpnam.
10732 * io/test-utime.c (main): Likewise.
10733 * posix/annexc.c (macrofile): Change to modifiable array.
10734 (main): Remove macrofile here.
10735 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10737 (check_header): Do not remove macrofile here.
10738 * posix/bug-getopt1.c: Include <stdlib.h>.
10739 (do_test): Use mkstemp instead of tmpnam.
10740 * posix/bug-getopt2.c: Include <stdlib.h>.
10741 (do_test): Use mkstemp instead of tmpnam.
10742 * posix/bug-getopt3.c: Include <stdlib.h>.
10743 (do_test): Use mkstemp instead of tmpnam.
10744 * posix/bug-getopt4.c: Include <stdlib.h>.
10745 (do_test): Use mkstemp instead of tmpnam.
10746 * posix/bug-getopt5.c: Include <stdlib.h>.
10747 (do_test): Use mkstemp instead of tmpnam.
10748 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10749 (main): Use mkstemp instead of tmpnam.
10750 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10751 (main): Use mkstemp instead of tmpnam.
10752 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10753 (main): use mkstemp instead of tmpnam.
10754 * stdlib/isomac.c (macrofile): Change to modifiable array.
10755 (main): Remove macrofile here.
10756 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10758 (check_header): Do not remove macrofile here.
10760 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10762 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10763 glibc.tune.x86_shstk.
10765 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10767 * NEWS: Mention --enable-cet.
10768 * manual/install.texi: Document --enable-cet.
10769 * INSTALL: Regenerated.
10771 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10773 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10774 Add _CET_NOTRACK before indirect jump to jump table.
10776 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10778 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10779 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10782 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10784 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10785 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10788 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10790 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10791 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10794 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10796 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10797 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10800 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10802 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10803 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10805 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10807 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10809 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10810 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10813 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10815 * sysdeps/i386/i686/multiarch/memset-sse2.S
10816 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10819 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10821 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10822 indirect jump to jump table.
10824 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10826 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10827 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10829 (MEMCPY): Likewise.
10831 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10833 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10834 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10836 (MEMCPY): Likewise.
10838 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10840 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10841 _CET_NOTRACK before indirect jump to jump table.
10843 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10846 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10849 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10851 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10852 indirect jump to jump table.
10854 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10857 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10858 (LOCALES): Likewise.
10859 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10860 * localedata/locales/sah_RU: New file.
10861 * localedata/sah_RU.UTF-8.in: New file.
10863 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10865 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10867 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10868 _CET_ENDBR to indirect jump targets and adjust jump destination
10870 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10872 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10873 _CET_ENDBR to indirect jump targets and adjust jump destination
10875 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10877 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10878 _CET_ENDBR to indirect jump targets and adjust jump destination
10881 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10883 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10886 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10888 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10890 (_dl_tlsdesc_undefweak): Likewise.
10891 (_dl_tlsdesc_dynamic): Likewise.
10892 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10893 (_dl_tlsdesc_resolve_rel): Likewise.
10894 (_dl_tlsdesc_resolve_rela): Likewise.
10895 (_dl_tlsdesc_resolve_hold): Likewise.
10896 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10897 (_dl_tlsdesc_undefweak): Likewise.
10898 (_dl_tlsdesc_dynamic): Likewise.
10899 (_dl_tlsdesc_resolve_rela): Likewise.
10900 (_dl_tlsdesc_resolve_hold): Likewise.
10902 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10904 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10906 * sysdeps/x86_64/crti.S (_init): Likewise.
10909 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10912 * localedata/locales/os_RU (mon): Rename to...
10914 (mon): Import from CLDR (genitive case).
10916 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10918 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10919 cet-tunables.h> when CET is enabled.
10921 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10924 * configure.ac: Add --enable-cet.
10925 * configure: Regenerated.
10926 * elf/Makefille (all-built-dso): Add a comment.
10927 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10928 Include <dl-prop.h>.
10929 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10931 * elf/dl-open.c: Include <dl-prop.h>.
10932 (dl_open_worker): Call _dl_open_check.
10933 * elf/rtld.c: Include <dl-prop.h>.
10934 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10936 * sysdeps/generic/dl-prop.h: New file.
10937 * sysdeps/i386/dl-cet.c: Likewise.
10938 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10939 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10940 * sysdeps/x86/cet-tunables.h: Likewise.
10941 * sysdeps/x86/check-cet.awk: Likewise.
10942 * sysdeps/x86/configure: Likewise.
10943 * sysdeps/x86/configure.ac: Likewise.
10944 * sysdeps/x86/dl-cet.c: Likewise.
10945 * sysdeps/x86/dl-procruntime.c: Likewise.
10946 * sysdeps/x86/dl-prop.h: Likewise.
10947 * sysdeps/x86/libc-start.h: Likewise.
10948 * sysdeps/x86/link_map.h: Likewise.
10949 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10951 (_dl_runtime_profile): Likewise.
10952 (_dl_runtime_resolve_shstk): New.
10953 (_dl_runtime_profile_shstk): Likewise.
10954 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10956 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10957 (CFLAGS-.os): Likewise.
10958 (CFLAGS-.op): Likewise.
10959 (CFLAGS-.oS): Likewise.
10960 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10962 (tests-special): Add $(objpfx)check-cet.out.
10963 (cet-built-dso): New.
10964 (+$(cet-built-dso:=.note)): Likewise.
10965 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10966 ($(objpfx)check-cet.out): New.
10967 (generated): Add check-cet.out.
10968 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10970 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10971 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10972 (init_cpu_features): Call get_cet_status to check CET status
10973 and update dl_x86_feature_1 with CET status. Call
10974 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10975 (set_x86_shstk). Disable and lock CET in libc.a.
10976 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10977 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10978 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10979 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10980 (_CET_ENDBR): Define if not defined.
10981 (ENTRY): Add _CET_ENDBR.
10982 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10984 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10986 (_dl_runtime_profile): Likewise.
10988 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10991 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10992 restore r2 on longjmp.
10993 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10995 Added rules to build test tst-setjmp-bug21895-static.
10996 Added module setjmp-bug21895 and rules to build a shared object from it.
10997 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10998 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11000 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11002 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11003 * benchtests/bench-strstr.c: Likewise.
11004 * string/memmem.c (FASTSEARCH): Define.
11005 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11006 Add support for FASTSEARCH.
11007 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11008 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11009 (FASTSEARCH): Define.
11010 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11011 * string/test-strstr.c: Likewise.
11013 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11015 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11016 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11018 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11019 H.J. Lu <hongjiu.lu@intel.com>
11021 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11022 (__longjmp): Restore shadow stack pointer if shadow stack is
11023 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11024 isn't defined for __longjmp_cancel.
11025 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11026 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11027 and SHADOW_STACK_POINTER_OFFSET is defined.
11028 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11029 (setjmp): Save shadow stack pointer if shadow stack is enabled
11030 and SHADOW_STACK_POINTER_OFFSET is defined.
11031 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11032 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11033 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11034 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11036 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11037 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11038 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11039 Remove jmp_buf-ssp.sym.
11040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11042 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11043 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11044 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11046 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11047 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11048 (__longjmp): Restore shadow stack pointer if shadow stack is
11049 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11050 isn't defined for __longjmp_cancel.
11051 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11052 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11053 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11055 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11058 * nptl/pthread_create.c: Include <tls-setup.h>.
11059 (__pthread_create_2_1): Call tls_setup_tcbhead.
11060 * sysdeps/generic/tls-setup.h: New file.
11061 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11062 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11063 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11065 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11067 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11068 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11069 (X86_FEATURE_1_SHSTK): Likewise.
11070 (CET_ENABLED): Likewise.
11071 (IBT_ENABLED): Likewise.
11072 (SHSTK_ENABLED): Likewise.
11074 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11077 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11078 (LOCALES): Likewise.
11079 * localedata/dsb_DE.UTF-8.in: New file.
11080 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11082 2018-07-12 Florian Weimer <fweimer@redhat.com>
11084 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11085 __mprotect, not mprotect.
11087 2018-07-11 Florian Weimer <fweimer@redhat.com>
11089 * io/Makefile (headers): Add bits/statx.h.
11091 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11093 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11094 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11096 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11097 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11100 2018-07-10 Florian Weimer <fweimer@redhat.com>
11102 * io/Makefile (routines): Add statx.
11103 (tests-internal): Add tst-statx.
11104 * io/Versions (GLIBC_2.28): Export statx.
11105 * io/bits/statx.h: New file.
11106 * io/sys/stat.h [__USE_GNU]: Include it.
11107 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11108 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11110 * io/statx.c: New file.
11111 * io/statx_generic.: Likewise.
11112 * io/tst-statx.: Likewise.
11113 * include/bits/statx.h: Likewise.
11114 * sysdeps/unix/sysv/linux/kernel-features.h
11115 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11116 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11117 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11118 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11120 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11121 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11122 * sysdeps/unix/sysv/linux/statx.c: New file.
11123 * manual/filesys.texi: Note that statx is undocumented.
11124 * sysdeps/**/libc*.abilist: Update.
11126 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11128 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11129 a kernel issue which lead to test failure in some cases.
11131 2018-07-10 Florian Weimer <fweimer@redhat.com>
11134 * posix/regexec.c (check_node_accept_bytes): When comparing
11135 weights, do not compare an extra byte after the end of the
11138 2018-07-10 Florian Weimer <fweimer@redhat.com>
11140 * libio/readline.c: Fix copyright year.
11141 * libio/tst-readline.c Likewise.
11142 * nss/tst-nss-files-hosts-getent.c: Likewise.
11144 2018-07-06 Florian Weimer <fweimer@redhat.com>
11147 * nss/nss_files/files-XXX.c (internal_getent): Use
11148 __libc_readline_unlocked. Seek back to the start of the line if
11149 parsing failes with ERANGE.
11150 (get_contents_ret, get_contents): Remove.
11151 * nss/tst-nss-files-hosts-getent.c: New file.
11152 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11153 (tst-nss-files-hosts-getent): Link with -ldl.
11155 2018-07-06 Florian Weimer <fweimer@redhat.com>
11157 * include/stdio.h (__libc_readline_unlocked): Declare.
11158 (__ftello64, __fseeko64): Declare aliases.
11159 * libio/readline.c: New file.
11160 * libio/tst-readline.c: Likewise.
11161 (routines): Add readline.
11162 (tests-internal): Add tst-readlime.
11163 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11164 __libc_readline_unlocked.
11165 * libio/fseeko.c (__fseeko): Rename from fseeko.
11166 (fseeko): Add alias.
11167 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11168 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11169 (fseeko64): Add alias.
11170 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11171 * libio/ftello64.c (__ftello64): Rename from ftello64.
11172 (ftello64): Add alias.
11174 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11176 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11179 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11181 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11182 Use dl_hwcap without masking.
11183 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11184 Remove HWCAP_CPUID.
11186 2018-07-06 Florian Weimer <fweimer@redhat.com>
11188 * conform/conformtest.pl (checknamespace): Escape literal braces
11189 in regular expressions.
11191 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11193 * sysdeps/x86/cpu-features.c (get_common_indeces):
11194 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11195 * sysdeps/x86/cpu-features.c (init_cpu_features):
11196 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11198 2018-07-05 Florian Weimer <fweimer@redhat.com>
11200 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11202 (CFLAGS-elf-init.oS): Likewise.
11204 2018-07-05 Florian Weimer <fweimer@redhat.com>
11205 Carlos O'Donell <carlos@redhat.com>
11207 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11208 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11209 with stack protector enabled because there is no risk of infinite
11212 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11216 * libc-abis (ABSOLUTE): New ABI.
11217 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11218 * NEWS: Mention the new ABI.
11220 2018-07-05 Florian Weimer <fweimer@redhat.com>
11223 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11224 (RENAME_WHITEOUT): Define.
11225 [__USE_GNU] (renameat2): Declare.
11226 * stdio-common/Makefile (routines): Add renameat2.
11227 (tests): Add tst-renameat2.
11228 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11229 * stdio-common/renameat2.c: New file.
11230 * stdio-common/tst-renameat2.c: Likewise.
11231 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11232 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11234 * sysdeps/unix/sysv/linux/kernel-features.h
11235 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11236 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11237 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11238 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11239 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11240 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11241 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11242 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11243 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11244 * include/stdio.h (__renameat): Add alias for renameat.
11245 * stdio-common/renameat.c (__renameat): Rename from renameat.
11246 Add hidden definition and alias.
11247 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11248 * sysdeps/mach/hurd/renameat.c: Likewise.
11249 * sysdeps/**/libc*.abilist: Add renameat2.
11251 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11253 * posix/bug-regex33.c: Fix build after regex sync.
11255 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11258 * localedata/tst-langinfo-setlocale.c: New file.
11259 * localedata/tst-langinfo-setlocale-static.c: New file.
11260 * localedata/tst-langinfo-newlocale.c: New file.
11261 * localedata/tst-langinfo-newlocale-static.c: New file.
11262 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11263 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11264 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11265 (tests-static): Remove tst-langinfo-static. Add
11266 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11267 (tests-special): Remove $(objpfx)tst-langinfo.out,
11268 $(objpfx)tst-langinfo-static.out. Add
11269 $(objpfx)tst-langinfo-setlocale.out,
11270 $(objpfx)tst-langinfo-newlocale.out,
11271 $(objpfx)tst-langinfo-setlocale-static.out,
11272 $(objpfx)tst-langinfo-newlocale-static.out.
11273 ($(objpfx)tst-langinfo.out): Remove.
11274 ($(objpfx)tst-langinfo-static.out): Remove.
11275 ($(objpfx)tst-langinfo-newlocale.out): New target.
11276 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11277 (test-xfail-tst-langinfo-newlocale-static): Add.
11278 ($(objpfx)tst-langinfo-setlocale.out): New target.
11279 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11280 * localedata/tst-langinfo.c: Call test_locale.
11281 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11284 2018-07-04 Florian Weimer <fweimer@redhat.com>
11286 testrun.sh: Implement --tool=strace, --tool=valgrind
11287 * Makefile (testrun-script): Define variable.
11288 (testrun.sh): Use variable.
11289 * manual/install.texi (Tools for Compilation): make 4.0 or later
11291 * configure.ac: Check for make 4.0 or later.
11292 * INSTALL: Regenerate.
11293 * configure: Likewise.
11295 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11301 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11302 * posix/PCRE.tests: Remove invalid test.
11303 * posix/bug-regex28.c: Fix expected values for used syntax.
11304 * posix/bug-regex37.c: New file.
11305 * posix/bug-regex38.c: Likewise.
11306 * posix/regcomp.c: Sync with gnulib.
11307 * posix/regex.c: Likewise.
11308 * posix/regex.h: Likewise.
11309 * posix/regex_internal.c: Likewise.
11310 * posix/regex_internal.h: Likewise.
11311 * posix/regexec.c: Likewise.
11313 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11316 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11317 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11318 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11319 * localedata/unicode-gen/PropList.txt: likewise.
11320 * localedata/unicode-gen/UnicodeData.txt: likewise.
11321 * localedata/charmaps/UTF-8: Regenerate.
11322 * localedata/locales/i18n_ctype: likewise.
11323 * localedata/locales/tr_TR: likewise.
11324 * localedata/locales/translit_circle: likewise.
11325 * localedata/locales/translit_cjk_compat: likewise.
11326 * localedata/locales/translit_combining: likewise.
11327 * localedata/locales/translit_compat: likewise.
11328 * localedata/locales/translit_font: likewise.
11329 * localedata/locales/translit_fraction: likewise.
11331 2018-07-03 Florian Weimer <fweimer@redhat.com>
11334 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11335 * stdio-common/tst-printf.sh: Adjust expected output.
11336 * LICENSES: Update.
11338 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11340 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11343 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11345 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11346 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11347 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11348 * stdio-common/tst-printfsz-islongdouble.c: New file.
11349 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11351 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11352 [subdir == stdio-common] (tests-internal): Add
11353 test-printf-size-ieee128, and test-printf-size-ibm128.
11354 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11355 (CFLAGS-test-printf-size-ibm128.c): New variables.
11356 [subdir == stdio-common] (tests-special): Add
11357 $(objpfx)test-printf-size-ieee128.out and
11358 $(objpfx)test-printf-size-ibm128.out.
11359 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11360 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11361 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11362 __printf_sizeieee128.
11363 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11365 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11367 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11370 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11372 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11373 (exp2f_inline): Likewise.
11374 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11375 (__math_uflowf): Likewise.
11376 (__math_may_uflowf): Likewise.
11377 (__math_divzerof): Likewise.
11378 (__math_invalidf): Likewise.
11379 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11380 (__math_oflowf): Likewise.
11381 (__math_uflowf): Likewise.
11382 (__math_may_uflowf): Likewise.
11383 (__math_divzerof): Likewise.
11384 (__math_invalidf): Likewise.
11386 2018-06-29 DJ Delorie <dj@redhat.com>
11387 Carlos O'Donell <carlos@redhat.com>
11390 * include/libc-symbols.h: Comment the freeres framework.
11391 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11392 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11393 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11394 * dlfcn/dlerror.c: Include libc-symbols.h
11395 (__dlerror_main_freeres): New function.
11396 * dlfcn/dlfreeres.c: New file.
11397 * dlfcn/sdlfreeres.c: New file.
11398 * include/dlfcn.h: Declare __dlerror_main_freeres.
11399 * malloc/set-freeres.c: Declare __libdl_freeres, and
11400 __libpthread_freeres.
11401 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11402 the releavant libraries are loaded.
11403 * malloc/thread-freeres.c: Add comments.
11404 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11405 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11406 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11407 (__free_stacks): Rename to...
11408 (free_stacks): ...this. Mark static.
11409 (queue_stack): Call free_stacks.
11410 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11411 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11412 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11413 ptr_freeres element from struct.
11414 (pthread_functions): Remove .ptr_freeres from struct initializer.
11415 [SHARED] (nptl_freeres): Remove.
11416 * nptl/nptlfreeres.c: New file.
11418 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11419 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11421 (__free_stacks): Rename to...
11422 (__nptl_stacks_freeres): ...this.
11423 (__shm_directory_freeres): Declare.
11424 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11425 (__nptl_unwind_freeres): ...this.
11426 * resolv/res-close.c: Add comment.
11427 * resolv/resolv_conf.c: Include libc-symbols.h.
11428 * string/strerror_l.c: Include libc-symbols.h.
11429 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11430 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11431 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11432 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11434 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11436 * stdlib/tst-strfmon_l.c: Add tests for long double.
11438 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11441 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11442 * localedata/locales/dsb_DE: New file.
11444 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11447 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11449 (alt_mon): New entry, import from CLDR (nominative case).
11451 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11454 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11456 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11458 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11459 Use vector registers.
11461 * sysdeps/aarch64/multiarch/memmove_falkor.S
11462 (__memcpy_falkor): Use vector registers.
11464 2018-06-29 Martin Sebor <msebor@redhat.com>
11466 * manual/stdio.texi (Customizing Printf): Mention interaction
11467 with GCC built-ins.
11469 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11472 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11473 `st_value' is 0 if `st_shndx' is SHN_ABS.
11474 * elf/tst-absolute-zero.c: New file.
11475 * elf/tst-absolute-zero-lib.c: New file.
11476 * elf/tst-absolute-zero-lib.lds: New file.
11477 * elf/Makefile (tests): Add `tst-absolute-zero'.
11478 (modules-names): Add `tst-absolute-zero-lib'.
11479 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11480 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11481 ($(objpfx)tst-absolute-zero: New dependency.
11483 2018-06-29 Zack Weinberg <zackw@panix.com>
11485 * configure.ac: New command-line option --disable-crypt.
11486 Force --disable-nss-crypt when --disable-crypt is given, with a
11487 warning if it was explicitly enabled.
11488 * configure: Regenerate.
11489 * config.make.in: New boolean substitution variable $(build-crypt).
11490 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11491 when $(build-crypt).
11492 * manual/install.texi: Document --disable-crypt.
11493 * INSTALL: Regenerate.
11495 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11496 which is never set.
11497 * conform/Makefile: Only include libcrypt.a in
11498 linknamespace-libs-xsi and linknamespace-libs-XPG4
11499 when $(build-crypt).
11500 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11501 USE_CRYPT to 1 when $(build-crypt).
11502 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11503 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11504 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11506 2018-06-29 Zack Weinberg <zackw@panix.com>
11508 * crypt/crypt.h, posix/unistd.h: Update comments and
11509 prototypes for crypt and crypt_r.
11511 * manual/crypt.texi (Cryptographic Functions): New initial
11513 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11514 (Unpredictable Bytes): Improve initial exposition. Clarify error
11515 behavior of getentropy and getrandom.
11516 * manual/examples/genpass.c: Generate a salt using getentropy
11517 instead of the current time. Use hash $5$ (SHA-2-256).
11518 * manual/examples/testpass.c: Demonstrate validation against
11519 hashes generated with three different one-way functions.
11521 * manual/intro.texi: crypt.texi does not need an overview
11524 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11525 * manual/terminal.texi: Consistently refer to "passphrases"
11526 * instead of "passwords", and to the "user database" instead
11527 * of the "password database".
11528 * manual/users.texi: Similarly. Add notes about how actual
11529 passphrase hashes are now stored in the shadow database.
11530 Remove 20-year-old junk todo note.
11532 2018-06-29 Zack Weinberg <zackw@panix.com>
11534 * manual/crypt.texi: Use a normal top-level @node declaration.
11535 Move most of the introductory text to the 'crypt' section.
11536 Move the example programs below the @deftypefun for 'crypt_r'.
11537 Move the 'getpass' section...
11538 * manual/terminal.texi: ...here.
11540 2018-06-29 Zack Weinberg <zackw@panix.com>
11541 Florian Weimer <fweimer@redhat.com>
11543 * posix/unistd.h: Do not declare encrypt.
11544 (_XOPEN_CRYPT): Remove macro definition.
11545 (crypt): Declare only for _USE_MISC.
11546 * stdlib/stdlib.h: Do not declare setkey.
11547 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11548 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11550 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11551 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11552 into compat symbols. Don't define initial_perm if it's not
11554 * crypt/cert.c: Link explicitly with the expected versions for
11555 setkey and encrypt. If they are not available at all, mark
11556 the test as unsupported.
11558 * sunrpc/des_crypt.c: Unconditionally block linkage with
11559 cbc_crypt and ecb_crypt for new binaries.
11560 * sunrpc/des_soft.c: Unconditionally block linkage with
11561 des_setparity for new binaries.
11563 * manual/crypt.texi: Remove the entire "DES Encryption"
11564 section. Also remove the paragraph talking about FIPS 140-2
11565 from the introduction.
11566 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11567 of libgcrypt for "real" encryption, not DES.
11568 * manual/conf.texi (Constants for Sysconf): Mention that
11569 _XOPEN_CRYPT is no longer impelemented.
11571 * conform/data/unistd.h-data: Remove crypt function declaration.
11573 2018-06-29 Florian Weimer <fweimer@redhat.com>
11576 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11577 (disallow_malloc_check): Remove variable.
11578 (__malloc_check_init): Adjust.
11579 (malloc_set_state): Update comment.
11580 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11583 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11586 * localedata/locales/ast_ES (mon): Rename to...
11588 (mon): Import from CLDR (genitive case).
11590 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11591 Jakub Sitnicki <jkbs@redhat.com>
11594 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11595 on NLM_F_DUMP_INTR.
11597 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11599 * manual/llio.texi: Remove spurious space.
11601 2018-06-28 Florian Weimer <fweimer@redhat.com>
11604 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11607 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11609 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11610 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11611 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11612 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11613 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11614 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11615 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11617 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11620 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11621 Copy and null-terminate entries that are not terminated, in
11622 addition to empty ones.
11624 2018-06-27 Florian Weimer <fweimer@redhat.com>
11627 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11628 (extend_alloca_account): Remove.
11629 * manual/stdio.texi (Variable Arguments Output): Update comment.
11631 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11633 * nptl/sockperf.c: Remove file.
11635 2018-06-27 Florian Weimer <fweimer@redhat.com>
11638 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11639 scratch_buffer instead of extend_alloca.
11641 2018-06-27 Florian Weimer <fweimer@redhat.com>
11644 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11645 scratch_buffer instead of extend_alloca. Update comments.
11647 2018-06-27 Florian Weimer <fweimer@redhat.com>
11650 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11651 instead of extend_alloca.
11653 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11656 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11657 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11659 * scripts/test-installation.pl: Put temporary files in build
11660 directory, not /tmp.
11661 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11662 (CFLAGS-bug4.c): Likewise.
11663 (CFLAGS-bug5.c): Likewise.
11664 (CFLAGS-test-fseek.c): Likewise.
11665 (CFLAGS-test-popen.c): Likewise.
11666 (CFLAGS-test_rdwr.c): Likewise.
11667 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11669 * stdio-common/bug4.c (main): Likewise.
11670 * stdio-common/bug5.c (main): Likewise.
11671 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11672 * stdio-common/test-popen.c (do_test): Likewise.
11673 * stdio-common/test_rdwr.c (main): Likewise.
11675 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11677 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11678 (sem_open): Set sem.newsem.pad to zero for valgrind.
11680 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11683 * NEWS: Mention fcntl64 addition.
11684 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11685 * login/utmp_file.c: Likewise.
11686 * sysdeps/posix/fdopendir.c: Likewise.
11687 * sysdeps/posix/opendir.c: Likewise.
11688 * sysdeps/unix/pt-fcntl.c: Likewise.
11689 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11690 __fcntl64_nocancel_adjusted): New prototype.
11691 (__fcntl_nocancel_adjusted): Remove prototype.
11692 * io/Makefile (routines): Add fcntl64.
11693 (CFLAGS-fcntl64.c): New rule.
11694 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11695 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11696 * io/fcntl.h (fcntl64): Add prototype and redirect if
11697 __USE_FILE_OFFSET64 is defined.
11698 * io/fcntl64.c: New file.
11699 * manual/llio.text: Add a note for which commands fcntl acts a
11700 cancellation point.
11701 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11702 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11703 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11705 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11706 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11708 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11709 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11710 to __fcntl64_nocancel.
11711 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11712 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11713 to __fcntl64_nocancel.
11714 * sysdeps/generic/not-cancel.h: Likewise.
11715 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11716 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11717 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11718 (fcntl64): New symbol.
11719 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11724 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11727 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11729 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11730 fcntl64): Likewise.
11731 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11732 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11733 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11734 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11735 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11736 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11737 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11738 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11739 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11744 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11745 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11746 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11748 2018-06-26 Florian Weimer <fweimer@redhat.com>
11750 Run thread shutdown functions in an explicit order.
11751 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11753 (__libc_thread_freeres): Call thread shutdown functions
11755 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11756 * include/string.h (__strerror_thread_freeres): Declare.
11757 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11758 arena_thread_freeres. No longer static. Remove thread shutdown
11760 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11762 * resolv/res-close.c (__res_thread_freeres): Renamed from
11763 res_thread_freeres. No longer static. Remove thread shutdown
11765 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11766 * resolv/resolv_conf.c (freeres): Remove incorrect section
11767 attribute and use libc_freeres_fn.
11768 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11769 strerror_thread_freeres. No longer static. Remove thread
11770 shutdown hook registration.
11771 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11772 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11773 shutdown hook registration.
11774 * Makerules (shlib.lds): Do not provide section boundary symbols
11775 for __libc_thread_subfreeres.
11776 * manual/memory.texi (Basic Allocation): Update comment.
11778 2018-06-26 Florian Weimer <fweimer@redhat.com>
11780 Remove always-defined _RPC_THREAD_SAFE_ macro.
11781 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11782 Do not define _RPC_THREAD_SAFE_.
11783 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11785 * sunrpc/clnt_perr.c: Likewise.
11786 * sunrpc/clnt_raw.c: Likewise.
11787 * sunrpc/clnt_simp.c: Likewise.
11788 * sunrpc/key_call.c: Likewise.
11789 * sunrpc/rpc_common.c: Likewise.
11790 * sunrpc/rpc_main.c: Likewise.
11791 * sunrpc/rpc_thread.c: Likewise.
11792 * sunrpc/svc.c: Likewise.
11793 * sunrpc/svc_raw.c: Likewise.
11794 * sunrpc/svc_simple.c: Likewise.
11795 * sumrpc/svcauth_des.c: Likewise.
11797 2018-06-26 Florian Weimer <fweimer@redhat.com>
11799 * libio/Makefile (tests-internal): Add tst-vtables,
11800 tst-vtables-interposed.
11801 * libio/tst-vtables.c: New file.
11802 * libio/tst-vtables-common.c: Likewise.
11803 * libio/tst-vtables-interposed.c: Likewise.
11805 2018-06-26 Florian Weimer <fweimer@redhat.com>
11807 * support/support_test_main.c (support_test_main): Only call
11808 setvbuf if not disables.
11809 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11810 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11812 2018-06-26 Florian Weimer <fweimer@redhat.com>
11815 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11817 2018-06-25 Florian Weimer <fweimer@redhat.com>
11820 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11821 Use struct scratch_buffer instead of extend_alloca.
11823 2018-06-25 Florian Weimer <fweimer@redhat.com>
11826 * nss/getent.c (initgroups_keys): Use dynarray instead of
11829 2018-06-25 Florian Weimer <fweimer@redhat.com>
11832 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11833 Use struct scratch_buffer instead of extend_alloca.
11835 2018-06-25 Florian Weimer <fweimer@redhat.com>
11838 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11839 back to malloc directly, without stack allocations.
11841 2018-06-25 Florian Weimer <fweimer@redhat.com>
11844 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11847 2018-06-25 Florian Weimer <fweimer@redhat.com>
11850 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11852 * nscd/hstcache.c (addhstbyX): Likewise.
11853 * nscd/pwdcache.c (addpwbyX): Likewise.
11854 * nscd/servicescache.c (addservbyX): Likewise.
11856 2018-06-25 Florian Weimer <fweimer@redhat.com>
11859 * nscd/connections.c (read_cmdline): New function.
11860 (restart): Use it. Update comment.
11862 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11865 * localedata/locales/csb_PL (mon): Rename to...
11867 (abmon): Rename to...
11868 (ab_alt_mon): This.
11869 (mon): Add with proper genitive forms, copy from Wikipedia.
11872 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11875 * localedata/locales/csb_PL (mon): Fix typos:
11876 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11877 (yesstr): Add, value is "jo".
11878 (nostr): Add, value is "nié".
11880 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11882 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11883 all log1p and significand functions on m680x0.
11884 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11885 of s_significand.c..
11886 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11887 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11888 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11889 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11890 s_log1p.c and include it..
11892 2018-06-21 Vincent Chen <vincentc@andestech.com>
11894 * elf/elf.h (R_NDS32_NONE): New define.
11895 (R_NDS32_32_RELA): Likewise.
11896 (R_NDS32_COPY): Likewise.
11897 (R_NDS32_GLOB_DAT): Likewise.
11898 (R_NDS32_JUMP_SLOT): Likewise.
11899 (R_NDS32_RELATIVE): Likewise.
11900 (R_NDS32_TLS_TPOFF): Likewise.
11901 (R_NDS32_TLS_DESC): Likewise.
11903 2018-06-21 Mark Wielaard <mark@klomp.org>
11905 * elf/elf.h (R_BPF_MAP_FD): Removed.
11906 (R_BPF_64_64, R_BPF_64_32): New.
11908 2018-06-21 Florian Weimer <fweimer@redhat.com>
11911 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11912 Renamed from libc_feholdsetround_ctx.
11913 (default_libc_feresetround_ctx): Renamed from
11914 libc_feresetround_ctx.
11915 (default_libc_feholdsetround_noex_ctx): Renamed from
11916 libc_feholdsetround_noex_ctx.
11917 (default_libc_feresetround_noex_ctx): Renamed from
11918 libc_feresetround_noex_ctx.
11919 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11920 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11921 forwardning to the old implementations under the new names.
11922 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11923 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11924 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11925 (libc_feresetround_ctx): Forward to default implements for i386
11926 and MATH_SET_BOTH_ROUNDING_MODES.
11927 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11928 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11930 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11932 * string/tst-cmp.c: Include <libc-diag.h>.
11933 (strncmp_max): Disable -Wstringop-overflow= around call to
11935 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11938 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11939 (main): Disable -Wunused-value around call to strpbrk.
11940 * string/bug-strspn1.c: Include <libc-diag.h>.
11941 (main): Disable -Wunused-value around call to strspn.
11943 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11944 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11946 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11947 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11949 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11951 * math/Makefile (libm-calls): Move s_significandF to...
11952 (gen-libm-calls): ... here.
11953 * math/s_significand_template.c: New file.
11954 * math/s_significand.c: Removed.
11955 * math/s_significandf.c: Removed.
11956 * math/s_significandl.c: Removed.
11957 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11958 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11960 * math/e_exp2_template.c (declare_mgen_finite_alias,
11961 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11962 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11963 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11965 2018-06-20 Florian Weimer <fweimer@redhat.com>
11967 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11969 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11972 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11973 floating-point number to strtod functions rather than possibly
11974 negating result of those functions.
11975 * stdio-common/tst-scanf-round.c: New file.
11976 * stdio-common/Makefile (tests): Add tst-scanf-round.
11977 ($(objpfx)tst-scanf-round): Depend on $(libm).
11979 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11981 * sysdeps/mach/hurd/localplt.data: Move to...
11982 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11983 R_386_GLOB_DAT like on Linux i386.
11985 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11987 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11988 (SHM_STAT_ANY): New macro.
11989 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11990 (SHM_STAT_ANY): Likewise.
11991 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11992 (SHM_STAT_ANY): Likewise.
11993 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11994 (SHM_STAT_ANY): Likewise.
11995 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11996 (SHM_STAT_ANY): Likewise.
11997 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11998 (SHM_STAT_ANY): Likewise.
11999 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12000 (SHM_STAT_ANY): Likewise.
12001 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12002 (SHM_STAT_ANY): Likewise.
12003 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12004 (SHM_STAT_ANY): Likewise.
12005 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12006 (SHM_STAT_ANY): Likewise.
12007 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12008 (SHM_STAT_ANY): Likewise.
12009 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12010 (SHM_STAT_ANY): Likewise.
12012 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12013 (SEM_STAT_ANY): New macro.
12014 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12015 (SEM_STAT_ANY): Likewise.
12016 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12017 (SEM_STAT_ANY): Likewise.
12018 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12019 (SEM_STAT_ANY): Likewise.
12020 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12021 (SEM_STAT_ANY): Likewise.
12022 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12023 (SEM_STAT_ANY): Likewise.
12024 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12025 (SEM_STAT_ANY): Likewise.
12026 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12027 (SEM_STAT_ANY): Likewise.
12028 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12029 (SEM_STAT_ANY): Likewise.
12030 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12031 (SEM_STAT_ANY): Likewise.
12033 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12034 (MSG_STAT_ANY): New macro.
12035 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12036 (MSG_STAT_ANY): Likewise.
12037 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12038 (MSG_STAT_ANY): Likewise.
12039 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12040 (MSG_STAT_ANY): Likewise.
12041 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12042 (MSG_STAT_ANY): Likewise.
12043 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12044 (MSG_STAT_ANY): Likewise.
12045 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12046 (MSG_STAT_ANY): Likewise.
12047 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12048 (MSG_STAT_ANY): Likewise.
12049 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12050 (MSG_STAT_ANY): Likewise.
12051 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12052 (MSG_STAT_ANY): Likewise.
12054 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12055 (MAP_TYPE): Change value to 0x2b.
12057 2018-06-18 Florian Weimer <fweimer@redhat.com>
12060 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12061 socket with SOCK_CLOEXEC.
12063 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12066 * sysdeps/powerpc/powerpc64/le/Makefile
12067 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12068 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12069 (gnulib-tests): Also add $(f128-loader-link) for
12070 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12072 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12074 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12075 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12077 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12078 (sendfile64): New strong alias.
12079 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12080 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12081 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12082 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12084 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12085 ___pthread_get_cleanup_stack.
12086 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12087 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12088 * mach/shortcut.awk: Make syscall stubs include
12089 <mach-shortcuts-hidden.h> and add hidden definition.
12090 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12091 (__mach_msg): Add hidden prototype.
12092 * mach/msg.c: Include <mach.h>.
12093 (__mach_msg): Add hidden definition.
12094 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12095 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12096 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12097 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12098 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12099 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12100 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12101 prototype and definition.
12102 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12103 hidden target for _hurd_self_sigstate.
12105 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12108 * stdlib/tst-strtod-nan-sign-main.c: New file.
12109 * stdlib/tst-strtod-nan-sign.c: Likewise.
12110 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12111 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12112 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12113 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12114 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12116 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12122 2018-06-14 Florian Weimer <fweimer@redhat.com>
12125 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12126 that the result stays within the ISO-8859-1 range.
12127 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12128 characters are defined in IBM273.
12130 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12132 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12133 __mach_task_self): Remove attribute_hidden.
12135 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12137 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12138 ignore -Wrestrict for one test.
12140 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12141 Szabolcs Nagy <szabolcs.nagy@arm.com>
12143 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12145 2018-06-14 Florian Weimer <fweimer@redhat.com>
12147 * scripts/update-abilist.sh: Accept empty list of files to patch.
12149 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12151 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12152 test-xfail-check-abi-libmachuser): Add.
12153 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12154 __libc_read and __libc_write to __read and __write.
12155 * sysdeps/hurd/include/hurd/port.h: New file.
12156 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12157 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12158 __thread_switch, __evc_wait): Move declarations to...
12159 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12161 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12162 use PLT to call _hurd_self_sigstate.
12164 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12167 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12168 MAX_EXP as overflowing.
12169 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12171 (round_str): Output also whether result overflows in each rounding
12173 * stdlib/tst-strtod-round-data: Add more tests.
12174 * stdlib/tst-strtod-round-data.h: Regenerated.
12175 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12176 (TEST): Handle extra arguments for overflow flags.
12177 (struct test_overflow): New type.
12178 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12179 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12180 (test_in_one_mode): Take argument with overflow information.
12181 (do_test): Update calls to test_in_one_mode.
12183 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12185 * elf/dl-load (_dl_dst_substitute): Correct comment.
12186 (_dl_dst_count): Likewise.
12188 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12189 lll_futex_timed_wait.
12191 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12194 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12196 * math/test-nan-const.c: New file.
12197 * math/Makefile (tests): Add test-nan-const.
12198 (CFLAGS-test-nan-const.c): New variable.
12200 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12202 * benchtests/scripts/compare_strings.py (process_results): Add
12203 funcs argument. Compare only functions which are selected.
12204 (main): Check if base function is among selected functions.
12205 Pass selected functions to process_results.
12206 (__main__): Add -f/--functions argument.
12208 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12209 Hongbo Zhang <hongbo.zhang@linaro.org>
12211 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12212 __memcpy_falkor for phecda core.
12213 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12214 __memmove_falkor for phecda core.
12215 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12216 __memset_falkor for phecda core.
12217 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12219 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12220 macro to identify phecda core.
12222 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12223 Andreas Schwab <schwab@suse.de>
12224 Dmitry V. Levin <ldv@altlinux.org>
12225 Florian Weimer <fweimer@redhat.com>
12232 * elf/dl-dst.h: Remove DL_DST_COUNT.
12233 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12234 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12235 (is_dst): Comment. Support ELF gABI.
12236 (_dl_dst_count): Comment. Simplify and count DSTs.
12237 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12238 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12241 2018-06-12 Zack Weinberg <zackw@panix.com>
12243 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12244 * sysdeps/unix/sysv/linux/dl-sysdep.c
12245 Include not-cancel.h. Use __close_nocancel instead of __close,
12246 __open64_nocancel instead of __open, __read_nocancel instead of
12247 __libc_read, and __write_nocancel instead of __libc_write.
12249 * csu/check_fds.c (check_one_fd)
12250 * sysdeps/posix/fdopendir.c (__fdopendir)
12251 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12252 instead of __fcntl and/or __libc_fcntl.
12254 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12255 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12256 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12257 Use __open64_nocancel instead of __open_nocancel.
12259 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12260 hidden_proto declarations to the end and issue them if either
12261 IS_IN(libc) or IS_IN(rtld).
12262 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12263 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12264 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12265 read_nocancel, waitpid_nocancel, write_nocancel.
12267 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12268 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12269 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12271 * nptl/pt-fcntl.c: New file.
12272 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12273 (libpthread-routines): Add pt-fcntl.
12274 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12275 (__libc_fcntl): Remove attribute_hidden.
12276 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12277 __fcntl_nocancel_adjusted, not fcntl_common.
12278 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12279 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12280 to fcntl_nocancel.c.
12281 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12284 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12286 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12287 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12288 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12289 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12290 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12291 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12292 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12293 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12294 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12295 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12296 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12297 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12298 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12299 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12300 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12301 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12302 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12303 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12304 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12305 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12307 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12308 libpthread-routines.
12309 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12312 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12313 __libc_read, and __write instead of __libc_write. Define
12314 __open64 in addition to __open.
12316 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12320 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12321 to _private_tm[3] and add __glibc_reserved2.
12322 Add _Static_assert of offset of __private_ss == 0x30.
12323 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12324 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12326 2018-06-12 Florian Weimer <fweimer@redhat.com>
12328 x86: Make strncmp usable from rtld.
12329 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12330 __strncmp_ia32 if in libc (and not in rtld).
12331 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12332 strncmp if not in libc (and not to __strncmp_sse2).
12334 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12337 * localedata/locales/gd_GB (mon): Rename to...
12339 (mon): Import from CLDR (genitive case).
12340 * localedata/locales/hsb_DE (mon): Rename to...
12342 (mon): Import from CLDR (genitive case).
12343 * localedata/locales/wa_BE (mon): Rename to...
12345 (mon): Add, fill with the proper genitive forms, but CLDR data
12346 is incomplete; completed according to the comments in this file.
12347 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12349 * localedata/locales/wa_BE (country_name): Reword
12350 "Beljike" -> "Beldjike".
12352 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12356 cases of non-finite arguments.
12357 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12359 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12362 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12364 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12367 * include/unistd.h (__execvpex): New prototype.
12368 * posix/Makefile (tests): Add tst-spawn4.
12369 (tests-internal): Add tst-spawn4-compat.
12370 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12371 * posix/tst-spawn4-compat.c: New file.
12372 * posix/tst-spawn4.c: Likewise.
12373 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12374 binaries as shell scripts.
12375 * sysdeps/posix/spawni.c (__spawni): Likewise.
12377 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12380 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12381 ($(all-built-dso:=.dynsym): New target.
12382 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12383 ($(objpfx)check-initfini.out): New target.
12384 (generated): Add check-initfini.out.
12385 * scripts/check-initfini.awk: New file.
12386 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12388 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12390 * sysdeps/arm/crti.S (_init): Mark as hidden.
12392 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12394 * sysdeps/i386/crti.S (_init): Mark as hidden.
12396 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12398 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12400 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12402 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12404 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12406 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12408 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12410 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12412 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12414 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12416 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12418 * sysdeps/sh/crti.S (_init): Mark as hidden.
12420 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12422 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12425 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12427 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12428 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12429 and TF redirection to KFtype and KF only when the default
12430 long double type is not the IEEE 128-bit floating point type.
12432 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12434 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12436 (HWCAP_USCAT): Likewise.
12437 (HWCAP_ILRCPC): Likewise.
12438 (HWCAP_FLAGM): Likewise.
12439 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12441 (_dl_aarch64_cap_flags): Add new flag names.
12443 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12444 (MAP_FIXED_NOREPLACE): New macro.
12445 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12446 (MAP_FIXED_NOREPLACE): Likewise.
12447 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12448 (MAP_FIXED_NOREPLACE): Likewise.
12449 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12450 (MAP_FIXED_NOREPLACE): Likewise.
12451 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12452 (MAP_FIXED_NOREPLACE): Likewise.
12453 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12454 (MAP_FIXED_NOREPLACE): Likewise.
12455 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12456 (MAP_FIXED_NOREPLACE): Likewise.
12457 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12458 (MAP_FIXED_NOREPLACE): Likewise.
12459 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12460 (MAP_FIXED_NOREPLACE): Likewise.
12461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12462 (MAP_FIXED_NOREPLACE): Likewise.
12463 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12464 (MAP_FIXED_NOREPLACE): Likewise.
12465 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12466 (MAP_FIXED_NOREPLACE): Likewise.
12467 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12468 (MAP_FIXED_NOREPLACE): Likewise.
12469 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12470 (MAP_FIXED_NOREPLACE): Likewise.
12471 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12472 (MAP_FIXED_NOREPLACE): Likewise.
12474 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12477 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12479 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12482 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12484 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12486 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12488 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12490 * benchtests/scripts/compare_string.py: (process_results) Catch
12491 exception in non-existent base_func and catch exception in
12492 non-existent attribute.
12493 (parse_file) Catch exception if input file does not exist.
12495 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12497 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12498 options to avoid diff calculation and omit header, respectively.
12499 (main): process --no-diff and --no-header
12501 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12502 H.J. Lu <hongjiu.lu@intel.com>
12504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12505 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12507 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12508 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12509 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12510 and __wcsncmp_sse2.
12511 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12512 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12513 AVX unaligned load is fast and vzeroupper is preferred.
12514 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12515 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12516 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12517 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12518 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12519 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12520 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12521 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12522 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12523 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12526 2018-06-01 Florian Weimer <fweimer@redhat.com>
12528 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12529 configuring with --disable-multi-arch, building with
12530 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12533 2018-06-01 Florian Weimer <fweimer@redhat.com>
12535 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12536 results from building with “-march=x86-64 -mtune=generic
12537 -mfpmath=sse” and running on a Haswell-era CPU.
12539 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12542 * soft-fp/sqrttf2.c: Remove file.
12543 * soft-fp/sqrtdf2.c: Move to ....
12544 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12546 (__sqrtdf2): Make conditional on
12547 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12549 * soft-fp/sqrtsf2.c: Move to ....
12550 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12552 (__sqrtsf2): Make conditional on
12553 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12555 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12556 (gcc-double-routines): Remove sqrtdf2.
12557 (gcc-quad-routines): Remove sqrttf2.
12558 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12559 Do not filter out sqrtsf2 and sqrtdf2.
12560 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12561 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12563 2018-06-01 Florian Weimer <fweimer@redhat.com>
12565 * sysdeps/generic/libcidn.abilist: Remove file.
12567 2018-06-01 Florian Weimer <fweimer@redhat.com>
12570 * libio/strfile.h (struct _IO_str_fields): Rename members to
12571 discourage their use and add comment.
12572 (_IO_STR_DYNAMIC): Remove unused macro.
12573 * libio/strops.c (_IO_str_init_static_internal): Do not use
12574 callback pointers. Call malloc and free.
12575 (_IO_str_overflow): Do not use callback pointers. Call malloc
12577 (enlarge_userbuf): Likewise.
12578 (_IO_str_finish): Call free.
12579 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12580 _allocate_buffer_unused.
12581 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12583 (enlarge_userbuf): Likewise.
12584 (_IO_wstr_finish): Call free.
12585 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12586 _allocate_buffer_unused, _free_buffer_unused.
12587 * libio/memstream.c (__open_memstream): Likewise.
12588 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12589 * libio/wmemstream.c (open_wmemstream): Likewise.
12591 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12593 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12596 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12598 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12599 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12600 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12602 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12604 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12606 2018-05-29 Florian Weimer <fweimer@redhat.com>
12608 * support/Makefile (libsupport-routines): Add
12609 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12610 xpthread_barrierattr_setpshared.
12611 * support/xpthread_barrierattr_destroy.c: New file.
12612 * support/xpthread_barrierattr_init.c: Likewise.
12613 * support/xpthread_barrierattr_setpshared.c: Likewise.
12615 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12618 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12619 _r_debug and update DT_DEBUG for debugger.
12621 2018-05-29 Florian Weimer <fweimer@redhat.com>
12623 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12624 (tst-strtod5i.out): Likewise.
12626 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12628 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12629 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12630 (sparc64-quad-routines): New variable. Moved from ....
12631 [$(subdir) = soft-fp] (sysdep_routines): Add
12632 $(sparc64-quad-routines). Moved from ....
12633 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12634 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12635 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12637 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12638 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12639 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12640 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12641 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12642 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12643 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12644 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12645 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12646 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12647 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12648 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12649 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12650 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12651 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12652 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12653 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12654 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12655 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12656 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12657 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12658 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12659 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12660 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12661 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12662 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12663 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12664 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12665 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12666 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12667 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12668 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12669 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12670 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12671 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12672 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12673 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12674 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12675 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12676 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12677 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12678 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12679 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12680 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12681 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12682 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12683 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12684 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12685 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12686 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12687 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12688 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12689 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12690 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12691 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12692 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12693 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12694 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12696 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12697 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12698 (sparc32-quad-routines): New variable. Moved from ....
12699 [$(subdir) = soft-fp] (sysdep_routines): Add
12700 $(sparc32-quad-routines). Moved from ....
12701 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12702 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12704 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12705 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12706 * sysdeps/sparc/sparc32/q_add.c: ... here.
12707 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12708 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12709 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12710 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12711 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12712 * sysdeps/sparc/sparc32/q_div.c: ... here.
12713 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12714 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12715 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12716 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12717 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12718 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12719 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12720 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12721 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12722 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12723 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12724 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12725 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12726 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12727 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12728 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12729 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12730 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12731 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12732 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12733 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12734 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12735 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12736 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12737 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12738 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12739 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12740 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12741 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12742 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12743 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12744 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12745 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12746 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12747 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12748 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12749 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12750 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12751 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12752 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12753 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12754 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12755 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12756 * sysdeps/sparc/sparc32/q_util.c: ... here.
12757 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12758 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12759 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12760 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12762 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12763 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12765 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12766 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12767 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12768 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12770 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12776 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12777 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12779 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12782 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12785 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12787 * sysdeps/sh/Implies: Remove sh/soft-fp.
12788 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12789 * sysdeps/sh/sfp-machine.h: ... here.
12791 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12793 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12794 (__mempcpy_erms): Skip zero length.
12795 (__memmove_erms): Likewise.
12796 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12797 (__memset_erms): Likewise.
12799 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12801 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12802 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12803 Add functions moved from ....
12804 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12805 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12806 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12808 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12809 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12810 * sysdeps/alpha/e_sqrtl.c: ... here.
12811 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12812 * sysdeps/alpha/local-soft-fp.h: ... here.
12813 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12814 * sysdeps/alpha/ots_add.c: ... here.
12815 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12816 * sysdeps/alpha/ots_cmp.c: ... here.
12817 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12818 * sysdeps/alpha/ots_cmpe.c: ... here.
12819 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12820 * sysdeps/alpha/ots_cvtqux.c: ... here.
12821 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12822 * sysdeps/alpha/ots_cvtqx.c: ... here.
12823 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12824 * sysdeps/alpha/ots_cvttx.c: ... here.
12825 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12826 * sysdeps/alpha/ots_cvtxq.c: ... here.
12827 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12828 * sysdeps/alpha/ots_cvtxt.c: ... here.
12829 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12830 * sysdeps/alpha/ots_div.c: ... here.
12831 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12832 * sysdeps/alpha/ots_mul.c: ... here.
12833 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12834 * sysdeps/alpha/ots_nintxq.c: ... here.
12835 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12836 * sysdeps/alpha/ots_sub.c: ... here.
12837 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12838 * sysdeps/alpha/sfp-machine.h: ... here.
12840 2018-05-23 Florian Weimer <fweimer@redhat.com>
12848 Switch to extern IDNA implementation (libidn2).
12849 * libidn: Remove subdirectory.
12850 * LICENSES: Do not mention licensing conditions for the removed
12852 * config.h.in (HAVE_LIBIDN): Remove.
12853 * include/dlfcn.h (__libc_dlopen): Update comment.
12854 * include/idna.h: Remove file.
12855 * inet/Makefile (routines): Add idna.
12856 (tests-static, tests-internal): Add tst-idna_name_classify.
12857 (LOCALES): Generate locales for tests.
12858 (tst-idna_name_classify.out): Depend on generated locales.
12859 * inet/idna_name_classify.c: New file.
12860 * inet/tst-idna_name_classify.c: Likewise.
12861 * inet/net-internal.h (__idna_to_dns_encoding)
12862 (__idna_from_dns_encoding): Declare.
12863 * inet/net-internal.h (enum idna_name_classification): Define.
12864 (__idna_name_classify): Declare.
12865 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12866 __idna_from_dns_encoding.
12867 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12868 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12869 name as a fallback in case of encoding errors.
12870 (getnameinfo): Use DEPRECATED_NI_IDN.
12871 * inet/idna.c: New file.
12872 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12873 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12874 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12875 (modules-names): Add tst-no-libidn2.
12876 (extra-test-objs): Add tst-no-libidn2.os.
12877 (LDFLAGS-tst-no-libidn2.so): Set soname.
12878 (LOCALES): Set, and generate locales.
12879 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12880 (tst-resolv-ai_idn-latin1): Likewise.
12881 (tst-resolv-ai_idn-nolibidn2): Likewise.
12882 (tst-resolv-ai_idn.out): Depend on locales.
12883 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12884 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12886 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12887 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12888 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12889 * resolv/tst-resolv-ai_idn.c: New file.
12890 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12891 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12892 * resolv/tst-no-libidn2.c: Likewise.
12893 * support/support_format_addrinfo.c (format_ai_flags): Do not
12894 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12895 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12896 (gaih_inet): Call __idna_to_dns_encoding and
12897 __idna_from_dns_encoding, and use the original (punycode) name if
12898 __idna_from_dns_encoding fails due to an encoding error.
12899 (getaddrinfo): Use DEPRECATED_AI_IDN.
12900 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12901 * sysdeps/unix/inet/configure: Remove file.
12902 * sysdeps/unix/inet/configure.ac: Likewise.
12904 2018-05-23 Florian Weimer <fweimer@redhat.com>
12906 Implement allocate_once.
12907 * include/allocate_once.h: New file.
12908 * misc/allocate_once.c: Likewise.
12909 * misc/tst-allocate_once.c: Likewise.
12910 * misc/Makefile (routines): Add allocate_once.
12911 (tests-internal): Add tst-allocate_once.
12912 (generated): Add tst-allocate_once.mtrace,
12913 tst-allocate_once-mem.out.
12914 (tests-special): Add tst-allocate_once-mem.out.
12915 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12916 (tst-allocate_once-mem.out): Call mtrace.
12917 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12919 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12922 * string/test-memcpy.c (do_test1): New function.
12923 (test_main): Call it.
12925 2018-05-23 Andreas Schwab <schwab@suse.de>
12929 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12930 (L(preloop_large)): Save initial destination pointer in %r11 and
12931 use it instead of %rax after the loop.
12932 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12934 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12936 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12937 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12938 -I../soft-fp. Moved from ....
12939 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12940 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12941 * sysdeps/aarch64/e_sqrtl.c: ... here.
12942 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12943 * sysdeps/aarch64/sfp-machine.h: ... here.
12945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12946 -Wmaybe-uninitialized around access to fq[0].
12947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12951 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12952 aliases for non-libc case of versioned symbols.
12953 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12954 (llseek): Define as compat symbol if
12955 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12957 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12958 Make into a compat symbol, disabled for minimum symbol version
12959 GLIBC_2.28 and later.
12960 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12962 2018-05-22 Florian Weimer <fweimer@redhat.com>
12964 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12965 not add -mpreferred-stack-boundary=4.
12966 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12967 (stack-align-test-flags): Likewise.
12968 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12970 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12971 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12972 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12973 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12974 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12975 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12976 (CFLAGS-tst-align2.c): Likewise.
12978 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12980 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12981 (index_arch_Prefer_FSRM): Likewise.
12982 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12983 Also check Prefer_FSRM.
12984 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12985 Also return OPTIMIZE (erms) for Prefer_FSRM.
12987 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12989 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12990 (index_cpu_FSRM): Likewise.
12991 (reg_FSRM): Likewise.
12993 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12995 * math/gen-tgmath-tests.py: Import sys.
12996 (Tests.__init__): Initialize macros_seen.
12997 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12998 if requested to do so for this macro.
12999 (Tests.add_all_tests): Take argument for macro for which to
13001 (Tests.check_macro_list): New function.
13002 (main): Handle check-list argument and argument specifying macro
13003 for which to generate tests.
13004 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13005 [PYTHON] (tgmath3-macro-tests): Likewise.
13006 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13007 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13008 not test-tgmath3.c.
13009 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13010 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13012 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13013 [PYTHON] ($(foreach
13014 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13016 [PYTHON] (tests-special): Add
13017 $(objpfx)test-tgmath3-macro-list.out.
13018 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13020 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13021 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13025 * time/tzset.c (SECSPERDAY): Cast to time_t.
13026 * time/tst-y2039.c: New file.
13027 * time/Makefile (tests): Add tst-y2039.
13029 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13031 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13032 (PREFETCH_ONE_SET): Remove duplicate line.
13034 2018-05-17 Florian Weimer <fweimer@redhat.com>
13036 * sysdeps/generic/math-type-macros-double.h: Include
13037 <math-nan-payload-double.h> after <libm-alias-double.h>.
13038 * sysdeps/generic/math-type-macros-float.h: Include
13039 <math-nan-payload-float.h> after <libm-alias-float.h>.
13040 * sysdeps/generic/math-type-macros-float128.h: Include
13041 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13042 * sysdeps/generic/math-type-macros-ldouble.h: Include
13043 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13045 2018-05-17 Andreas Schwab <schwab@suse.de>
13047 * resolv/res_send.c (__res_context_send): Don't set errno when
13048 returing error after malloc failure.
13050 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13052 * nptl/allocatestack.c (allocate_stack): Remove the
13053 !__ASSUME_PRIVATE_FUTEX paths.
13054 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13055 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13057 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13058 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13059 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13060 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13061 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13062 !__ASSUME_PRIVATE_FUTEX path.
13063 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13064 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13065 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13066 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13067 !__ASSUME_PRIVATE_FUTEX macros.
13068 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13069 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13070 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13071 * sysdeps/unix/sysv/linux/kernel-features.h
13072 (__ASSUME_PRIVATE_FUTEX): Removed.
13074 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13076 * math/Makefile (libm-narrow-fns): Add div.
13077 (libm-test-funcs-narrow): Likewise.
13078 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13079 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13080 * math/gen-auto-libm-tests.c (test_functions): Add div.
13081 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13082 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13083 (NARROW_DIV_TRIVIAL): Likewise.
13084 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13086 (__ddivl): Likewise.
13087 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13089 (CFLAGS-nldbl-ddiv.c): New variable.
13090 (CFLAGS-nldbl-fdiv.c): Likewise.
13091 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13093 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13095 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13096 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13097 * math/auto-libm-test-in: Add tests of div.
13098 * math/auto-libm-test-out-narrow-div: New generated file.
13099 * math/libm-test-narrow-div.inc: New file.
13100 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13103 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13104 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13105 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13114 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13115 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13116 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13117 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13119 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13120 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13122 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13123 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13124 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13125 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13126 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13127 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13128 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13129 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13130 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13131 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13136 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13137 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13138 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13139 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13140 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13141 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13142 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13143 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13145 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13148 * nscd/nscd-client.h (sendfileall): Remove prototype.
13149 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13150 (handle_request): Use writeall instead of sendfileall.
13151 * nscd/aicache.c (addhstaiX): Likewise.
13152 * nscd/grpcache.c (cache_addgr): Likewise.
13153 * nscd/hstcache.c (cache_addhst): Likewise.
13154 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13155 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13156 * nscd/pwdcache.c (cache_addpw): Likewise.
13157 * nscd/servicescache.c (cache_addserv): Likewise.
13158 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13159 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13160 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13163 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13165 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13166 Include <string/strncat.c>.
13167 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13169 (__GI___strncat): New hidden alias.
13171 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13173 * sysdeps/mips/mips32/libm-test-ulps: Update.
13174 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13176 2018-05-16 Florian Weimer <fweimer@redhat.com>
13178 * support/Makefile (libsupport-routines): Add support_quote_blob,
13179 support_test_compare_blob.
13180 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13181 * support/check.h (TEST_COMPARE_BLOB): Define.
13182 (support_test_compare_blob): Declare.
13183 * support/support.h (support_quote_blob): Declare.
13184 * support/support_quote_blob.c: New file.
13185 * support/support_test_compare_blob.c: Likewise.
13186 * support/tst-support_quote_blob.c: Likewise.
13187 * support/tst-test_compare_blob.c: Likewise.
13189 2018-05-16 Florian Weimer <fweimer@redhat.com>
13191 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13192 of <strtod_nan_double.h>.
13193 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13194 instead of SET_MANTISSA.
13195 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13196 of include <strtod_nan_float.h>.
13197 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13198 instead of <strtod_nan_ldouble.h>.
13199 * stdlib/strtod_nan_double.h: Move to ...
13200 * sysdeps/generic/math-nan-payload-double.h: ... here.
13201 (FLOAT): Remove definition.
13202 (SET_MANTISSA): Rename to ...
13203 (SET_NAN_PAYLOAD): ... this.
13204 * stdlib/strtod_nan_float.h: Move to ...
13205 * sysdeps/generic/math-nan-payload-float.h: ... here.
13206 (FLOAT): Remove definition.
13207 (SET_MANTISSA): Rename to ...
13208 (SET_NAN_PAYLOAD): ... this.
13209 * sysdeps/generic/math-type-macros-double.h: Include
13210 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13211 instead of <math-svid-compat.h>.
13212 * sysdeps/generic/math-type-macros-float.h: Include
13213 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13214 instead of <math-svid-compat.h>.
13215 * sysdeps/generic/math-type-macros-float128.h: Include
13216 <math-nan-payload-float128.h>.
13217 * sysdeps/generic/math-type-macros-ldouble.h: Include
13218 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13219 instead of <math-svid-compat.h>.
13220 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13221 check for definition.
13222 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13223 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13224 Include <ieee754_float128.h>.
13225 (FLOAT): Remove definition.
13226 (SET_MANTISSA): Rename to ...
13227 (SET_NAN_PAYLOAD): ... this.
13228 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13229 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13230 Do not include <float128_private.h>.
13231 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13232 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13233 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13234 (FLOAT): Remove definition.
13235 (SET_MANTISSA): Rename to ...
13236 (SET_NAN_PAYLOAD): ... this.
13237 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13238 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13239 (FLOAT): Remove definition.
13240 (SET_MANTISSA): Rename to ...
13241 (SET_NAN_PAYLOAD): ... this.
13242 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13243 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13244 (FLOAT): Remove definition.
13245 (SET_MANTISSA): Rename to ...
13246 (SET_NAN_PAYLOAD): ... this.
13247 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13248 of "../stdlib/strtod_nan_double.h".
13249 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13250 of "../stdlib/strtod_nan_float.h".
13251 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13252 instead of "../stdlib/strtod_nan_ldouble.h".
13253 * manual/arith.texi (Parsing of Floats): Adjust comment.
13255 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13257 * math/Makefile (libm-narrow-fns): Add mul.
13258 (libm-test-funcs-narrow): Likewise.
13259 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13260 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13261 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13262 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13263 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13264 (NARROW_MUL_TRIVIAL): Likewise.
13265 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13266 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13268 (__dmull): Likewise.
13269 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13271 (CFLAGS-nldbl-dmul.c): New variable.
13272 (CFLAGS-nldbl-fmul.c): Likewise.
13273 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13275 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13277 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13278 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13279 * math/auto-libm-test-in: Add tests of mul.
13280 * math/auto-libm-test-out-narrow-mul: New generated file.
13281 * math/libm-test-narrow-mul.inc: New file.
13282 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13285 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13286 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13287 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13293 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13294 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13295 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13296 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13297 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13298 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13299 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13301 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13327 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13329 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13330 with *%eax in call.
13332 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13334 * sysdeps/i386/ldsodefs.h: Removed.
13335 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13336 * sysdeps/x86/ldsodefs.h: This.
13337 (La_i86_regs): New.
13338 (La_i86_retval): Likewise.
13339 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13340 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13342 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13344 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13347 2018-05-13 Alan Modra <amodra@gmail.com>
13349 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13350 R_PARISC_TLS_DTPOFF32 reloc addend.
13352 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13354 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13355 * math/math.h: Restrict the prototype definition for the functions
13356 issignaling(_Float128) and iszero(_Float128); and template
13357 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13358 __HAVE_FLOAT128_UNLIKE_LDBL.
13359 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13360 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13361 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13362 __f128() constants; define the type _Float128 as long double;
13363 and reuse long double in __CFLOAT128.
13365 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13367 * sysdeps/generic/math_private.h: Do not include
13369 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13371 * math/fromfp.h: Include <math-barriers.h>.
13372 * math/math-narrow.h: Likewise.
13373 * math/s_nextafter.c: Likewise.
13374 * math/s_nexttowardf.c: Likewise.
13375 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13376 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13377 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13378 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13379 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13380 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13381 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13385 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13394 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13395 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13396 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13397 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13398 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13399 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13400 * sysdeps/ieee754/k_standardl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13409 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13417 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13418 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13419 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13420 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13421 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13422 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13424 2018-05-11 Florian Weimer <fweimer@redhat.com>
13426 Use 64-bit epoch values in the time zone file parser.
13427 * include/time.h (internal_time_t): Define.
13428 (__tzfile_compute): Use it.
13429 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13431 (transitions): Switch to internal_time_t.
13432 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13434 (__tzfile_compute): Use internal_time_t for timer argument. Check
13435 for truncation before calling __offtime.
13437 2018-05-11 Florian Weimer <fweimer@redhat.com>
13440 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13441 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13443 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13444 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13445 export without --enable-obsolete-rpc.
13446 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13447 symbol. This should not have been exported, ever.
13449 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13452 * localedata/locales/gd_GB (abmon): Fix typo in May:
13453 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13455 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13457 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13458 Use multiple registers to copy data in loop tail.
13460 * sysdeps/aarch64/multiarch/memmove_falkor.S
13461 (__memmove_falkor): Use multiple registers to move data in
13464 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13466 * math/math-underflow.h: New file.
13467 * sysdeps/generic/math_private.h: Do not include <float.h>.
13468 (fabs_tg): Remove macro. Moved to math-underflow.h.
13469 (min_of_type_f): Likewise.
13470 (min_of_type_): Likewise.
13471 (min_of_type_l): Likewise.
13472 (min_of_type_f128): Likewise.
13473 (min_of_type): Likewise.
13474 (math_check_force_underflow): Likewise.
13475 (math_check_force_underflow_nonneg): Likewise.
13476 (math_check_force_underflow_complex): Likewise.
13477 * math/e_exp2_template.c: Include <math-underflow.h>.
13478 * math/k_casinh_template.c: Likewise.
13479 * math/s_catan_template.c: Likewise.
13480 * math/s_catanh_template.c: Likewise.
13481 * math/s_ccosh_template.c: Likewise.
13482 * math/s_cexp_template.c: Likewise.
13483 * math/s_clog10_template.c: Likewise.
13484 * math/s_clog_template.c: Likewise.
13485 * math/s_csin_template.c: Likewise.
13486 * math/s_csinh_template.c: Likewise.
13487 * math/s_csqrt_template.c: Likewise.
13488 * math/s_ctan_template.c: Likewise.
13489 * math/s_ctanh_template.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13492 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13494 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13495 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13508 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13509 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13510 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13511 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13512 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13513 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13514 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13515 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13516 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13517 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13518 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13519 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13520 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13521 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13558 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13560 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13567 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13568 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13570 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13575 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13577 * sysdeps/generic/math-barriers.h: New file.
13578 * sysdeps/generic/math_private.h [!math_opt_barrier]
13579 (math_opt_barrier): Move to math-barriers.h.
13580 [!math_opt_barrier] (math_force_eval): Likewise.
13581 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13582 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13584 (math_force_eval): Likewise.
13585 * sysdeps/alpha/fpu/math-barriers.h: New file.
13586 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13588 (math_force_eval): Likewise.
13589 * sysdeps/x86/fpu/math-barriers.h: New file.
13590 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13592 (math_force_eval): Likewise.
13593 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13594 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13595 multiple-include guard for rename.
13596 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13597 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13599 (math_force_eval): Likewise.
13601 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13605 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13607 * stdlib/Makefile (test-bz22786): New test.
13608 * stdlib/test-bz22786.c: New test.
13610 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13612 * include/math-narrow-eval.h: New file. Contents moved from ....
13613 * sysdeps/generic/math_private.h: ... here.
13614 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13615 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13616 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13617 * stdlib/strtod_l.c: Likewise.
13618 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13619 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13620 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13633 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13634 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13635 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13636 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13637 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13638 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13639 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13640 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13642 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13643 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13644 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13646 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13648 2018-05-08 Andreas Schwab <schwab@suse.de>
13650 * sysdeps/nptl/internaltypes.h: Fix comment.
13652 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13654 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13655 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13658 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13660 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13661 of I into loop header.
13662 * benchtests/bench-memmove-walk.c
13663 (test_main): Likewise.
13665 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13668 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13669 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13671 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13674 * elf/dl-load.c (open_verify): Fix stack overflow.
13675 * elf/Makefile (tst-big-note): New test.
13676 * elf/tst-big-note-lib.S: New.
13677 * elf/tst-big-note.c: New.
13679 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13681 * scripts/abilist.awk: Ignore absolute symbols.
13682 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13683 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13684 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13685 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13686 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13687 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13688 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13689 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13690 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13691 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13692 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13693 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13708 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13710 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13724 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13765 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13770 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13771 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13772 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13773 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13775 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13776 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13777 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13778 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13779 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13780 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13783 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13784 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13785 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13786 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13787 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13789 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13803 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13804 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13805 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13806 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13807 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13808 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13809 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13810 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13811 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13812 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13814 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13815 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13817 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13818 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13819 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13820 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13821 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13822 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13823 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13825 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13826 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13827 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13828 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13831 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13832 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13833 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13834 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13835 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13836 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13838 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13839 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13840 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13841 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13843 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13844 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13845 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13846 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13847 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13848 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13849 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13850 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13851 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13852 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13853 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13854 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13855 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13856 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13857 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13858 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13859 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13860 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13861 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13864 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13865 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13928 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13943 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13956 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13982 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13996 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14013 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14014 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14015 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14016 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14018 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14030 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14032 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14033 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14035 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14038 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14039 Use atomic_load_acquire to load __tid.
14041 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14043 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14044 Restore the pointer into %rdx, after syscall and use %rdx,
14045 instead of %rsi, to restore context.
14047 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14049 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14050 Pop the pointer into %rdx after syscall and use %rdx, instead
14051 of %rsi, to restore context.
14053 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14055 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14056 handlers after setjmp.
14057 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14059 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14060 <libc-pointer-arith.h>.
14061 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14062 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14063 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14064 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14065 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14066 * sysdeps/x86/__longjmp_cancel.S: New file.
14067 * sysdeps/x86/longjmp.c: Likewise.
14068 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14070 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14072 * NEWS: Add ustat.h deprecation entry.
14073 * bits/ustat.h: Remove file.
14074 * misc/sys/ustat.h: Likewise.
14075 * misc/ustat.h: Likewise.
14076 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14077 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14078 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14079 compatibility mode.
14080 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14081 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14082 generic Linux implementation.
14084 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14086 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14087 * math/w_expl_compat.c: Likewise.
14088 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14090 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14092 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14094 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14096 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14097 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14098 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14100 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14102 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14103 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14104 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14107 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14109 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14111 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14112 * math/w_asin_template.c: Likewise.
14113 * math/w_atanh_template.c: Likewise.
14115 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14117 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14118 to powerpc/powerpc64/be for big-endian.
14119 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14122 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14123 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14124 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14125 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14126 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14127 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14128 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14129 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14130 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14131 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14132 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14133 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14134 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14135 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14136 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14137 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14138 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14139 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14140 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14141 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14142 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14143 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14144 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14145 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14146 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14147 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14148 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14149 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14150 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14151 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14152 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14153 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14155 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14156 adjusted to imply powerpc64 and older processors on powerpc64/be.
14157 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14158 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14159 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14160 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14161 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14162 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14163 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14164 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14165 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14166 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14167 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14168 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14169 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14170 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14171 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14172 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14173 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14174 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14175 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14176 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14177 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14178 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14179 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14180 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14181 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14182 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14183 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14184 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14185 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14186 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14187 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14189 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14190 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14191 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14192 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14194 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14195 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14196 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14197 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14199 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14200 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14201 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14202 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14203 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14204 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14205 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14206 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14207 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14208 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14209 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14211 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14212 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14213 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14214 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14215 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14216 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14217 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14218 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14219 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14220 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14221 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14223 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14224 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14225 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14226 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14227 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14228 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14229 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14230 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14231 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14232 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14233 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14234 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14236 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14237 and adjusted to imply olders processors.
14238 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14239 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14240 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14241 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14242 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14243 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14244 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14245 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14246 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14247 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14248 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14250 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14253 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14267 powerpc64 and adjusted.
14268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14273 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14275 * sysdeps/tile: Remove.
14276 * sysdeps/unix/sysv/linux/tile: Likewise.
14277 * README (tilegx-*-linux-gnu): Remove from list of supported
14279 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14280 contribution of support for generic Linux kernel syscall
14282 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14283 tilegx configurations.
14284 (Config.install_linux_headers): Do not handle tile.
14285 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14287 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14288 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14289 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14290 conditional undefine and redefine.
14291 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14293 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14294 conditional undefine and redefine.
14296 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14298 * signal/tst-sigaction.c: New file to test BZ #23069.
14299 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14301 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14304 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14305 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14306 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14307 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14309 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14311 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14312 _DIRENT_MATCHES_DIRENT64 is not defined.
14313 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14314 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14316 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14317 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14319 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14321 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14322 version to GCC 8 branch.
14324 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14326 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14327 (check_no_hidden): Use type of original function when declaring
14330 * sysdeps/unix/sysv/linux/sys/ptrace.h
14331 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14332 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14333 (struct __ptrace_seccomp_metadata): New type.
14334 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14335 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14336 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14337 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14338 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14339 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14341 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14343 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14344 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14345 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14346 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14347 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14348 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14349 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14351 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14353 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14355 * dirent/versionsort.c (versionsort): Likewise.
14356 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14357 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14358 * dirent/versionsort64.c (versionsort64): Likewise.
14359 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14360 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14361 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14362 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14363 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14364 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14365 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14366 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14367 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14368 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14371 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14372 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14374 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14376 * elf/elf.h (NT_PPC_PKEY): New macro.
14378 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14381 * localedata/locales/hr_HR: fix thousands_sep and
14384 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14386 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14387 (XTABS): Define to TAB3.
14389 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14391 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14393 * dirent/scandir-tail-common.c: New file.
14394 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14395 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14396 * dirent/scandir.c: Use scandir-tail-common.c.
14397 * dirent/scandirat.c: Likewise.
14398 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14399 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14400 if _DIRENT_MATCHES_DIRENT64 is defined.
14401 * dirent/scandirat64.c (scandirat64): Likewise.
14402 * include/dirent.h (__scandir_tail): Only define iff
14403 _DIRENT_MATCHES_DIRENT64 is not defined.
14404 (__scandir64_tail): Define regardless.
14405 (__scandirat, scandirat64): Remove libc_hidden_proto.
14406 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14407 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14409 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14410 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14412 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14414 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14416 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14418 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14420 (_dl_aarch64_cap_flags): Add asimdfhm.
14422 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14424 * sysdeps/nios2/libm-test-ulps: Update.
14426 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14428 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14429 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14431 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14433 (_DIRENT_MATCHES_DIRENT64): Undef
14434 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14435 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14436 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14437 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14438 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14439 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14440 use getdents64 syscalls as base.
14441 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14442 symbol if required.
14443 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14444 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14445 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14446 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14447 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14448 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14449 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14450 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14452 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14453 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14455 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14457 * scripts/test_printers_common.py (init_test): Disable lock elision.
14459 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14461 * math/test-tgmath.c (count_double, count_float,
14462 count_ldouble, count_cdouble, count_cfloat,
14463 count_cldouble): Use volatile int.
14465 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14467 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14468 (conformtest-xfail-conds): Add i386-gnu.
14469 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14471 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14472 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14473 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14474 msqid_ds.msg_lrpid): Likewise.
14475 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14477 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14478 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14479 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14480 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14482 (struct statvfs64): Likewise.
14483 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14485 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14486 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14487 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14488 instead of wait_queue.
14489 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14490 instead of vm_area_struct.
14491 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14492 struct sched_param definition to it.
14493 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14494 * bits/types/struct_sched_param.h: New file.
14495 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14496 <bits/types/struct_sched_param.h> instead of <sched.h>.
14497 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14498 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14499 generic version but include <bits/pthreadtypes.h> to make struct
14500 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14501 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14503 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14504 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14505 [__USE_XOPEN] (OFDEL): New macro.
14506 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14507 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14508 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14510 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14511 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14512 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14514 * sysdeps/i386/sys/ucontext.h: Likewise.
14515 * sysdeps/m68k/sys/ucontext.h: Likewise.
14516 * sysdeps/mips/sys/ucontext.h: Likewise.
14517 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14518 * sysdeps/mach/hurd/i386/Makefile
14519 (test-xfail-POSIX/fcntl.h/conform): Add.
14520 (test-xfail-POSIX/signal.h/conform): Add.
14521 (test-xfail-POSIX/semaphore.h/conform): Add.
14522 (test-xfail-POSIX/regex.h/conform): Add.
14523 (test-xfail-POSIX/aio.h/conform): Add.
14524 (test-xfail-POSIX/mqueue.h/conform): Add.
14525 (test-xfail-POSIX/sys/types.h/conform): Add.
14526 (test-xfail-UNIX98/fcntl.h/conform): Add.
14527 (test-xfail-UNIX98/netdb.h/conform): Add.
14528 (test-xfail-UNIX98/signal.h/conform): Add.
14529 (test-xfail-UNIX98/semaphore.h/conform): Add.
14530 (test-xfail-UNIX98/regex.h/conform): Add.
14531 (test-xfail-UNIX98/aio.h/conform): Add.
14532 (test-xfail-UNIX98/ftw.h/conform): Add.
14533 (test-xfail-UNIX98/mqueue.h/conform): Add.
14534 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14535 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14536 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14537 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14538 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14539 (test-xfail-UNIX98/sys/types.h/conform): Add.
14540 (test-xfail-UNIX98/stdlib.h/conform): Add.
14541 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14542 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14543 (test-xfail-POSIX2008/netdb.h/conform): Add.
14544 (test-xfail-POSIX2008/signal.h/conform): Add.
14545 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14546 (test-xfail-POSIX2008/regex.h/conform): Add.
14547 (test-xfail-POSIX2008/aio.h/conform): Add.
14548 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14549 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14550 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14551 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14552 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14553 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14554 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14555 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14556 (test-xfail-XOPEN2K/signal.h/conform): Add.
14557 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14558 (test-xfail-XOPEN2K/regex.h/conform): Add.
14559 (test-xfail-XOPEN2K/aio.h/conform): Add.
14560 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14561 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14562 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14563 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14564 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14565 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14566 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14567 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14568 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14569 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14570 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14571 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14572 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14573 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14574 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14575 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14576 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14577 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14578 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14579 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14580 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14581 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14582 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14583 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14584 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14585 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14586 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14588 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14589 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14591 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14593 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14594 --enable-obsolete for powerpc-linux-gnuspe.
14596 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14598 * conform/data/sys/un.h-data: Allow sun_ prefix.
14599 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14601 * sysdeps/mach/include/mach.h: Likewise.
14602 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14603 * sysdeps/mach/include/mach_error.h: Likewise.
14605 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14607 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14608 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14609 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14610 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14612 2018-04-16 Andreas Schwab <schwab@suse.de>
14615 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14617 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14619 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14620 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14622 2018-04-12 DJ Delorie <dj@redhat.com>
14624 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14627 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14629 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14630 (struct kernel_sigaction): Use the same definition on 31bit as is used
14633 2018-04-09 Florian Weimer <fweimer@redhat.com>
14636 * resolv/res_send.c (send_dg): Use designated initializers instead
14637 of assignment to zero-initialize other fields of struct mmsghdr.
14639 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14641 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14642 __READDIR_ALIAS): Undefine after usage.
14643 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14644 __READDIR_R_ALIAS): Likewise.
14645 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14646 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14647 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14648 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14649 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14650 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14651 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14652 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14653 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14654 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14655 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14656 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14657 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14658 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14659 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14660 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14661 * sysdeps/unix/sysv/linux/readdir.c: New file.
14662 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14663 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14664 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14666 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14668 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14670 * manual/charset.texi (Converting a Character): Fix typo.
14672 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14676 * sysdeps/arm/libm-test-ulps: Update.
14678 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14679 as base implementation.
14680 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14681 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14682 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14683 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14684 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14685 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14686 remove unrequired definitions and update comments.
14687 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14688 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14689 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14690 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14691 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14692 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14693 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14694 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14695 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14696 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14697 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14698 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14699 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14700 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14701 and RESET_SA_RESTORER hooks.
14703 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14705 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14707 2018-04-05 Florian Weimer <fweimer@redhat.com>
14709 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14710 integer overflow, memory leak on error, and indeterminate errno
14711 value. Add a null wide character to terminate the result string.
14712 * manual/charset.texi (Converting a Character): Mention embedded
14713 null bytes in the mbrtowc input string. Explain what happens in
14714 the -2 result case. Do not claim that mbrtowc is simple or
14715 obvious to use. Adjust the description of the code example. Use
14716 @code, not @var, for concrete variables.
14718 2018-04-05 Florian Weimer <fweimer@redhat.com>
14720 * manual/examples/mbstouwcs.c: New file.
14721 * manual/charset.texi (Converting a Character): Include it.
14723 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14725 * include/dirent.h (dirfd): Add hidden proto.
14726 * dirent/dirfd.c (dirfd): Add hidden def.
14727 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14728 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14730 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14732 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14733 sin, cos and sincos to 1 ULP.
14735 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14738 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14740 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14741 * elf/tst-absolute-sym.c: New file.
14742 * elf/tst-absolute-sym-lib.c: New file.
14743 * elf/tst-absolute-sym-lib.lds: New file.
14744 * elf/Makefile (tests): Add `tst-absolute-sym'.
14745 (modules-names): Add `tst-absolute-sym-lib'.
14746 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14747 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14748 ($(objpfx)tst-absolute-sym): New dependency.
14751 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14753 (SYMBOL_ADDRESS): New macro.
14754 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14755 SYMBOL_ADDRESS for symbol address calculation.
14756 * elf/dl-runtime.c (_dl_fixup): Likewise.
14757 (_dl_profile_fixup): Likewise.
14758 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14759 * elf/rtld.c (dl_main): Likewise.
14760 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14761 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14762 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14763 (elf_machine_rela): Likewise.
14764 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14765 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14766 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14767 (elf_machine_rela): Likewise.
14768 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14769 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14770 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14771 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14773 (elf_machine_reloc): Likewise.
14774 (elf_machine_got_rel): Likewise.
14775 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14776 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14777 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14779 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14781 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14782 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14784 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14786 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14791 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14794 2018-04-04 Zack Weinberg <zackw@panix.com>
14796 * sysdeps/generic/internal-signals.h: Include signal.h,
14797 sigsetops.h, and stdbool.h.
14798 (__libc_signal_block_all): Actually block all signals.
14799 (__libc_signal_block_app): Likewise.
14800 (__libc_signal_restore_set): Actually restore the signal mask.
14802 2018-04-04 Florian Weimer <fweimer@redhat.com>
14804 inet: Actually build and run tst-deadline.
14805 * inet/Makefile (tests-internal): Add tst-deadline and do not
14806 overwrite the variable.
14807 (tests-static-internal): Remove variable.
14809 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14812 * bits/uio-ext.h (RWF_APPEND): New.
14813 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14814 * manual/llio.texi: Document RWF_APPEND.
14815 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14816 (RWF_SUPPORTED): Add RWF_APPEND.
14818 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14821 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14822 check for internal nptl signals.
14823 * nptl/sigaction.c (__sigaction): Likewise.
14824 * signal/sigaddset.c (sigaddset): Likewise.
14825 * signal/sigdelset.c (sigdelset): Likewise.
14826 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14827 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14829 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14830 to filter out internal nptl signals.
14831 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14832 also check realtime signals using standard macros.
14833 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14834 __is_internal_signal, __libc_signal_block_all,
14835 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14836 * sysdeps/nptl/sigfillset.c: Remove file.
14837 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14838 Change return to bool.
14839 (__clear_internal_signals): Remove SIGTIMER clean since it is
14840 equal to SIGCANEL on Linux.
14841 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14842 signal set was constructed using standard functions.
14844 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14846 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14847 ifname is too long.
14848 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14849 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14850 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14852 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14853 * signal/sigaddset.c: Include <sigsetopts.h>.
14854 * signal/sigdelset.c: Likewise.
14856 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14860 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14861 logic as sin and cos.
14863 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14865 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14866 inputs. Return correct sign.
14867 (do_sincos): Remove small input check before do_sin, let do_sin set
14872 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14874 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14875 (do_cos_slow): Likewise.
14876 (do_sin_slow): Likewise.
14877 (reduce_and_compute): Likewise.
14882 (sloww1): Likewise.
14883 (sloww2): Likewise.
14885 (bslow1): Likewise.
14886 (bslow2): Likewise.
14887 (cslow2): Likewise.
14889 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14891 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14892 (do_cos): Remove corp parameter and calculations.
14893 (do_sin): Likewise.
14894 (do_sincos): Remove cor variable.
14895 (__sin): Use do_sincos for huge inputs.
14897 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14898 (reduce_and_compute_sincos): Remove unused function.
14900 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14902 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14903 reduce_sincos, improve accuracy to 136 bits.
14904 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14905 (__sin): Use improved reduction and simplified do_sincos calculation.
14907 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14909 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14911 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14912 (do_sincos_2): Likewise.
14913 (__sin): Remove middle range reduction case.
14915 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14918 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14920 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14921 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14924 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14926 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14928 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14931 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14933 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14934 Remove definitions.
14935 (opendir_oflags): Use O_DIRECTORY regardless.
14936 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14937 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14939 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14941 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14942 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14944 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14945 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14946 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14947 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14948 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14949 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14951 * htl/Makefile: Bump licence to LGPL 2.1+.
14952 * htl/alloca_cutoff.c: Likewise.
14953 * htl/cthreads-compat.c: Likewise.
14954 * htl/lockfile.c: Likewise.
14955 * htl/pt-alloc.c: Likewise.
14956 * htl/pt-cancel.c: Likewise.
14957 * htl/pt-cleanup.c: Likewise.
14958 * htl/pt-create.c: Likewise.
14959 * htl/pt-dealloc.c: Likewise.
14960 * htl/pt-detach.c: Likewise.
14961 * htl/pt-exit.c: Likewise.
14962 * htl/pt-getattr.c: Likewise.
14963 * htl/pt-initialize.c: Likewise.
14964 * htl/pt-internal.h: Likewise.
14965 * htl/pt-join.c: Likewise.
14966 * htl/pt-self.c: Likewise.
14967 * htl/pt-setcancelstate.c: Likewise.
14968 * htl/pt-setcanceltype.c: Likewise.
14969 * htl/pt-sigmask.c: Likewise.
14970 * htl/pt-spin-inlines.c: Likewise.
14971 * htl/pt-testcancel.c: Likewise.
14972 * htl/pt-yield.c: Likewise.
14973 * htl/tests/test-1.c: Likewise.
14974 * htl/tests/test-10.c: Likewise.
14975 * htl/tests/test-11.c: Likewise.
14976 * htl/tests/test-12.c: Likewise.
14977 * htl/tests/test-13.c: Likewise.
14978 * htl/tests/test-14.c: Likewise.
14979 * htl/tests/test-15.c: Likewise.
14980 * htl/tests/test-16.c: Likewise.
14981 * htl/tests/test-17.c: Likewise.
14982 * htl/tests/test-2.c: Likewise.
14983 * htl/tests/test-3.c: Likewise.
14984 * htl/tests/test-4.c: Likewise.
14985 * htl/tests/test-5.c: Likewise.
14986 * htl/tests/test-6.c: Likewise.
14987 * htl/tests/test-7.c: Likewise.
14988 * htl/tests/test-8.c: Likewise.
14989 * htl/tests/test-9.c: Likewise.
14990 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14991 * sysdeps/htl/bits/cancelation.h: Likewise.
14992 * sysdeps/htl/bits/pthread-np.h: Likewise.
14993 * sysdeps/htl/bits/pthread.h: Likewise.
14994 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14995 * sysdeps/htl/bits/semaphore.h: Likewise.
14996 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14997 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14998 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14999 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15000 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15001 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15002 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15003 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15004 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15005 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15006 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15007 * sysdeps/htl/old_pt-atfork.c: Likewise.
15008 * sysdeps/htl/pt-atfork.c: Likewise.
15009 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15010 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15011 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15012 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15013 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15014 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15015 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15016 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15017 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15018 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15019 * sysdeps/htl/pt-attr-init.c: Likewise.
15020 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15021 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15022 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15023 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15024 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15025 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15026 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15027 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15028 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15029 * sysdeps/htl/pt-attr.c: Likewise.
15030 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15031 * sysdeps/htl/pt-barrier-init.c: Likewise.
15032 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15033 * sysdeps/htl/pt-barrier.c: Likewise.
15034 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15035 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15036 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15037 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15038 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15039 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15040 * sysdeps/htl/pt-cond-init.c: Likewise.
15041 * sysdeps/htl/pt-cond-signal.c: Likewise.
15042 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15043 * sysdeps/htl/pt-cond-wait.c: Likewise.
15044 * sysdeps/htl/pt-cond.c: Likewise.
15045 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15046 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15047 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15048 * sysdeps/htl/pt-condattr-init.c: Likewise.
15049 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15050 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15051 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15052 * sysdeps/htl/pt-equal.c: Likewise.
15053 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15054 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15055 * sysdeps/htl/pt-getschedparam.c: Likewise.
15056 * sysdeps/htl/pt-getspecific.c: Likewise.
15057 * sysdeps/htl/pt-init-specific.c: Likewise.
15058 * sysdeps/htl/pt-key-create.c: Likewise.
15059 * sysdeps/htl/pt-key-delete.c: Likewise.
15060 * sysdeps/htl/pt-key.h: Likewise.
15061 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15062 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15063 * sysdeps/htl/pt-mutex-init.c: Likewise.
15064 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15065 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15066 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15067 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15068 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15069 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15070 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15071 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15072 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15073 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15074 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15075 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15076 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15077 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15078 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15079 * sysdeps/htl/pt-mutexattr.c: Likewise.
15080 * sysdeps/htl/pt-once.c: Likewise.
15081 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15082 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15083 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15084 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15085 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15086 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15087 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15088 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15089 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15090 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15091 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15092 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15093 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15094 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15095 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15096 * sysdeps/htl/pt-setschedparam.c: Likewise.
15097 * sysdeps/htl/pt-setschedprio.c: Likewise.
15098 * sysdeps/htl/pt-setspecific.c: Likewise.
15099 * sysdeps/htl/pt-spin.c: Likewise.
15100 * sysdeps/htl/pt-startup.c: Likewise.
15101 * sysdeps/htl/pthread.h: Likewise.
15102 * sysdeps/htl/sem-close.c: Likewise.
15103 * sysdeps/htl/sem-destroy.c: Likewise.
15104 * sysdeps/htl/sem-getvalue.c: Likewise.
15105 * sysdeps/htl/sem-init.c: Likewise.
15106 * sysdeps/htl/sem-open.c: Likewise.
15107 * sysdeps/htl/sem-post.c: Likewise.
15108 * sysdeps/htl/sem-timedwait.c: Likewise.
15109 * sysdeps/htl/sem-trywait.c: Likewise.
15110 * sysdeps/htl/sem-unlink.c: Likewise.
15111 * sysdeps/htl/sem-wait.c: Likewise.
15112 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15113 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15114 * sysdeps/mach/htl/pt-block.c: Likewise.
15115 * sysdeps/mach/htl/pt-spin.c: Likewise.
15116 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15117 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15118 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15119 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15120 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15121 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15122 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15123 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15124 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15125 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15126 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15127 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15128 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15129 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15130 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15131 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15132 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15133 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15134 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15135 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15136 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15137 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15138 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15139 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15140 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15141 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15142 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15143 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15144 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15145 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15146 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15147 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15148 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15149 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15150 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15151 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15152 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15153 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15154 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15155 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15156 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15157 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15158 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15160 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15161 * README: Remove the mention of out-of-tree patches needed for
15164 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15165 (UTIME_NOW, UTIME_OMIT): Define macros.
15167 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15168 instead of pthread_detach.
15169 (__cthread_fork): Call __pthread_create instead of pthread_create.
15170 (__cthread_keycreate): Call __pthread_key_create instead of
15171 pthread_key_create.
15172 (__cthread_getspecific): Call __pthread_getspecific instead of
15173 pthread_getspecific.
15174 (__cthread_setspecific): Call __pthread_setspecific instead of
15175 pthread_setspecific.
15176 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15177 __pthread_mutex_unlock instead of pthread_mutex_lock and
15178 pthread_mutex_unlock.
15179 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15180 ___pthread_get_cleanup_stack.
15181 (__pthread_get_cleanup_stack): New strong alias.
15182 * htl/pt-create.c: Include <pthreadP.h>.
15183 (entry_point): Call __pthread_exit instead of pthread_exit.
15184 (pthread_create): Rename to __pthread_create.
15185 (pthread_create): New strong alias.
15186 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15187 (pthread_detach): New strong alias.
15188 (__pthread_detach): Call __pthread_cond_broadcast instead of
15189 pthread_cond_broadcast.
15190 * htl/pt-exit.c: Include <pthreadP.h>.
15191 (__pthread_exit): Call __pthread_setcancelstate and
15192 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15193 __pthread_get_cleanup_stack.
15194 * htl/pt-testcancel.c: Include <pthreadP.h>.
15195 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15196 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15197 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15198 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15199 pthread_attr_getstacksize.
15200 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15201 Rename to __pthread_attr_getstackaddr.
15202 (pthread_attr_getstackaddr): New strong alias.
15203 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15204 Rename to __pthread_attr_getstacksize.
15205 (pthread_attr_getstacksize): New strong alias.
15206 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15207 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15208 (pthread_attr_setstack): New strong alias.
15209 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15210 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15211 pthread_attr_getstacksize, pthread_attr_setstacksize and
15212 pthread_attr_setstackaddr.
15213 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15214 Rename to __pthread_attr_setstackaddr.
15215 (pthread_attr_setstackaddr): New strong alias.
15216 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15217 Rename to __pthread_attr_setstacksize.
15218 (pthread_attr_setstacksize): New strong alias.
15219 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15220 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15222 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15223 (__pthread_key_create): New hidden def.
15224 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15225 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15226 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15227 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15228 __pthread_setspecific, __pthread_setcancelstate,
15229 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15230 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15231 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15233 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15234 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15235 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15236 (pthread_attr_setstackaddr): New strong alias.
15237 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15238 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15239 (pthread_attr_setstacksize): New strong alias.
15240 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15241 (call_exit): Call __pthread_exit instead of pthread_exit.
15242 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15243 (_pthread_mutex_init): New hidden definition.
15244 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15245 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15246 instead of pthread_attr_init and pthread_attr_setstack.
15248 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15249 __vm_deallocate instead of vm_allocate and vm_deallocate.
15250 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15252 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15254 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15256 * hurd/siginfo.c: Include <libioP.h>.
15257 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15258 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15260 * mach/devstream.c: Include <libioP.h>.
15261 (dealloc_ref): Call __mach_port_deallocate instead of
15262 mach_port_deallocate.
15263 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15264 Call __mach_port_deallocate instead of mach_port_deallocate.
15265 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15267 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15269 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15270 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15271 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15273 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15275 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15276 instead of sysconf.
15277 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15278 __clock_gettime instead of clock_gettime.
15279 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15280 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15281 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15282 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15283 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15285 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15286 __clock_gettime and __nanosleep instead of clock_gettime and
15288 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15289 __hurd_catch_signal.
15290 (hurd_catch_signal): New strong alias.
15291 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15292 __hurd_catch_signal instead of hurd_catch_signal.
15293 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15294 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15295 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15296 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15297 (_hurd_thread_sigstate): Add hidden def.
15298 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15300 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15301 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15302 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15303 __hurd_file_name_path_lookup.
15304 (hurd_file_name_path_lookup): New strong alias.
15305 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15306 hurd_file_name_path_lookup.
15307 * mach/errstring.c (mach_error_type): Add hidden def.
15308 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15309 * mach/mutex-init.c (__mutex_init): Add hidden def.
15310 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15311 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15312 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15313 * sysdeps/mach/hurd/getcwd.c
15314 (_hurd_canonicalize_directory_name_internal): Rename to
15315 __hurd_canonicalize_directory_name_internal.
15316 (_hurd_canonicalize_directory_name_internal): New strong alias.
15317 (__canonicalize_directory_name_internal, __getcwd): Call
15318 __hurd_canonicalize_directory_name_internal instead of
15319 _hurd_canonicalize_directory_name_internal.
15320 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15321 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15323 * sysdeps/hurd/include/hurd.h: New file.
15324 * sysdeps/hurd/include/hurd/fd.h: New file.
15325 * sysdeps/hurd/include/hurd/signal.h: New file.
15326 * sysdeps/mach/include/lock-intern.h: New file.
15327 * sysdeps/mach/include/mach.h: New file.
15328 * sysdeps/mach/include/mach/mig_support.h: New file.
15329 * sysdeps/mach/include/mach_error.h: New file.
15330 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15332 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15333 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15334 _HEADER_H_HIDDEN_DEF macro.
15335 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15336 _hurd_fd_error_signal): Add hidden prototype.
15337 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15339 * libio/iolibio.h (_IO_puts): New hidden prototype.
15340 * libio/ioputs.c (_IO_puts): New hidden def.
15341 * sysdeps/mach/hurd/localplt.data: New file.
15343 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15344 Amos Jeffries <squid3@treenet.co.nz>
15345 David Michael <fedora.dm0@gmail.com>
15346 Marco Gerards <marco@gnu.org>
15347 Marcus Brinkmann <marcus@gnu.org>
15348 Neal H. Walfield <neal@gnu.org>
15349 Pino Toscano <toscano.pino@tiscali.it>
15350 Richard Braun <rbraun@sceen.net>
15351 Roland McGrath <roland@gnu.org>
15352 Samuel Thibault <samuel.thibault@ens-lyon.org>
15353 Thomas DiModica <ricinwich@yahoo.com>
15354 Thomas Schwinge <tschwinge@gnu.org>
15356 * htl: New directory.
15357 * sysdeps/htl: New directory.
15358 * sysdeps/hurd/htl: New directory.
15359 * sysdeps/i386/htl: New directory.
15360 * sysdeps/mach/htl: New directory.
15361 * sysdeps/mach/hurd/htl: New directory.
15362 * sysdeps/mach/hurd/i386/htl: New directory.
15363 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15364 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15365 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15367 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15369 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15370 signals in thread created for runing timers.
15372 2018-04-01 Florian Weimer <fweimer@redhat.com>
15374 * support/support_format_addrinfo.c (support_format_addrinfo):
15375 Include unknown error number in formatted result.
15377 2018-03-29 Florian Weimer <fweimer@redhat.com>
15379 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15382 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15384 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15385 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15386 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15387 (__ASSUME_CLONE_BACKWARDS): Define.
15389 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15392 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15393 early when linux sentinel value is set.
15395 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15397 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15399 2018-03-27 Andreas Schwab <schwab@suse.de>
15402 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15403 allocation of private copy of nsaddr_list fails.
15405 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15408 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15409 * sysdeps/unix/sysv/linux/umount.c: ... here.
15410 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15411 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15412 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15413 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15415 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15416 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15418 2018-03-26 Andreas Schwab <schwab@suse.de>
15420 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15421 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15422 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15423 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15424 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15425 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15426 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15427 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15428 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15429 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15430 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15431 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15432 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15433 (R_RISCV_NUM): Define.
15435 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15437 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15438 TLS declaration of errno.
15439 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15441 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15442 (ARCH_SETUP_TLS): Likewise.
15443 * sysdeps/mach/hurd/libc-start.h: New file copied from
15444 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15445 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15446 instead of __libc_setup_tls.
15447 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15448 __libc_setup_tls before initializing libpthread and running _hurd_init
15449 which starts the signal thread.
15450 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15452 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15454 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15457 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15458 after it is defined.
15460 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15461 Max Horn <max@quendi.de>
15465 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15467 * string/test-memmove.c (do_test2): New testcase.
15469 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15471 * sysdeps/generic/frame.h: Remove file.
15472 * sysdeps/arm/frame.h: Likewise.
15473 * sysdeps/hppa/frame.h: Likewise.
15474 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15476 (GET_FRAME): Likewise.
15477 (GET_STACK): Likewise.
15478 (CALL_SIGHANDLER): Likewise.
15479 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15481 (GET_FRAME): Likewise.
15482 (GET_STACK): Likewise.
15483 (CALL_SIGHANDLER): Likewise.
15484 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15485 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15486 (GET_FRAME): Likewise.
15487 (GET_STACK): Likewise.
15488 (CALL_SIGHANDLER): Likewise.
15489 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15490 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15491 (GET_FRAME): Likewise.
15492 (GET_STACK): Likewise.
15493 (ADVANCE_STACK_FRAME): Likewise.
15494 (CALL_SIGHANDLER): Likewise.
15495 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15496 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15497 (GET_FRAME): Likewise.
15498 (GET_STACK): Likewise.
15499 (CALL_SIGHANDLER): Likewise.
15500 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15501 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15502 (GET_FRAME): Likewise.
15503 (GET_STACK): Likewise.
15504 (CALL_SIGHANDLER): Likewise.
15505 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15506 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15507 (GET_FRAME): Likewise.
15508 (GET_STACK): Likewise.
15509 (CALL_SIGHANDLER): Likewise.
15510 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15511 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15512 (GET_FRAME): Likewise.
15513 (GET_STACK): Likewise.
15514 (CALL_SIGHANDLER): Likewise.
15515 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15516 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15517 (GET_FRAME): Likewise.
15518 (GET_STACK): Likewise.
15519 (CALL_SIGHANDLER): Likewise.
15520 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15521 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15522 (GET_FRAME): Likewise.
15523 (GET_STACK): Likewise.
15524 (CALL_SIGHANDLER): Likewise.
15525 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15526 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15527 (GET_FRAME): Likewise.
15528 (GET_STACK): Likewise.
15529 (CALL_SIGHANDLER): Likewise.
15530 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15531 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15532 (GET_FRAME): Likewise.
15533 (GET_STACK): Likewise.
15534 (CALL_SIGHANDLER): Likewise.
15535 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15536 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15537 (GET_FRAME): Likewise.
15538 (GET_STACK): Likewise.
15539 (CALL_SIGHANDLER): Likewise.
15540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15541 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15542 (FIRST_FRAME_POINTER): Likewise.
15543 (ADVANCE_STACK_FRAME): Likewise.
15544 (GET_STACK): Likewise.
15545 (GET_FRAME): Likewise.
15546 (CALL_SIGHANDLER): Likewise.
15547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15548 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15549 (ADVANCE_STACK_FRAME): Likewise.
15550 (GET_STACK): Likewise.
15551 (GET_FRAME): Likewise.
15552 (CALL_SIGHANDLER): Likewise.
15553 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15554 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15555 (GET_FRAME): Likewise.
15556 (GET_STACK): Likewise.
15557 (CALL_SIGHANDLER): Likewise.
15558 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15559 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15560 (GET_FRAME): Likewise.
15561 (GET_STACK): Likewise.
15562 (CALL_SIGHANDLER): Likewise.
15564 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15566 * sysdeps/x86_64/backtrace.c: Move to ....
15567 * debug/backtrace.c: ... here.
15568 * sysdeps/aarch64/backtrace.c: Remove file.
15569 * sysdeps/alpha/backtrace.c: Likewise.
15570 * sysdeps/hppa/backtrace.c: Likewise.
15571 * sysdeps/ia64/backtrace.c: Likewise.
15572 * sysdeps/mips/backtrace.c: Likewise.
15573 * sysdeps/nios2/backtrace.c: Likewise.
15574 * sysdeps/riscv/backtrace.c: Likewise.
15575 * sysdeps/sh/backtrace.c: Likewise.
15576 * sysdeps/tile/backtrace.c: Likewise.
15578 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15581 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15584 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15587 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15588 possibly overflowing computations.
15590 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15592 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15593 values from Linux-specific section now that it is in the GNU section.
15594 * sysdeps/gnu/errlist.c: Regenerate.
15596 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15598 * math/Makefile (libm-narrow-fns): Add sub.
15599 (libm-test-funcs-narrow): Likewise.
15600 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15601 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15602 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15603 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15604 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15605 (NARROW_SUB_TRIVIAL): Likewise.
15606 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15608 (__dsubl): Likewise.
15609 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15611 (CFLAGS-nldbl-dsub.c): New variable.
15612 (CFLAGS-nldbl-fsub.c): Likewise.
15613 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15615 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15617 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15618 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15619 * math/auto-libm-test-in: Add tests of sub.
15620 * math/auto-libm-test-out-narrow-sub: New generated file.
15621 * math/libm-test-narrow-sub.inc: New file.
15622 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15623 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15624 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15625 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15626 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15627 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15628 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15630 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15632 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15633 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15635 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15636 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15637 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15638 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15639 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15641 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15642 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15643 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15644 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15645 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15646 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15647 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15648 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15649 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15650 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15651 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15652 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15653 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15658 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15659 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15660 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15661 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15662 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15663 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15664 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15665 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15666 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15667 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15669 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15672 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15674 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15676 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15678 2018-03-18 Richard Braun <rbraun@sceen.net>
15680 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15683 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15685 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15686 (__libc_cleanup_fct): Define function.
15687 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15688 __libc_cleanup_end): Rewrite implementation using
15689 __attribute__ ((__cleanup__)).
15690 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15691 * hurd/Makefile (routines): Add hurdlock.
15692 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15694 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15695 * hurd/hurdpid.c: Include <lowlevellock.h>
15696 (_S_msg_proc_newids): Use lll_wait to synchronize.
15697 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15698 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15699 * mach/Makefile (lock-headers): Remove machine-lock.h.
15700 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15702 (__spin_lock_t): New type.
15703 (__SPIN_LOCK_INITIALIZER): New macro.
15704 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15705 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15706 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15707 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15708 (__mutex_init): Initialize with lll.
15709 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15710 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15712 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15713 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15714 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15715 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15716 (__setpgid): Use lll for synchronization.
15717 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15718 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15719 instead of <cthreads.h>.
15720 (_IO_lock_inexpensive): New macro
15721 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15722 (__libc_lock_self0): New declaration.
15723 (__libc_lock_owner_self): New macro.
15724 (__libc_key_t): Remove type.
15725 (_LIBC_LOCK_INITIALIZER): New macro.
15726 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15727 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15728 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15729 __libc_lock_define_initialized_recursive,
15730 __rtld_lock_define_initialized_recursive,
15731 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15732 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15733 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15734 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15735 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15736 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15737 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15739 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15740 * hurd/hurdlock.c: New file.
15741 * hurd/hurdlock.h: New file.
15742 * mach/lowlevellock.h: New file
15744 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15746 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15747 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15748 when opening a symlink with O_NOFOLLOW.
15749 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15750 path when flags contains O_NOFOLLOW.
15751 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15752 if flags contains O_DIRECTORY and the result is a directory.
15753 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15754 oneself when the pointer given in D is nul (as set by ext2fs).
15755 * sysdeps/mach/hurd/mlockall.c: New file.
15756 * sysdeps/mach/hurd/munlockall.c: New file.
15758 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15760 * hurd/hurdsig.c: Include <pthread.h>.
15761 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15762 get the signal thread stack layout.
15763 * hurd/Makefile (headers): Remove threadvar.h.
15764 (inline-headers): Remove threadvar.h.
15765 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15766 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15767 __hurd_threadvar_max, __hurd_errno_location.
15768 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15769 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15770 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15771 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15772 unless TLS is not initialized yet, in which case we do not need a
15773 critical section yet anyway.
15774 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15776 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15778 (__hurd_threadvar_index): Remove enum.
15779 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15780 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15782 (__hurd_reply_port0): New variable declaration.
15783 (__hurd_local_reply_port): New macro.
15784 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15785 (interrupted_reply_port_location): Add thread_t parameter. Use it
15786 with THREAD_TCB to access thread-local variables.
15787 (_hurdsig_abort_rpcs): Pass ss->thread to
15788 interrupted_reply_port_location.
15789 (_hurd_internal_post_signal): Likewise.
15790 (_hurdsig_init): Use presence of cthread_fork instead of
15791 __hurd_threadvar_stack_mask to start signal thread by hand.
15792 Remove signal thread threadvar initialization.
15793 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15794 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15795 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15797 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15799 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15800 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15801 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15802 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15803 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15804 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15805 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15807 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15808 <hurd/threadvar.h>.
15809 [IS_IN(rtld)] (rtld_errno): New variable.
15810 [IS_IN(rtld)] (__errno_location): New weak function.
15811 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15812 * sysdeps/mach/hurd/errno.c: Remove file.
15813 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15814 (__fork): Remove THREADVAR_SPACE macro and its use.
15815 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15817 (init): Do not initialize threadvar.
15818 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15820 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15821 __hurd_local_reply_port instead of threadvar.
15822 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15823 _hurd_sigstate fields.
15824 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15825 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15826 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15827 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15828 instead of threadvar.
15829 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15830 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15831 (use_threadvar, global_reply_port): Remove variables.
15832 (__hurd_reply_port0): New variable.
15833 (__mig_get_reply_port): Use __hurd_local_reply_port and
15834 __hurd_reply_port0 instead of threadvar.
15835 (__mig_dealloc_reply_port): Likewise.
15836 (__mig_init): Do not initialize threadvar.
15837 * sysdeps/mach/hurd/profil.c: Fix comment.
15838 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15839 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15840 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15841 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15842 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15843 __cthread_setspecific.
15844 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15845 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15846 __cthread_t instead of cthread_fork, cthread_detach,
15847 pthread_getattr_np, pthread_attr_getstack.
15848 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15849 __cthread_keycreate.
15850 (cthread_getspecific): Rename to __cthread_getspecific.
15851 (cthread_setspecific): Rename to __cthread_setspecific.
15852 (__libc_getspecific): Use __cthread_getspecific instead of
15853 cthread_getspecific.
15854 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15855 __cthread_keycreate instead of cthread_keycreate.
15856 (__libc_setspecific): Use __cthread_setspecific instead of
15857 cthread_setspecific.
15858 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15861 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15862 testing whether it is defined.
15864 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15866 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15868 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15869 * sysdeps/mach/i386/thread_state.h
15870 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15872 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15874 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15876 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15877 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15879 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15881 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15882 descriptor instead of creating a new one.
15883 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15885 * mach/setup-thread.c: Include <ldsodefs.h>.
15886 (__mach_setup_thread): Call _dl_allocate_tls, pass
15887 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15888 MACHINE_THREAD_STATE_FLAVOR, before getting
15889 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15890 MACHINE_THREAD_STATE_FLAVOR with the result.
15891 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15892 MACHINE_THREAD_STATE_FIX_NEW.
15893 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15894 too. Add original thread parameter.
15896 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15898 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15899 Remove inline function.
15901 * sysdeps/i386/fpu/libm-test-ulps: Update.
15902 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15904 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15906 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15909 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15911 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15912 (__sincos_code): Remove define and undefine.
15913 [__FAST_MATH__] (__sincos): Remove inline function.
15914 [__FAST_MATH__] (__sincosf): Remove inline function.
15915 [__FAST_MATH__] (__sincosl): Remove inline function.
15916 (__atan2l): Remove inline functions.
15917 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15918 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15920 (floor): Remove inline function.
15922 [__FAST_MATH__] (__ldexp_code): Remove macro.
15923 [__FAST_MATH__] (ldexp): Remove inline function.
15924 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15925 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15926 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15927 [__USE_ISOC99] (__lrint_code): Remove macro.
15928 [__USE_ISOC99] (__llrint_code): Likewise.
15929 [__USE_ISOC99] (lrintf): Remove inline function.
15930 [__USE_ISOC99] (lrint): Likewise.
15931 [__USE_ISOC99] (lrintl): Likewise.
15932 [__USE_ISOC99] (llrint): Likewise.
15933 [__USE_ISOC99] (llrintf): Likewise.
15934 [__USE_ISOC99] (llrintl): Likewise.
15936 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15938 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15939 (__ieee754_sqrtf): Remove.
15940 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15941 (__ieee754_sqrtf): Remove.
15942 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15943 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15944 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15945 (__ieee754_sqrtf): Remove.
15946 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15947 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15950 (__ieee754_sqrt): Remove.
15951 (__ieee754_sqrtf): Remove.
15952 (__ieee754_sqrtl): Remove.
15953 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15954 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15955 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15956 (__ieee754_sqrtf): Remove.
15957 (__ieee754_sqrtl): Remove.
15959 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15961 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15962 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15963 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15964 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15965 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15966 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15967 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15968 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15970 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15971 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15972 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15973 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15974 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15975 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15976 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15977 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15978 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15979 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15980 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15981 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15982 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15983 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15984 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15985 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15986 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15987 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15988 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15992 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15993 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15994 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15995 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15996 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15997 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15998 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15999 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16000 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16001 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16002 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16003 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16004 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16005 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16006 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16007 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16008 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16009 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16011 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16013 * include/math.h (sqrt): Declare with asm redirect.
16016 (sqrtf128): Likewise.
16017 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16018 nonlib and libnldbl with -fmath-errno.
16019 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16020 * math/w_sqrt_template.c: Likewise.
16021 * math/w_sqrtf_compat.c: Likewise.
16022 * math/w_sqrtl_compat.c: Likewise.
16023 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16024 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16025 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16028 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16030 * benchtests/Makefile: Define _ISOMAC.
16031 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16032 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16033 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16034 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16035 * benchtests/bench-timing.h: Define attribute_hidden.
16037 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16039 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16042 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16045 * localedata/locales/cs_CZ (mon): Rename to...
16047 (mon): Import from CLDR (genitive case).
16049 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16052 * localedata/locales/el_CY (abmon): Rename to...
16053 (ab_alt_mon): This.
16054 (abmon): Import from CLDR (abbreviated genitive case).
16055 * localedata/locales/el_GR (abmon): Rename to...
16056 (ab_alt_mon): This.
16057 (abmon): Import from CLDR (abbreviated genitive case).
16059 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16062 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16064 2018-03-15 Robert Buj <robert.buj@gmail.com>
16067 * localedata/locales/ca_ES (abmon): Rename to...
16068 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16069 (mon): Rename to...
16071 (abmon): Import from CLDR (genitive case, month names preceded by
16074 (abday): Synchronize with CLDR.
16075 (d_t_fmt): Likewise.
16079 (LC_TIME): Improve indentation.
16080 (LC_TELEPHONE): Likewise.
16081 (LC_NAME): Likewise.
16082 (LC_ADDRESS): Likewise.
16084 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16086 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16087 (lrintf): Remove definitions used only with old GCC.
16088 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16089 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16090 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16091 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16092 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16093 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16094 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16095 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16096 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16097 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16098 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16099 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16100 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16101 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16102 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16103 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16104 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16105 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16106 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16107 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16108 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16109 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16110 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16111 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16112 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16113 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16114 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16115 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16117 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16119 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16120 instruction to unbreak builds with binutils 2.26 and older.
16122 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16124 * sysdeps/aarch64/strncmp.S (count): New macro.
16125 (strncmp): Store misaligned length in SRC1 in COUNT.
16126 (mutual_align): Adjust.
16127 (misaligned8): Load dword at a time when it is safe.
16129 2018-03-12 Zack Weinberg <zackw@panix.com>
16133 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16134 if the _IO_EOF_SEEN bit is already set; update commentary.
16135 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16136 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16138 * support/support_openpty.c, support/tty.h: New files.
16139 * support/Makefile (libsupport-routines): Add support_openpty.
16141 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16143 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16144 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16146 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16148 * po/pt_BR.po: Update translations.
16150 2018-03-12 David Michael <fedora.dm0@gmail.com>
16152 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16153 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16154 get a port to the startup server.
16156 2018-03-11 Zack Weinberg <zackw@panix.com>
16158 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16159 before nldbl-compat.h.
16161 2018-03-10 Zack Weinberg <zackw@panix.com>
16163 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16164 math.h or math_private.h.
16166 * sysdeps/alpha/fpu/s_isnan.c
16167 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16168 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16169 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16170 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16171 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16172 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16173 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16174 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16175 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16178 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16179 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16180 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16181 Include math_private.h.
16183 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16184 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16185 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16186 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16187 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16188 * sysdeps/powerpc/power7/fpu/s_logb.c:
16189 Include math.h and math_private.h.
16191 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16192 uses of $at in .set noat / .set at.
16194 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16196 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16197 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16198 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16199 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16202 2018-03-09 Florian Weimer <fweimer@redhat.com>
16204 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16207 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16210 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16211 Add nop before __startcontext, add explaining comments.
16213 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16216 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16218 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16219 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16220 Do not build hardware transactional code for __SPE__.
16221 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16222 (__lll_trylock_elision): Likewise.
16223 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16224 (__lll_unlock_elision): Likewise.
16226 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16227 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16228 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16229 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16230 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16231 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16232 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16233 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16234 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16235 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16236 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16237 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16238 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16239 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16240 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16241 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16242 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16243 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16244 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16245 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16246 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16247 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16248 (__ASSUME_CLONE_BACKWARDS): Define.
16249 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16250 __clone2 if __NR_clone2 is defined.
16251 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16252 (__ASSUME_CLONE_BACKWARDS): Likewise.
16253 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16254 (__ASSUME_CLONE_BACKWARDS): Likewise.
16255 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16256 (__ASSUME_CLONE2): Likewise.
16257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16258 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16259 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16260 variants and the define architecture can use.
16261 (__ASSUME_CLONE_DEFAULT): Define as default.
16262 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16263 (__ASSUME_CLONE_BACKWARDS): Likewise.
16264 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16265 (__ASSUME_CLONE_BACKWARDS): Likewise.
16266 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16267 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16269 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16271 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16273 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16276 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16277 (do_test_limit): Likewise.
16279 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16280 for every implementation.
16281 (do_test): Likewise.
16283 * benchtests/bench-strncmp.c: Convert output to json.
16285 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16287 * io/futimens.c: Add missing start-of-file descriptive comment.
16288 * io/utime.c: Likewise.
16289 * misc/futimesat.c: Likewise.
16290 * misc/utimes.c: Likewise.
16291 * sysdeps/mach/hurd/futimesat.c: Likewise.
16292 * sysdeps/mach/hurd/utimes.c: Likewise.
16293 * sysdeps/posix/utime.c: Likewise.
16294 * sysdeps/posix/utimes.c: Likewise.
16295 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16296 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16297 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16298 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16300 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16302 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16304 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16305 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16306 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16307 (__futimens): Move implementation to...
16308 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16309 utime_tvalue_from_tspec): ... new helper functions.
16310 (hurd_futimens): New function.
16311 * sysdeps/mach/hurd/futimesat.c: New file.
16312 * sysdeps/mach/hurd/utimensat.c: New file.
16314 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16316 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16317 UTIME_OMIT): New macros.
16318 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16319 before reverting to converting time spec to time value and calling
16321 * sysdeps/mach/hurd/utime-helper.c: New file.
16322 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16323 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16324 reverting to utime_tvalue_from_tval and __file_utimes.
16325 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16326 (__lutimes): Just call hurd_futimens after lookup.
16327 * sysdeps/mach/hurd/utimes.c: Likewise.
16329 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16331 * bits/sigaction.h: Add include guard.
16332 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16333 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16334 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16335 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16336 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16337 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16338 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16339 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16340 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16342 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16344 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16345 -Wmaybe-uninitialized for -Os.
16346 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16349 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16351 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16352 __INO_T_MATCHES_INO64_T is defined.
16353 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16354 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16356 * dirent/alphasort64.c: Likewise.
16357 * dirent/scandir.c: Likewise.
16358 * dirent/scandir64-tail.c: Likewise.
16359 * dirent/scandir64.c: Likewise.
16360 * dirent/scandirat.c: Likewise.
16361 * dirent/scandirat64.c: Likewise.
16362 * dirent/versionsort.c: Likewise.
16363 * dirent/versionsort64.c: Likewise.
16364 * include/dirent.h: Likewise.
16366 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16367 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16368 for socketpair endpoint.
16369 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16370 WRITE_BUFFER_SIZE as buffer size for sending socket.
16371 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16372 issue on system where send is implemented with sendto syscall.
16373 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16374 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16375 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16376 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16379 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16380 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16381 sa_restorer for vDSO case.
16382 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16384 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16386 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16387 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16388 * hurd/hurd/ioctl.h: Include <mach/port.h>
16389 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16390 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16391 <mach/mach_types.h> and <mach/message.h>.
16392 (headers): Move mach/param.h to bits/mach/param.h.
16393 * sysdeps/mach/i386/mach/param.h: Move file to ...
16394 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16395 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16397 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16398 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16399 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16400 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16401 trivial, for C++ conformity.
16402 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16403 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16404 Process mig output through $(migheadersed).
16405 * hurd/Makefile (migheadersed): Define variable.
16406 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16407 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16409 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16410 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16411 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16412 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16413 <bits/types/sigset_t.h>.
16414 [!defined __USE_GNU]: Do not #error out.
16415 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16416 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16417 Include <stddef.h> and <bits/types/sigset_t.h>
16418 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16419 instead of sighandler_t.
16420 * stdlib/errno.h (error_t): Move definition to...
16421 * bits/types/error_t.h: ... new header.
16422 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16423 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16424 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16425 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16426 * hurd/hurd.h: Include <bits/types/error_t.h>
16427 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16428 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16429 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16430 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16431 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16432 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16433 * sysdeps/mach/hurd/futimens.c: New file.
16435 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16438 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16439 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16440 * nscd/gai.c (__nss_hosts_database): Readd definition.
16441 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16442 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16443 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16445 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16447 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16448 (ifunc_one): Likewise.
16450 2018-03-01 DJ Delorie <dj@delorie.com>
16453 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16456 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16458 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16459 `match_pid' parameter.
16460 (td_ta_thr_iter): Update accordingly.
16462 2018-03-01 Florian Weimer <fweimer@redhat.com>
16464 * nptl/Makefile (install-lib-ldscripts): Remove.
16465 (install): Remove rule.
16466 ($(inst_libdir)/libpthread.so): Likewise.
16468 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16471 * localedata/locales/an_ES: update month and day names,
16472 improve d_fmt, improve postal_fmt, add country_post,
16475 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16477 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16478 Ukrainian instead of Bulgarian.
16480 2018-03-01 Florian Weimer <fweimer@redhat.com>
16482 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16485 2018-03-01 Florian Weimer <fweimer@redhat.com>
16487 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16488 * nptl/Makefile (routines): Add pthread_atfork.
16489 (static-only-routines): Set to pthread_atfork.
16490 (libpthread-routines): Remove pthread_atfork.
16491 (libpthread-static-only-routines): Remove.
16492 (install): Update comment.
16493 (libpthread.so): Do not install libpthread_nonshared.a.
16494 (tests): Do not link with libpthread_nonshared.a.
16495 (generated): Remove libpthread_nonshared.a.
16496 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16497 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16498 with libpthread_nonshared.a.
16500 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16503 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16504 (libc_feholdexcept_setroundf128): New macro.
16505 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16508 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16510 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16511 * include/inttypes.h: New file.
16513 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16515 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16516 -Os in two more places.
16518 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16520 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16521 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16522 be sorted correctly at the moment because of a bug.
16524 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16526 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16527 treat ñ as a primary different character, sync the collation
16528 for Spanish with CLDR.
16529 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16530 * localedata/Makefile: Add new test files.
16531 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16532 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16534 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16535 * localedata/am_ET.UTF-8.in: New test file.
16536 * localedata/az_AZ.UTF-8.in: Likewise.
16537 * localedata/be_BY.UTF-8.in: Likewise.
16538 * localedata/ber_DZ.UTF-8.in: Likewise.
16539 * localedata/ber_MA.UTF-8.in: Likewise.
16540 * localedata/bg_BG.UTF-8.in: Likewise.
16541 * localedata/br_FR.UTF-8.in: Likewise.
16542 * localedata/cmn_TW.UTF-8.in: Likewise.
16543 * localedata/crh_UA.UTF-8.in: Likewise.
16544 * localedata/csb_PL.UTF-8.in: Likewise.
16545 * localedata/cv_RU.UTF-8.in: Likewise.
16546 * localedata/cy_GB.UTF-8.in: Likewise.
16547 * localedata/dz_BT.UTF-8.in: Likewise.
16548 * localedata/eo.UTF-8.in: Likewise.
16549 * localedata/es_ES.UTF-8.in: Likewise.
16550 * localedata/fa_IR.UTF-8.in: Likewise.
16551 * localedata/fi_FI.UTF-8.in: Likewise.
16552 * localedata/fil_PH.UTF-8.in: Likewise.
16553 * localedata/fur_IT.UTF-8.in: Likewise.
16554 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16555 * localedata/ha_NG.UTF-8.in: Likewise.
16556 * localedata/ig_NG.UTF-8.in: Likewise.
16557 * localedata/ik_CA.UTF-8.in: Likewise.
16558 * localedata/kk_KZ.UTF-8.in: Likewise.
16559 * localedata/ku_TR.UTF-8.in: Likewise.
16560 * localedata/ky_KG.UTF-8.in: Likewise.
16561 * localedata/ln_CD.UTF-8.in: Likewise.
16562 * localedata/mi_NZ.UTF-8.in: Likewise.
16563 * localedata/ml_IN.UTF-8.in: Likewise.
16564 * localedata/mn_MN.UTF-8.in: Likewise.
16565 * localedata/mr_IN.UTF-8.in: Likewise.
16566 * localedata/mt_MT.UTF-8.in: Likewise.
16567 * localedata/nb_NO.UTF-8.in: Likewise.
16568 * localedata/om_KE.UTF-8.in: Likewise.
16569 * localedata/os_RU.UTF-8.in: Likewise.
16570 * localedata/ps_AF.UTF-8.in: Likewise.
16571 * localedata/ro_RO.UTF-8.in: Likewise.
16572 * localedata/ru_RU.UTF-8.in: Likewise.
16573 * localedata/sc_IT.UTF-8.in: Likewise.
16574 * localedata/se_NO.UTF-8.in: Likewise.
16575 * localedata/sq_AL.UTF-8.in: Likewise.
16576 * localedata/sv_SE.UTF-8.in: Likewise.
16577 * localedata/szl_PL.UTF-8.in: Likewise.
16578 * localedata/tg_TJ.UTF-8.in: Likewise.
16579 * localedata/tk_TM.UTF-8.in: Likewise.
16580 * localedata/tt_RU.UTF-8.in: Likewise.
16581 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16582 * localedata/ug_CN.UTF-8.in: Likewise.
16583 * localedata/uz_UZ.UTF-8.in: Likewise.
16584 * localedata/vi_VN.UTF-8.in: Likewise.
16585 * localedata/yi_US.UTF-8.in: Likewise.
16586 * localedata/yo_NG.UTF-8.in: Likewise.
16587 * localedata/zh_CN.UTF-8.in: Likewise.
16588 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16589 file and fix bugs in the collation.
16590 * localedata/locales/az_AZ: Likewise.
16591 * localedata/locales/be_BY: Likewise.
16592 * localedata/locales/ber_DZ: Likewise.
16593 * localedata/locales/ber_MA: Likewise.
16594 * localedata/locales/bg_BG: Likewise.
16595 * localedata/locales/br_FR: Likewise.
16596 * localedata/locales/br_FR@euro: Likewise.
16597 * localedata/locales/ca_ES: Likewise.
16598 * localedata/locales/cns11643_stroke: Likewise.
16599 * localedata/locales/crh_UA: Likewise.
16600 * localedata/locales/cs_CZ: Likewise.
16601 * localedata/locales/csb_PL: Likewise.
16602 * localedata/locales/cv_RU: Likewise.
16603 * localedata/locales/cy_GB: Likewise.
16604 * localedata/locales/da_DK: Likewise.
16605 * localedata/locales/dz_BT: Likewise.
16606 * localedata/locales/en_CA: Likewise.
16607 * localedata/locales/eo: Likewise.
16608 * localedata/locales/es_CU: Likewise.
16609 * localedata/locales/es_EC: Likewise.
16610 * localedata/locales/es_ES: Likewise.
16611 * localedata/locales/es_US: Likewise.
16612 * localedata/locales/et_EE: Likewise.
16613 * localedata/locales/fa_IR: Likewise.
16614 * localedata/locales/fi_FI: Likewise.
16615 * localedata/locales/fil_PH: Likewise.
16616 * localedata/locales/fur_IT: Likewise.
16617 * localedata/locales/gez_ER@abegede: Likewise.
16618 * localedata/locales/ha_NG: Likewise.
16619 * localedata/locales/hr_HR: Likewise.
16620 * localedata/locales/hsb_DE: Likewise.
16621 * localedata/locales/hu_HU: Likewise.
16622 * localedata/locales/ig_NG: Likewise.
16623 * localedata/locales/ik_CA: Likewise.
16624 * localedata/locales/is_IS: Likewise.
16625 * localedata/locales/iso14651_t1_pinyin: Likewise.
16626 * localedata/locales/kk_KZ: Likewise.
16627 * localedata/locales/ku_TR: Likewise.
16628 * localedata/locales/ky_KG: Likewise.
16629 * localedata/locales/ln_CD: Likewise.
16630 * localedata/locales/lt_LT: Likewise.
16631 * localedata/locales/lv_LV: Likewise.
16632 * localedata/locales/mi_NZ: Likewise.
16633 * localedata/locales/ml_IN: Likewise.
16634 * localedata/locales/mn_MN: Likewise.
16635 * localedata/locales/mr_IN: Likewise.
16636 * localedata/locales/mt_MT: Likewise.
16637 * localedata/locales/nb_NO: Likewise.
16638 * localedata/locales/om_KE: Likewise.
16639 * localedata/locales/os_RU: Likewise.
16640 * localedata/locales/pl_PL: Likewise.
16641 * localedata/locales/ps_AF: Likewise.
16642 * localedata/locales/ro_RO: Likewise.
16643 * localedata/locales/ru_RU: Likewise.
16644 * localedata/locales/ru_UA: Likewise.
16645 * localedata/locales/sc_IT: Likewise.
16646 * localedata/locales/se_NO: Likewise.
16647 * localedata/locales/si_LK: Likewise.
16648 * localedata/locales/sq_AL: Likewise.
16649 * localedata/locales/sv_FI: Likewise.
16650 * localedata/locales/sv_FI@euro: Likewise.
16651 * localedata/locales/sv_SE: Likewise.
16652 * localedata/locales/szl_PL: Likewise.
16653 * localedata/locales/tg_TJ: Likewise.
16654 * localedata/locales/ti_ER: Likewise.
16655 * localedata/locales/tk_TM: Likewise.
16656 * localedata/locales/tl_PH: Likewise.
16657 * localedata/locales/tr_TR: Likewise.
16658 * localedata/locales/tt_RU: Likewise.
16659 * localedata/locales/tt_RU@iqtelif: Likewise.
16660 * localedata/locales/ug_CN: Likewise.
16661 * localedata/locales/uk_UA: Likewise.
16662 * localedata/locales/uz_UZ: Likewise.
16663 * localedata/locales/uz_UZ@cyrillic: Likewise.
16664 * localedata/locales/vi_VN: Likewise.
16665 * localedata/locales/yi_US: Likewise.
16666 * localedata/locales/yo_NG: Likewise.
16668 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16670 * gen-locales.mk: Make test files which contain @ modifiers in their
16672 * localedata/gen-locale.sh: Likewise.
16674 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16676 * posix/tst-fnmatch.input: Fix results for range expressions
16678 * posix/tst-regexloc.c: Do not use a range expression for
16679 de_DE.ISO-8859-1 locale.
16681 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16683 * posix/bug-regex5.c: Fix test case because with the new
16684 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16685 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16688 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16690 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16691 downloaded from ISO, the collation order of @-. and space has changed.
16692 Therefore, this test file needed to be adapted.
16693 * localedata/fr_CA.UTF-8.in: Likewise.
16694 * localedata/fr_FR.UTF-8.in: Likewise.
16695 * localedata/uk_UA.UTF-8.in: Likewise.
16697 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16699 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16700 order of ȥ in the new iso14651_t1_common file.
16701 * localedata/pl_PL.UTF-8.in: Likewise.
16703 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16705 * localedata/locales/iso14651_t1_common: Add sections for various
16706 scripts to the iso14651_t1_common file.
16708 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16710 * localedata/locales/iso14651_t1_common: Use the code point of a
16711 character in the fourth collation level instead of IGNORE for all
16712 entries which have IGNORE on all 4 levels.
16714 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16716 * localedata/locales/iso14651_t1_common: Add some convenient collation
16717 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16718 rules similar to those in CLDR.
16720 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16722 * localedata/locales/iso14651_t1_common: The new version of this
16723 file downloaded from ISO contained several syntax errors which
16724 are fixed by this patch.
16726 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16728 * localedata/locales/iso14651_t1_common: replace all <U.....>
16729 with <U000.....> because glibc understands only 4 digit or 8 digit
16731 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16733 * localedata/locales/iso14651_t1_common: Necessary changes
16734 to make the file downloaded from ISO usable by glibc.
16736 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16739 * localedata/locales/iso14651_t1_common: Update file to
16740 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16742 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16744 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16745 of <nptl/pthreadP.h>
16746 (thread_attr_compare): Move function to...
16747 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16748 * sysdeps/nptl/timer_routines.h: ... new header.
16749 * sysdeps/mach/hurd/gai_misc.h: New file.
16751 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16753 * string/strcoll_l.c: Include <libc-diag.h>.
16754 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16755 declarations of seq1 and seq2.
16758 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16759 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16761 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16765 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16766 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16767 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16768 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16769 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16770 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16772 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16774 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16775 macros used in __ptrace_request.
16777 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16780 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16782 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16783 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16784 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16787 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16790 * ctype/ctype.c (tolower): Use libc_hidden_def.
16791 (toupper): Likewise.
16792 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16793 [!_ISOMAC] (toupper): Likewise.
16795 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16797 * localedata/Makefile: Remove --quiet argument when
16800 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16803 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16805 * localedata/locales/pt_PT (LC_TIME): likewise
16807 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16810 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16811 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16812 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16814 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16818 * nptl/Makefile (routines): Remove unregister-atfork.
16819 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16820 (fork_handler_alloc): Remove function.
16821 (fork_handlers, fork_handler_init): New variables.
16822 (__fork_lock): Rename to atfork_lock.
16823 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16824 to use a dynamic array to add/remove atfork handlers.
16825 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16826 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16827 Remove declaration.
16828 (fork_handler): Remove next, refcntr, and need_signal member.
16829 (__run_fork_handler_type): New enum.
16830 (__run_fork_handlers): New prototype.
16831 * nptl/register-atfork.c: Remove file.
16832 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16834 * sysdeps/nptl/nptl-signals.h: Move to ...
16835 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16837 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16838 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16839 unnecessary check for SIGTIMER.
16840 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16841 remove unnecessary removal of SIGTIMER.
16842 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16843 include-signals.h rename.
16844 * nptl/pthreadP.h: Likewise.
16845 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16846 __is_internal_signal instead of __nptl_is_internal_signal.
16848 2018-02-22 Andrew Waterman <andrew@sifive.com>
16851 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16852 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16853 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16854 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16856 2018-02-22 DJ Delorie <dj@delorie.com>
16858 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16860 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16862 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16863 do_misaligned, not misaligned8.
16865 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16867 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16868 Add memcpy_thunderx2.
16869 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16871 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16872 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16873 and IS_THUNDERX2PA checks.
16874 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16875 Use macro to set name appropriately.
16876 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16877 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16878 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16880 (IS_THUNDERX2): New macro.
16882 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16884 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16886 2018-02-21 Zack Weinberg <zackw@panix.com>
16888 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16889 Define here, unconditionally.
16890 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16891 * libio/libioP.h: Remove #if 0 blocks.
16892 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16893 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16894 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16896 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16897 Assume weak_alias is always defined.
16899 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16900 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16901 Remove #if 0 and #ifdef TODO blocks.
16902 Assume text_set_element is always defined.
16904 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16905 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16906 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16908 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16909 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16910 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16911 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16912 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16913 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16914 Reformat bit flags for _flags field to make occupancy clearer.
16916 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16917 Keep definitions consistent with those in libio/libio.h.
16919 * libio/libio.h (_IO_file_flags): Remove macro.
16920 All uses changed to _flags.
16922 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16923 (__HAVE_COLUMN, _IO_BE): Don't define.
16924 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16925 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16926 * libio/libioP.h (EOF): Don't define.
16927 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16928 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16929 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16930 testing _IO_UNIFIED_JUMPTABLES.
16932 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16933 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16934 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16935 (_IO_size_t): Delete; all uses changed to size_t.
16936 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16937 (_IO_off_t): Delete; all uses changed to off_t.
16938 (_IO_off64_t): Delete; all uses changed to off64_t.
16939 (_IO_pid_t): Delete; all uses changed to pid_t.
16940 (_IO_uid_t): Delete; all uses changed to uid_t.
16941 (_IO_wint_t): Delete; all uses changed to wint_t.
16942 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16943 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16944 (_IO_cookie_io_functions_t): Delete; all uses changed to
16945 cookie_io_functions_t.
16946 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16947 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16948 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16949 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16951 * libio/iofopncook.c: Remove unnecessary forward declarations.
16952 * libio/iolibio.h: Correct outdated commentary.
16953 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16954 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16955 Remove unnecessary casts.
16956 * stdio-common/getline.c: Use _IO_getdelim directly.
16957 Don't redefine ssize_t.
16958 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16959 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16960 Remove outdated comments.
16961 * stdio-common/vfscanf.c: Don't redefine va_list.
16963 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16964 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16965 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16966 which are always true, and __cplusplus, which is always false.
16968 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16972 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16973 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16974 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16975 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16977 [!_ISOMAC] (putc_unlocked): Likewise.
16978 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16979 define inline if [__USE_EXTERN_INLINES].
16980 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16985 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16986 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16987 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16988 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16989 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16991 * time/tzfile.c (__tzfile_read): Likewise.
16993 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16996 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16998 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17000 * io/fcntl.h: Fix a typo in a comment.
17002 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17005 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17006 define _DEFAULT_SOURCE.
17007 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17009 2018-02-21 Florian Weimer <fweimer@redhat.com>
17012 * elf/cache.c (save_cache): Call fsync on temporary file before
17014 (save_aux_cache): Call fdatasync on temporary file before renaming
17017 2018-02-21 Florian Weimer <fweimer@redhat.com>
17020 * include/caller.h: Remove file.
17021 * elf/dl-caller.c: Likewise.
17022 * elf/Makefile (dl-routines): Remove dl-caller.
17023 (shared-only-routines): Do not add dl-caller.
17024 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17026 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17028 (dl_open_worker): Do not call __check_caller.
17029 (_dl_open): Do not set caller_dl_open member.
17030 * elf/rtld.c (_rtld_global_ro): Do not initialize
17031 _dl_check_caller member.
17032 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17033 _dl_check_caller member.
17034 (_dl_check_caller): Remove declaration.
17035 * sysdeps/unix/sysv/linux/dl-execstack.c
17036 (_dl_make_stack_executable): Do not call __check_caller.
17038 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17040 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17041 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17043 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17045 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17048 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17051 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17052 of 199606L, 200112L, and 200809L.
17053 (_XOPEN_SOURCE): Document special values of 600 and 700.
17054 (_ISOC11_SOURCE): Document macro.
17055 (_ATFILE_SOURCE): Likewise.
17056 (_FORTIFY_SOURCE): Likewise.
17058 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17062 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17063 and define as weak alias of __ferror_unlocked. Use
17065 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17067 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17068 function if [__USE_EXTERN_INLINES].
17069 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17072 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17075 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17077 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17080 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17081 the GLIBC_2.1 version.
17083 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17086 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17087 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17088 intl/tst-gettext-de.po from po/de.po by removing the
17089 POT-Creation-Date line.
17090 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17092 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17095 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17097 * mach/Makefile (headers): Add mach/param.h.
17098 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17099 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17100 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17101 (__ptsname_r): Move implementation to...
17102 (__ptsname_internal): ... new function. Add filling the STP
17105 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17107 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17110 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17112 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17115 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17117 * nptl/Makefile (tst-mutex8-ENV): Delete.
17118 * nptl/tst-mutex8.c (check_type):
17119 Add runtime check if mutex will be elided.
17121 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17125 * manual/install.texi (Configuring and compiling): Describe
17126 passing CC and CFLAGS on configure command line, not as
17127 environment variables. Use @code markup on those variables.
17128 Specify what options go in CC and what go in CFLAGS. Note the
17129 requirement to compile with optimization.
17130 * INSTALL: Regenerated.
17133 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17134 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17135 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17136 __sigprocmask instead of sigprocmask.
17137 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17139 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17140 __sigsetjmp and sigprocmask.
17143 * include/argz.h (argz_next): Use libc_hidden_proto.
17144 (__argz_next): Likewise.
17145 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17146 (argz_next): Use libc_hidden_weak.
17149 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17151 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17155 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17157 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17161 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17162 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17163 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17164 (__feof_unlocked): New declaration, and inline function if
17165 [__USE_EXTERN_INLINES].
17166 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17167 instead of feof_unlocked.
17168 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17169 * nss/nsswitch.c (nss_parse_file): Likewise.
17170 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17172 * time/getdate.c (__getdate_r): Likewise.
17173 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17174 Define as macro to call __feof_unlocked.
17176 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17178 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17180 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17182 * math/Makefile: Remove mpexp.c and mplog.c
17183 * sysdeps/i386/fpu/mpexp.c: Delete file.
17184 * sysdeps/i386/fpu/mplog.c: Likewise.
17185 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17186 * sysdeps/ia64/fpu/mplog.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17188 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17189 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17190 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17191 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17192 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17193 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17194 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17195 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17196 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17197 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17198 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17199 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17200 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17201 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17202 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17204 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17206 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17208 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17210 * sysdeps/sh/libm-test-ulps: Update.
17212 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17214 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17217 2018-02-12 Zack Weinberg <zackw@panix.com>
17220 * posix/sys/types.h: Don't include sys/sysmacros.h.
17221 * misc/sys/sysmacros.h: Remove the conditional deprecation
17222 warnings for the macros defined by this header.
17224 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17226 * manual/probes.texi: Remove slowexp probes.
17227 * math/Makefile: Remove slowexp.
17228 * sysdeps/generic/math_private.h (__slowexp): Remove.
17229 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17230 document error bounds.
17231 * sysdeps/i386/fpu/slowexp.c: Remove.
17232 * sysdeps/ia64/fpu/slowexp.c: Remove.
17233 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17234 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17235 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17236 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17237 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17238 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17239 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17240 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17241 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17242 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17243 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17245 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17248 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17249 * benchtests/pow-inputs: Update comment for slow path cases.
17250 * manual/probes.texi (slowpow_p10): Delete removed probe.
17251 (slowpow_p10): Likewise.
17252 * math/Makefile: Remove halfulp.c and slowpow.c.
17253 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17254 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17255 (__halfulp): Remove.
17256 (__slowpow): Remove.
17257 * sysdeps/i386/fpu/halfulp.c: Delete file.
17258 * sysdeps/i386/fpu/slowpow.c: Likewise.
17259 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17260 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17262 improve comments and add error analysis.
17263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17264 (power1): Remove function:
17265 (log1): Remove error argument, add error analysis.
17266 (my_log2): Remove function.
17267 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17268 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17269 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17270 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17271 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17272 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17273 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17274 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17275 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17276 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17277 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17278 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17279 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17280 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17282 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17284 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17285 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17287 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17290 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17291 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17292 and PTRACE_SETHBPREGS.
17294 2018-02-10 Zack Weinberg <zackw@panix.com>
17297 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17299 * malloc/tst-malloc-stats-cancellation.c: New test case.
17300 * malloc/Makefile: Add new test case.
17302 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17304 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17306 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17308 * math/Makefile (libm-narrow-fns): Add add.
17309 (libm-test-funcs-narrow): Likewise.
17310 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17311 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17312 * math/gen-auto-libm-tests.c (test_functions): Add add.
17313 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17314 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17315 (NARROW_ADD_TRIVIAL): Likewise.
17316 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17318 (__daddl): Likewise.
17319 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17321 (CFLAGS-nldbl-dadd.c): New variable.
17322 (CFLAGS-nldbl-fadd.c): Likewise.
17323 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17327 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17328 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17329 * math/auto-libm-test-in: Add tests of add.
17330 * math/auto-libm-test-out-narrow-add: New generated file.
17331 * math/libm-test-narrow-add.inc: New file.
17332 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17335 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17336 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17337 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17346 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17347 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17348 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17349 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17351 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17352 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17353 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17354 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17357 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17358 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17360 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17362 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17379 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17380 (f128-pairs): New variable.
17381 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17382 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17384 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17385 Also make tests add $(f128-loader-link) to gnulib-tests.
17387 2018-02-09 DJ Delorie <dj@redhat.com>
17390 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17391 64-bit ELF type for 64-bit ELF objects.
17393 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17395 * math/libm-test-driver.c (snan_tests_arg): New variable.
17396 * math/libm-test-support.h (snan_tests_arg): New declaration.
17397 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17399 * math/Makefile (test-type-pairs): New variable.
17400 (test-type-pairs-f64xf128-yes): Likewise.
17401 (tests): Add test-narrow-macros.
17402 (libm-test-funcs-narrow): New variable.
17403 (libm-test-c-narrow): Likewise.
17404 (generated): Add $(libm-test-c-narrow).
17405 (libm-tests-base-narrow): New variable.
17406 (libm-tests-narrow): Likewise.
17407 (libm-tests): Add $(libm-tests-narrow).
17408 (libm-tests-for-type): Handle $(libm-tests-narrow).
17409 (libm-test-c-narrow-obj): New variable.
17410 ($(libm-test-c-narrow-obj)): New rule.
17411 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17412 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17413 $(o-iterator) to set dependencies and CFLAGS.
17414 * math/gen-auto-libm-tests.c: Document use for narrowing
17416 (output_for_one_input_case): Take argument NARROW.
17417 (generate_output): Likewise. Update call to
17418 output_for_one_input_case.
17419 (main): Take --narrow option. Update call to generate_output.
17420 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17421 (apply_lit): Update call to _apply_lit.
17422 (apply_arglit): New function.
17423 (parse_args): Handle "a" arguments.
17424 (parse_auto_input): Handle format names using ":".
17425 * math/README.libm-test: Document "a" parameter type.
17426 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17427 (ARG_TYPE_TRUE_MIN): Likewise.
17428 (ARG_TYPE_MAX): Likwise.
17429 (ARG_MIN_EXP): Likewise.
17430 (ARG_MAX_EXP): Likewise.
17431 (ARG_MANT_DIG): Likewise.
17432 (TEST_COND_arg_ibm128): Likewise.
17433 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17434 (TEST_COND_arg_fmt): New macro.
17435 (init_max_error): Update prototype.
17436 * math/libm-test-support.c (test_ibm128): New variable.
17437 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17438 instead of using [TEST_COND_ibm128] conditional.
17439 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17440 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17441 [TEST_NARROW] (TEST_MSG): New definition.
17442 (arg_plus_zero): New macro.
17443 (arg_minus_zero): Likewise.
17444 (arg_plus_infty): Likewise.
17445 (arg_minus_infty): Likewise.
17446 (arg_qnan_value_pl): Likewise.
17447 (arg_qnan_value): Likewise.
17448 (arg_snan_value_pl): Likewise.
17449 (arg_snan_value): Likewise.
17450 (arg_max_value): Likewise.
17451 (arg_min_value): Likewise.
17452 (arg_min_subnorm_value): Likewise.
17453 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17454 (RUN_TEST_LOOP_aa_f): New macro.
17455 (TEST_SUFF): New macro.
17456 (TEST_SUFF_STR): Likewise.
17457 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17458 (TEST_COND_any_ibm128): New macro.
17459 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17460 this_func. Update call to init_max_error.
17461 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17462 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17463 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17464 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17465 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17466 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17467 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17468 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17469 * math/test-math-vector.h (TEST_NARROW): Likewise.
17470 * math/test-arg-double.h: New file.
17471 * math/test-arg-float128.h: Likewise.
17472 * math/test-arg-float32x.h: Likewise.
17473 * math/test-arg-float64.h: Likewise.
17474 * math/test-arg-float64x.h: Likewise.
17475 * math/test-arg-ldouble.h: Likewise.
17476 * math/test-math-narrow.h: Likewise.
17477 * math/test-narrow-macros.c: Likewise.
17478 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17479 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17480 test-narrow-macros-ldbl-64.
17481 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17483 * math/bits/mathcalls-narrow.h: New file.
17484 * include/bits/mathcalls-narrow.h: Likewise.
17485 * math/math-narrow.h: Likewise.
17486 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17487 (__MATHCALL_NARROW_ARGS_2): Likewise.
17488 (__MATHCALL_NARROW_ARGS_3): Likewise.
17489 (__MATHCALL_NARROW_NORMAL): Likewise.
17490 (__MATHCALL_NARROW_REDIR): Likewise.
17491 (__MATHCALL_NARROW): Likewise.
17492 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17493 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17495 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17496 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17497 (libm-narrow-fns): New variable.
17498 (libm-narrow-types-basic): Likewise.
17499 (libm-narrow-types-ldouble-yes): Likewise.
17500 (libm-narrow-types-float128-yes): Likewise.
17501 (libm-narrow-types-float128-alias-yes): Likewise.
17502 (libm-narrow-types): Likewise.
17503 (libm-routines): Add narrowing functions.
17504 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17505 (libc_feholdexcept_setroundf128): New macro.
17506 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17507 * sysdeps/ieee754/float128/float128_private.h: Include
17508 <math/math-narrow.h>.
17509 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17510 Undefine and redefine.
17511 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17512 (libm_alias_float_ldouble): Undefine and redefine.
17513 (libm_alias_double_ldouble): Likewise.
17515 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17517 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17519 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17522 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17524 * manual/creature.texi: Convert references to gcc.info to gcc.
17525 * manual/stdio.texi: Likewise.
17526 * manual/string.texi: Likewise.
17528 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17531 * posix/bits/types.h (__int_least8_t): New typedef.
17532 (__uint_least8_t): Likewise.
17533 (__int_least16_t): Likewise.
17534 (__uint_least16_t): Likewise.
17535 (__int_least32_t): Likewise.
17536 (__uint_least32_t): Likewise.
17537 (__int_least64_t): Likewise.
17538 (__uint_least64_t): Likewise.
17539 * sysdeps/generic/stdint.h (int_least8_t): Define using
17541 (int_least16_t): Define using __int_least16_t.
17542 (int_least32_t): Define using __int_least32_t.
17543 (int_least64_t): Define using __int_least64_t.
17544 (uint_least8_t): Define using __uint_least8_t.
17545 (uint_least16_t): Define using __uint_least16_t.
17546 (uint_least32_t): Define using __uint_least32_t.
17547 (uint_least64_t): Define using __uint_least64_t.
17548 * wcsmbs/uchar.h: Include <bits/types.h>.
17549 (char16_t): Define using __uint_least16_t conditional only on
17551 (char32_t): Define using __uint_least32_t conditional only on
17553 * wcsmbs/test-char-types.c: New file.
17554 * wcsmbs/Makefile (tests): Add test-char-types.
17556 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17559 2018-02-07 Zack Weinberg <zackw@panix.com>
17561 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17562 Delete all contents except for definitions of _G_HAVE_MMAP and
17563 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17564 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17565 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17568 * libio/libio.h: Don't include bits/_G_config.h here.
17569 Include stddef.h with __need_wchar_t defined. Include
17570 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17571 Define _IO_iconv_t here, directly.
17572 Don't define _IO_HAVE_ST_BLKSIZE.
17573 * libio/libioP.h: Include _G_config.h here. Move include of
17574 shlib-compat.h up with rest of includes. Simplify conditionals
17575 controlling definition of _IO_JUMPS_OFFSET.
17577 * csu/init.c: Remove always-true #if around entire file.
17578 Don't include stdio.h. Set _IO_stdin_used to hardwired
17579 constant 0x20001, and update commentary.
17580 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17581 Replace all uses of _G_va_list with __gnuc_va_list.
17582 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17583 instead of #if _IO_HAVE_ST_BLKSIZE.
17584 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17585 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17588 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17589 multiple-include guard to match.
17590 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17592 Remove preprocessor conditionals that are always true and/or
17593 redundant to other preprocessor conditionals in the same nest.
17594 Include shlib-compat.h unconditionally.
17595 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17596 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17597 defined after including stdio.h.
17598 Use __BEGIN_DECLS/__END_DECLS.
17600 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17601 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17602 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17604 2018-02-07 Zack Weinberg <zackw@panix.com>
17606 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17607 New single-type headers split from _G_config.h.
17608 * libio/bits/types/cookie_io_functions_t.h
17609 * libio/bits/types/struct_FILE.h
17610 New single-type headers split from libio.h.
17612 * libio/Makefile: Install the above new headers. Don't install
17613 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17615 * libio/_G_config.h, libio/libio.h: Delete file.
17617 * libio/bits/libio.h: Remove improper-inclusion guard.
17618 Include stdio.h and don't repeat anything that it does.
17619 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17620 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17621 __io_read_fn as cookie_read_function_t,
17622 __io_write_fn as cookie_write_function_t,
17623 __io_seek_fn as cookie_seek_function_t,
17624 __io_close_fn as cookie_close_function_t,
17625 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17626 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17627 here, in the "compatibility defines" section. Remove an #if 0
17628 block. Use the "body" macros from bits/types/struct_FILE.h to
17629 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17630 and _IO_ferror_unlocked.
17631 Move prototypes of __uflow and __overflow...
17633 * libio/stdio.h: ...here. Don't include bits/libio.h.
17634 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17635 directly from stdarg.h. Include bits/types/__fpos_t.h,
17636 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17637 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17638 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17639 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17640 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17641 __ssize_t, not _IO_ssize_t. Unconditionally define
17642 BUFSIZ as 8192 and EOF as (-1).
17644 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17645 macros from bits/types/struct_FILE.h instead of _IO_* macros
17646 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17647 instead of _IO_ssize_t.
17648 * libio/bits/stdio2.h: Similarly.
17650 * libio/iolibio.h: Add multiple-include guard.
17651 Include bits/libio.h after stdio.h.
17652 * libio/libioP.h: Add multiple-include guard.
17653 Include stdio.h and bits/libio.h before iolibio.h.
17655 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17656 * include/bits/types/cookie_io_functions_t.h
17657 * include/bits/types/struct_FILE.h: New wrappers.
17659 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17660 Get definitions of _G_fpos_t and _G_fpos64_t from
17661 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17662 respectively. Remove improper-inclusion guards.
17664 * conform/data/stdio.h-data: Update expectations of va_list.
17665 * scripts/check-installed-headers.sh: Remove special case for
17666 libio.h and _G_config.h.
17668 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17672 * include/sys/sysmacros.h [!_ISOMAC]
17673 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17674 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17675 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17676 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17678 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17679 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17681 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17682 Undefine and redefine to add use __gnu_dev_ prefix.
17683 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17685 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17686 and define as hidden inline function.
17687 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17689 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17691 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17692 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17693 (gnu_dev_minor): Likewise.
17694 (gnu_dev_makedev): Likewise.
17695 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17697 * posix/wordexp.c (exec_comm_child): Likewise.
17698 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17699 instead of minor and __gnu_dev_major instead of major.
17700 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17701 __gnu_dev_major instead of major.
17702 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17703 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17704 instead of gnu_dev_minor.
17705 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17706 (SLAVE_P): Likewise.
17707 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17708 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17712 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17714 * locale/weightwc.h (findidx): Likewise.
17716 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17718 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17719 (slowlog_inexact): Likewise
17720 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17721 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17723 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17726 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17727 missing second underscore to parameter name.
17729 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17735 * bits/byteswap.h: Update file comment. Do not include
17736 <bits/byteswap-16.h>.
17737 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17739 (__bswap_16): Define as inline function.
17740 (__bswap_constant_32): Reformat definition.
17741 (__bswap_32): Always define as inline function, not macro, using
17742 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17743 otherwise __bswap_constant_32.
17744 (__bswap_constant_64): Reformat definition. Do not use
17745 __extension__ here.
17746 (__bswap_64): Always define as inline function, not macro. Use
17747 __extension__ on function definition. Use __builtin_bswap64 if
17748 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17749 * string/test-endian-file-scope.c: New file.
17750 * string/test-endian-sign-conversion.c: Likewise.
17751 * string/Makefile (headers): Remove bits/byteswap-16.h.
17752 (tests): Add test-endian-file-scope and
17753 test-endian-sign-conversion.
17754 (CFLAGS-test-endian-sign-conversion.c): New variable.
17755 * bits/byteswap-16.h: Remove file.
17756 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17757 * sysdeps/ia64/bits/byteswap.h: Likewise.
17758 * sysdeps/m68k/bits/byteswap.h: Likewise.
17759 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17760 * sysdeps/s390/bits/byteswap.h: Likewise.
17761 * sysdeps/tile/bits/byteswap.h: Likewise.
17762 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17763 * sysdeps/x86/bits/byteswap.h: Likewise.
17766 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17767 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17768 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17769 199901L] (__restrict): Define to restrict.
17772 * string/testcopy.c: Include <support/support.h>. Do not include
17773 <malloc.h>. Use <support/test-driver.c>.
17774 (main): Rename to do_test. Make static. Use xmalloc instead of
17778 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17779 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17780 (SSIZE_MAX): Define to INT_MAX.
17781 * posix/test-ssize-max.c: New file.
17782 * posix/Makefile (tests): Add test-ssize-max.
17785 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17786 <support/support.h>. Do not include <malloc.h>.
17787 (query_auxv): Use xmalloc instead of malloc.
17790 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17791 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17794 2018-02-06 Florian Weimer <fweimer@redhat.com>
17797 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17798 Use scratch_buffer instead of extend_alloca.
17800 2018-02-06 Zack Weinberg <zackw@panix.com>
17802 * libio/stdio.h: Don't define getc or putc as macros.
17803 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17804 not _IO_getc and _IO_putc.
17806 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17807 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17809 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17811 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17812 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17814 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17817 * elf/elf.h (NT_PRFPREG): New macro.
17818 (NT_S390_VXRS_LOW): Likewise.
17819 (NT_S390_VXRS_HIGH): Likewise.
17820 (NT_S390_GS_CB): Likewise.
17821 (NT_S390_GS_BC): Likewise.
17822 (NT_S390_RI_CB): Likewise.
17824 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17825 (MAP_SYNC): New macro.
17826 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17828 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17829 (MAP_SYNC): Likewise.
17830 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17831 (MAP_SYNC): Likewise.
17832 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17833 (MAP_SYNC): Likewise.
17834 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17835 (MAP_SYNC): Likewise.
17836 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17837 (MAP_SYNC): Likewise.
17838 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17839 (MAP_SYNC): Likewise.
17840 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17842 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17845 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17846 (MAP_SHARED_VALIDATE): New macro.
17847 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17848 (MAP_SHARED_VALIDATE): Likewise.
17850 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17852 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17853 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17854 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17856 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17858 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17859 (DT_NUM): Updated to 35.
17861 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17864 __builtin_expect with __glibc_likely and __glibc_unlikely.
17865 (elf_machine_rela): Likewise.
17866 (elf_machine_lazy_rel): Likewise.
17868 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17870 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17871 __builtin_expect with __glibc_likely and __glibc_unlikely.
17872 (elf_machine_lazy_rel): Likewise.
17874 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17877 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17879 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17881 2018-02-05 Andreas Schwab <schwab@suse.de>
17884 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17887 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17889 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17890 not check against PTHREAD_STACK_MIN.
17892 2018-02-02 Sean McKean <smckean83@gmail.com>
17895 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17897 2018-02-02 Florian Weimer <fweimer@redhat.com>
17900 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17901 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17902 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17903 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17904 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17905 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17906 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17907 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17908 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17909 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17910 * misc/tst-preadvwritev2.c (do_test): Call it.
17911 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17913 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17915 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17917 * benchtests/bench-memcmp.c: Print json instead of plain text.
17919 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17922 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17924 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17926 (s390_sthyi): New syscall.
17928 * sysdeps/generic/ldbl-classify-compat.h: New file.
17929 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17930 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17931 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17932 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17933 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17934 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17935 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17936 <ldbl-classify-compat.h>.
17937 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17938 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17939 <ldbl-classify-compat.h>.
17940 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17941 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17942 <ldbl-classify-compat.h>.
17943 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17944 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17945 <ldbl-classify-compat.h>.
17946 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17948 <ldbl-classify-compat.h>.
17949 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17951 <ldbl-classify-compat.h>.
17952 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17953 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17954 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17955 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17956 * sysdeps/microblaze/math_private.h: Likewise.
17957 * sysdeps/nios2/math_private.h: Likewise.
17958 * sysdeps/sh/math_private.h: Likewise.
17960 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17961 * sysdeps/m68k/coldfire/math_private.h: ... here.
17962 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17963 * sysdeps/tile/math_private.h: Likewise.
17964 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17966 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17969 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17971 (libc_fetestexcept): Likewise.
17972 (libc_feupdateenv_test): Likewise.
17973 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17974 (libc_fetestexcept): Likewise.
17975 (libc_feupdateenv_test): Likewise.
17976 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17977 (libc_fetestexcept): Likewise.
17978 (libc_feupdateenv_test): Likewise.
17979 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17980 (libc_fetestexcept): Likewise.
17981 (libc_feupdateenv_test): Likewise.
17983 * sysdeps/generic/math_private.h
17984 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17985 New inline function.
17986 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17989 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17990 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17991 * sysdeps/generic/math_private.h
17992 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17994 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17996 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17998 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18000 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18002 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18004 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18005 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18006 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18007 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18008 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18009 (__fegetenv): Likewise.
18010 (fesetenv): Likewise.
18011 (__fesetenv): Likewise.
18012 (feupdateenv): Likewise.
18013 (__feupdateenv): Likewise.
18014 (fegetround): Likewise.
18015 (__fegetround): Likewise.
18016 (fesetround): Likewise.
18017 (__fesetround): Likewise.
18019 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18020 (feraiseexcept): New macro.
18021 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18022 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18024 (__feraiseexcept): Likewise.
18025 (feclearexcept): Likewise.
18026 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18027 (__feraiseexcept): Likewise.
18028 (feclearexcept): Likewise.
18029 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18030 (__feraiseexcept): Likewise.
18031 (feclearexcept): Likewise.
18032 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18033 (__feraiseexcept): Likewise.
18034 (feclearexcept): Likewise.
18035 (fetestexcept): Likewise.
18037 * sysdeps/m68k/coldfire/math-tests.h: New file.
18039 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18040 * sysdeps/m68k/bits/fenv.h: ... here.
18041 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18043 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18045 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18047 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18049 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18051 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18053 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18054 (__FE_UNDEFINED): New enum constant.
18055 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18057 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18059 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18061 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18062 to match generic bits/fenv.h.
18063 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18066 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18068 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18069 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18070 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18071 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18073 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18074 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18075 Joseph Myers <joseph@codesourcery.com>
18078 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18079 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18080 computation using c.
18081 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18082 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18083 computation using c.
18085 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18087 * version.h (RELEASE): Set to "development".
18088 (VERSION): Set to "2.27.9000".
18089 * NEWS (2.28): New section.
18091 * version.h (RELEASE): Set to "stable".
18092 (VERSION): Set to "2.27".
18093 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18095 * NEWS: Add the list of bugs fixed in 2.27.
18097 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18099 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18100 against PTHREAD_STACK_MIN.
18102 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18104 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18106 (Rafal Luzynski, Andreas Schwab): Update.
18108 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18111 * NEWS: List the languages which actually use the alternative
18112 months feature in this release. Also explain that "alt_mon" and
18113 "ab_alt_mon" are optional.
18115 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18118 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18120 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18122 * manual/install.texi (Tools for Compilation): Update the newest
18123 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18124 * INSTALL: Regenerated.
18126 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18128 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18129 instead of __builtin_expect.
18131 2018-01-30 Florian Weimer <fweimer@redhat.com>
18133 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18135 * nss/tst-nss-getpwent.c (do_test): Likewise.
18137 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18140 * localedata/locales/hr_HR (mon): Rename to...
18142 (mon): Import from CLDR (genitive case).
18143 (d_t_fmt): Update the comment.
18145 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18147 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18148 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18149 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18151 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18153 * mach/Versions: Fix version when __mach_host_self_ was added.
18154 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18155 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18156 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18157 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18158 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18159 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18160 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18161 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18162 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18163 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18164 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18165 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18166 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18167 || to respect codestyle.
18168 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18169 (do_test_bz20181): Rename accordingly.
18170 * malloc/malloc.c: Include <assert.h>.
18171 (assert): Do not define.
18172 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18173 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18174 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18175 * sysdeps/mach/hurd/hp-timing.h: New file.
18176 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18178 2018-01-29 Darius Rad <darius@bluespec.com>
18180 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18182 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18184 * sysdeps/init_array/crti.S (.section .init_array): Add
18185 PREINIT_FUNCTION when defined.
18186 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18187 * config.h.in: Regenerate.
18188 * manual/platform.texi: Add RISC-V documenation for
18189 __riscv_flush_icache.
18190 * sysdeps/riscv/__longjmp.S: New file.
18191 * sysdeps/riscv/backtrace.c: Likewise.
18192 * sysdeps/riscv/bits/endian.h: Likewise.
18193 * sysdeps/riscv/bits/setjmp.h: Likewise.
18194 * sysdeps/riscv/bits/wordsize.h: Likewise.
18195 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18196 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18197 * sysdeps/riscv/dl-trampoline.S: Likewise.
18198 * sysdeps/riscv/gccframe.h: Likewise.
18199 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18200 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18201 * sysdeps/riscv/machine-gmon.h: Likewise.
18202 * sysdeps/riscv/memusage.h: Likewise.
18203 * sysdeps/riscv/setjmp.S: Likewise.
18204 * sysdeps/riscv/sys/asm.h: Likewise.
18205 * sysdeps/riscv/tls-macros.h: Likewise.
18206 * sysdeps/riscv/dl-tls.h: New file.
18207 * sysdeps/riscv/libc-tls.c: Likewise.
18208 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18209 * sysdeps/riscv/nptl/tls.h: Likewise.
18210 * sysdeps/riscv/stackinfo.h: Likewise.
18211 * sysdeps/riscv/bits/fenv.h: New file.
18212 * sysdeps/riscv/e_sqrtl.c: Likewise.
18213 * sysdeps/riscv/fpu_control.h: Likewise.
18214 * sysdeps/riscv/math-tests.h: Likewise.
18215 * sysdeps/riscv/nofpu/Implies: Likewise.
18216 * sysdeps/riscv/sfp-machine.h: Likewise.
18217 * sysdeps/riscv/tininess.h: Likewise.
18218 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18219 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18220 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18221 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18222 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18223 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18224 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18225 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18226 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18227 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18228 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18229 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18230 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18231 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18232 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18233 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18234 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18235 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18236 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18237 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18238 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18239 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18240 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18241 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18242 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18243 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18244 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18245 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18246 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18247 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18248 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18249 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18250 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18251 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18252 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18253 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18254 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18255 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18256 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18257 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18258 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18259 * sysdeps/riscv/rvf/math_private.h: Likewise.
18260 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18261 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18262 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18263 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18264 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18265 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18266 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18267 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18268 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18269 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18270 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18271 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18272 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18273 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18274 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18275 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18276 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18277 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18278 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18279 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18280 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18281 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18282 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18283 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18284 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18285 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18286 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18287 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18288 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18289 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18290 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18291 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18292 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18293 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18294 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18295 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18296 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18297 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18298 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18299 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18300 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18301 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18302 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18303 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18304 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18305 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18306 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18307 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18308 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18309 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18310 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18311 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18312 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18313 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18314 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18315 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18316 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18317 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18318 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18319 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18320 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18321 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18322 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18323 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18324 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18325 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18326 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18327 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18328 * sysdeps/riscv/Implies: New file.
18329 * sysdeps/riscv/Makefile: Likewise.
18330 * sysdeps/riscv/configure: Likewise.
18331 * sysdeps/riscv/configure.ac: Likewise.
18332 * sysdeps/riscv/nptl/Makefile: Likewise.
18333 * sysdeps/riscv/preconfigure: Likewise.
18334 * sysdeps/riscv/rv64/Implies-after: Likewise.
18335 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18336 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18337 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18338 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18339 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18340 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18341 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18342 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18343 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18344 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18345 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18346 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18347 (Config): Likewise.
18349 2018-01-29 Florian Weimer <fweimer@redhat.com>
18352 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18353 libnsl_hidden_proto.
18354 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18355 libnsl_hidden_proto.
18356 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18357 * nis/Makefile (libnsl-routines): Add nss-default only for
18358 build-obsolete-nsl.
18359 * nis/nis_defaults.c (__nis_default_ttl): Add
18360 libnsl_hidden_nolink_def.
18361 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18363 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18364 * nis/ypclnt.c (yp_maplist): Likewise.
18366 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18368 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18369 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18371 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18373 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18374 clean -dxfq for git updates when replacing sources.
18376 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18377 --disable-libcilkrts unconditionally, not just for the final GCC
18380 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18383 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18386 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18389 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18392 * localedata/locales/be_BY (mon): Rename to...
18393 (alt_mon): This, then synchronize with CLDR (nominative case).
18394 (abmon): Rename to...
18395 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18396 (mon): Import from CLDR (genitive case).
18398 * localedata/locales/be_BY@latin (mon): Rename to...
18400 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18402 * localedata/locales/be_BY@latin (lang_name): Reworded to
18403 "biełaruskaja mova".
18405 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18408 * localedata/locales/el_CY (mon): Renamed to...
18410 (mon): Import from CLDR (genitive case).
18411 * localedata/locales/el_GR: Likewise.
18413 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18416 * localedata/locales/ru_RU (mon): Rename to...
18418 (abmon): Rename to...
18419 (ab_alt_mon): This.
18420 (mon): Import from CLDR (genitive case).
18421 (abmon): Copy from the old content except the 5th month which is
18422 now in the genitive case, even when abbreviated.
18423 * localedata/locales/ru_UA: Likewise.
18424 * time/tst-strptime.c (day_tests): Add an actual example of
18425 a difference between %b and %Ob in Russian.
18427 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18429 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18430 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18432 * resolv/res-close.c: Include <stdlib.h>.
18433 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18434 <sys/wait.h>, <time.h>, <sys/uio.h>.
18435 (NOT_CANCEL_H): Add inclusion guard.
18436 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18437 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18438 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18440 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18441 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18442 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18444 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18445 timer_ptr2id to cast struct timer_node * to void *.
18446 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18447 --disable-libcilkrts to gcc configure.
18448 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18449 and make them the default for now.
18450 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18451 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18452 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18453 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18454 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18456 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18457 __task_terminate would ever return successfully.
18458 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18460 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18461 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18462 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18463 critical section to make code simpler and avoid warning.
18464 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18465 critical section to make code simpler and avoid warning.
18466 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18467 const char * instead of char *.
18468 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18469 __hurd_file_name_split, hurd_file_name_split,
18470 __hurd_directory_name_split, hurd_directory_name_split,
18471 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18472 hurd_file_name_path_lookup): Make lookup function parameter take a
18473 const char *name instead of char *name.
18474 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18475 __hurd_directory_name_split): Likewise.
18476 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18477 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18478 * sysdeps/mach/hurd/check_native.c: New file.
18479 * sysdeps/mach/hurd/check_pf.c: New file.
18480 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18481 (__freeifaddrs): Define macro to freeifaddrs.
18482 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18483 * sysdeps/mach/libmachuser.abilist: New file.
18484 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18485 (do_test_bz20181): Rename accordingly.
18486 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18487 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18489 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18490 version only if __USE_EXTERN_INLINES is defined.
18491 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18492 __hurd_sockfail): Likewise.
18493 (_hurd_fd_get): Always declare functions, and provide inline versions
18494 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18495 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18496 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18497 _hurd_port_set): Always declare functions, and provide inline versions
18498 only if __USE_EXTERN_INLINES and _LIBC are defined and
18500 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18501 _hurd_critical_section_unlock): Likewise.
18502 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18503 * __hurd_threadvar_location): Likewise.
18504 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18505 _hurd_userlink_clear): Likewise.
18506 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18507 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18508 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18509 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18510 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18511 __spin_lock_locked): Likewise.
18512 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18513 __spin_lock_locked): Likewise.
18514 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18515 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18516 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18517 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18518 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18519 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18520 _POSIX_NO_TRUNC): Define to 0.
18521 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18522 check size against PTHREAD_STACK_MIN.
18523 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18524 IS_IN(libpthread)]: Include <sigsetops.h>.
18525 * mach/Makefile (user-interfaces): Add mach/gnumach.
18526 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18527 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18528 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18529 instead of invalid -1.
18530 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18531 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18532 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18535 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18537 * hurd/fcntl-internal.h: New file.
18539 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18541 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18543 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18545 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18548 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18549 Build only shared objects.
18551 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18553 * README: Update for hppa.
18555 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18557 * sysdeps/sparc/fpu/libm-test-ulps: Update
18558 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18560 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18564 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18567 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18568 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18569 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18570 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18573 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18576 * bits/types/__cancel_jmp_buf_tag.h: New file.
18577 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18578 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18579 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18580 * nptl/Makefile (headers): Add
18581 bits/types/__cancel_jmp_buf_tag.h.
18582 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18583 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18584 * sysdeps/nptl/pthread.h: Include
18585 <bits/types/__cancel_jmp_buf_tag.h>.
18586 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18588 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18590 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18593 * localedata/locales/uk_UA (mon): Renamed to...
18595 (alt_digits): "0" removed and then renamed to...
18597 (date_fmt): Definition changed not to use the alternative
18600 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18602 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18603 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18604 * elf/elf.h (EF_RISCV_RVC): New define.
18605 (EF_RISCV_FLOAT_ABI): Likewise.
18606 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18607 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18608 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18609 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18610 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18612 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18614 2018-01-25 Andreas Schwab <schwab@suse.de>
18616 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18618 * sysdeps/gnu/configure: Regenerate.
18619 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18620 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18622 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18623 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18624 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18625 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18626 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18628 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18630 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18631 URL, and run autoconf, make it the default for now.
18633 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18635 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18636 soft-float ColdFire configuration.
18638 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18639 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18640 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18642 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18645 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18647 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18649 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18652 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18653 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18654 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18657 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18660 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18661 Rename to __reserved and add comment.
18662 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18663 Rename to __reserved.
18665 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18667 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18668 i686-gnu configurations.
18669 (Context.run_builds): Include mig, gnumach and hurd in components
18671 (Context.checkout): Add mig, gnumach and hurd to components.
18672 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18674 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18675 (Config.build): Install gnumach headers, build mig and install
18676 hurd headers for 'gnu' OS.
18677 (Config.install_gnumach_headers): New function.
18678 (Config.install_hurd_headers): Likewise.
18679 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18680 when building for 'gnu' OS.
18682 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18684 * manual/tunables.texi (Hardware Capability Tunables): Fix
18687 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18689 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18690 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18691 (ALTMON_11, ALTMON_12): Improve documentation.
18692 * manual/time.texi (strftime): Likewise.
18694 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18697 * localedata/locales/pl_PL: Alternative month names added,
18698 primary month names are genitive now.
18699 * time/tst-strptime.c (day_tests): Actually use a genitive case
18700 of a month name in Polish language.
18702 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18705 * manual/locale.texi: Document ALTMON_1..12 constants for
18706 nl_langinfo. Specify when to use ALTMON instead of MON.
18707 * manual/time.texi (strftime, strptime): Document GNU extension
18708 permitting O modifier with %B and %b. Specify when to use
18711 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18714 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18715 names, define them as the same as abbreviated month names explicitly.
18716 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18717 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18718 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18719 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18720 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18721 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18722 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18723 _NL_WABALTMON_12): New enum constants.
18724 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18725 wab_alt_mon, and ab_alt_mon_defined members.
18726 (time_output): Output ab_alt_mon and wab_alt_mon members.
18727 (time_read): Read them, initialize them as copies of abmon and wabmon
18728 respectively if they are missing, initialize ab_alt_mon_defined.
18729 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18730 * locale/programs/locfile-kw.h: Regenerate.
18731 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18732 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18734 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18735 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18736 (__strftime_internal): Handle %Ob and %Oh formats.
18737 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18738 (__strptime_internal): Handle %Ob and %Oh formats.
18739 * time/tst-strptime.c (day_tests): Add more tests to parse different
18740 forms of month names including the new %Ob format specifier.
18742 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18745 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18746 define them as the same as primary full month names explicitly.
18747 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18748 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18749 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18750 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18751 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18752 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18753 _NL_WALTMON_12): New enum constants.
18754 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18755 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18757 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18758 walt_mon, and alt_mon_defined members.
18759 (time_output): Output alt_mon and walt_mon members.
18760 (time_read): Read them, initialize them as copies of mon and wmon
18761 respectively if they are missing, initialize alt_mon_defined.
18762 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18763 * locale/programs/locfile-kw.h: Regenerate.
18764 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18765 * localedata/tst-langinfo.c (map): Add tests for the new constants
18766 ALTMON_1 .. ALTMON_12.
18767 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18769 * time/strftime_l.c (f_altmonth): New macro.
18770 (__strftime_internal): Handle %OB format.
18771 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18772 (__strptime_internal): Handle %OB format.
18773 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18774 of month names including the new %OB format specifier.
18776 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18779 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18780 from ABORT_TRANSACTION.
18781 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18782 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18783 ABORT_TRANSACTION_IMPL): Likewise.
18784 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18785 Linux code, but remove the code that aborts transactions.
18787 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18789 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18791 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18793 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18794 in date: "2004-14-09" should be "2004-09-14".
18795 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18796 "2003-15-09" should be "2003-09-15".
18798 2018-01-18 Arjun Shankar <arjun@redhat.com>
18804 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18806 (_int_memalign): check for integer overflow before calling
18808 * malloc/tst-malloc-too-large.c: New test.
18809 * malloc/Makefile: Add tst-malloc-too-large.
18811 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18813 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18814 in date: "2017-24-07" should be "2017-07-24".
18815 * localedata/locales/mai_IN: Likewise.
18816 * localedata/locales/mai_NP: Likewise.
18818 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18820 * po/ru.po: Update translations.
18822 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18825 * sysdeps/hppa/backtrace.c: New file.
18827 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18830 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18831 align La_x86_64_retval to VEC_SIZE.
18833 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18835 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18836 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18838 2018-01-16 Florian Weimer <fweimer@redhat.com>
18840 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18841 Move tst-thread-exit-clobber ...
18842 [$(CXX)] (tests-unsupported): ... to here.
18844 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18846 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18847 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18848 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18849 (_dl_aarch64_cap_flags): Update.
18850 (_DL_HWCAP_COUNT): Update.
18852 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18854 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18855 (_DL_HWCAP_LAST): Remove.
18856 (_DL_HWCAP_COUNT): Move to ...
18857 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18858 (_DL_HWCAP_COUNT): ... here.
18860 2018-01-16 Florian Weimer <fweimer@redhat.com>
18862 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18863 mode with GNU extensions.
18865 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18867 * elf/elf.h (NT_ARM_SVE): Define.
18869 2018-01-15 Florian Weimer <fweimer@redhat.com>
18872 * nptl/tst-minstack-throw.cc: New file.
18873 * nptl/Makefile (tests): Add tst-minstack-throw.
18874 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18875 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18877 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18879 * scripts/build-many-glibcs.py (Context.checkout): Default
18880 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18883 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18886 * elf/elf.h (DF_1_STUB): Define.
18887 (DF_1_PIE): Define.
18889 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18892 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18893 Do not add 0.5 to integer or out-of-range arguments.
18895 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18897 * po/bg.po: Update translations.
18898 * po/cs.po: Likewise.
18899 * po/de.po: Likewise.
18900 * po/ko.po: Likewise.
18901 * po/pl.po: Likewise.
18902 * po/sv.po: Likewise.
18903 * po/uk.po: Likewise.
18904 * po/vi.po: Likewise.
18906 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18908 * aarch64/start.S (_start): Use __wrap_main.
18909 (__wrap_main): New local symbol.
18911 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18915 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18916 generic_getcwd if the path returned by getcwd syscall is not absolute.
18917 * io/tst-getcwd-abspath.c: New test.
18918 * io/Makefile (tests): Add tst-getcwd-abspath.
18920 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18922 * malloc/malloc.c (malloc_consolidate): Add size check.
18924 2018-01-12 Florian Weimer <fweimer@redhat.com>
18926 * support/write_message.c (write_message): Preserve errno.
18927 * support/check.c (print_failure): Likewise.
18928 * support/support_test_verify_impl.c (support_test_verify_impl):
18930 * support/support_test_compare_failure.c
18931 (support_test_compare_failure): Likewise.
18933 2018-01-12 Florian Weimer <fweimer@redhat.com>
18936 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18937 Prevent installation of libnsl.so.
18938 (libnsl-inhibit-o): Do not build (or install) static libraries.
18940 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18943 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18944 before the day number which may produce a double space.
18945 (date_fmt): Likewise.
18947 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18949 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18950 instead of fegetenv.
18952 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18955 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18956 comment to say exceptions are discarded.
18957 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18959 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18962 2018-01-11 Florian Weimer <fweimer@redhat.com>
18964 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18967 2018-01-11 Florian Weimer <fweimer@redhat.com>
18970 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18971 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18973 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18976 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18977 negative arguments in test for NaN or infinity argument.
18979 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18981 * po/libc.pot: Regenerate.
18983 2018-01-10 Florian Weimer <fweimer@redhat.com>
18986 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18987 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18989 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18991 * hurd/hurd/fd.h: Include <fcntl.h>
18992 (__hurd_at_flags): New function.
18993 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18994 with call to __hurd_at_flags.
18995 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18996 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18998 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18999 (__access_noerrno): Use __faccessat_common instead of access_common.
19000 (__access): Likewise.
19001 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19002 with a call to __faccessat.
19003 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19004 (__faccessat_common): ... this. Move implementation of __access into it when
19005 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19006 reauthenticate_cwdir_at helper to implement AT mechanism.
19007 (__faccessat_noerrno): New function, just calls __faccessat_common.
19008 (__faccessat): New function, just calls __faccessat_common.
19009 (faccessat): Define weak alias.
19011 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19014 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19015 (CFLAGS-s_fmaxmagl.c): New variable.
19016 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19020 long int for arguments of possibly overflowing addition or
19022 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19024 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19027 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19028 (CFLAGS-e_remainderl.c): New variable.
19031 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19033 (CFLAGS-s_cacoshl.c): Likewise.
19034 (CFLAGS-s_casinhl.c): Likewise.
19035 (CFLAGS-s_catanl.c): Likewise.
19036 (CFLAGS-s_catanhl.c): Likewise.
19037 (CFLAGS-s_cexpl.c): Likewise.
19038 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19039 (CFLAGS-s_csinhl.c): Likewise.
19040 (CFLAGS-s_clogl.c): Likewise.
19041 (CFLAGS-s_clog10l.c): Likewise.
19042 (CFLAGS-s_csinl.c): Likewise.
19043 (CFLAGS-s_csqrtl.c): Likewise.
19045 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19046 2017-01-09 Svante Signell <svante.signell@gmail.com>
19048 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19049 (_hurd_exec_paths): New function.
19050 * hurd/hurd.h (_hurd_exec): Deprecate function.
19051 (_hurd_exec_paths): Declare function.
19052 * hurd/Versions: Export _hurd_exec_paths.
19053 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19054 (__execve): Use __getcwd to build absolute path, and use
19055 _hurd_exec_paths instead of _hurd_exec.
19056 * sysdeps/mach/hurd/spawni.c: Likewise.
19057 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19060 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19062 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19063 test instead of failing in case of ENOENT returned by posix_openpt.
19065 2018-01-08 Florian Weimer <fweimer@redhat.com>
19067 resolv: Support binary labels in test framework.
19068 * support/resolv_test.c (struct to_be_freed): Remove.
19069 (struct compressed_name): New.
19070 (allocate_compressed_name, ascii_tolower)
19071 (compare_compressed_name): New functions.
19072 (struct resolv_response_builder): Update type of
19073 compression_offsets for use with tsearch. Rempve to_be_freed.
19074 (response_push_pointer_to_free): Remove function.
19075 (resolv_response_add_name): Rewrite using struct compressed_name
19076 and tsearch instead of hsearch_r.
19077 (response_builder_allocate): Remove initialization of
19078 compression_offsets.
19079 (response_builder_free): Update for removal of to_be_freed. Use
19080 tdestroy instead of hdestroy_r.
19081 * resolv/Makefile (tests): Add tst-resolv-binary.
19082 (tst-resolv-binary): Link with -lresolv -lpthread.
19084 2018-01-08 Florian Weimer <fweimer@redhat.com>
19086 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19087 time. Pass positive flag instead of negative flag to
19088 support_test_compare_failure.
19089 (support_test_compare_failure): Change negative parameter to
19091 * support/support_test_compare_failure.c (report)
19092 (support_test_compare_failure): Likewise.
19093 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19094 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19096 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19099 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19100 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19101 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19103 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19105 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19107 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19108 Add s_sincosf-sse2 and s_sincosf-fma.
19109 (CFLAGS-s_sincosf-fma.c): New.
19110 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19111 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19112 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19113 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19114 __sincosf is defined.
19116 2018-01-08 Florian Weimer <fweimer@redhat.com>
19118 * nptl/tst-thread-exit-clobber.cc: New file.
19119 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19121 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19122 (tests): Add tst-thread-exit-clobber.
19123 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19125 2018-01-08 Florian Weimer <fweimer@redhat.com>
19127 * support/check.h (support_static_assert): Define.
19128 (TEST_COMPARE): Use it.
19130 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19132 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19133 [!__RLIM_T_MATCHES_RLIM64_T]
19134 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19135 __getrlimit64. Add libc_hidden_weak.
19137 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19139 * elf/elf.h (R_RISCV_NONE): New define.
19140 (R_RISCV_32): Likewise.
19141 (R_RISCV_64): Likewise.
19142 (R_RISCV_RELATIVE): Likewise.
19143 (R_RISCV_COPY): Likewise.
19144 (R_RISCV_JUMP_SLOT): Likewise.
19145 (R_RISCV_TLS_DTPMOD32): Likewise.
19146 (R_RISCV_TLS_DTPMOD64): Likewise.
19147 (R_RISCV_TLS_DTPREL32): Likewise.
19148 (R_RISCV_TLS_DTPREL64): Likewise.
19149 (R_RISCV_TLS_TPREL32): Likewise.
19150 (R_RISCV_TLS_TPREL64): Likewise.
19151 * Makerules (make-link-multidir): Make directories before linking into
19153 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19155 (VDSO_HASH_LINUX_4_15): Likewise.
19156 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19157 in subdirectories of lib.
19158 * nptl/Makefile (/librt.so): Always depend on
19159 "$(shared-thread-library)".
19161 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19163 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19164 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19165 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19167 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19168 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19170 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19171 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19172 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19173 * sysdeps/gnu/glob-lstat-compat.c: New file.
19174 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19175 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19177 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19179 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19180 Reserve 16 chars to reloc_addr before calling _itoa_word.
19182 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19185 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19186 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19188 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19189 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19191 * resource/tst-getrlimit.c: Add copyright header.
19193 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19194 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19196 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19197 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19198 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19199 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19201 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19202 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19203 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19204 RLIM64_INFINITY): Fix values to match the kernel ones.
19205 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19206 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19207 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19208 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19209 getrlimit64@@GLIBC_2_27.
19210 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19212 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19213 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19214 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19215 setrlimit, getrlimit64 and setrlimit64.
19217 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19220 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19221 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19223 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19225 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19226 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19227 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19229 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19233 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19234 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19238 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19239 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19240 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19241 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19243 2018-01-04 Florian Weimer <fweimer@redhat.com>
19246 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19247 Align the stack before calling exit.
19248 * stdlib/tst-makecontext-align.c: New file.
19249 * stdlib/Makefile (tests): Add tst-makecontext-align.
19251 2018-01-04 Florian Weimer <fweimer@redhat.com>
19253 Add support for calling dlvsym from libc.so.
19254 * include/dlfcn.h (__libc_dlvsym): Declare.
19255 * elf/Makefile (tests-static-internal): Add
19256 tst-libc_dlvsym-static.
19257 (tests-internal): Add tst-libc_dlvsym.
19258 (modules-names): Add tst-libc_dlvsym-dso.
19259 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19260 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19261 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19262 object tst-libc_dlvsym-dso.so needs to be built before running
19264 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19265 * elf/Versions: Export __libc_dlvsym.
19266 * elf/dl-libc.c (struct do_dlvsym_args): New.
19267 (do_dlvsym, __libc_dlvsym): New functions.
19268 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19269 (_dl_open_hook2): New variable.
19270 (__libc_register_dl_open_hook): Set it.
19271 * elf/tst-libc_dlvsym-dso.c: New file.
19272 * elf/tst-libc_dlvsym-static.c: Likewise.
19273 * elf/tst-libc_dlvsym.c: Likewise.
19274 * elf/tst-libc_dlvsym.h: Likewise.
19276 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19278 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19279 include <sys/mount.h>.
19281 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19283 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19284 Add __NO_MATH_ERRNO__ check.
19286 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19288 * sysdeps/mips/mips32/libm-test-ulps: Update.
19289 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19291 2018-01-02 Florian Weimer <fweimer@redhat.com>
19293 * misc/tst-pselect.c: Add copyright header.
19295 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19297 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19299 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19301 (settrlimit): Rename into setrlimit.
19302 (__sttrlimit): Rename into __setrlimit.
19304 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19305 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19306 never defined in that case.
19308 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19310 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19312 * sysdeps/arm/libm-test-ulps: Update.
19314 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19315 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19317 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19319 * NEWS: Add cosf and sincosf to list of optimized functions.
19321 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19324 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19325 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19326 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19327 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19329 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19332 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19334 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19335 making a copy of it.
19337 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19339 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19340 trailing whitespace removed.
19341 * scripts/config.guess: Update to version 2018-01-01.
19342 * scripts/config.sub: Update to version 2018-01-01.
19343 * scripts/move-if-change: Update from gnulib.
19345 * NEWS: Update copyright dates.
19346 * catgets/gencat.c (print_version): Likewise.
19347 * csu/version.c (banner): Likewise.
19348 * debug/catchsegv.sh: Likewise.
19349 * debug/pcprofiledump.c (print_version): Likewise.
19350 * debug/xtrace.sh (do_version): Likewise.
19351 * elf/ldconfig.c (print_version): Likewise.
19352 * elf/ldd.bash.in: Likewise.
19353 * elf/pldd.c (print_version): Likewise.
19354 * elf/sotruss.sh: Likewise.
19355 * elf/sprof.c (print_version): Likewise.
19356 * iconv/iconv_prog.c (print_version): Likewise.
19357 * iconv/iconvconfig.c (print_version): Likewise.
19358 * locale/programs/locale.c (print_version): Likewise.
19359 * locale/programs/localedef.c (print_version): Likewise.
19360 * login/programs/pt_chown.c (print_version): Likewise.
19361 * malloc/memusage.sh (do_version): Likewise.
19362 * malloc/memusagestat.c (print_version): Likewise.
19363 * malloc/mtrace.pl: Likewise.
19364 * manual/libc.texinfo: Likewise.
19365 * nptl/version.c (banner): Likewise.
19366 * nscd/nscd.c (print_version): Likewise.
19367 * nss/getent.c (print_version): Likewise.
19368 * nss/makedb.c (print_version): Likewise.
19369 * posix/getconf.c (main): Likewise.
19370 * scripts/test-installation.pl: Likewise.
19371 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19373 * All files with FSF copyright notices: Update copyright dates
19374 using scripts/update-copyrights.
19375 * locale/programs/charmap-kw.h: Regenerated.
19376 * locale/programs/locfile-kw.h: Likewise.
19378 2017-12-31 Zack Weinberg <zackw@panix.com>
19380 * libio/bits/libio-ldbl.h: Correct check for improper
19381 inclusion. Add own multiple include guard.
19383 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19384 Dmitry V. Levin <ldv@altlinux.org>
19388 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19389 string token expansion. Check for NULL pointer or empty string possibly
19390 returned by expand_dynamic_string_token.
19391 (decompose_rpath): Check for empty path after dynamic string
19394 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19397 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19399 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19400 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19401 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19402 and PTRACE_SYSCALL.
19403 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19404 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19405 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19406 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19407 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19408 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19410 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19411 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19412 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19413 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19415 bits/ptrace-shared.h.
19416 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19417 <bits/ptrace-shared.h>.
19418 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19419 __ptrace_peeksiginfo_flags, ptrace): Remove.
19420 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19421 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19422 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19423 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19424 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19426 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19429 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19430 end of the loop. Improve comments.
19432 2017-12-29 Zack Weinberg <zackw@panix.com>
19435 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19436 might be set on success.
19438 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19441 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19442 is unchanged on success.
19444 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19446 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19448 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19449 expand_dynamic_string_token): Likewise.
19450 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19453 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19456 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19457 is set and name contains ':', and all code depending on these checks.
19459 2017-12-24 Zack Weinberg <zackw@panix.com>
19461 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19462 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19464 * libio/libio.h: Rename the original version of this file to
19465 libio/bits/libio.h. Error out if not included by stdio.h or the
19467 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19468 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19469 if not included by bits/libio.h or the stub _G_config.h.
19470 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19471 sysdeps/unix/sysv/linux/bits. Error out if not included by
19472 bits/libio.h or the stub _G_config.h.
19473 * libio/stdio.h: Include bits/libio.h, not libio.h.
19474 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19475 well as libio.h and _G_config.h.
19477 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19478 * libio/strfile.h, stdio-common/vfscanf.c
19479 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19480 Include stdio.h, not _G_config.h nor libio.h.
19481 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19482 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19484 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19486 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19489 * stdlib/getrandom.c (getrandom): Fix comment.
19490 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19492 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19495 * manual/arith.texi (strtoul): Fix a typo.
19498 * manual/arith.texi (finite): Fix the description of the return
19501 2017-12-22 Eric Blake <ebb9@byu.net>
19503 Avoid gcc warnings on cygwin
19504 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19505 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19506 Avoid unused variable.
19508 2017-12-22 Florian Weimer <fweimer@redhat.com>
19510 * io/Makefile (routines): Add copy_file_range.
19511 (tests): Add tst-copy_file_range.
19512 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19513 * io/Versions (GLIBC_2.27): Export copy_file_range.
19514 * io/copy_file_range-compat.c: New file.
19515 * io/copy_file_range.c: Likewise.
19516 * io/tst-copy_file_range-compat.c: Likewise.
19517 * io/tst-copy_file_range.c: Likewise.
19518 * manual/llio.texi (Copying File Data): New section.
19519 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19520 * support/Makefile (libsupport-routines): Add support-xfstat,
19521 xftruncate, xlseek.
19522 * support/support-xfstat.c: New file.
19523 * support/xftruncate.c: Likewise.
19524 * support/xlseek.c: Likewise.
19525 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19526 * sysdeps/unix/sysv/linux/**.abilist: Update.
19527 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19529 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19531 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19532 disable-multi-arch variant to aarch64-linux-gnu.
19534 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19536 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19537 trailing whitespace removed.
19538 * scripts/config.guess: Update to version 2017-12-17.
19539 * scripts/config.sub: Update to version 2017-11-23.
19540 * scripts/install-sh: Update to version 2017-09-23.17.
19541 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19543 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19545 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19546 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19547 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19548 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19549 * sysdeps/tile/crtn.S: Likewise.
19550 * sysdeps/tile/dl-start.S (_start): Likewise.
19551 * sysdeps/tile/dl-trampoline.S: Likewise.
19552 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19553 * sysdeps/tile/start.S (_start): Likewise.
19554 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19555 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19556 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19557 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19558 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19559 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19560 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19562 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19564 * sysdeps/tile/preconfigure: Remove tilegx folder.
19565 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19566 * sysdeps/tile/Implies: ... here.
19567 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19568 * sysdeps/tile/Makefile: ... here.
19569 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19570 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19571 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19572 * sysdeps/tile/bits/wordsize.h: ... here.
19573 * sysdeps/tile/tilegx/*: Move to ...
19574 * sysdeps/tile/*: ... here.
19575 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19576 * sysdeps/tile/tilegx32/Implies: ... here.
19577 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19578 * sysdeps/tile/tilegx64/Implies: ... here.
19579 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19581 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19582 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19583 * sysdeps/unix/sysv/linux/tile/*: ... here.
19584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19585 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19587 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19589 * README: Remove tilepro-*-linux-gnu from supported architecture.
19590 * scripts/build-many-glibcs.py: Likewise.
19591 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19592 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19593 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19594 elf_machine_matches_host, elf_machine_dynamic,
19595 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19596 howto, elf_machine_rela): Likewise.
19597 * sysdeps/tile/dl-start.S (_start): Likewise.
19598 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19599 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19600 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19601 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19602 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19603 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19605 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19606 * sysdeps/tile/preconfigure: Likewise.
19607 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19608 POINTER_CHK_GUARD): Likewise.
19609 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19610 * sysdeps/tile/start.S (_start): Likewise.
19611 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19613 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19614 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19616 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19617 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19618 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19620 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19621 * sysdeps/tile/tilepro/Implies: Remove file.
19622 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19623 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19624 * sysdeps/tile/tilepro/memchr.c: Likewise.
19625 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19626 * sysdeps/tile/tilepro/memset.c: Likewise.
19627 * sysdeps/tile/tilepro/memusage.h: Likewise.
19628 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19629 * sysdeps/tile/tilepro/strchr.c: Likewise.
19630 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19631 * sysdeps/tile/tilepro/strlen.c: Likewise.
19632 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19633 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19634 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19635 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19636 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19637 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19638 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19640 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19641 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19642 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19643 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19644 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19645 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19646 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19647 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19648 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19649 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19650 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19651 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19652 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19653 tilepro mention in comment.
19655 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19656 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19657 * nptl/pthread_join_common.c: New file: common function used on
19658 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19659 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19660 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19661 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19662 (cleanup): Move definition to pthread_join_common.c.
19663 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19664 Remove superflous checks.
19665 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19668 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19670 * sysdeps/aarch64/libm-test-ulps: Update.
19672 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19674 * sysdeps/aarch64/memset.S (MEMSET): Define.
19676 2017-12-20 Florian Weimer <fweimer@redhat.com>
19679 nptl: Provide full implementation of pthread_self in libc.so.
19680 * nptl/Makefile (routines): Add pthread_self.
19681 (libpthread-routines): Replace pthread_self with
19682 compat-pthread_self.
19683 * nptl/forward.c (pthread_self): Remove.
19684 * nptl/nptl-init.c (pthread_functions): Do not initialize
19686 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19687 * nptl/compat-pthread_self.c: New file.
19688 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19689 Remove ptr_pthread_self.
19691 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19693 * posix/regcomp.c: Fix spelling in comments.
19694 * posix/regex.h: Likewise.
19695 * posix/regex_internal.c: Likewise.
19696 * posix/regexec.c: Likewise.
19698 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19701 * math/Makefile [C++] (tests): Add test for iseqsig.
19702 * math/math.h [C++] (iseqsig): New implementation, which does
19703 not rely on __MATH_TG/__builtin_types_compatible_p.
19704 * math/test-math-iseqsig.cc: New file.
19705 * sysdeps/powerpc/powerpc64le/Makefile
19706 (CFLAGS-test-math-iseqsig.cc): New variable.
19708 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19710 * elf/dl-load.c (is_trusted_path): Remove.
19711 (fillin_rpath): Remove check_trusted argument and its use,
19712 all callers changed.
19714 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19717 * Makeconfig (link-pie-before-libc): Replace -pie with
19718 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19719 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19720 (tst-dlopen-aout-no-pie): New.
19721 (LDFLAGS-tst-prelink): Removed.
19722 (tst-prelink-no-pie): New.
19723 (LDFLAGS-tst-main1): Removed.
19724 (tst-main1-no-pie): New.
19725 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19726 (tst-gmon-no-pie): New.
19728 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19730 * manual/install.texi: Document that --enable-static-pie
19732 * INSTALL: Regenerated.
19734 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19737 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19740 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19744 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19748 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19750 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19751 <errno.h>. Include "eexp.tbl".
19752 (half): New constant.
19754 (__ieee754_exp): Rewrite.
19755 (__slowexp): Remove prototype.
19756 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19757 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19758 * sysdeps/i386/fpu/slowexp.c: Likewise.
19759 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19760 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19761 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19762 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19763 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19764 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19765 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19767 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19768 (CPPFLAGS-slowexp.c): Remove variable.
19769 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19770 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19771 (CFLAGS-slowexp-fma.c): Remove variable.
19772 (CFLAGS-slowexp-fma4.c): Likewise.
19773 (CFLAGS-slowexp-avx.c): Likewise.
19774 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19776 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19777 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19778 * math/Makefile (type-double-routines): Remove slowexp.
19779 * manual/probes.texi (slowexp_p6): Remove.
19780 (slowexp_p32): Likewise.
19782 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19784 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19787 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19789 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19793 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19795 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19796 <errno.h>. Include "eexp.tbl".
19797 (half): New constant.
19799 (__ieee754_exp): Rewrite.
19800 (__slowexp): Remove prototype.
19801 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19802 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19803 * sysdeps/i386/fpu/slowexp.c: Likewise.
19804 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19805 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19806 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19807 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19808 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19809 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19810 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19812 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19813 (CPPFLAGS-slowexp.c): Remove variable.
19814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19815 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19816 (CFLAGS-slowexp-fma.c): Remove variable.
19817 (CFLAGS-slowexp-fma4.c): Likewise.
19818 (CFLAGS-slowexp-avx.c): Likewise.
19819 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19821 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19822 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19823 * math/Makefile (type-double-routines): Remove slowexp.
19824 * manual/probes.texi (slowexp_p6): Remove.
19825 (slowexp_p32): Likewise.
19827 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19828 James Clarke <jrtc27@jrtc27.com>
19831 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19834 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19837 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19840 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19843 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19844 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19845 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19846 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19849 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19852 * bits/types/__cancel_jmp_buf_tag.h: New file.
19853 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19854 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19855 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19856 * nptl/Makefile (headers): Add
19857 bits/types/__cancel_jmp_buf_tag.h.
19858 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19859 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19860 * sysdeps/nptl/pthread.h: Include
19861 <bits/types/__cancel_jmp_buf_tag.h>.
19862 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19864 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19866 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19868 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19869 --enable-static-pie variants to x86_64, x32 and i686.
19871 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19874 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19875 argument for attrubutes. All callers changed.
19876 (__inline_mathop1): Likewise. All callers changed.
19877 (__inline_mathop): Likewise. All callers changed.
19878 [__USE_MISC] (scalbn): Use __inline_forward instead of
19879 __inline_forward_c.
19880 [__USE_ISOC99] (scalbln): Likewise.
19881 [__USE_ISOC99] (nearbyint): Likewise.
19882 [__USE_ISOC99] (lrint): Likewise.
19883 [__USE_MISC] (scalbnf): Likewise.
19884 [__USE_ISOC99] (scalblnf): Likewise.
19885 [__USE_ISOC99] (nearbyintf): Likewise.
19886 [__USE_ISOC99] (lrintf): Likewise.
19887 [__USE_MISC] (scalbnl): Likewise.
19888 [__USE_ISOC99] (scalblnl): Likewise.
19889 [__USE_ISOC99] (nearbyintl): Likewise.
19890 [__USE_ISOC99] (lrintl): Likewise.
19891 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19892 __inline_mathop and __m81_defun changed.
19894 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19895 CPU or FPU for ARM hard-float configurations.
19897 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19899 * nptl/tst-attr3.c: Include <libc-diag.h>.
19900 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19902 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19904 * string/tester.c (test_strncat): Also disable -Warray-bounds
19905 warnings for two tests.
19907 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19910 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19911 $(cc-pie-default) == yes.
19912 * config.make.in (cc-pie-default): New.
19913 * configure.ac (libc_cv_pie_default): Renamed to ...
19914 (libc_cv_cc_pie_default): This.
19915 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19916 * configure: Regenerated.
19918 2017-12-18 Florian Weimer <fweimer@redhat.com>
19921 ld.so: Harden dl-libc/libdl hooks.
19922 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19923 (rtld_active): New function.
19924 * dlfcn/dladdr.c (__dladdr): Call it.
19925 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19926 * dlfcn/dlclose.c (__dlcose): Likewise.
19927 * dlfcn/dlerror.c (__dlerror): Likewise.
19928 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19929 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19930 * dlfcn/dlopen.c (__dlopen): Likewise.
19931 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19932 * dlfcn/dlsym.c (__dlsym): Likewise.
19933 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19934 * libio/vtables.c (_IO_vtable_check): Likewise.
19935 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19936 (__libc_dlclose): Likewise.
19937 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19940 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19943 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19944 buffers for readlink input and output.
19946 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19949 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19950 inhibit_stack_protector.
19953 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19954 inhibit_stack_protector.
19956 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19959 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19960 code and invocation.
19962 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19964 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19966 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19969 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19971 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19973 * sysdeps/s390/fpu/libm-test-ulps: Update.
19975 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19979 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19981 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19982 constants to s_sincosf.h file.
19983 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19984 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19986 * sysdeps/ieee754/flt-32/s_sincosf.h:
19989 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19992 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19995 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19998 * INSTALL: Regenerated.
19999 * Makeconfig (real-static-start-installed-name): New.
20000 (pic-default): Updated for --enable-static-pie.
20001 (pie-default): New for --enable-static-pie.
20002 (default-pie-ldflag): Likewise.
20003 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20004 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20005 Replace $(static-start-installed-name) with
20006 $(real-static-start-installed-name).
20007 (+prectorT): Updated for --enable-static-pie.
20008 (+postctorT): Likewise.
20009 (CFLAGS-.o): Add $(pie-default).
20010 (CFLAGS-.op): Likewise.
20011 * NEWS: Mention --enable-static-pie.
20012 * config.h.in (ENABLE_STATIC_PIE): New.
20013 * configure.ac (--enable-static-pie): New configure option.
20014 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20015 (have-static-pie): Likewise.
20016 Enable static PIE if linker supports --no-dynamic-linker.
20017 (ENABLE_STATIC_PIE): New AC_DEFINE.
20018 (enable-static-pie): New LIBC_CONFIG_VAR.
20019 * configure: Regenerated.
20020 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20021 gr$(start-installed-name) for --enable-static-pie.
20022 (extra-objs): Likewise.
20023 (install-lib): Likewise.
20024 (extra-objs): Add static-reloc.o and static-reloc.os
20025 ($(objpfx)$(start-installed-name)): Also depend on
20026 $(objpfx)static-reloc.o.
20027 ($(objpfx)r$(start-installed-name)): New.
20028 ($(objpfx)g$(start-installed-name)): Also depend on
20029 $(objpfx)static-reloc.os.
20030 ($(objpfx)gr$(start-installed-name)): New.
20031 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20033 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20035 * csu/static-reloc.c: New file.
20036 * elf/Makefile (routines): Add dl-reloc-static-pie.
20037 (elide-routines.os): Likewise.
20038 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20039 (tst-tls1-static-non-pie-no-pie): New.
20040 * elf/dl-reloc-static-pie.c: New file.
20041 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20042 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20043 STATIC_PIE_BOOTSTRAP.
20044 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20045 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20046 (tests-static): Likewise.
20047 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20048 (tst-gmon-static-no-pie): New.
20049 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20050 (CRT-tst-gmon-static-pie): Likewise.
20051 (tst-gmon-static-pie-ENV): Likewise.
20052 (tests-special): Likewise.
20053 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20054 (clean-tst-gmon-static-pie-data): Likewise.
20055 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20056 * gmon/tst-gmon-static-pie.c: New file.
20057 * manual/install.texi: Document --enable-static-pie.
20058 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20059 (_dl_get_dl_main_map): Likewise.
20060 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20061 * sysdeps/x86_64/configure.ac: Likewise.
20062 * sysdeps/i386/configure: Regenerated.
20063 * sysdeps/x86_64/configure: Likewise.
20064 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20065 (ASFLAGS-.op): Likewise.
20067 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20069 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20070 * posix/tst-mmap-offset.c (fname): Use /tmp.
20071 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20073 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20075 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20077 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20079 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20082 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20084 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20085 --with-float=hard for arm-linux-gnueabihf configurations.
20088 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20089 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20090 ($(mo-installed)): Use $(objpfx)%.mo.
20091 (realclean): Remove rule.
20093 * po/Makefile (linguas): Remove rule and dependencies.
20094 (linguas.mo): Likewise.
20095 (.PHONY): Do not depend on linguas and linguas.mo.
20096 (podir): Remove variable.
20097 (pofiles): Likewise.
20098 [$(pofiles)] (%.po): Remove rule.
20100 * sysdeps/sparc/sparc32/Makefile
20101 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20102 start-of-line whitespace in argument of echo.
20103 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20104 with whitespace. Generate __wrap_.udiv alias.
20105 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20106 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20107 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20108 * sysdeps/sparc/sparc32/urem.S: Likewise.
20110 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20112 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20113 for aligned inputs.
20115 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20117 * benchtests/bench-strcmp.c: Print output in JSON format.
20119 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20121 2017-12-14 Florian Weimer <fweimer@redhat.com>
20125 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20126 the expanded path string.
20128 2017-12-14 Florian Weimer <fweimer@redhat.com>
20132 * elf/dl-load.c (system_dirs): Update comment.
20133 (nsystem_dirs_len): Use array_length.
20134 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20136 2017-12-14 Florian Weimer <fweimer@redhat.com>
20138 Simplify compiling most of support/ outside of glibc.
20139 * support/check_addrinfo.c: Include <string.h>.
20140 * support/check_dns_packet.c: Likewise.
20141 * support/check_hostent.c: Likewise.
20142 * support/support_can_chroot.c: Include <support/xunistd.h>.
20143 * support/support_format_addrinfo.c: Include <stdlib.h>
20144 * support/support_format_dns_packet.c: Include <stdbool.h>.
20145 * support/support_format_hostent.c: Include <stdlib.h>.
20146 * support/support_format_netent.c: Likewise.
20147 * support/support_write_string.c: Include <support/xunistd.h>.
20148 * support/xdlfcn.c: Include <stddef.h>.
20150 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20152 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20154 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20155 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20157 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20158 (sysdeps_routines): Add memset-niagara7.
20159 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20161 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20163 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20164 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20165 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20166 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20167 Add niagara7 option.
20168 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20171 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20172 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20173 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20175 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20178 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20179 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20180 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20181 and __memmove_niagara7.
20182 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20183 Add niagara7 option.
20184 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20185 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20186 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20187 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20188 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20190 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20192 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20193 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20194 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20195 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20197 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20198 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20199 _dl_sparc_cap_flags array.
20200 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20202 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20204 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20205 time whenever possible.
20207 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20209 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20210 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20212 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20214 * soft-fp/fmadf4.c: Move to ....
20215 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20216 * soft-fp/fmasf4.c: Move to ....
20217 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20218 * soft-fp/fmatf4.c: Move to ....
20219 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20220 * sysdeps/ieee754/soft-fp/Makefile: New file.
20221 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20222 * sysdeps/arm/preconfigure: Regenerated.
20223 * sysdeps/arm/nofpu/Implies: New file.
20224 * sysdeps/arm/s_fma.c: Remove file.
20225 * sysdeps/arm/s_fmaf.c: Likewise.
20226 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20227 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20228 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20229 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20230 * sysdeps/microblaze/s_fma.c: Remove file.
20231 * sysdeps/microblaze/s_fmaf.c: Likewise.
20232 * sysdeps/mips/mips32/nofpu/Implies: New file.
20233 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20234 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20235 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20236 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20237 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20238 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20239 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20241 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20242 * sysdeps/nios2/s_fma.c: Remove file.
20243 * sysdeps/nios2/s_fmaf.c: Likewise.
20244 * sysdeps/sh/nofpu/Implies: New file.
20245 * sysdeps/sh/s_fma.c: Remove file.
20246 * sysdeps/sh/s_fmaf.c: Likewise.
20247 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20248 * sysdeps/tile/s_fma.c: Remove file.
20249 * sysdeps/tile/s_fmaf.c: Likewise.
20251 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20253 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20254 Add s_cosf-sse2 and s_cosf-fma.
20255 (CFLAGS-s_cosf-fma.c): New.
20256 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20257 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20258 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20260 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20262 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20264 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20266 * libio/Makefile (tests): Add tst-bz22415.
20267 (tst-bz22415-ENV): New rule.
20268 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20269 (tests-special): Add tst-bz22415-mem.out.
20270 ($(objpfx)tst-bz22415-mem.out): New rule.
20271 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20272 in case of a successful seek operation.
20273 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20274 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20275 buffer is required.
20276 * libio/tst-bz22415.c: New test.
20278 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20280 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20282 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20283 __IPC_64 to 0 to avoid IPC_64 being set.
20285 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20288 * math/bits/mathcalls.h (nextafter): Remove const.
20289 (nexttoward): Likewise.
20291 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20293 * configure.ac (--with-fp): Remove configure option.
20294 (with_fp_cond): New variable.
20295 (libc_cv_with_fp): New configure test. Use this variable instead
20297 * configure: Regenerated.
20298 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20299 * manual/install.texi (Configuring and compiling): Remove
20301 * INSTALL: Regenerated.
20302 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20303 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20304 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20305 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20306 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20307 use --without-fp to configure glibc.
20309 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20311 * manual/locale.texi (nl_langinfo): Fix a typo.
20313 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20316 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20318 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20320 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20321 (CFLAGS-argp-parse.c): Likewise.
20322 (CFLAGS-argp-fmtstream.c): Likewise.
20323 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20324 (CPPFLAGS-sha512-crypt.c): Likewise.
20325 (CPPFLAGS-md5-crypt.c): Likewise.
20326 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20327 (CFLAGS-stack_chk_fail_local.c): Likewise.
20328 (CFLAGS-backtrace.c): Likewise.
20329 (CFLAGS-sprintf_chk.c): Likewise.
20330 (CFLAGS-snprintf_chk.c): Likewise.
20331 (CFLAGS-vsprintf_chk.c): Likewise.
20332 (CFLAGS-vsnprintf_chk.c): Likewise.
20333 (CFLAGS-asprintf_chk.c): Likewise.
20334 (CFLAGS-vasprintf_chk.c): Likewise.
20335 (CFLAGS-obprintf_chk.c): Likewise.
20336 (CFLAGS-dprintf_chk.c): Likewise.
20337 (CFLAGS-vdprintf_chk.c): Likewise.
20338 (CFLAGS-printf_chk.c): Likewise.
20339 (CFLAGS-fprintf_chk.c): Likewise.
20340 (CFLAGS-vprintf_chk.c): Likewise.
20341 (CFLAGS-vfprintf_chk.c): Likewise.
20342 (CFLAGS-gets_chk.c): Likewise.
20343 (CFLAGS-fgets_chk.c): Likewise.
20344 (CFLAGS-fgets_u_chk.c): Likewise.
20345 (CFLAGS-fread_chk.c): Likewise.
20346 (CFLAGS-fread_u_chk.c): Likewise.
20347 (CFLAGS-swprintf_chk.c): Likewise.
20348 (CFLAGS-vswprintf_chk.c): Likewise.
20349 (CFLAGS-wprintf_chk.c): Likewise.
20350 (CFLAGS-fwprintf_chk.c): Likewise.
20351 (CFLAGS-vwprintf_chk.c): Likewise.
20352 (CFLAGS-vfwprintf_chk.c): Likewise.
20353 (CFLAGS-fgetws_chk.c): Likewise.
20354 (CFLAGS-fgetws_u_chk.c): Likewise.
20355 (CFLAGS-read_chk.c): Likewise.
20356 (CFLAGS-pread_chk.c): Likewise.
20357 (CFLAGS-pread64_chk.c): Likewise.
20358 (CFLAGS-recv_chk.c): Likewise.
20359 (CFLAGS-recvfrom_chk.c): Likewise.
20360 (CFLAGS-tst-longjmp_chk.c): Likewise.
20361 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20362 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20363 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20364 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20365 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20366 (CFLAGS-tst-chk1.c): Likewise.
20367 (CFLAGS-tst-chk2.c): Likewise.
20368 (CFLAGS-tst-chk3.c): Likewise.
20369 (CFLAGS-tst-chk4.cc): Likewise.
20370 (CFLAGS-tst-chk5.cc): Likewise.
20371 (CFLAGS-tst-chk6.cc): Likewise.
20372 (CFLAGS-tst-lfschk1.c): Likewise.
20373 (CFLAGS-tst-lfschk2.c): Likewise.
20374 (CFLAGS-tst-lfschk3.c): Likewise.
20375 (CFLAGS-tst-lfschk4.cc): Likewise.
20376 (CFLAGS-tst-lfschk5.cc): Likewise.
20377 (CFLAGS-tst-lfschk6.cc): Likewise.
20378 (CFLAGS-tst-ssp-1.c): Likewise.
20379 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20380 (CFLAGS-scandir64.c): Likewise.
20381 (CFLAGS-scandir-tail.c): Likewise.
20382 (CFLAGS-scandir64-tail.c): Likewise.
20383 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20384 (CFLAGS-dl-tunables.c): Likewise.
20385 (CFLAGS-dl-runtime.c): Likewise.
20386 (CFLAGS-dl-lookup.c): Likewise.
20387 (CFLAGS-dl-iterate-phdr.c): Likewise.
20388 (CFLAGS-vismain.c): Likewise.
20389 (CFLAGS-tst-linkall-static.c): Likewise.
20390 (CFLAGS-tst-linkall-static.c): Likewise.
20391 (CPPFLAGS-dl-load.c): Likewise.
20392 (CFLAGS-ldconfig.c): Likewise.
20393 (CFLAGS-dl-cache.c): Likewise.
20394 (CFLAGS-cache.c): Likewise.
20395 (CFLAGS-rtld.c): Likewise.
20396 (CFLAGS-multiload.c): Likewise.
20397 (CFLAGS-filtmod1.c): Likewise.
20398 (CFLAGS-tst-align.c): Likewise.
20399 (CFLAGS-tst-align2.c): Likewise.
20400 (CFLAGS-tst-alignmod.c): Likewise.
20401 (CFLAGS-tst-alignmod2.c): Likewise.
20402 (CPPFLAGS-tst-execstack.c): Likewise.
20403 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20404 (CFLAGS-tst-latepthreadmod.c): Likewise.
20405 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20406 (CFLAGS-getgrnam_r.c): Likewise.
20407 (CFLAGS-getgrent_r.c): Likewise.
20408 (CFLAGS-getgrent.c): Likewise.
20409 (CFLAGS-fgetgrent.c): Likewise.
20410 (CFLAGS-fgetgrent_r.c): Likewise.
20411 (CFLAGS-putgrent.c): Likewise.
20412 (CFLAGS-initgroups.c): Likewise.
20413 (CFLAGS-getgrgid.c): Likewise.
20414 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20415 (CFLAGS-getsgent.c): Likewise.
20416 (CFLAGS-fgetsgent.c): Likewise.
20417 (CFLAGS-fgetsgent_r.c): Likewise.
20418 (CFLAGS-putsgent.c): Likewise.
20419 (CFLAGS-getsgnam.c): Likewise.
20420 (CFLAGS-getsgnam_r.c): Likewise.
20421 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20422 (CFLAGS-iconv_charmap.c): Likewise.
20423 (CFLAGS-dummy-repertoire.c): Likewise.
20424 (CFLAGS-charmap.c): Likewise.
20425 (CFLAGS-linereader.c): Likewise.
20426 (CFLAGS-simple-hash.c): Likewise.
20427 (CFLAGS-gconv_conf.c): Likewise.
20428 (CFLAGS-iconvconfig.c): Likewise.
20429 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20430 (CFLAGS-gethstbyad.c): Likewise.
20431 (CFLAGS-gethstbynm_r.c): Likewise.
20432 (CFLAGS-gethstbynm.c): Likewise.
20433 (CFLAGS-gethstbynm2_r.c): Likewise.
20434 (CFLAGS-gethstbynm2.c): Likewise.
20435 (CFLAGS-gethstent_r.c): Likewise.
20436 (CFLAGS-gethstent.c): Likewise.
20437 (CFLAGS-rcmd.c): Likewise.
20438 (CFLAGS-getnetbynm_r.c): Likewise.
20439 (CFLAGS-getnetbynm.c): Likewise.
20440 (CFLAGS-getnetbyad_r.c): Likewise.
20441 (CFLAGS-getnetbyad.c): Likewise.
20442 (CFLAGS-getnetent_r.c): Likewise.
20443 (CFLAGS-getnetent.c): Likewise.
20444 (CFLAGS-getaliasent_r.c): Likewise.
20445 (CFLAGS-getaliasent.c): Likewise.
20446 (CFLAGS-getrpcent_r.c): Likewise.
20447 (CFLAGS-getrpcent.c): Likewise.
20448 (CFLAGS-getservent_r.c): Likewise.
20449 (CFLAGS-getservent.c): Likewise.
20450 (CFLAGS-getprtent_r.c): Likewise.
20451 (CFLAGS-getprtent.c): Likewise.
20452 (CFLAGS-either_ntoh.c): Likewise.
20453 (CFLAGS-either_hton.c): Likewise.
20454 (CFLAGS-getnetgrent.c): Likewise.
20455 (CFLAGS-getnetgrent_r.c): Likewise.
20456 (CFLAGS-tst-checks-posix.c): Likewise.
20457 (CFLAGS-tst-sockaddr.c): Likewise.
20458 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20459 (CFLAGS-tst-translit.c): Likewise.
20460 (CFLAGS-tst-gettext2.c): Likewise.
20461 (CFLAGS-tst-codeset.c): Likewise.
20462 (CFLAGS-tst-gettext3.c): Likewise.
20463 (CFLAGS-tst-gettext4.c): Likewise.
20464 (CFLAGS-tst-gettext5.c): Likewise.
20465 (CFLAGS-tst-gettext6.c): Likewise.
20466 * io/Makefile (CFLAGS-open.c): Likewise.
20467 (CFLAGS-open64.c): Likewise.
20468 (CFLAGS-creat.c): Likewise.
20469 (CFLAGS-creat64.c): Likewise.
20470 (CFLAGS-fcntl.c): Likewise.
20471 (CFLAGS-poll.c): Likewise.
20472 (CFLAGS-ppoll.c): Likewise.
20473 (CFLAGS-lockf.c): Likewise.
20474 (CFLAGS-statfs.c): Likewise.
20475 (CFLAGS-fstatfs.c): Likewise.
20476 (CFLAGS-statvfs.c): Likewise.
20477 (CFLAGS-fstatvfs.c): Likewise.
20478 (CFLAGS-fts.c): Likewise.
20479 (CFLAGS-fts64.c): Likewise.
20480 (CFLAGS-ftw.c): Likewise.
20481 (CFLAGS-ftw64.c): Likewise.
20482 (CFLAGS-lockf.c): Likewise.
20483 (CFLAGS-posix_fallocate.c): Likewise.
20484 (CFLAGS-posix_fallocate64.c): Likewise.
20485 (CFLAGS-fallocate.c): Likewise.
20486 (CFLAGS-fallocate64.c): Likewise.
20487 (CFLAGS-read.c): Likewise.
20488 (CFLAGS-write.c): Likewise.
20489 (CFLAGS-test-stat.c): Likewise.
20490 (CFLAGS-test-lfs.c): Likewise.
20491 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20492 (CFLAGS-fputc.c): Likewise.
20493 (CFLAGS-fputwc.c): Likewise.
20494 (CFLAGS-freopen64.c): Likewise.
20495 (CFLAGS-freopen.c): Likewise.
20496 (CFLAGS-fseek.c): Likewise.
20497 (CFLAGS-fseeko64.c): Likewise.
20498 (CFLAGS-fseeko.c): Likewise.
20499 (CFLAGS-ftello64.c): Likewise.
20500 (CFLAGS-ftello.c): Likewise.
20501 (CFLAGS-fwide.c): Likewise.
20502 (CFLAGS-genops.c): Likewise.
20503 (CFLAGS-getc.c): Likewise.
20504 (CFLAGS-getchar.c): Likewise.
20505 (CFLAGS-getwc.c): Likewise.
20506 (CFLAGS-getwchar.c): Likewise.
20507 (CFLAGS-iofclose.c): Likewise.
20508 (CFLAGS-iofflush.c): Likewise.
20509 (CFLAGS-iofgetpos64.c): Likewise.
20510 (CFLAGS-iofgetpos.c): Likewise.
20511 (CFLAGS-iofgets.c): Likewise.
20512 (CFLAGS-iofgetws.c): Likewise.
20513 (CFLAGS-iofputs.c): Likewise.
20514 (CFLAGS-iofputws.c): Likewise.
20515 (CFLAGS-iofread.c): Likewise.
20516 (CFLAGS-iofsetpos64.c): Likewise.
20517 (CFLAGS-iofsetpos.c): Likewise.
20518 (CFLAGS-ioftell.c): Likewise.
20519 (CFLAGS-iofwrite.c): Likewise.
20520 (CFLAGS-iogetdelim.c): Likewise.
20521 (CFLAGS-iogetline.c): Likewise.
20522 (CFLAGS-iogets.c): Likewise.
20523 (CFLAGS-iogetwline.c): Likewise.
20524 (CFLAGS-ioputs.c): Likewise.
20525 (CFLAGS-ioseekoff.c): Likewise.
20526 (CFLAGS-ioseekpos.c): Likewise.
20527 (CFLAGS-iosetbuffer.c): Likewise.
20528 (CFLAGS-iosetvbuf.c): Likewise.
20529 (CFLAGS-ioungetc.c): Likewise.
20530 (CFLAGS-ioungetwc.c): Likewise.
20531 (CFLAGS-oldfileops.c): Likewise.
20532 (CFLAGS-oldiofclose.c): Likewise.
20533 (CFLAGS-oldiofgetpos64.c): Likewise.
20534 (CFLAGS-oldiofgetpos.c): Likewise.
20535 (CFLAGS-oldiofsetpos64.c): Likewise.
20536 (CFLAGS-oldiofsetpos.c): Likewise.
20537 (CFLAGS-peekc.c): Likewise.
20538 (CFLAGS-putc.c): Likewise.
20539 (CFLAGS-putchar.c): Likewise.
20540 (CFLAGS-putwc.c): Likewise.
20541 (CFLAGS-putwchar.c): Likewise.
20542 (CFLAGS-rewind.c): Likewise.
20543 (CFLAGS-wfileops.c): Likewise.
20544 (CFLAGS-wgenops.c): Likewise.
20545 (CFLAGS-oldiofopen.c): Likewise.
20546 (CFLAGS-iofopen.c): Likewise.
20547 (CFLAGS-iofopen64.c): Likewise.
20548 (CFLAGS-oldtmpfile.c): Likewise.
20549 (CFLAGS-tst_putwc.c): Likewise.
20550 * locale/Makefile (CFLAGS-md5.c): Likewise.
20551 (CFLAGS-charmap.c): Likewise.
20552 (CFLAGS-locfile.c): Likewise.
20553 (CFLAGS-charmap-dir.c): Likewise.
20554 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20555 (CFLAGS-getpt.c): Likewise.
20556 (CFLAGS-pt_chown.c): Likewise.
20557 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20558 (CFLAGS-obstack.c): Likewise.
20559 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20560 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20561 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20562 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20563 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20564 (CFLAGS-test-tgmath.c): Likewise.
20565 (CFLAGS-test-tgmath2.c): Likewise.
20566 (CFLAGS-test-tgmath-ret.c): Likewise.
20567 (CFLAGS-test-powl.c): Likewise.
20568 (CFLAGS-test-snan.c): Likewise.
20569 (CFLAGS-test-signgam-finite.c): Likewise.
20570 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20571 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20572 (CFLAGS-test-signgam-uchar.c): Likewise.
20573 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20574 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20575 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20576 (CFLAGS-test-signgam-uint.c): Likewise.
20577 (CFLAGS-test-signgam-uint-init.c): Likewise.
20578 (CFLAGS-test-signgam-uint-static.c): Likewise.
20579 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20580 (CFLAGS-test-signgam-ullong.c): Likewise.
20581 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20582 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20583 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20584 (CFLAGS-test-math-cxx11.cc): Likewise.
20585 (CFLAGS-test-math-isinff.cc): Likewise.
20586 (CFLAGS-test-math-iszero.cc): Likewise.
20587 (CFLAGS-test-math-issignaling.cc): Likewise.
20588 (CFLAGS-test-math-iscanonical.cc): Likewise.
20589 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20590 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20591 (CFLAGS-test-flt-eval-method.c): Likewise.
20592 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20593 (CFLAGS-test-finite-macros.c): Likewise.
20594 * misc/Makefile (CFLAGS-select.c): Likewise.
20595 (CFLAGS-tsearch.c): Likewise.
20596 (CFLAGS-lsearch.c): Likewise.
20597 (CFLAGS-pselect.c): Likewise.
20598 (CFLAGS-readv.c): Likewise.
20599 (CFLAGS-writev.c): Likewise.
20600 (CFLAGS-preadv.c): Likewise.
20601 (CFLAGS-preadv64.c): Likewise.
20602 (CFLAGS-pwritev.c): Likewise.
20603 (CFLAGS-pwritev64.c): Likewise.
20604 (CFLAGS-preadv2.c): Likewise.
20605 (CFLAGS-preadv64v2.c): Likewise.
20606 (CFLAGS-pwritev2.c): Likewise.
20607 (CFLAGS-pwritev64v2.c): Likewise.
20608 (CFLAGS-usleep.c): Likewise.
20609 (CFLAGS-syslog.c): Likewise.
20610 (CFLAGS-error.c): Likewise.
20611 (CFLAGS-getpass.c): Likewise.
20612 (CFLAGS-mkstemp.c): Likewise.
20613 (CFLAGS-mkstemp64.c): Likewise.
20614 (CFLAGS-getsysstats.c): Likewise.
20615 (CFLAGS-getusershell.c): Likewise.
20616 (CFLAGS-err.c): Likewise.
20617 (CFLAGS-tst-tsearch.c): Likewise.
20618 (CFLAGS-msync.c): Likewise.
20619 (CFLAGS-fdatasync.c): Likewise.
20620 (CFLAGS-fsync.c): Likewise.
20621 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20622 (CFLAGS-unwind.c): Likewise.
20623 (CFLAGS-unwind-forcedunwind.c): Likewise.
20624 (CFLAGS-pthread_cancel.c): Likewise.
20625 (CFLAGS-pthread_setcancelstate.c): Likewise.
20626 (CFLAGS-pthread_setcanceltype.c): Likewise.
20627 (CFLAGS-cancellation.c): Likewise.
20628 (CFLAGS-libc-cancellation.c): Likewise.
20629 (CFLAGS-pthread_exit.c): Likewise.
20630 (CFLAGS-forward.c): Likewise.
20631 (CFLAGS-pthread_testcancel.c): Likewise.
20632 (CFLAGS-pthread_join.c): Likewise.
20633 (CFLAGS-pthread_timedjoin.c): Likewise.
20634 (CFLAGS-pthread_once.c): Likewise.
20635 (CFLAGS-pthread_cond_wait.c): Likewise.
20636 (CFLAGS-sem_wait.c): Likewise.
20637 (CFLAGS-sem_timedwait.c): Likewise.
20638 (CFLAGS-fcntl.c): Likewise.
20639 (CFLAGS-lockf.c): Likewise.
20640 (CFLAGS-pread.c): Likewise.
20641 (CFLAGS-pread64.c): Likewise.
20642 (CFLAGS-pwrite.c): Likewise.
20643 (CFLAGS-pwrite64.c): Likewise.
20644 (CFLAGS-wait.c): Likewise.
20645 (CFLAGS-waitpid.c): Likewise.
20646 (CFLAGS-sigwait.c): Likewise.
20647 (CFLAGS-msgrcv.c): Likewise.
20648 (CFLAGS-msgsnd.c): Likewise.
20649 (CFLAGS-tcdrain.c): Likewise.
20650 (CFLAGS-open.c): Likewise.
20651 (CFLAGS-open64.c): Likewise.
20652 (CFLAGS-pause.c): Likewise.
20653 (CFLAGS-recv.c): Likewise.
20654 (CFLAGS-send.c): Likewise.
20655 (CFLAGS-accept.c): Likewise.
20656 (CFLAGS-sendto.c): Likewise.
20657 (CFLAGS-connect.c): Likewise.
20658 (CFLAGS-recvfrom.c): Likewise.
20659 (CFLAGS-recvmsg.c): Likewise.
20660 (CFLAGS-sendmsg.c): Likewise.
20661 (CFLAGS-close.c): Likewise.
20662 (CFLAGS-read.c): Likewise.
20663 (CFLAGS-write.c): Likewise.
20664 (CFLAGS-nanosleep.c): Likewise.
20665 (CFLAGS-sigsuspend.c): Likewise.
20666 (CFLAGS-msync.c): Likewise.
20667 (CFLAGS-fdatasync.c): Likewise.
20668 (CFLAGS-fsync.c): Likewise.
20669 (CFLAGS-pt-system.c): Likewise.
20670 (CFLAGS-tst-cleanup2.c): Likewise.
20671 (CFLAGS-tst-cleanupx2.c): Likewise.
20672 (CFLAGS-flockfile.c): Likewise.
20673 (CFLAGS-ftrylockfile.c): Likewise.
20674 (CFLAGS-funlockfile.c): Likewise.
20675 (CFLAGS-tst-initializers1.c): Likewise.
20676 (CFLAGS-tst-initializers1-c89.c): Likewise.
20677 (CFLAGS-tst-initializers1-c99.c): Likewise.
20678 (CFLAGS-tst-initializers1-c11.c): Likewise.
20679 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20680 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20681 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20682 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20683 (CFLAGS-nscd_getgr_r.c): Likewise.
20684 (CFLAGS-nscd_gethst_r.c): Likewise.
20685 (CFLAGS-nscd_getai.c): Likewise.
20686 (CFLAGS-nscd_initgroups.c): Likewise.
20687 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20688 (CFLAGS-pause.c): Likewise.
20689 (CFLAGS-pread.c): Likewise.
20690 (CFLAGS-pread64.c): Likewise.
20691 (CFLAGS-pwrite.c): Likewise.
20692 (CFLAGS-pwrite64.c): Likewise.
20693 (CFLAGS-sleep.c): Likewise.
20694 (CFLAGS-wait.c): Likewise.
20695 (CFLAGS-waitid.c): Likewise.
20696 (CFLAGS-waitpid.c): Likewise.
20697 (CFLAGS-getopt.c): Likewise.
20698 (CFLAGS-wordexp.c): Likewise.
20699 (CFLAGS-sysconf.c): Likewise.
20700 (CFLAGS-pathconf.c): Likewise.
20701 (CFLAGS-fpathconf.c): Likewise.
20702 (CFLAGS-spawn.c): Likewise.
20703 (CFLAGS-spawnp.c): Likewise.
20704 (CFLAGS-spawni.c): Likewise.
20705 (CFLAGS-glob.c): Likewise.
20706 (CFLAGS-glob64.c): Likewise.
20707 (CFLAGS-getconf.c): Likewise.
20708 (CFLAGS-nanosleep.c): Likewise.
20709 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20710 (CFLAGS-getpwent.c): Likewise.
20711 (CFLAGS-getpw.c): Likewise.
20712 (CFLAGS-fgetpwent_r.c): Likewise.
20713 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20714 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20715 (CFLAGS-mq_timedreceive.c): Likewise.
20716 (CFLAGS-mq_timedsend.c): Likewise.
20717 (CFLAGS-clock_nanosleep.c): Likewise.
20718 (CFLAGS-librt-cancellation.c): Likewise.
20719 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20720 (CFLAGS-getspent.c): Likewise.
20721 (CFLAGS-fgetspent.c): Likewise.
20722 (CFLAGS-fgetspent_r.c): Likewise.
20723 (CFLAGS-putspent.c): Likewise.
20724 (CFLAGS-getspnam.c): Likewise.
20725 (CFLAGS-getspnam_r.c): Likewise.
20726 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20727 (CFLAGS-sigsuspend.c): Likewise.
20728 (CFLAGS-sigtimedwait.c): Likewise.
20729 (CFLAGS-sigwait.c): Likewise.
20730 (CFLAGS-sigwaitinfo.c): Likewise.
20731 (CFLAGS-sigreturn.c): Likewise.
20732 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20733 (CFLAGS-vfwprintf.c): Likewise.
20734 (CFLAGS-tmpfile.c): Likewise.
20735 (CFLAGS-tmpfile64.c): Likewise.
20736 (CFLAGS-tempname.c): Likewise.
20737 (CFLAGS-psignal.c): Likewise.
20738 (CFLAGS-vprintf.c): Likewise.
20739 (CFLAGS-cuserid.c): Likewise.
20740 (CFLAGS-errlist.c): Likewise.
20741 (CFLAGS-siglist.c): Likewise.
20742 (CFLAGS-scanf15.c): Likewise.
20743 (CFLAGS-scanf17.c): Likewise.
20744 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20745 (CFLAGS-msort.c): Likewise.
20746 (CFLAGS-qsort.c): Likewise.
20747 (CFLAGS-system.c): Likewise.
20748 (CFLAGS-fmtmsg.c): Likewise.
20749 (CFLAGS-strfmon.c): Likewise.
20750 (CFLAGS-strfmon_l.c): Likewise.
20751 (CFLAGS-strfromd.c): Likewise.
20752 (CFLAGS-strfromf.c): Likewise.
20753 (CFLAGS-strfroml.c): Likewise.
20754 (CFLAGS-tst-bsearch.c): Likewise.
20755 (CFLAGS-tst-qsort.c): Likewise.
20756 (CFLAGS-tst-makecontext2.c): Likewise.
20757 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20758 (CFLAGS-xnlm_prot.c): Likewise.
20759 (CFLAGS-xrstat.c): Likewise.
20760 (CFLAGS-xyppasswd.c): Likewise.
20761 (CFLAGS-xklm_prot.c): Likewise.
20762 (CFLAGS-xrex.c): Likewise.
20763 (CFLAGS-xsm_inter.c): Likewise.
20764 (CFLAGS-xmount.c): Likewise.
20765 (CFLAGS-xrusers.c): Likewise.
20766 (CFLAGS-xspray.c): Likewise.
20767 (CFLAGS-xnfs_prot.c): Likewise.
20768 (CFLAGS-xrquota.c): Likewise.
20769 (CFLAGS-xkey_prot.c): Likewise.
20770 (CFLAGS-auth_unix.c): Likewise.
20771 (CFLAGS-key_call.c): Likewise.
20772 (CFLAGS-pmap_rmt.c): Likewise.
20773 (CFLAGS-clnt_perr.c): Likewise.
20774 (CFLAGS-openchild.c): Likewise.
20775 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20776 (CFLAGS-msgsnd.c): Likewise.
20777 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20778 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20779 (CFLAGS-tzset.c): Likewise.
20780 (CFLAGS-getdate.c): Likewise.
20781 (CFLAGS-test_time.c): Likewise.
20782 (CPPFLAGS-tst-tzname.c): Likewise.
20783 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20784 (CFLAGS-zic.c): Likewise.
20785 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20786 (CFLAGS-wcswidth.c): Likewise.
20787 (CFLAGS-wcstol.c): Likewise.
20788 (CFLAGS-wcstoul.c): Likewise.
20789 (CFLAGS-wcstoll.c): Likewise.
20790 (CFLAGS-wcstoull.c): Likewise.
20791 (CFLAGS-wcstod.c): Likewise.
20792 (CFLAGS-wcstold.c): Likewise.
20793 (CFLAGS-wcstof128.c): Likewise.
20794 (CFLAGS-wcstof.c): Likewise.
20795 (CFLAGS-wcstol_l.c): Likewise.
20796 (CFLAGS-wcstoul_l.c): Likewise.
20797 (CFLAGS-wcstoll_l.c): Likewise.
20798 (CFLAGS-wcstoull_l.c): Likewise.
20799 (CFLAGS-wcstod_l.c): Likewise.
20800 (CFLAGS-wcstold_l.c): Likewise.
20801 (CFLAGS-wcstof128_l.c): Likewise.
20802 (CFLAGS-wcstof_l.c): Likewise.
20803 (CPPFLAGS-tst-wchar-h.c): Likewise.
20804 (CPPFLAGS-wcstold_l.c): Likewise.
20806 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20808 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20810 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20811 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20813 * manual/tunables.texi (Hardware Capability Tunables): Document
20814 glibc.tune.cached_memopt.
20815 * sysdeps/powerpc/cpu-features.c: New file.
20816 * sysdeps/powerpc/cpu-features.h: New file.
20817 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20818 _dl_powerpc_cpu_features.
20819 * sysdeps/powerpc/dl-tunables.list: New file.
20820 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20821 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20822 (INIT_ARCH): Initialize use_aligned_memopt.
20823 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20824 IS_IN(rtld))]: Restrict dl_platform_init availability and
20825 initialize CPU features used by tunables.
20826 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20827 Add memcpy-power8-cached.
20828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20829 __memcpy_power8_cached.
20830 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20831 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20834 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20836 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20837 (CFLAGS-noinl-tester.c): Likewise.
20838 (CFLAGS-tst-strlen.c): Likewise.
20839 (CFLAGS-stratcliff.c): Likewise.
20840 (CFLAGS-test-ffs.c): Likewise.
20841 (CFLAGS-tst-inlcall.c): Likewise.
20842 (CFLAGS-tst-xbzero-opt.c): Likewise.
20843 (CFLAGS-memcpy.c): Likewise.
20844 (CFLAGS-wordcopy.c): Likewise.
20846 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20848 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20849 Store r15 on stack and add cfi rule.
20850 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20853 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20856 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20859 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20861 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20862 Add s_sinf-sse2 and s_sinf-fma.
20863 (CFLAGS-s_sinf-fma.c): New.
20864 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20865 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20866 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20868 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20870 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20872 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20875 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20876 part of result to imaginary part of argument if it is zero and the
20877 real part of the argument is not finite.
20878 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20879 of result to real part of argument if it is zero and the imaginary
20880 part of the argument is not finite.
20882 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20885 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20886 and to the list of locales to be built for testing.
20887 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20888 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20889 and build the collation rules upon that.
20891 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20893 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20894 * manual/math.texi (Mathematics): Document support for _Float32.
20895 * math/Makefile (test-types): Add float32.
20896 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20897 * stdlib/Versions (GLIBC_2.27): Likewise.
20898 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20899 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20900 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20901 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20902 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20903 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20904 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20905 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20906 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20907 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20908 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20909 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20910 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20911 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20912 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20913 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20914 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20915 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20916 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20917 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20918 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20919 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20921 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20922 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20923 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20924 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20925 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20943 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20944 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20945 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20946 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20947 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20948 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20949 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20950 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20951 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20952 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20961 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20962 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20963 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20964 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20965 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20966 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20967 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20968 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20970 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20972 * stdlib/strtof.c: Include <bits/floatn.h>
20973 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20974 and later undefine as macro. Define as weak alias if
20976 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20977 and later undefine as macro. Define as weak alias if
20979 * stdlib/strtof_l.c: Include <bits/floatn.h>
20980 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20981 and later undefine as macro. Define as weak alias if
20983 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20984 and later undefine as macro. Define as weak alias if
20987 * stdlib/strfromf.c: Include <bits/floatn.h>.
20988 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20989 and later undefine as macro and define as weak alias.
20991 * math/test-float32.h: New file.
20993 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20994 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20995 (libm_alias_float_other_r): Create f32 alias.
20996 (libm_alias_float_r): Use semicolon before call to
20997 libm_alias_float_other_r.
20999 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21000 second argument to libm_alias_float_other.
21001 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21002 second argument to libm_alias_float_other.
21003 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21004 argument to libm_alias_float_other.
21007 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21008 real part of result for argument 0 + i * NaN.
21009 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21010 results for tests of 0 + i * NaN.
21012 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21014 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21016 2017-12-06 David S. Miller <davem@davemloft.net>
21018 * sysdeps/sparc/fpu/libm-test-ulps: Update
21019 exp_{downward,towardzero,upward} ulps.
21021 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21023 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21026 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21028 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21035 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21038 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21039 and to the list of locales to be built for testing.
21040 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21041 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21042 and build the collation rules upon that.
21044 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21046 * NEWS: Add sinf to list of optimized functions.
21048 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21050 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21051 (__HAVE_FLOAT32X): Likewise.
21052 * manual/math.texi (Mathematics): Document support for _Float64
21054 * math/Makefile (test-types): Add float64 and float32x.
21055 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21057 * stdlib/Versions (GLIBC_2.27): Likewise.
21058 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21059 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21060 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21061 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21062 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21063 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21064 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21065 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21066 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21067 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21068 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21069 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21070 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21071 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21072 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21073 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21074 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21075 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21076 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21077 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21078 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21079 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21081 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21082 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21083 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21084 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21085 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21102 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21103 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21104 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21105 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21106 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21107 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21108 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21109 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21110 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21111 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21120 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21121 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21122 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21123 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21124 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21125 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21126 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21127 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21129 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21131 * bits/floatn-common.h: Include <bits/long-double.h>.
21132 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21133 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21134 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21135 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21136 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21137 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21138 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21139 (__builtin_huge_valf64): Use __builtin_huge_vall.
21140 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21141 (__builtin_inff64): Use __builtin_infl.
21142 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21143 (__builtin_nanf64): Use __builtin_nanl.
21144 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21145 (__builtin_nansf64): Use __builtin_nansl.
21147 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21148 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21149 Carlos O'Donnell <carlos@redhat.com>
21151 * elf/dl-tunables.list: Add elision parameters.
21152 * manual/tunables.texi: Add entries about elision tunable.
21153 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21154 Add callback functions to dynamically enable/disable elision.
21155 Add multiple callbacks functions to set elision parameters.
21156 Deleted __libc_enable_secure check.
21157 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21158 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21159 * configure: Regenerated.
21160 * configure.ac: Option enable_lock_elision was deleted.
21161 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21162 * config.make.in: Remove references to enable_lock_elision.
21163 * manual/install.texi: Elision configure option was removed.
21164 * INSTALL: Regenerated to remove enable_lock_elision.
21166 Disable elision so it can verify error case for destroying a mutex.
21167 * sysdeps/powerpc/nptl/elide.h:
21168 Cleanup ENABLE_LOCK_ELISION check.
21169 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21170 * sysdeps/s390/configure: Regenerated.
21171 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21172 * nptl/tst-mutex8.c:
21173 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21174 * sysdeps/powerpc/powerpc32/sysdep.h:
21175 Deleted all ENABLE_LOCK_ELISION checks.
21176 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21177 * sysdeps/powerpc/sysdep.h: Likewise.
21178 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21179 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21180 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21181 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21182 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21183 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21184 enable-lock-elision.
21186 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21188 * stdlib/strtod.c: Include <bits/floatn.h>.
21189 (BUILD_DOUBLE): New macro.
21190 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21191 (strtof64): Define and later undefine as macro. Define as weak
21192 alias if [!USE_WIDE_CHAR].
21193 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21194 (wcstof64): Define and later undefine as macro. Define as weak
21195 alias if [USE_WIDE_CHAR].
21196 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21197 (strtof32x): Define and later undefine as macro. Define as weak
21198 alias if [!USE_WIDE_CHAR].
21199 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21200 (wcstof32x): Define and later undefine as macro. Define as weak
21201 alias if [USE_WIDE_CHAR].
21202 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21203 (BUILD_DOUBLE): New macro.
21204 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21205 (strtof64_l): Define and later undefine as macro. Define as weak
21206 alias if [!USE_WIDE_CHAR].
21207 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21208 (wcstof64_l): Define and later undefine as macro. Define as weak
21209 alias if [USE_WIDE_CHAR].
21210 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21211 (strtof32x_l): Define and later undefine as macro. Define as weak
21212 alias if [!USE_WIDE_CHAR].
21213 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21214 (wcstof32x_l): Define and later undefine as macro. Define as weak
21215 alias if [USE_WIDE_CHAR].
21217 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21219 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21220 (reduced): Use ones as double instead of integer.
21222 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21224 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21226 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21228 * stdlib/strfromd.c: Include <bits/floatn.h>.
21229 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21230 and later undefine as macro and define as weak alias.
21231 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21234 * math/test-float32x.h: New file.
21235 * math/test-float64.h: Likewise.
21237 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21238 (libm_alias_double_other_r_f64): New macro.
21239 (libm_alias_double_other_r_f32x): Likewise.
21240 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21241 libm_alias_double_other_r_f32x.
21242 (libm_alias_double_r): Use semicolon before call to
21243 libm_alias_double_other_r.
21244 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21246 (libm_alias_double_other_r_f64): New macro.
21247 (libm_alias_double_other_r_f32x): Likewise.
21248 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21249 libm_alias_double_other_r_f32x.
21251 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21253 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21255 (SINF_FUNC): Likewise. Replace floor with simple casts.
21257 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21260 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21261 and to the list of locales to be built for testing.
21262 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21263 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21264 and build the collation rules upon that.
21266 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21268 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21269 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21270 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21271 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21272 instead of __insn__xxx.
21273 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21274 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21275 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21276 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21277 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21278 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21280 2017-12-05 Florian Weimer <fweimer@redhat.com>
21282 Linux: Implement interfaces for memory protection keys
21283 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21285 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21286 * support/xunistd.h (xsysconf): Declare.
21287 * support/xraise.c: New file.
21288 * support/xsigaction.c: Likewise.
21289 * support/xsignal.c: Likewise.
21290 * support/xsysconf.c: Likewise.
21291 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21292 pkey_set, pkey_get, pkey_mprotect.
21293 [misc] (tests): Add tst-pkey.
21294 (tst-pkey): Link with -lpthread.
21295 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21296 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21297 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21298 (PKEY_DISABLE_WRITE): Define.
21299 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21301 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21302 (SEGV_PKUERR): Add.
21303 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21304 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21305 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21306 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21308 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21309 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21310 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21311 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21312 * sysdeps/unix/sysv/linux/**.abilist: Update.
21314 2017-12-05 Florian Weimer <fweimer@redhat.com>
21316 * support/tst-test_compare.c (subprocess): Use long long instead
21317 of long argument for consistent type width across 32-bit and
21318 64-bit architectures.
21319 (do_test): Adjust expected output.
21321 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21323 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21324 (cosf): Define using libm_alias_float.
21325 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21326 (fabsf): Define using libm_alias_float.
21327 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21328 (fmaf): Define using libm_alias_float.
21329 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21330 (rintf): Define using libm_alias_float.
21331 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21332 (sinf): Define using libm_alias_float.
21333 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21334 <libm-alias-float.h>.
21335 (modff): Define using libm_alias_float.
21336 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21337 <libm-alias-float.h>.
21338 (logbf): Define using libm_alias_float.
21339 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21340 <libm-alias-float.h>.
21341 (ceilf): Define using libm_alias_float.
21342 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21343 <libm-alias-float.h>.
21344 (copysignf): Define using libm_alias_float.
21345 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21346 <libm-alias-float.h>.
21347 (floorf): Define using libm_alias_float.
21348 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21349 <libm-alias-float.h>.
21350 (llrintf): Define using libm_alias_float.
21351 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21352 <libm-alias-float.h>.
21353 (llroundf): Define using libm_alias_float.
21354 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21355 <libm-alias-float.h>.
21356 (lrintf): Define using libm_alias_float.
21357 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21358 <libm-alias-float.h>.
21359 (lroundf): Define using libm_alias_float.
21360 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21361 <libm-alias-float.h>.
21362 (nearbyintf): Define using libm_alias_float.
21363 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21364 <libm-alias-float.h>.
21365 (rintf): Define using libm_alias_float.
21366 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21367 <libm-alias-float.h>.
21368 (roundf): Define using libm_alias_float.
21369 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21370 <libm-alias-float.h>.
21371 (truncf): Define using libm_alias_float.
21372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21373 Include <libm-alias-float.h>.
21374 (ceilf): Define using libm_alias_float.
21375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21376 Include <libm-alias-float.h>.
21377 (copysignf): Define using libm_alias_float.
21378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21379 Include <libm-alias-float.h>.
21380 (floorf): Define using libm_alias_float.
21381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21382 Include <libm-alias-float.h>.
21383 (llrintf): Define using libm_alias_float.
21384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21385 Include <libm-alias-float.h>.
21386 (llroundf): Define using libm_alias_float.
21387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21388 Include <libm-alias-float.h>.
21389 (logbf): Define using libm_alias_float.
21390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21391 Include <libm-alias-float.h>.
21392 (lrintf): Define using libm_alias_float.
21393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21394 Include <libm-alias-float.h>.
21395 (lroundf): Define using libm_alias_float.
21396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21397 Include <libm-alias-float.h>.
21398 (modff): Define using libm_alias_float.
21399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21400 Include <libm-alias-float.h>.
21401 (roundf): Define using libm_alias_float.
21402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21403 Include <libm-alias-float.h>.
21404 (truncf): Define using libm_alias_float.
21405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21406 <libm-alias-float.h>.
21407 (llrintf): Define using libm_alias_float.
21408 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21409 <libm-alias-float.h>.
21410 (llroundf): Define using libm_alias_float.
21411 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21412 <libm-alias-float.h>.
21413 (ceilf): Define using libm_alias_float.
21414 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21415 <libm-alias-float.h>.
21416 (floorf): Define using libm_alias_float.
21417 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21418 <libm-alias-float.h>.
21419 (llroundf): Define using libm_alias_float.
21420 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21421 <libm-alias-float.h>.
21422 (lroundf): Define using libm_alias_float.
21423 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21424 <libm-alias-float.h>.
21425 (roundf): Define using libm_alias_float.
21426 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21427 <libm-alias-float.h>.
21428 (truncf): Define using libm_alias_float.
21429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21430 <libm-alias-float.h>.
21431 (copysignf): Define using libm_alias_float.
21432 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21433 <libm-alias-float.h>.
21434 (llrintf): Define using libm_alias_float.
21435 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21436 <libm-alias-float.h>.
21437 (llroundf): Define using libm_alias_float.
21438 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21439 <libm-alias-float.h>.
21440 (lrintf): Define using libm_alias_float.
21441 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21442 <libm-alias-float.h>.
21443 (lroundf): Define using libm_alias_float.
21444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21445 <libm-alias-float.h>.
21446 (ceilf): Define using libm_alias_float.
21447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21448 <libm-alias-float.h>.
21449 (copysignf): Define using libm_alias_float.
21450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21451 <libm-alias-float.h>.
21452 (cosf): Define using libm_alias_float.
21453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21454 <libm-alias-float.h>.
21455 (floorf): Define using libm_alias_float.
21456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21457 <libm-alias-float.h>.
21458 (llrintf): Define using libm_alias_float.
21459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21460 <libm-alias-float.h>.
21461 (llroundf): Define using libm_alias_float.
21462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21463 <libm-alias-float.h>.
21464 (logbf): Define using libm_alias_float.
21465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21466 <libm-alias-float.h>.
21467 (modff): Define using libm_alias_float.
21468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21469 <libm-alias-float.h>.
21470 (roundf): Define using libm_alias_float.
21471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21472 <libm-alias-float.h>.
21473 (sinf): Define using libm_alias_float.
21474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21475 <libm-alias-float.h>.
21476 (truncf): Define using libm_alias_float.
21477 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21478 <libm-alias-float.h>.
21479 (ceilf): Define using libm_alias_float.
21480 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21481 <libm-alias-float.h>.
21482 (copysignf): Define using libm_alias_float.
21483 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21484 <libm-alias-float.h>.
21485 (floorf): Define using libm_alias_float.
21486 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21487 <libm-alias-float.h>.
21488 (llrintf): Define using libm_alias_float.
21489 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21490 <libm-alias-float.h>.
21491 (llroundf): Define using libm_alias_float.
21492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21493 <libm-alias-float.h>.
21494 (nearbyintf): Define using libm_alias_float.
21495 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21496 <libm-alias-float.h>.
21497 (rintf): Define using libm_alias_float.
21498 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21499 <libm-alias-float.h>.
21500 (roundf): Define using libm_alias_float.
21501 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21502 <libm-alias-float.h>.
21503 (truncf): Define using libm_alias_float.
21504 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21505 <libm-alias-float.h>.
21506 (ceilf): Define using libm_alias_float.
21507 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21508 <libm-alias-float.h>.
21509 (floorf): Define using libm_alias_float.
21510 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21511 <libm-alias-float.h>.
21512 (llroundf): Define using libm_alias_float.
21513 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21514 <libm-alias-float.h>.
21515 (roundf): Define using libm_alias_float.
21516 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21517 <libm-alias-float.h>.
21518 (truncf): Define using libm_alias_float.
21519 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21520 <libm-alias-float.h>.
21521 (copysignf): Define using libm_alias_float.
21522 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21523 <libm-alias-float.h>.
21524 (llrintf): Define using libm_alias_float.
21525 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21526 <libm-alias-float.h>.
21527 (llroundf): Define using libm_alias_float.
21528 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21529 <libm-alias-float.h>.
21530 (cosf): Define using libm_alias_float.
21531 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21532 <libm-alias-float.h>.
21533 (llrintf): Define using libm_alias_float.
21534 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21535 <libm-alias-float.h>.
21536 (llroundf): Define using libm_alias_float.
21537 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21538 <libm-alias-float.h>.
21539 (sinf): Define using libm_alias_float.
21541 2017-12-04 Florian Weimer <fweimer@redhat.com>
21543 * support/check.h (TEST_COMPARE): Define.
21544 (support_test_compare_failure): Declare.
21545 * support/Makefile (libsupport-routines): Add
21546 support_test_compare_failure.
21547 (tests): Add tst-test_compare.
21548 * support /support_test_compare_failure.c: New file.
21549 * support/tst-test_compare.c: Likewise.
21551 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21554 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21555 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21556 available, this rewrite of the collation rules does reproduce
21557 the test file in the same order.
21559 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21562 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21563 digraphs in the month and day names. Using single code points for
21564 digraphs is deprecated. While there are dedicated Unicode
21565 codepoints, for the digraphs, these are included for backwards
21566 compatibility and modern texts use a sequence of Basic Latin
21567 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21568 This makes the month and day names agree exactly with CLDR now,
21569 CLDR does not use the single code points for the digraphs either.
21571 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21573 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21575 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21577 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21580 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21582 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21583 Define only for libc.so.
21585 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21587 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21588 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21589 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21590 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21593 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21596 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21598 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21601 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21602 PREINIT_FUNCTION_WEAK is nonzero.
21603 (gmon_initializer): New function. Put procedure label for it in
21604 .init_array section.
21605 (_init): Don't call PREINIT_FUNCTION.
21606 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21607 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21608 value when map argument is null.
21610 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21611 depi instruction from PIC pc-relative sequence.
21612 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21613 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21614 (elf_machine_load_address): Likewise.
21615 (elf_machine_runtime_setup): Likewise.
21617 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21619 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21620 <libm-alias-double.h>.
21621 (logb): Define using libm_alias_double.
21622 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21623 <libm-alias-double.h>.
21624 (copysign): Define using libm_alias_double.
21625 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21626 <libm-alias-double.h>.
21627 (llrint): Define using libm_alias_double.
21628 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21629 <libm-alias-double.h>.
21630 (llround): Define using libm_alias_double.
21631 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21632 <libm-alias-double.h>.
21633 (lrint): Define using libm_alias_double.
21634 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21635 <libm-alias-double.h>.
21636 (lround): Define using libm_alias_double.
21637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21638 Include <libm-alias-double.h>.
21639 (copysign): Define using libm_alias_double.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21641 Include <libm-alias-double.h>.
21642 (llrint): Define using libm_alias_double.
21643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21644 Include <libm-alias-double.h>.
21645 (llround): Define using libm_alias_double.
21646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21647 <libm-alias-double.h>.
21648 (logb): Define using libm_alias_double.
21649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21650 Include <libm-alias-double.h>.
21651 (lrint): Define using libm_alias_double.
21652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21653 Include <libm-alias-double.h>.
21654 (lround): Define using libm_alias_double.
21655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21656 <libm-alias-double.h>.
21657 (llrint): Define using libm_alias_double.
21658 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21659 <libm-alias-double.h>.
21660 (llround): Define using libm_alias_double.
21661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21662 <libm-alias-double.h>.
21663 (llround): Define using libm_alias_double.
21664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21665 <libm-alias-double.h>.
21666 (lround): Define using libm_alias_double.
21667 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21668 <libm-alias-double.h>.
21669 (copysign): Define using libm_alias_double.
21670 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21671 <libm-alias-double.h>.
21672 (llrint): Define using libm_alias_double.
21673 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21674 <libm-alias-double.h>.
21675 (llround): Define using libm_alias_double.
21676 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21677 <libm-alias-double.h>.
21678 (lrint): Define using libm_alias_double.
21679 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21680 <libm-alias-double.h>.
21681 (lround): Define using libm_alias_double.
21682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21683 <libm-alias-double.h>.
21684 (copysign): Define using libm_alias_double.
21685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21686 <libm-alias-double.h>.
21687 (llrint): Define using libm_alias_double.
21689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21690 <libm-alias-double.h>.
21691 (llround): Define using libm_alias_double.
21692 (lround): Likewise.
21693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21694 <libm-alias-double.h>.
21695 (logb): Define using libm_alias_double.
21696 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21697 <libm-alias-double.h>.
21698 (copysign): Define using libm_alias_double.
21699 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21700 <libm-alias-double.h>.
21701 (llrint): Define using libm_alias_double.
21703 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21704 <libm-alias-double.h>.
21705 (llround): Define using libm_alias_double.
21706 (lround): Likewise.
21707 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21708 <libm-alias-double.h>.
21709 (llround): Define using libm_alias_double.
21710 (lround): Likewise.
21711 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21712 <libm-alias-double.h>.
21713 (copysign): Define using libm_alias_double.
21714 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21715 <libm-alias-double.h>.
21716 (llrint): Define using libm_alias_double.
21718 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21719 <libm-alias-double.h>.
21720 (llround): Define using libm_alias_double.
21721 (lround): Likewise.
21722 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21723 <libm-alias-double.h>.
21724 (llrint): Define using libm_alias_double.
21726 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21727 <libm-alias-double.h>.
21728 (llround): Define using libm_alias_double.
21729 (lround): Likewise.
21731 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21734 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21735 compat symbol based on llround.
21737 * sysdeps/powerpc/power7/fpu/s_logb.c
21738 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21739 symbol based on __logb, not on logb.
21740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21741 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21743 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21745 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21746 (rint): Define using libm_alias_double.
21747 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21748 <libm-alias-double.h>.
21749 (modf): Define using libm_alias_double.
21750 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21751 <libm-alias-double.h>.
21752 (ceil): Define using libm_alias_double.
21753 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21754 <libm-alias-double.h>.
21755 (floor): Define using libm_alias_double.
21756 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21757 <libm-alias-double.h>.
21758 (nearbyint): Define using libm_alias_double.
21759 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21760 <libm-alias-double.h>.
21761 (rint): Define using libm_alias_double.
21762 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21763 <libm-alias-double.h>.
21764 (round): Define using libm_alias_double.
21765 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21766 <libm-alias-double.h>.
21767 (trunc): Define using libm_alias_double.
21768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21769 <libm-alias-double.h>.
21770 (ceil): Define using libm_alias_double.
21771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21772 Include <libm-alias-double.h>.
21773 (floor): Define using libm_alias_double.
21774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21775 <libm-alias-double.h>.
21776 (modf): Define using libm_alias_double.
21777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21778 Include <libm-alias-double.h>.
21779 (round): Define using libm_alias_double.
21780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21781 Include <libm-alias-double.h>.
21782 (trunc): Define using libm_alias_double.
21783 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21784 <libm-alias-double.h>.
21785 (ceil): Define using libm_alias_double.
21786 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21787 <libm-alias-double.h>.
21788 (floor): Define using libm_alias_double.
21789 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21790 <libm-alias-double.h>.
21791 (round): Define using libm_alias_double.
21792 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21793 <libm-alias-double.h>.
21794 (trunc): Define using libm_alias_double.
21795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21796 <libm-alias-double.h>.
21797 (ceil): Define using libm_alias_double.
21798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21799 <libm-alias-double.h>.
21800 (floor): Define using libm_alias_double.
21801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21802 <libm-alias-double.h>.
21803 (modf): Define using libm_alias_double.
21804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21805 <libm-alias-double.h>.
21806 (round): Define using libm_alias_double.
21807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21808 <libm-alias-double.h>.
21809 (trunc): Define using libm_alias_double.
21810 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21811 <libm-alias-double.h>.
21812 (ceil): Define using libm_alias_double.
21813 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21814 <libm-alias-double.h>.
21815 (floor): Define using libm_alias_double.
21816 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21817 <libm-alias-double.h>.
21818 (nearbyint): Define using libm_alias_double.
21819 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21820 <libm-alias-double.h>.
21821 (rint): Define using libm_alias_double.
21822 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21823 <libm-alias-double.h>.
21824 (round): Define using libm_alias_double.
21825 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21826 <libm-alias-double.h>.
21827 (trunc): Define using libm_alias_double.
21828 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21829 <libm-alias-double.h>.
21830 (ceil): Define using libm_alias_double.
21831 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21832 <libm-alias-double.h>.
21833 (floor): Define using libm_alias_double.
21834 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21835 <libm-alias-double.h>.
21836 (round): Define using libm_alias_double.
21837 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21838 <libm-alias-double.h>.
21839 (trunc): Define using libm_alias_double.
21841 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21842 (fabs): Define using libm_alias_double.
21843 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21844 (fma): Define using libm_alias_double.
21845 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21846 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21847 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21848 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21850 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21852 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21854 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21855 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21856 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21859 due redirect macro.
21861 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21863 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21865 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21867 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21868 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21869 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21870 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21873 (libm-sysdep_routines): Add s_nearbyintf-generic and
21874 s_nearbyint-generic.
21875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21888 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21899 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21910 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21921 (sysdep_calls): New rule.
21922 (sysdep_routines): Use sysdep_calls as base.
21923 (libm-sysdep_routines): Add generic rule for symbols shared with
21924 libc. Add s_copysign-generic and s_copysign-generic objects.
21925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21934 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21937 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21938 the list of locales to be built for testing.
21939 * localedata/is_IS.UTF-8.in: New file.
21940 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21943 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21945 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21946 <libm-alias-float.h>.
21947 (fabsf): Define using libm_alias_float.
21949 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21951 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21953 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21955 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21956 <libm-alias-float.h>.
21957 (fabsf): Define using libm_alias_float.
21958 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21959 <libm-alias-float.h>.
21960 (lrintf): Define using libm_alias_float.
21961 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21962 <libm-alias-float.h>.
21963 (rintf): Define using libm_alias_float.
21965 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21966 <libm-alias-double.h>.
21967 (fabs): Define using libm_alias_double.
21968 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21969 <libm-alias-double.h>.
21970 (lrint): Define using libm_alias_double.
21971 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21972 <libm-alias-double.h>.
21973 (rint): Define using libm_alias_double.
21975 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21976 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21977 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21978 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21979 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21980 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21981 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21982 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21983 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21984 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21985 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21986 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21987 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21988 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21989 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21990 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21991 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21992 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21994 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21995 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21996 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21998 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21999 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22000 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22002 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22003 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22004 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22005 s_expm1_template.c.
22006 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22007 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22008 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22010 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22011 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22012 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22013 s_floor_template.c.
22014 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22015 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22016 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22017 s_frexp_template.c.
22018 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22019 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22020 s_lrint_template.c.
22021 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22022 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22023 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22025 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22026 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22027 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22028 s_nearbyint_template.c.
22029 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22030 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22031 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22032 s_remquo_template.c.
22033 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22034 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22035 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22037 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22038 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22039 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22041 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22042 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22043 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22044 s_sincos_template.c.
22045 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22046 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22047 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22049 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22050 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22051 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22053 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22054 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22055 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22056 s_trunc_template.c.
22057 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22058 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22059 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22060 s_atan.c instead of including s_atan.c.
22061 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22062 s_atanf.c instead of including s_atanf.c.
22063 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22064 s_atanl.c instead of including s_atanl.c.
22065 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22066 instead of s_atan.c.
22067 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22068 instead of s_atanf.c.
22069 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22070 instead of s_atanl.c.
22072 * scripts/update-copyrights: Do not handle intl/plural.c
22075 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22078 * configure.ac (BISON): Require to be present.
22079 * configure: Regenerated.
22080 * intl/Makefile (generated): Add plural.c.
22081 [$(BISON) != no]: Make code unconditional.
22082 (plural.c): Change rule to $(objpfx)plural.c.
22083 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22084 * intl/plural.c: Remove.
22085 * manual/install.texi (Tools for Compilation): Document bison as
22087 * INSTALL: Regenerated.
22089 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22091 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22092 <libm-alias-double.h>.
22093 (llrint): Define using libm_alias_double.
22094 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22095 <libm-alias-float.h>.
22096 (llrintf): Define using libm_alias_float.
22097 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22098 <libm-alias-ldouble.h>.
22099 (llrintl): Define using libm_alias_ldouble.
22101 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22102 declare_mgen_alias instead of weak_alias.
22103 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22104 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22105 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22107 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22109 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22111 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22112 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22113 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22115 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22116 Add submul_1-generic.
22117 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22118 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22119 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22121 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22122 Add addmul_1-generic.
22123 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22124 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22125 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22127 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22129 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22130 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22131 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22133 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22135 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22136 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22137 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22139 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22141 According to CLDR, collation rules for Serbian and Bosnian
22142 should be the same as for Croatian.
22145 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22146 and to the list of locales to be built for testing.
22147 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22148 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22149 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22150 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22152 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22154 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22155 to make test case pass.
22156 * localedata/hr_HR.UTF-8.in: Add more test strings.
22158 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22160 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22162 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22164 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22165 the list of locales to built for testing.
22166 * localedata/hr_HR.UTF-8.in: New file.
22168 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22171 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22173 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22174 CLDR (except use ligatures for the digraphs, CLDR does not use
22175 the ligatures), add first_workday, some fixes in the date and time
22177 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22179 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22180 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22181 Add int_p_cs_precedes and int_n_cs_precedes.
22182 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22183 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22185 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22186 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22188 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22189 and lang_lib. Change postal_fmt.
22191 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22193 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22195 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22196 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22197 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22198 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22199 * sysdeps/generic/setjmpP.h: New file.
22200 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22201 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22202 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22203 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22204 Add jmp_buf-ssp.sym.
22205 (tests): Add tst-saved_mask-1.
22207 2017-11-30 Arjun Shankar <arjun@redhat.com>
22211 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22212 instead of request2size.
22214 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22217 (__lllrint): Remove alias.
22218 (lllrint): Likewise.
22219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22220 (__lllrintf): Likewise.
22221 (lllrintf): Likewise.
22223 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22224 <libm-alias-float.h>.
22225 (copysignf): Define using libm_alias_float.
22226 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22227 <libm-alias-float.h>.
22228 (fabsf): Define using libm_alias_float.
22229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22230 Include <libm-alias-float.h>.
22231 (copysignf): Define using libm_alias_float.
22232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22233 <libm-alias-float.h>.
22234 (fabsf): Define using libm_alias_float.
22235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22236 <libm-alias-float.h>.
22237 (fdimf): Define using libm_alias_float.
22238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22239 <libm-alias-float.h>.
22240 (fmaf): Define using libm_alias_float.
22241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22242 <libm-alias-float.h>.
22243 (llrintf): Define using libm_alias_float.
22244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22245 Include <libm-alias-float.h>.
22246 (nearbyintf): Define using libm_alias_float.
22247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22248 <libm-alias-float.h>.
22249 (rintf): Define using libm_alias_float.
22250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22251 <libm-alias-float.h>.
22252 (llrintf): Define using libm_alias_float.
22253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22254 <libm-alias-float.h>.
22255 (lrintf): Define using libm_alias_float.
22256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22257 <libm-alias-float.h>.
22258 (nearbyintf): Define using libm_alias_float.
22259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22260 <libm-alias-float.h>.
22261 (rintf): Define using libm_alias_float.
22262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22263 <libm-alias-float.h>.
22264 (ceilf): Define using libm_alias_float.
22265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22266 <libm-alias-float.h>.
22267 (floorf): Define using libm_alias_float.
22268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22269 <libm-alias-float.h>.
22270 (fmaf): Define using libm_alias_float.
22271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22272 <libm-alias-float.h>.
22273 (lrintf): Define using libm_alias_float.
22274 (llrintf): Likewise.
22275 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22276 <libm-alias-float.h>.
22277 (nearbyintf): Define using libm_alias_float.
22278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22279 <libm-alias-float.h>.
22280 (rintf): Define using libm_alias_float.
22281 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22282 <libm-alias-float.h>.
22283 (truncf): Define using libm_alias_float.
22284 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22285 <libm-alias-float.h>.
22286 (copysignf): Define using libm_alias_float.
22287 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22288 <libm-alias-float.h>.
22289 (fabsf): Define using libm_alias_float.
22290 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22291 <libm-alias-float.h>.
22292 (lrintf): Define using libm_alias_float.
22293 (llrintf): Likewise.
22294 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22295 <libm-alias-float.h>.
22296 (nearbyintf): Define using libm_alias_float.
22297 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22298 <libm-alias-float.h>.
22299 (rintf): Define using libm_alias_float.
22301 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22303 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22304 <libm-alias-double.h>.
22305 (copysign): Define using libm_alias_double.
22306 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22307 <libm-alias-double.h>.
22308 (fabs): Define using libm_alias_double.
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22310 Include <libm-alias-double.h>.
22311 (copysign): Define using libm_alias_double.
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22313 <libm-alias-double.h>.
22314 (fabs): Define using libm_alias_double.
22315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22316 <libm-alias-double.h>.
22317 (fdim): Define using libm_alias_double.
22318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22319 <libm-alias-double.h>.
22320 (fma): Define using libm_alias_double.
22321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22322 <libm-alias-double.h>.
22323 (llrint): Define using libm_alias_double.
22324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22325 Include <libm-alias-double.h>.
22326 (nearbyint): Define using libm_alias_double.
22327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22328 <libm-alias-double.h>.
22329 (rint): Define using libm_alias_double.
22330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22331 <libm-alias-double.h>.
22332 (fabs): Define using libm_alias_double.
22333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22334 <libm-alias-double.h>.
22335 (llrint): Define using libm_alias_double.
22336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22337 <libm-alias-double.h>.
22338 (nearbyint): Define using libm_alias_double.
22339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22340 <libm-alias-double.h>.
22341 (rint): Define using libm_alias_double.
22342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22343 <libm-alias-double.h>.
22344 (ceil): Define using libm_alias_double.
22345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22346 <libm-alias-double.h>.
22347 (floor): Define using libm_alias_double.
22348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22349 <libm-alias-double.h>.
22350 (fma): Define using libm_alias_double.
22351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22352 <libm-alias-double.h>.
22353 (lrint): Define using libm_alias_double.
22354 (llrint): Likewise.
22355 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22356 <libm-alias-double.h>.
22357 (nearbyint): Define using libm_alias_double.
22358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22359 <libm-alias-double.h>.
22360 (rint): Define using libm_alias_double.
22361 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22362 <libm-alias-double.h>.
22363 (trunc): Define using libm_alias_double.
22364 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22365 <libm-alias-double.h>.
22366 (copysign): Define using libm_alias_double.
22367 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22368 <libm-alias-double.h>.
22369 (fabs): Define using libm_alias_double.
22370 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22371 <libm-alias-double.h>.
22372 (lrint): Define using libm_alias_double.
22373 (llrint): Likewise.
22374 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22375 <libm-alias-double.h>.
22376 (nearbyint): Define using libm_alias_double.
22377 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22378 <libm-alias-double.h>.
22379 (rint): Define using libm_alias_double.
22382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22384 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22386 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22387 SPARC --disable-multi-arch glibc variants.
22389 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22390 <libm-alias-float.h>.
22391 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22393 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22394 <libm-alias-float.h>.
22395 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22397 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22398 <libm-alias-float.h>.
22399 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22401 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22402 <libm-alias-float.h>.
22403 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22405 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22406 <libm-alias-float.h>.
22407 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22409 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22410 <libm-alias-float.h>.
22411 (ceilf): Define using libm_alias_float.
22412 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22413 <libm-alias-float.h>.
22414 (floorf): Define using libm_alias_float.
22415 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22416 <libm-alias-float.h>.
22417 (fmaf): Define using libm_alias_float.
22418 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22419 <libm-alias-float.h>.
22420 (nearbyintf): Define using libm_alias_float.
22421 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22422 <libm-alias-float.h>.
22423 (rintf): Define using libm_alias_float.
22424 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22425 <libm-alias-float.h>.
22426 (truncf): Define using libm_alias_float.
22427 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22428 (copysignf): Define using libm_alias_float.
22429 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22430 (cosf): Define using libm_alias_float.
22431 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22432 (fabsf): Define using libm_alias_float.
22433 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22434 (fmaxf): Define using libm_alias_float.
22435 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22436 (fminf): Define using libm_alias_float.
22437 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22438 (llrintf): Define using libm_alias_float.
22439 [!__ILP32__] (lrintf): Likewise.
22440 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22441 (sincosf): Define using libm_alias_float.
22442 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22443 (sinf): Define using libm_alias_float.
22444 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22445 (lrintf): Define using libm_alias_float.
22447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22448 <libm-alias-double.h>.
22449 (atan): Define using libm_alias_double.
22450 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22451 <libm-alias-double.h>.
22452 (ceil): Define using libm_alias_double.
22453 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22454 <libm-alias-double.h>.
22455 (floor): Define using libm_alias_double.
22456 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22457 <libm-alias-double.h>.
22458 (fma): Define using libm_alias_double.
22459 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22460 <libm-alias-double.h>.
22461 (nearbyint): Define using libm_alias_double.
22462 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22463 <libm-alias-double.h>.
22464 (rint): Define using libm_alias_double.
22465 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22466 <libm-alias-double.h>.
22467 (sin): Define using libm_alias_double.
22469 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22470 <libm-alias-double.h>.
22471 (tan): Define using libm_alias_double.
22472 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22473 <libm-alias-double.h>.
22474 (trunc): Define using libm_alias_double.
22475 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22476 (copysign): Define using libm_alias_double.
22477 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22478 (fabs): Define using libm_alias_double.
22479 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22480 (fmax): Define using libm_alias_double.
22481 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22482 (fmin): Define using libm_alias_double.
22483 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22484 (llrint): Define using libm_alias_double.
22485 [!__ILP32__] (lrint): Likewise.
22486 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22487 (lrint): Define using libm_alias_double.
22489 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22492 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22502 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22505 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22509 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22512 (libm-sysdep_routines): Add s_nearbyint-generic and
22513 s_nearbyintf-generic objects.
22514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22515 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22516 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22518 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22522 Add s_finitef-generic and s_finite-generic objects.
22523 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22524 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22525 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22531 Add s_isinff-generic and s_isinf-generic objects.
22532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22540 Add s_isnanf-generic and s_isnan-generic objects.
22541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22548 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22552 (sysdep_routines): Use sysdep_calls as base.
22553 (libm-sysdep_routines): Add generic rule for symbols shared with
22554 libc. Add s_signbit-generic and s_signbitf-generic objects.
22555 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22557 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22558 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22559 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22560 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22562 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22564 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22565 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22566 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22567 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22568 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22569 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22570 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22571 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22572 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22573 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22574 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22575 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22576 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22577 libm_alias_float_r.
22578 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22579 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22581 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22582 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22583 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22584 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22585 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22586 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22587 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22588 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22589 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22590 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22592 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22594 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22595 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22596 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22597 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22598 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22599 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22600 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22601 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22602 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22603 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22604 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22605 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22606 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22607 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22608 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22609 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22610 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22611 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22612 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22614 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22615 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22616 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22617 * sysdeps/ia64/fpu/w_lgammaf_main.c
22618 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22619 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22621 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22622 Alexandre Oliva <aoliva@redhat.com>
22625 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22626 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22628 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22630 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22631 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22632 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22633 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22634 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22635 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22636 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22637 instead of “ifdef DIACRIT_BACKWARD”.
22639 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22641 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22642 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22643 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22644 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22645 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22646 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22653 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22654 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22655 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22656 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22657 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22658 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22660 ($(have-as-vis3) == yes): Remove conditional.
22661 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22677 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22678 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22680 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22682 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22683 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22684 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22685 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22686 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22687 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22688 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22689 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22690 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22691 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22692 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22693 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22694 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22695 libm_alias_double_r.
22696 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22698 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22699 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22700 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22701 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22702 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22703 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22704 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22705 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22706 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22707 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22708 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22710 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22712 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22713 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22714 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22715 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22716 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22717 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22718 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22719 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22720 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22721 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22722 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22723 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22724 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22725 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22726 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22727 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22728 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22729 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22731 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22732 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22733 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22734 * sysdeps/ia64/fpu/w_lgamma_main.c
22735 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22736 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22738 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22740 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22741 address of $global$ into %dp register earlier. Use pc-relative
22742 instruction sequence for PIC case.
22744 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22746 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22747 (asinhf): Define using libm_alias_float.
22748 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22749 (atanf): Define using libm_alias_float.
22750 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22751 (cbrtf): Define using libm_alias_float.
22752 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22753 (ceilf): Define using libm_alias_float.
22754 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22755 (copysignf): Define using libm_alias_float.
22756 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22757 (expm1f): Define using libm_alias_float.
22758 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22759 (fabsf): Define using libm_alias_float.
22760 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22761 (floorf): Define using libm_alias_float.
22762 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22763 (fmaxf): Define using libm_alias_float.
22764 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22765 (fminf): Define using libm_alias_float.
22766 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22767 (frexpf): Define using libm_alias_float.
22768 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22769 (llrintf): Define using libm_alias_float.
22770 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22771 (logbf): Define using libm_alias_float.
22772 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22773 (lrintf): Define using libm_alias_float.
22774 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22775 (nearbyintf): Define using libm_alias_float.
22776 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22777 (remquof): Define using libm_alias_float.
22778 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22779 (rintf): Define using libm_alias_float.
22780 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22781 (truncf): Define using libm_alias_float.
22782 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22783 <libm-alias-float.h>.
22784 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22786 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22787 <libm-alias-float.h>.
22788 (expf): Define using libm_alias_float, or libm_alias_float_other
22790 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22791 <libm-alias-float.h>.
22792 (log2f): Define using libm_alias_float, or libm_alias_float_other
22794 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22795 <libm-alias-float.h>.
22796 (logf): Define using libm_alias_float, or libm_alias_float_other
22798 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22799 <libm-alias-float.h>.
22800 (powf): Define using libm_alias_float, or libm_alias_float_other
22802 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22803 <libm-alias-float.h>.
22804 (cosf): Define using libm_alias_float.
22805 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22806 <libm-alias-float.h>.
22807 (sincosf): Define using libm_alias_float.
22808 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22809 <libm-alias-float.h>.
22810 (sinf): Define using libm_alias_float.
22811 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22812 (fmaxf): Define using libm_alias_float.
22813 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22814 (fminf): Define using libm_alias_float.
22815 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22816 <libm-alias-float.h>.
22817 (fmaf): Define using libm_alias_float.
22819 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22820 (asinh): Define using libm_alias_double.
22821 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22822 (atan): Define using libm_alias_double.
22823 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22824 (cbrt): Define using libm_alias_double.
22825 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22826 (ceil): Define using libm_alias_double.
22827 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22828 (copysign): Define using libm_alias_double.
22829 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22830 (expm1): Define using libm_alias_double.
22831 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22832 (fabs): Define using libm_alias_double.
22833 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22834 (fdim): Define using libm_alias_double.
22835 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22836 (floor): Define using libm_alias_double.
22837 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22838 (fmax): Define using libm_alias_double.
22839 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22840 (fmin): Define using libm_alias_double.
22841 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22842 (frexp): Define using libm_alias_double.
22843 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22844 (llrint): Define using libm_alias_double.
22845 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22846 (logb): Define using libm_alias_double.
22847 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22848 (lrint): Define using libm_alias_double.
22849 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22850 (nearbyint): Define using libm_alias_double.
22851 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22852 (remquo): Define using libm_alias_double.
22853 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22854 (rint): Define using libm_alias_double.
22855 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22856 (trunc): Define using libm_alias_double.
22857 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22858 (fmax): Define using libm_alias_double.
22859 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22860 (fmin): Define using libm_alias_double.
22861 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22862 (fma): Define using libm_alias_double.
22864 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22867 * elf/dl-hwcaps.c (ROUND): Removed.
22868 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22869 and ELF_NOTE_NEXT_OFFSET.
22870 * elf/dl-load.c (ROUND): Removed.
22871 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22872 * elf/readelflib.c (ROUND): Removed.
22873 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22874 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22875 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22876 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22878 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22880 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22881 [!__fmaf] (fmaf): Define using libm_alias_float.
22883 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22884 [!__fma] (fma): Define using libm_alias_double.
22885 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22887 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22890 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22891 and implement the collation rules for cs from CLDR on top of that.
22892 * Makefile: Add cs_CZ.UTF-8 to test-input.
22893 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22895 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22897 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22899 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22900 Icarus Sparry <icarus.w.sparry@intel.com>
22902 * benchtests/Makefile:Add BENCHSET to allow subsets of
22903 benchmarks to be run.
22904 * benchtests/README: Add documentation for: Running subsets of
22907 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22909 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22910 range of tests names.
22912 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22913 result from property and remove "max", min" and "mean" from
22914 required properties based on benchtests/bench-skeleton.c.
22916 2017-11-28 Florian Weimer <fweimer@redhat.com>
22919 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22920 due to Internet requirement.
22921 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22923 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22925 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22927 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22928 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22929 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22930 (sysdep_routines): Add memset-ultra1.
22931 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22933 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22934 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22935 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22936 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22937 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22938 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22939 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22940 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22942 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22944 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22945 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22946 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22947 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22948 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22949 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22950 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22952 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22953 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22954 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22955 (sysdep_routines): Add memcpy-ultra1.
22956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22957 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22959 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22961 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22962 (cfloat_versions): Take function argument without trailing 'f'.
22963 Call libm_alias_float_other.
22964 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22965 * sysdeps/alpha/fpu/cargf.c: Likewise.
22966 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22967 * sysdeps/alpha/fpu/conjf.c: Likewise.
22968 * sysdeps/alpha/fpu/crealf.c: Likewise.
22969 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22970 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22971 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22972 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22973 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22974 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22975 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22976 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22977 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22978 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22979 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22980 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22981 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22982 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22983 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22984 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22985 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22986 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22987 (clog10f): Use libm_alias_float_other.
22988 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22989 (ceilf): Define using libm_alias_float.
22990 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22991 (copysignf): Define using libm_alias_float.
22992 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22993 (fabsf): Define using libm_alias_float.
22994 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22995 (floorf): Define using libm_alias_float.
22996 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22997 (fmaxf): Define using libm_alias_float.
22998 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22999 (fminf): Define using libm_alias_float.
23000 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23001 (lrintf): Define using libm_alias_float.
23002 (llrintf): Likewise.
23003 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23004 (lroundf): Define using libm_alias_float.
23005 (llroundf): Likewise.
23006 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23007 (rintf): Define using libm_alias_float.
23008 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23009 (truncf): Define using libm_alias_float.
23011 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23012 (ceilf): Define using libm_alias_float.
23013 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23014 (floorf): Define using libm_alias_float.
23015 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23016 (fmaf): Define using libm_alias_float.
23017 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23018 (fmaxf): Define using libm_alias_float.
23019 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23020 (fminf): Define using libm_alias_float.
23021 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23022 (llrintf): Define using libm_alias_float.
23023 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23024 (llroundf): Define using libm_alias_float.
23025 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23026 (lrintf): Define using libm_alias_float.
23027 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23028 (lroundf): Define using libm_alias_float.
23029 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23030 <libm-alias-float.h>.
23031 (nearbyintf): Define using libm_alias_float.
23032 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23033 (rintf): Define using libm_alias_float.
23034 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23035 (roundf): Define using libm_alias_float.
23036 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23037 (truncf): Define using libm_alias_float.
23039 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23040 (ceil): Define using libm_alias_double.
23041 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23042 (copysign): Define using libm_alias_double.
23043 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23044 (fabs): Define using libm_alias_double.
23045 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23046 (floor): Define using libm_alias_double.
23047 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23048 (fmax): Define using libm_alias_double.
23049 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23050 (fmin): Define using libm_alias_double.
23051 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23052 (lrint): Define using libm_alias_double.
23053 (llrint): Likewise.
23054 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23055 (lround): Define using libm_alias_double.
23056 (llround): Likewise.
23057 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23058 (rint): Define using libm_alias_double.
23059 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23060 (trunc): Define using libm_alias_double.
23062 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23063 (libm_alias_double_r): Add semicolon after weak_alias call.
23065 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23067 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23068 (ceil): Define using libm_alias_double.
23069 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23070 (floor): Define using libm_alias_double.
23071 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23072 (fma): Define using libm_alias_double.
23073 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23074 (fmax): Define using libm_alias_double.
23075 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23076 (fmin): Define using libm_alias_double.
23077 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23078 (llrint): Define using libm_alias_double.
23079 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23080 (llround): Define using libm_alias_double.
23081 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23082 (lrint): Define using libm_alias_double.
23083 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23084 (lround): Define using libm_alias_double.
23085 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23086 (nearbyint): Define using libm_alias_double.
23087 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23088 (rint): Define using libm_alias_double.
23089 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23090 (round): Define using libm_alias_double.
23091 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23092 (trunc): Define using libm_alias_double.
23094 2017-11-27 Florian Weimer <fweimer@redhat.com>
23096 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23097 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23098 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23099 (tests): Add tst-mlock2.
23100 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23101 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23102 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23103 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23104 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23105 for mlock. Document mlock2.
23107 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23109 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23110 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23112 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23114 * sysdeps/x86/Makeconfig: New file.
23115 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23116 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23117 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23118 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23119 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23120 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23121 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23123 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23124 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23125 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23126 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23127 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23128 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23129 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23130 * manual/math.texi (Mathematics): Document support for _Float64x.
23131 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23132 * stdlib/Versions (GLIBC_2.27): Likewise.
23133 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23134 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23135 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23136 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23137 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23138 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23139 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23140 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23141 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23142 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23143 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23144 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23149 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23150 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23152 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23153 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23154 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23155 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23156 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23157 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23158 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23159 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23160 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23161 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23162 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23164 2017-11-27 Andreas Schwab <schwab@suse.de>
23166 * elf/Makefile (dl-routines): Add dl-sort-maps.
23167 * elf/dl-sort-maps.c: New file.
23168 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23169 (_dl_sort_maps): Declare.
23170 * elf/dl-fini.c (_dl_sort_fini): Remove.
23171 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23172 * elf/dl-close.c (_dl_close_worker): Likewise.
23173 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23175 * elf/dl-open.c (dl_open_worker): Likewise.
23177 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23179 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23180 using libm_alias_float128.
23181 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23183 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23185 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23186 (setpayloadsigf128): Likewise.
23187 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23189 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23192 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23193 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23194 -mfloat128 to CFLAGS.
23196 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23198 (CFLAGS-libm-test-support-float64x.c): New variable.
23199 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23200 $(f128-loader-link) to gnulib-tests.
23202 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23203 (libm_alias_float128_other_r): If
23204 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23206 (libm_alias_float128_r): Add semicolon after weak_alias call.
23207 * sysdeps/generic/libm-alias-ldouble.h
23208 (libm_alias_ldouble_other_r_f128): New macro.
23209 (libm_alias_ldouble_other_r_f64x): Likewise.
23210 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23211 and libm_alias_ldouble_other_r_f64x.
23212 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23213 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23214 (libm_alias_ldouble_other_r_f128): New macro.
23215 (libm_alias_ldouble_other_r_f64x): Likewise.
23216 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23217 and libm_alias_ldouble_other_r_f64x.
23219 * stdlib/strfroml.c: Always include <stdlib.h>.
23220 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23221 undefine as macro and define as weak alias.
23222 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23223 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23225 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23226 Define and later undefine as macro and define as weak alias.
23228 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23229 Define and later undefine as macro. Define as weak alias if
23231 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23232 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23233 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23234 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23235 Define and later undefine as macro. Define as weak alias if
23237 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23238 Define and later undefine as macro. Define as weak alias if
23240 * sysdeps/ieee754/float128/strtof128_l.c
23241 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23242 Define and later undefine as macro. Define as weak alias if
23244 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23245 Define and later undefine as macro. Define as weak alias if
23247 * sysdeps/ieee754/ldbl-128/strtold_l.c
23248 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23249 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23250 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23251 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23252 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23253 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23254 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23255 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23256 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23257 * sysdeps/ieee754/ldbl-96/strtold_l.c
23258 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23259 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23260 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23261 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23263 * math/test-float64x.h: New file.
23264 * math/Makefile (type-float64x-yes): New variable.
23265 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23267 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23268 function-like macro.
23269 (min_of_type_): Likewise.
23270 (min_of_type_l): Likewise.
23271 (min_of_type_f128): Likewise.
23272 (min_of_type): Pass () as last argument of __MATH_TG.
23274 * stdlib/tst-strtod-round-skeleton.c
23275 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23278 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23279 for combinations of long double with _Float64 and _Float64x.
23281 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23282 (__DECL_SIMD_cosf32): Likewise.
23283 (__DECL_SIMD_cosf64): Likewise.
23284 (__DECL_SIMD_cosf32x): Likewise.
23285 (__DECL_SIMD_cosf64x): Likewise.
23286 (__DECL_SIMD_cosf128x): Likewise.
23287 (__DECL_SIMD_sinf16): Likewise.
23288 (__DECL_SIMD_sinf32): Likewise.
23289 (__DECL_SIMD_sinf64): Likewise.
23290 (__DECL_SIMD_sinf32x): Likewise.
23291 (__DECL_SIMD_sinf64x): Likewise.
23292 (__DECL_SIMD_sinf128x): Likewise.
23293 (__DECL_SIMD_sincosf16): Likewise.
23294 (__DECL_SIMD_sincosf32): Likewise.
23295 (__DECL_SIMD_sincosf64): Likewise.
23296 (__DECL_SIMD_sincosf32x): Likewise.
23297 (__DECL_SIMD_sincosf64x): Likewise.
23298 (__DECL_SIMD_sincosf128x): Likewise.
23299 (__DECL_SIMD_logf16): Likewise.
23300 (__DECL_SIMD_logf32): Likewise.
23301 (__DECL_SIMD_logf64): Likewise.
23302 (__DECL_SIMD_logf32x): Likewise.
23303 (__DECL_SIMD_logf64x): Likewise.
23304 (__DECL_SIMD_logf128x): Likewise.
23305 (__DECL_SIMD_expf16): Likewise.
23306 (__DECL_SIMD_expf32): Likewise.
23307 (__DECL_SIMD_expf64): Likewise.
23308 (__DECL_SIMD_expf32x): Likewise.
23309 (__DECL_SIMD_expf64x): Likewise.
23310 (__DECL_SIMD_expf128x): Likewise.
23311 (__DECL_SIMD_powf16): Likewise.
23312 (__DECL_SIMD_powf32): Likewise.
23313 (__DECL_SIMD_powf64): Likewise.
23314 (__DECL_SIMD_powf32x): Likewise.
23315 (__DECL_SIMD_powf64x): Likewise.
23316 (__DECL_SIMD_powf128x): Likewise.
23318 * stdlib/Versions (libc): Move entries for wcstof128 and
23319 wcstof128_l to ....
23320 * wcsmbs/Versions (libc): ... here.
23321 Include <float128-abi.h>.
23323 2017-11-24 Florian Weimer <fweimer@redhat.com>
23325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23326 bits/mman-shared.h.
23327 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23328 <bits/mman-shared.h>.
23329 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23331 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23332 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23333 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23334 <bits/mman-shared.h>.
23336 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23339 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23340 posix_memalign/free.
23341 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23343 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23346 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23347 and implement the collation rules for pl from CLDR on top of that.
23348 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23349 of locales to be built for testing.
23350 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23352 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23354 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23355 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23356 libm_alias_ldouble_other.
23357 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23358 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23359 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23360 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23361 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23362 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23363 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23364 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23365 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23366 libm_alias_ldouble_r.
23367 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23368 libm_alias_ldouble_other.
23369 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23370 (log10l): Likewise.
23371 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23372 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23373 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23374 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23375 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23376 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23377 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23378 (atan2l): Likewise.
23379 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23380 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23381 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23382 libm_alias_ldouble.
23383 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23385 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23386 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23387 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23389 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23390 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23391 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23392 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23393 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23394 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23395 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23396 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23397 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23398 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23399 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23400 libm_alias_ldouble.
23401 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23402 libm_alias_ldouble_other.
23403 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23404 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23405 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23406 libm_alias_ldouble.
23407 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23408 libm_alias_ldouble_other.
23409 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23410 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23411 * sysdeps/ia64/fpu/w_lgammal_main.c
23412 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23413 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23415 2017-11-23 Florian Weimer <fweimer@redhat.com>
23417 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23418 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23419 alike. Remove freeres marker.
23420 * malloc/arena.c (arena_thread_freeres): Call
23421 tcache_thread_shutdown.
23423 2017-11-23 Florian Weimer <fweimer@redhat.com>
23426 Export nscd hash function as __nss_hash.
23427 * include/nss.h (__nss_hash): Declare.
23428 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23430 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23431 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23433 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23434 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23435 * nss/Makefiles (routines): Add nss_hash.
23436 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23437 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23438 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23439 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23441 2017-11-23 Florian Weimer <fweimer@redhat.com>
23444 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23445 Return error code, not -1.
23446 * signal/tst-sigwait-eintr.c: New file.
23447 * signal/Makefile (tests): Add tst-sigwait-eintr.
23449 2017-11-23 Florian Weimer <fweimer@redhat.com>
23451 Linux: Add memfd_create system call wrapper
23452 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23454 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23455 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23456 [__USE_GNU] (memfd_create): Declare.
23457 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23458 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23459 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23460 * sysdeps/unix/sysv/linux/**.abilist: Update.
23461 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23463 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23465 * localedata/gen-locale.sh: Fix typo in variable name.
23467 * resolv/res_debug.c (p_secstodate): Condition definition on
23468 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23469 directly as __p_secstodate, and as a compat symbol. Do not use
23470 libresolv_hidden_def.
23471 * resolv/resolv.h (p_secstodate): Remove macro and function
23473 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23474 using p_secstodate.
23475 * include/resolv.h (__p_secstodate): Do not use
23476 libresolv_hidden_proto.
23477 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23478 (tests-internal): ... here.
23479 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23480 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23481 and declare and use __p_secstodate and use compat_symbol_reference
23483 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23484 implementation returning 77.
23487 * resolv/res_debug.c: Include <libc-diag.h>.
23488 (p_secstodate): Assert time_t at least as wide as u_long. On
23489 overflow, use integer seconds since the epoch as output, or use
23490 "<overflow>" as output and set errno to EOVERFLOW if integer
23491 seconds since the epoch would be 14 or more characters.
23492 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23494 * resolv/tst-p_secstodate.c: New file.
23495 * resolv/Makefile (tests): Add tst-p_secstodate.
23496 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23498 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23499 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23500 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23502 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23504 * posix/regcomp.c (init_word_char): Add comments.
23506 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23509 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23510 strlen to compute length of ut_user and set trailing NUL byte of
23513 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23516 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23517 using “copy "iso14651_t1"” and then implementing the
23518 collation rules for lv from CLDR on top of that.
23519 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23520 of locales to be built for testing.
23521 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23524 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23526 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23527 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23528 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23529 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23530 [__USE_MISC] (MADV_HWPOISON): New macro.
23531 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23533 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23535 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23536 -Wmissing-braces on GCC 4.9.
23538 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23540 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23541 * sysdeps/s390/s390-32/start.S (_start): Likewise
23542 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23543 (thread_start): Likewise.
23544 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23545 (thread_start): Likewise.
23546 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23547 (__makecontext_ret): Likewise.
23548 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23549 (__makecontext_ret): Likewise.
23551 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23553 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23554 __wcschrnul): Remove attribute_hidden.
23556 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23558 regex: don't assume uint64_t or uint32_t
23559 This avoids -Werror=overflow errors for 32-bit systems in
23560 the 64-bit case. Problem reported by Joseph Myers in:
23561 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23562 Also, when this code is used in Gnulib it ports to platforms
23563 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23564 them, and on some 32-bit compilers there is no uint64_t.
23565 Problem reported by Gianluigi Tiesi in:
23566 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23567 * posix/regcomp.c (init_word_char): Don't assume that the types
23568 uint64_t and uint32_t exist. Adapted from Gnulib patch
23569 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23570 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23572 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23574 * sysdeps/aarch64/memset-reg.h: New file.
23575 * sysdeps/aarch64/memset.S: Use it.
23576 (__memset): Rename to MEMSET macro.
23577 [ZVA_MACRO]: Use zva_macro.
23578 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23579 Add memset_generic and memset_falkor.
23580 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23581 (__libc_ifunc_impl_list): Add memset ifuncs.
23582 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23583 local variable zva_size.
23584 * sysdeps/aarch64/multiarch/memset.c: New file.
23585 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23586 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23587 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23588 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23589 (DCZID_DZP_MASK): New macro.
23590 (DCZID_BS_MASK): Likewise.
23591 (init_cpu_features): Read and set zva_size.
23592 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23593 (struct cpu_features): New member zva_size.
23595 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23596 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23597 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23599 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23600 backwards. Fix timing computation.
23601 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23602 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23603 on memset by N at a time. Fix timing computation.
23605 2017-11-20 Florian Weimer <fweimer@redhat.com>
23607 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23608 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23610 2017-11-19 Florian Weimer <fweimer@redhat.com>
23612 manual: Document mprotect
23613 * manual/memory.texi (Memory Protection): New section.
23614 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23615 documentation of PROT_* flags and reference the Memory Protection
23618 2017-11-19 Florian Weimer <fweimer@redhat.com>
23620 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23621 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23622 (Scatter-Gather): ... to here. Remove misleading comment.
23624 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23626 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23629 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23630 when /proc/<pid>/setgroups does not exist.
23632 2017-11-18 Florian Weimer <fweimer@redhat.com>
23634 * sysdeps/unix/sysv/linux/tst-ttyname.c
23635 (become_root_in_mount_ns): Remove.
23636 (do_in_chroot_1): Call support_enter_mount_namespace.
23637 (do_in_chroot_2): Likewise.
23638 (do_test): Call support_become_root early.
23640 2017-11-18 Florian Weimer <fweimer@redhat.com>
23642 * support/namespace.h (support_enter_mount_namespace): Declare.
23643 * support/support_enter_mount_namespace.c: New file.
23644 * support/Makefile (libsupport-routines): Add
23645 support_enter_mount_namespace.
23647 2017-11-18 Florian Weimer <fweimer@redhat.com>
23649 * support/temp_file.c (support_create_temp_directory): Use
23650 test_dir and do not rely on the presence of the XXXXXX suffix.
23651 * support/temp_file.h (support_create_temp_directory): Update
23653 * support/tst-xreadlink.c (do_test): Adjust.
23654 * support/support_chroot.c (support_chroot_create): Likewise.
23656 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23658 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23660 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23663 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23665 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23666 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23667 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23668 (ceill): Define using libm_alias_ldouble.
23669 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23670 <libm-alias-ldouble.h>.
23671 (copysignl): Define using libm_alias_ldouble.
23672 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23673 (fabsl): Define using libm_alias_ldouble.
23674 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23675 (floorl): Define using libm_alias_ldouble.
23676 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23677 (fmaxl): Define using libm_alias_ldouble.
23678 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23679 (fminl): Define using libm_alias_ldouble.
23680 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23681 (llrintl): Define using libm_alias_ldouble.
23682 (lrintl): Likewise.
23683 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23684 <libm-alias-ldouble.h>.
23685 (nearbyintl): Define using libm_alias_ldouble.
23686 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23687 (truncl): Define using libm_alias_ldouble.
23688 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23689 <libm-alias-ldouble.h>.
23690 (lrintl): Define using libm_alias_ldouble.
23692 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23693 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23694 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23695 (asinhl): Define using libm_alias_ldouble.
23696 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23697 (atanl): Define using libm_alias_ldouble.
23698 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23699 (cbrtl): Define using libm_alias_ldouble.
23700 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23701 (ceill): Define using libm_alias_ldouble.
23702 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23703 (copysignl): Define using libm_alias_ldouble.
23704 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23705 (fabsl): Define using libm_alias_ldouble.
23706 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23707 (floorl): Define using libm_alias_ldouble.
23708 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23709 (fmaxl): Define using libm_alias_ldouble.
23710 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23711 (fminl): Define using libm_alias_ldouble.
23712 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23713 (frexpl): Define using libm_alias_ldouble.
23714 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23715 (llrintl): Define using libm_alias_ldouble.
23716 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23717 (logbl): Define using libm_alias_ldouble.
23718 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23719 (lrintl): Define using libm_alias_ldouble.
23720 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23721 (nearbyintl): Define using libm_alias_ldouble.
23722 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23723 (nextafterl): Define using libm_alias_ldouble.
23724 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23725 (remquol): Define using libm_alias_ldouble.
23726 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23727 (rintl): Define using libm_alias_ldouble.
23728 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23729 (truncl): Define using libm_alias_ldouble.
23730 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23731 (fmaxl): Define using libm_alias_ldouble.
23732 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23733 (fminl): Define using libm_alias_ldouble.
23735 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23736 to C syntax instead of availability and properties of types.
23737 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23738 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23739 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23740 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23741 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23742 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23744 2017-11-17 Florian Weimer <fweimer@redhat.com>
23746 support_become_root: Enable file creation in namespaces.
23747 * support/support_become_root.c (setup_mapping): New function.
23748 (support_become_root): Call it.
23750 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23752 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23755 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23757 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23758 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23760 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23762 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23764 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23767 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23769 * INSTALL: Fix botched up regeneration.
23771 * NEWS: Update sourceare link to https.
23772 * configure.ac: Likewise.
23773 * crypt/md5test-giant.c: Likewise.
23774 * dlfcn/bug-atexit1.c: Likewise.
23775 * dlfcn/bug-atexit2.c: Likewise.
23776 * localedata/README: Likewise.
23777 * malloc/tst-mallocfork.c: Likewise.
23778 * manual/install.texi: Likewise.
23779 * nptl/tst-pthread-getattr.c: Likewise.
23780 * stdio-common/tst-fgets.c: Likewise.
23781 * stdio-common/tst-fwrite.c: Likewise.
23782 * sunrpc/Makefile: Likewise.
23783 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23784 * wcsmbs/tst-mbrtowc2.c: Likewise.
23785 * configure: Regenerate.
23786 * INSTALL: Regenerate.
23788 2017-11-15 Martin Sebor <msebor@redhat.com>
23790 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23791 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23792 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23794 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23797 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23798 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23801 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23802 Defer is_pty check until end of the function.
23803 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23806 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23807 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23808 (ttyname): Likewise.
23809 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23810 (__ttyname_r): Likewise.
23812 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23815 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23817 * manual/terminal.texi (Is It a Terminal):
23818 Mention ENODEV for ttyname and ttyname_r.
23820 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23822 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23823 constant and macro.
23825 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23826 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23827 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23828 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23829 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23830 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23832 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23834 * signal/sigrelse.c (sigrelse): Optimize implementation.
23836 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23837 (__sigpause): Rely on __sigsuspend to implement single thread
23838 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23840 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23842 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23843 kernel version to 4.14.
23845 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23848 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23849 Check if ifname is too long.
23851 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23853 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23855 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23857 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23858 was accidentally lost.
23860 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23862 * localedata/locales/az_IR: Add standard copyright header.
23864 2017-11-15 Florian Weimer <fweimer@redhat.com>
23867 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23868 not just the top one. Output a new "subheaps" statistic.
23870 2017-11-15 Florian Weimer <fweimer@redhat.com>
23873 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23874 under the per-arena lock.
23875 * malloc/Makefile (tests): Add tst-malloc_info.
23876 (tst-malloc_info): Link with libpthread.
23877 * malloc/tst-malloc_info.c: New file.
23879 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23882 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23883 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23884 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23885 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23886 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23887 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23888 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23889 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23890 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23891 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23892 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23893 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23894 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23895 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23896 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23897 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23898 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23899 (__floating_type): Likewise.
23900 (__real_integer_type): Likewise.
23901 (__complex_integer_type): Likewise.
23902 (__expr_is_real): Likewise.
23903 (__tgmath_real_type_sub): Likewise.
23904 (__tgmath_real_type): Likewise.
23905 (__tgmath_complex_type_sub): Likewise.
23906 (__tgmath_complex_type): Likewise.
23907 (__TGMATH_F128): Likewise.
23908 (__TGMATH_CF128): Likewise.
23909 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23911 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23912 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23914 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23916 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23917 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23918 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23919 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23921 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23922 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23924 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23925 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23926 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23928 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23929 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23930 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23934 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23936 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23937 for stpncpy calls for GCC 8.
23938 (test_strncat): Disable -Wstringop-truncation warning for strncat
23939 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23940 strncat call for GCC 7.
23941 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23943 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23946 * string/bug-strncat1.c: Include <libc-diag.h>.
23947 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23949 2017-11-13 Claude Paroz <claude@2xlibre.net>
23952 * localedata/locales/aa_DJ: Improved readibility by replacing
23953 <Uxxxx> sequences in the ASCII printable range by their ASCII
23954 character equivalents.
23955 * localedata/locales/aa_ER: Likewise.
23956 * localedata/locales/aa_ER@saaho: Likewise.
23957 * localedata/locales/aa_ET: Likewise.
23958 * localedata/locales/af_ZA: Likewise.
23959 * localedata/locales/agr_PE: Likewise.
23960 * localedata/locales/ak_GH: Likewise.
23961 * localedata/locales/am_ET: Likewise.
23962 * localedata/locales/anp_IN: Likewise.
23963 * localedata/locales/ar_AE: Likewise.
23964 * localedata/locales/ar_BH: Likewise.
23965 * localedata/locales/ar_DZ: Likewise.
23966 * localedata/locales/ar_EG: Likewise.
23967 * localedata/locales/ar_IN: Likewise.
23968 * localedata/locales/ar_IQ: Likewise.
23969 * localedata/locales/ar_JO: Likewise.
23970 * localedata/locales/ar_KW: Likewise.
23971 * localedata/locales/ar_LB: Likewise.
23972 * localedata/locales/ar_LY: Likewise.
23973 * localedata/locales/ar_MA: Likewise.
23974 * localedata/locales/ar_OM: Likewise.
23975 * localedata/locales/ar_QA: Likewise.
23976 * localedata/locales/ar_SA: Likewise.
23977 * localedata/locales/ar_SD: Likewise.
23978 * localedata/locales/ar_SS: Likewise.
23979 * localedata/locales/ar_SY: Likewise.
23980 * localedata/locales/ar_TN: Likewise.
23981 * localedata/locales/ar_YE: Likewise.
23982 * localedata/locales/as_IN: Likewise.
23983 * localedata/locales/ast_ES: Likewise.
23984 * localedata/locales/ayc_PE: Likewise.
23985 * localedata/locales/az_AZ: Likewise.
23986 * localedata/locales/az_IR: Likewise.
23987 * localedata/locales/be_BY: Likewise.
23988 * localedata/locales/be_BY@latin: Likewise.
23989 * localedata/locales/bem_ZM: Likewise.
23990 * localedata/locales/ber_DZ: Likewise.
23991 * localedata/locales/ber_MA: Likewise.
23992 * localedata/locales/bg_BG: Likewise.
23993 * localedata/locales/bhb_IN: Likewise.
23994 * localedata/locales/bho_IN: Likewise.
23995 * localedata/locales/bi_VU: Likewise.
23996 * localedata/locales/bn_BD: Likewise.
23997 * localedata/locales/bn_IN: Likewise.
23998 * localedata/locales/bo_CN: Likewise.
23999 * localedata/locales/bo_IN: Likewise.
24000 * localedata/locales/br_FR: Likewise.
24001 * localedata/locales/brx_IN: Likewise.
24002 * localedata/locales/bs_BA: Likewise.
24003 * localedata/locales/byn_ER: Likewise.
24004 * localedata/locales/ca_AD: Likewise.
24005 * localedata/locales/ca_ES: Likewise.
24006 * localedata/locales/ca_FR: Likewise.
24007 * localedata/locales/ca_IT: Likewise.
24008 * localedata/locales/ce_RU: Likewise.
24009 * localedata/locales/chr_US: Likewise.
24010 * localedata/locales/cmn_TW: Likewise.
24011 * localedata/locales/crh_UA: Likewise.
24012 * localedata/locales/cs_CZ: Likewise.
24013 * localedata/locales/csb_PL: Likewise.
24014 * localedata/locales/cv_RU: Likewise.
24015 * localedata/locales/cy_GB: Likewise.
24016 * localedata/locales/da_DK: Likewise.
24017 * localedata/locales/de_AT: Likewise.
24018 * localedata/locales/de_BE: Likewise.
24019 * localedata/locales/de_CH: Likewise.
24020 * localedata/locales/de_DE: Likewise.
24021 * localedata/locales/de_IT: Likewise.
24022 * localedata/locales/de_LI: Likewise.
24023 * localedata/locales/de_LU: Likewise.
24024 * localedata/locales/doi_IN: Likewise.
24025 * localedata/locales/dv_MV: Likewise.
24026 * localedata/locales/dz_BT: Likewise.
24027 * localedata/locales/el_CY: Likewise.
24028 * localedata/locales/el_GR: Likewise.
24029 * localedata/locales/en_AG: Likewise.
24030 * localedata/locales/en_AU: Likewise.
24031 * localedata/locales/en_BW: Likewise.
24032 * localedata/locales/en_CA: Likewise.
24033 * localedata/locales/en_DK: Likewise.
24034 * localedata/locales/en_GB: Likewise.
24035 * localedata/locales/en_HK: Likewise.
24036 * localedata/locales/en_IE: Likewise.
24037 * localedata/locales/en_IL: Likewise.
24038 * localedata/locales/en_IN: Likewise.
24039 * localedata/locales/en_NG: Likewise.
24040 * localedata/locales/en_NZ: Likewise.
24041 * localedata/locales/en_PH: Likewise.
24042 * localedata/locales/en_SG: Likewise.
24043 * localedata/locales/en_US: Likewise.
24044 * localedata/locales/en_ZA: Likewise.
24045 * localedata/locales/en_ZM: Likewise.
24046 * localedata/locales/en_ZW: Likewise.
24047 * localedata/locales/eo: Likewise.
24048 * localedata/locales/es_AR: Likewise.
24049 * localedata/locales/es_BO: Likewise.
24050 * localedata/locales/es_CL: Likewise.
24051 * localedata/locales/es_CO: Likewise.
24052 * localedata/locales/es_CR: Likewise.
24053 * localedata/locales/es_CU: Likewise.
24054 * localedata/locales/es_DO: Likewise.
24055 * localedata/locales/es_EC: Likewise.
24056 * localedata/locales/es_ES: Likewise.
24057 * localedata/locales/es_GT: Likewise.
24058 * localedata/locales/es_HN: Likewise.
24059 * localedata/locales/es_MX: Likewise.
24060 * localedata/locales/es_NI: Likewise.
24061 * localedata/locales/es_PA: Likewise.
24062 * localedata/locales/es_PE: Likewise.
24063 * localedata/locales/es_PR: Likewise.
24064 * localedata/locales/es_PY: Likewise.
24065 * localedata/locales/es_SV: Likewise.
24066 * localedata/locales/es_US: Likewise.
24067 * localedata/locales/es_UY: Likewise.
24068 * localedata/locales/es_VE: Likewise.
24069 * localedata/locales/et_EE: Likewise.
24070 * localedata/locales/eu_ES: Likewise.
24071 * localedata/locales/eu_ES@euro: Likewise.
24072 * localedata/locales/fa_IR: Likewise.
24073 * localedata/locales/ff_SN: Likewise.
24074 * localedata/locales/fi_FI: Likewise.
24075 * localedata/locales/fil_PH: Likewise.
24076 * localedata/locales/fo_FO: Likewise.
24077 * localedata/locales/fr_BE: Likewise.
24078 * localedata/locales/fr_CA: Likewise.
24079 * localedata/locales/fr_CH: Likewise.
24080 * localedata/locales/fr_FR: Likewise.
24081 * localedata/locales/fr_LU: Likewise.
24082 * localedata/locales/fur_IT: Likewise.
24083 * localedata/locales/fy_DE: Likewise.
24084 * localedata/locales/fy_NL: Likewise.
24085 * localedata/locales/ga_IE: Likewise.
24086 * localedata/locales/gd_GB: Likewise.
24087 * localedata/locales/gez_ER: Likewise.
24088 * localedata/locales/gez_ET: Likewise.
24089 * localedata/locales/gl_ES: Likewise.
24090 * localedata/locales/gu_IN: Likewise.
24091 * localedata/locales/gv_GB: Likewise.
24092 * localedata/locales/ha_NG: Likewise.
24093 * localedata/locales/hak_TW: Likewise.
24094 * localedata/locales/he_IL: Likewise.
24095 * localedata/locales/hi_IN: Likewise.
24096 * localedata/locales/hif_FJ: Likewise.
24097 * localedata/locales/hne_IN: Likewise.
24098 * localedata/locales/hr_HR: Likewise.
24099 * localedata/locales/hsb_DE: Likewise.
24100 * localedata/locales/ht_HT: Likewise.
24101 * localedata/locales/hu_HU: Likewise.
24102 * localedata/locales/hy_AM: Likewise.
24103 * localedata/locales/i18n: Likewise.
24104 * localedata/locales/ia_FR: Likewise.
24105 * localedata/locales/id_ID: Likewise.
24106 * localedata/locales/ig_NG: Likewise.
24107 * localedata/locales/ik_CA: Likewise.
24108 * localedata/locales/is_IS: Likewise.
24109 * localedata/locales/it_CH: Likewise.
24110 * localedata/locales/it_IT: Likewise.
24111 * localedata/locales/iu_CA: Likewise.
24112 * localedata/locales/ja_JP: Likewise.
24113 * localedata/locales/ka_GE: Likewise.
24114 * localedata/locales/kk_KZ: Likewise.
24115 * localedata/locales/kl_GL: Likewise.
24116 * localedata/locales/kn_IN: Likewise.
24117 * localedata/locales/ko_KR: Likewise.
24118 * localedata/locales/kok_IN: Likewise.
24119 * localedata/locales/ks_IN: Likewise.
24120 * localedata/locales/ks_IN@devanagari: Likewise.
24121 * localedata/locales/ku_TR: Likewise.
24122 * localedata/locales/kw_GB: Likewise.
24123 * localedata/locales/ky_KG: Likewise.
24124 * localedata/locales/lb_LU: Likewise.
24125 * localedata/locales/lg_UG: Likewise.
24126 * localedata/locales/li_BE: Likewise.
24127 * localedata/locales/li_NL: Likewise.
24128 * localedata/locales/lij_IT: Likewise.
24129 * localedata/locales/ln_CD: Likewise.
24130 * localedata/locales/lo_LA: Likewise.
24131 * localedata/locales/lt_LT: Likewise.
24132 * localedata/locales/lv_LV: Likewise.
24133 * localedata/locales/lzh_TW: Likewise.
24134 * localedata/locales/mag_IN: Likewise.
24135 * localedata/locales/mai_IN: Likewise.
24136 * localedata/locales/mg_MG: Likewise.
24137 * localedata/locales/mhr_RU: Likewise.
24138 * localedata/locales/mi_NZ: Likewise.
24139 * localedata/locales/mk_MK: Likewise.
24140 * localedata/locales/ml_IN: Likewise.
24141 * localedata/locales/mn_MN: Likewise.
24142 * localedata/locales/mni_IN: Likewise.
24143 * localedata/locales/mr_IN: Likewise.
24144 * localedata/locales/ms_MY: Likewise.
24145 * localedata/locales/mt_MT: Likewise.
24146 * localedata/locales/my_MM: Likewise.
24147 * localedata/locales/nan_TW: Likewise.
24148 * localedata/locales/nan_TW@latin: Likewise.
24149 * localedata/locales/nb_NO: Likewise.
24150 * localedata/locales/nds_DE: Likewise.
24151 * localedata/locales/nds_NL: Likewise.
24152 * localedata/locales/ne_NP: Likewise.
24153 * localedata/locales/nhn_MX: Likewise.
24154 * localedata/locales/niu_NU: Likewise.
24155 * localedata/locales/niu_NZ: Likewise.
24156 * localedata/locales/nl_AW: Likewise.
24157 * localedata/locales/nl_BE: Likewise.
24158 * localedata/locales/nl_NL: Likewise.
24159 * localedata/locales/nn_NO: Likewise.
24160 * localedata/locales/nr_ZA: Likewise.
24161 * localedata/locales/nso_ZA: Likewise.
24162 * localedata/locales/oc_FR: Likewise.
24163 * localedata/locales/om_ET: Likewise.
24164 * localedata/locales/om_KE: Likewise.
24165 * localedata/locales/or_IN: Likewise.
24166 * localedata/locales/os_RU: Likewise.
24167 * localedata/locales/pa_IN: Likewise.
24168 * localedata/locales/pa_PK: Likewise.
24169 * localedata/locales/pap_AW: Likewise.
24170 * localedata/locales/pap_CW: Likewise.
24171 * localedata/locales/pl_PL: Likewise.
24172 * localedata/locales/ps_AF: Likewise.
24173 * localedata/locales/pt_BR: Likewise.
24174 * localedata/locales/pt_PT: Likewise.
24175 * localedata/locales/quz_PE: Likewise.
24176 * localedata/locales/raj_IN: Likewise.
24177 * localedata/locales/ro_RO: Likewise.
24178 * localedata/locales/ru_RU: Likewise.
24179 * localedata/locales/ru_UA: Likewise.
24180 * localedata/locales/rw_RW: Likewise.
24181 * localedata/locales/sa_IN: Likewise.
24182 * localedata/locales/sat_IN: Likewise.
24183 * localedata/locales/sc_IT: Likewise.
24184 * localedata/locales/sd_IN: Likewise.
24185 * localedata/locales/sd_IN@devanagari: Likewise.
24186 * localedata/locales/se_NO: Likewise.
24187 * localedata/locales/sgs_LT: Likewise.
24188 * localedata/locales/shs_CA: Likewise.
24189 * localedata/locales/si_LK: Likewise.
24190 * localedata/locales/sid_ET: Likewise.
24191 * localedata/locales/sk_SK: Likewise.
24192 * localedata/locales/sl_SI: Likewise.
24193 * localedata/locales/sm_WS: Likewise.
24194 * localedata/locales/so_DJ: Likewise.
24195 * localedata/locales/so_ET: Likewise.
24196 * localedata/locales/so_KE: Likewise.
24197 * localedata/locales/so_SO: Likewise.
24198 * localedata/locales/sq_AL: Likewise.
24199 * localedata/locales/sq_MK: Likewise.
24200 * localedata/locales/sr_ME: Likewise.
24201 * localedata/locales/sr_RS: Likewise.
24202 * localedata/locales/sr_RS@latin: Likewise.
24203 * localedata/locales/ss_ZA: Likewise.
24204 * localedata/locales/st_ZA: Likewise.
24205 * localedata/locales/sv_FI: Likewise.
24206 * localedata/locales/sv_SE: Likewise.
24207 * localedata/locales/sw_KE: Likewise.
24208 * localedata/locales/sw_TZ: Likewise.
24209 * localedata/locales/szl_PL: Likewise.
24210 * localedata/locales/ta_IN: Likewise.
24211 * localedata/locales/ta_LK: Likewise.
24212 * localedata/locales/tcy_IN: Likewise.
24213 * localedata/locales/te_IN: Likewise.
24214 * localedata/locales/tg_TJ: Likewise.
24215 * localedata/locales/th_TH: Likewise.
24216 * localedata/locales/the_NP: Likewise.
24217 * localedata/locales/ti_ER: Likewise.
24218 * localedata/locales/ti_ET: Likewise.
24219 * localedata/locales/tig_ER: Likewise.
24220 * localedata/locales/tk_TM: Likewise.
24221 * localedata/locales/tl_PH: Likewise.
24222 * localedata/locales/tn_ZA: Likewise.
24223 * localedata/locales/to_TO: Likewise.
24224 * localedata/locales/tpi_PG: Likewise.
24225 * localedata/locales/tr_CY: Likewise.
24226 * localedata/locales/tr_TR: Likewise.
24227 * localedata/locales/ts_ZA: Likewise.
24228 * localedata/locales/tt_RU: Likewise.
24229 * localedata/locales/tt_RU@iqtelif: Likewise.
24230 * localedata/locales/ug_CN: Likewise.
24231 * localedata/locales/uk_UA: Likewise.
24232 * localedata/locales/unm_US: Likewise.
24233 * localedata/locales/ur_IN: Likewise.
24234 * localedata/locales/ur_PK: Likewise.
24235 * localedata/locales/uz_UZ: Likewise.
24236 * localedata/locales/uz_UZ@cyrillic: Likewise.
24237 * localedata/locales/ve_ZA: Likewise.
24238 * localedata/locales/vi_VN: Likewise.
24239 * localedata/locales/wa_BE: Likewise.
24240 * localedata/locales/wae_CH: Likewise.
24241 * localedata/locales/wal_ET: Likewise.
24242 * localedata/locales/wo_SN: Likewise.
24243 * localedata/locales/xh_ZA: Likewise.
24244 * localedata/locales/yi_US: Likewise.
24245 * localedata/locales/yo_NG: Likewise.
24246 * localedata/locales/yue_HK: Likewise.
24247 * localedata/locales/yuw_PG: Likewise.
24248 * localedata/locales/zh_CN: Likewise.
24249 * localedata/locales/zh_HK: Likewise.
24250 * localedata/locales/zh_SG: Likewise.
24251 * localedata/locales/zh_TW: Likewise.
24252 * localedata/locales/zu_ZA: Likewise.
24254 2017-11-13 Florian Weimer <fweimer@redhat.com>
24256 * support/next_to_fault.h, support/next_to_fault.c: New files.
24257 * support/Makefile (libsupport-routines): Add next_to_fault.
24258 * resolv/tst-inet_pton.c (struct next_to_fault)
24259 (next_to_fault_allocate, next_to_fault_free): Remove.
24260 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24262 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24264 * elf/dl-support.c: Include <dl-procruntime.c>.
24265 * include/link.h: Include <link_map.h>.
24266 * sysdeps/generic/dl-procruntime.c: New file.
24267 * sysdeps/generic/link_map.h: Likewise.
24268 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24269 the writable ld.so namespace.
24271 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24273 timezone: pacify GCC -Wstringop-truncation
24274 Problem reported by Martin Sebor in:
24275 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24276 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24278 2017-11-12 Florian Weimer <fweimer@redhat.com>
24280 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24282 (tests): Add tst-xreadlink.
24283 * support/support.h (xstrndup): Declare.
24284 * support/xunistd.h (xunlink, xreadlink): Declare.
24285 * support/temp_file.h (support_create_temp_directory): Declare.
24286 * support/temp_file.c (support_create_temp_directory): New function.
24287 * support/support_chroot.c (support_chroot_create): Use it.
24288 * support/xreadlink.c: New file.
24289 * support/xstrndup.c: Likewise.
24290 * support/xunlink.c: Likewise.
24291 * support/tst-xreadlink.c: Likewise.
24293 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24295 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24297 2017-11-11 Florian Weimer <fweimer@redhat.com>
24301 * resolv/res_comp.c (printable_string, binary_hnok)
24302 (binary_leading_dash): New functions.
24303 (res_hnok): Reimplement using these functions and ns_name_pton.
24304 (res_ownok): Likewise.
24305 (res_mailok): Reimplement using printable_string, ns_name_pton and
24307 (res_dnok): Reimplement using printable_string and ns_name_pton.
24308 * resolv/tst-res_hnok.c (tests): Add additional tests.
24309 (LETTERDIGITS, PRINTABLE): Define.
24310 (do_test): Adjust one_char results.
24312 2017-11-11 Florian Weimer <fweimer@redhat.com>
24315 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24316 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24318 2017-11-11 Florian Weimer <fweimer@redhat.com>
24320 * resolv/tst-ns_name_pton.c: New file.
24321 * resolv/Makefile (tests): Add tst-ns_name_pton.
24322 (tst-ns_name_pton): Link against libresolv.
24324 2017-11-11 Florian Weimer <fweimer@redhat.com>
24326 * resolv/tst-res_hnok.c: New file.
24327 * resolv/Makefile (tests): Add tst-res_hnok.
24328 (tst-res_hnok): Link against libresolv.
24330 2017-11-11 Florian Weimer <fweimer@redhat.com>
24332 * resolv/tst-resolv-network.c: Use test framework instead explicit
24335 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24337 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24338 <jmp_buf-macros.h>.
24339 [!_ISOMAC] (STR_HELPER): New.
24340 [!_ISOMAC] (STR): Likewise.
24341 [!_ISOMAC] (TEST_SIZE): Likewise.
24342 [!_ISOMAC] (TEST_ALIGN): Likewise.
24343 [!_ISOMAC] (TEST_OFFSET): Likewise.
24344 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24345 field offsets of jmp_buf as well as sigjmp_buf.
24346 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24347 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24348 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24349 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24350 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24351 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24352 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24353 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24354 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24355 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24357 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24359 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24364 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24365 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24366 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24367 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24368 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24373 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24374 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24375 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24377 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24380 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24381 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24382 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24383 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24384 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24385 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24386 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24387 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24388 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24389 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24390 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24391 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24392 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24393 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24394 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24395 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24396 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24397 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24398 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24399 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24400 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24401 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24402 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24403 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24404 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24405 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24406 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24407 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24408 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24409 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24410 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24411 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24412 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24413 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24414 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24415 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24416 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24417 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24418 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24419 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24420 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24421 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24422 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24423 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24424 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24425 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24426 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24427 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24429 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24430 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24431 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24433 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24435 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24437 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24439 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24441 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24443 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24445 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24447 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24449 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24451 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24453 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24455 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24457 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24458 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24459 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24460 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24461 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24462 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24463 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24464 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24465 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24466 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24467 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24469 * stdlib/tst-strtod.h (F16): New macro.
24475 (IF_FLOAT16): Likewise.
24476 (IF_FLOAT32): Likewise.
24477 (IF_FLOAT64): Likewise.
24478 (IF_FLOAT32X): Likewise.
24479 (IF_FLOAT64X): Likewise.
24480 (IF_FLOAT128X): Likewise.
24481 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24482 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24483 (STRTOD_TEST_FOREACH): Likewise.
24484 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24485 (CHOOSE_f64): Likewise.
24486 (CHOOSE_f32x): Likewise.
24487 (CHOOSE_f64x): Likewise.
24489 2017-11-07 Andreas Schwab <schwab@suse.de>
24491 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24493 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24496 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24498 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24501 2017-11-07 Claude Paroz <claude@2xlibre.net>
24504 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24506 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24508 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24511 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24514 * nptl/allocatestack.c (allocate_stack): Check if
24515 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24516 __PTHREAD_MUTEX_HAVE_PREV is defined.
24517 * nptl/descr.h (pthread): Likewise.
24518 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24520 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24521 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24522 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24523 * sysdeps/nptl/bits/thread-shared-types.h
24524 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24526 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24527 of __WORDSIZE for internal layout.
24528 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24529 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24530 instead of __WORDSIZE whether to use an union for __spins and __list
24532 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24534 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24535 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24537 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24538 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24540 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24541 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24543 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24544 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24546 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24547 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24549 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24550 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24552 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24553 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24555 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24556 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24558 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24559 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24561 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24562 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24564 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24565 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24567 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24568 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24570 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24571 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24573 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24574 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24576 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24577 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24580 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24582 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24583 checks for expected input type size.
24584 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24585 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24587 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24588 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24589 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24590 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24591 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24592 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24593 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24594 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24595 superflous runtime assert check.
24596 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24598 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24600 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24602 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24604 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24606 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24608 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24609 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24610 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24612 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24614 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24616 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24618 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24620 * nptl/pthread_attr_setinheritsched.c
24621 (__pthread_attr_setinheritsched): Likewise.
24622 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24624 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24626 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24627 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24628 __old_pthread_attr_setstack): Likewise.
24629 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24631 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24633 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24635 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24636 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24638 * nptl/tst-typesizes.c: Remove file.
24640 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24641 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24642 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24643 checks for internal pthread_mutex_t offsets.
24644 * sysdeps/aarch64/nptl/pthread-offsets.h
24645 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24646 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24647 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24648 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24649 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24650 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24651 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24652 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24653 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24654 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24655 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24656 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24657 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24658 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24659 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24660 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24661 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24662 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24664 2017-11-07 Florian Weimer <fweimer@redhat.com>
24666 * bits/mman-linux.h: Move ...
24667 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24669 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24672 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24674 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24675 Redefine STRNLEN as __strnlen_power8.
24677 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24679 * signal/sighold.c (sighold): Optimize implementation.
24681 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24682 __NR_rt_sigqueueinfo.
24684 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24686 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24687 assume __NR_rt_sigtimedwait.
24688 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24689 and add LIBC_CANCEL_HANDLED for cancellation marking.
24690 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24692 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24693 (sysdeps_routines): Add memchr_noneon.
24694 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24695 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24696 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24697 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24698 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24699 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24700 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24702 * sysdeps/arm/arm-ifunc.h: New file.
24703 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24704 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24705 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24706 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24707 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24708 (__memcpy_neon): Avoid create hidden alias.
24709 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24710 (__memcpy_vfp): Likewise.
24711 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24712 (sysdep_routines): Add memcpy_arm.
24713 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24715 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24718 * Makerules (make-link-multidir): New.
24719 * config.make.in (multidir): New.
24720 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24721 * configure: Regenerated.
24722 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24723 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24724 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24727 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24730 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24731 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24733 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24735 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24738 2017-11-04 Florian Weimer <fweimer@redhat.com>
24740 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24742 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24744 * math/math.h [__HAVE_DISTINCT_FLOAT16
24745 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24746 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24747 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24748 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24749 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24750 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24751 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24752 (__MATH_TG_F32): New macro.
24753 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24754 (__MATH_TG_F64X): Likewise.
24755 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24756 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24758 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24760 * po/de.po: Update translations.
24761 * po/ru.po: Likewise.
24763 2017-11-03 Florian Weimer <fweimer@redhat.com>
24765 * manual/filesys.texi (Hard Links): Document linkat.
24767 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24769 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24770 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24771 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24772 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24773 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24774 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24775 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24776 the same as _Float128.
24777 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24778 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24779 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24782 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24784 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24786 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24788 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24789 (strtof32x): Likewise.
24790 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24791 (strtof64x): Likewise.
24792 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24793 (strtof128x): Likewise.
24794 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24795 (strfromf16): Likewise.
24796 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24797 (strfromf32): Likewise.
24798 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24799 (strfromf64): Likewise.
24800 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24801 (strfromf32x): Likewise.
24802 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24803 (strfromf64x): Likewise.
24804 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24805 (strfromf128x): Likewise.
24806 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24807 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24808 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24809 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24810 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24811 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24813 2017-11-03 Richard Henderson <rth@twiddle.net>
24815 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24817 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24819 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24821 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24823 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24824 DT_TLSDESC_GOT initialization.
24825 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24826 (_dl_tlsdesc_resolve_hold): Likewise.
24827 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24828 (_dl_tlsdesc_resolve_hold): Likewise.
24829 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24830 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24832 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24834 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24836 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24839 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24840 non-lazily for R_ARM_TLS_DESC.
24842 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24845 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24846 R_ARM_TLS_DESC case.
24847 (elf_machine_lazy_rel): Remove the prelink check.
24849 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24851 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24852 DT_TLSDESC_GOT initialization.
24853 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24854 (_dl_tlsdesc_resolve_rela): Likewise.
24855 (_dl_tlsdesc_resolve_hold): Likewise.
24856 (_dl_tlsdesc_undefweak): Remove ldar.
24857 (_dl_tlsdesc_dynamic): Likewise.
24858 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24859 (_dl_tlsdesc_resolve_rela): Likewise.
24860 (_dl_tlsdesc_resolve_hold): Likewise.
24861 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24862 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24863 (_dl_tlsdesc_resolve_rela): Likewise.
24864 (_dl_tlsdesc_resolve_hold): Likewise.
24866 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24868 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24869 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24871 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24873 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24874 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24876 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24878 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24880 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24881 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24882 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24883 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24884 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24885 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24886 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24887 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24888 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24889 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24890 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24892 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24895 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24896 * localedata/locales/tpi_PG: Add standard header.
24898 2017-11-02 Florian Weimer <fweimer@redhat.com>
24900 test-errno-linux: quotactl can fail with EPERM in containers.
24901 * sysdeps/unix/sysv/linux/test-errno-linux.c
24902 (LIST, LIST_FORWARD): New macros.
24903 (check_error_in_list): New function.
24904 (test_wrp_rv): Accept list of permitted error codes.
24905 (test_wrp_rv2): Remove.
24906 (test_wrp): Call test_wrp_rv with list of error codes.
24907 (test_wrp2): Accept list of error codes.
24908 (do_test): Adjust. Allow EPERM for quotactl.
24910 2017-11-02 Florian Weimer <fweimer@redhat.com>
24912 * stdio-common/bug16.c (do_test): Use array_length.
24913 * stdio-common/errlist.c (_sys_nerr): Likewise.
24914 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24915 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24916 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24917 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24918 (do_test): Use array_length.
24919 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24920 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24921 * stdio-common/tst-printf-round.c (do_test): Likewise.
24922 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24923 (CHECK): Use array_length.
24924 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24925 * stdio-common/tstscanf.c (main): Likewise.
24926 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24928 2017-11-02 Florian Weimer <fweimer@redhat.com>
24930 Add array_length and array_end macros.
24931 * include/array_length.h: New file.
24933 2017-11-02 Florian Weimer <fweimer@redhat.com>
24936 * posix/tst-glob-tilde.c (do_noescape): New variable.
24937 (one_test): Process it.
24938 (do_test): Set do_noescape. Add unescaping test case.
24940 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24943 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24944 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24945 with appropriate macros defined and undefined.
24946 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24947 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24948 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24949 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24950 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24951 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24952 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24953 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24954 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24955 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24958 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24959 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24960 that for long double. Do not condition define and undefine of
24961 _Mdouble_complex_ on [__CFLOAT128].
24963 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24965 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24966 of <sysdeps/generic/sysdep.h>.
24967 (ALIGNARG): Removed.
24968 (ASM_SIZE_DIRECTIVE): Likewise.
24971 (ENTRY_CHK): Likewise.
24972 (END_CHK): Likewise.
24973 (syscall_error): Likewise.
24974 (mcount): Likewise.
24975 (PSEUDO_END): Likewise.
24977 (atom_text_section): Likewise.
24978 * sysdeps/x86/sysdep.h: New file.
24979 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24980 of <sysdeps/generic/sysdep.h>.
24981 (ALIGNARG): Removed.
24982 (ASM_SIZE_DIRECTIVE): Likewise.
24985 (ENTRY_CHK): Likewise.
24986 (END_CHK): Likewise.
24987 (syscall_error): Likewise.
24988 (mcount): Likewise.
24989 (PSEUDO_END): Likewise.
24991 (atom_text_section): Likewise.
24993 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24995 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24996 category of LC_CTYPE set to "i18n:2012".
24997 * localedata/locales/i18n_ctype: Regenerate.
24999 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25001 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25002 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25003 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25004 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25006 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25007 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25009 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25011 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25014 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25016 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25018 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25020 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25021 (CMPLXF32X): Likewise.
25022 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25023 (CMPLXF64X): Likewise.
25024 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25025 (CMPLXF128X): Likewise.
25028 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25029 (__MATH_EVAL_FMT2): Define to add 0.0f.
25031 2017-10-31 Alan Modra <amodra@gmail.com>
25033 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25049 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25050 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25051 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25052 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25053 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25054 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25055 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25056 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25057 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25060 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25061 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25062 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25063 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25064 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25065 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25066 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25067 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25068 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25069 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25070 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25071 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25072 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25073 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25074 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25075 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25076 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25077 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25078 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25079 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25080 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25081 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25082 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25083 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25084 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25085 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25086 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25087 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25088 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25089 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25090 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25091 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25092 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25093 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25094 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25095 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25096 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25097 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25098 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25099 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25100 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25101 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25102 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25103 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25106 include sysdep.h and math_ldbl_opt.h.
25108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25109 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25135 2017-10-31 Alan Modra <amodra@gmail.com>
25137 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25138 string/strncase_l.c, not string/strncase.c.
25139 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25140 (libc_hidden_def): Redefine.
25142 2017-10-31 Alan Modra <amodra@gmail.com>
25144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25145 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25146 (__strcasecmp): Don't define.
25148 2017-10-31 Alan Modra <amodra@gmail.com>
25150 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25152 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25153 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25154 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25156 2017-10-31 Alan Modra <amodra@gmail.com>
25158 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25161 2017-10-31 Alan Modra <amodra@gmail.com>
25163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25164 Redefine only when SHARED.
25166 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25168 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25169 Include <bits/math-finite.h> with appropriate macros defined and
25171 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25172 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25173 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25174 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25175 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25177 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25178 [!_Mlong_double_] (_Mlong_double_): Likewise.
25179 [!_Mfloat16_] (_Mfloat16_): Likewise.
25180 [!_Mfloat32_] (_Mfloat32_): Likewise.
25181 [!_Mfloat64_] (_Mfloat64_): Likewise.
25182 [!_Mfloat128_] (_Mfloat128_): Likewise.
25183 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25184 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25185 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25186 (_Mdouble_): Define without indirection through those macros.
25187 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25188 [!_Mfloat128_] (_Mfloat128_): Likewise.
25189 [_Mlong_double_] (_Mlong_double_): Likewise.
25190 (_Mdouble_): Define without indirection through those macros.
25191 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25192 not add -D_Mlong_double_=double.
25193 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25194 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25196 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25198 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25200 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25202 * sysdeps/x86/libc-start.c: Reformat.
25204 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25207 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25208 (1): Renamed to ...
25211 (L(Src2)): Likewise.
25212 (L(1)): Renamed to ...
25215 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25217 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25218 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25219 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25220 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25221 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25222 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25223 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25224 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25225 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25226 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25227 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25228 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25229 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25230 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25231 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25232 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25233 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25234 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25235 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25236 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25237 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25238 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25239 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25240 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25241 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25242 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25243 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25244 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25245 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25246 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25247 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25248 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25249 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25250 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25251 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25252 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25253 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25254 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25255 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25256 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25257 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25258 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25259 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25260 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25261 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25262 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25263 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25264 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25265 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25266 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25267 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25268 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25269 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25270 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25271 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25272 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25273 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25274 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25275 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25276 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25277 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25278 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25279 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25280 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25281 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25282 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25284 2017-10-30 Florian Weimer <fweimer@redhat.com>
25286 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25288 * io/tst-mkdirat.c (do_test): Likewise.
25289 * io/tst-mkfifoat.c (do_test): Likewise.
25290 * io/tst-mknodat.c (do_test): Likewise.
25291 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25292 * locale/programs/locale.c (select_dirs): Likewise.
25293 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25294 * posix/bug-glob2.c (my_readdir): Likewise.
25295 * posix/tst-dir.c (main): Likewise.
25296 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25297 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25299 2017-10-30 Florian Weimer <fweimer@redhat.com>
25301 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25304 2017-10-30 Florian Weimer <fweimer@redhat.com>
25306 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25307 Convert to support/test-driver.c.
25308 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25309 New macro parameters.
25310 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25311 * posix/tst-gnuglob.c: New file.
25312 * posix/tst-gnuglob64.c: Likewise.
25313 * posix/Makefile (tests): Add tst-gnuglob64.
25315 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25318 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25319 and use a better translation for March in “mon”.
25320 * localedata/locales/csb_PL: Use more ASCII to improve the
25321 readability of the source.
25323 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25326 * localedata/locales/km_KH: Use ASCII as much
25327 as possible for better readability of the source and
25328 remove useless comments.
25329 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25330 was commented out and apparently wrong anyway because it was
25331 using Lao characters. If Buddhist era should be used
25332 for km_KH, a native speaker should write the correct formaat
25334 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25335 (According to CLDR, the first weekday for Cambodia is Sunday).
25336 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25337 (These were using Lao characters which must be wrong. If we get
25338 the correct data from a native speaker, we could add it back, until
25339 then it is better not to have name_mr and name_mrs at all than
25342 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25344 * locale/loadlocale.c: Correct size of
25345 _nl_value_type_LC_<category> arrays.
25347 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25349 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25350 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25351 with appropriate macros defined and undefined.
25352 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25353 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25354 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25355 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25356 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25358 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25360 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25363 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25365 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25366 with lowercase letters to make it agree with CLDR.
25368 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25371 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25372 first letters of yesstr and nostr in yesexpr and noexpr,
25373 not for the full words.
25374 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25375 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25376 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25377 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25378 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25379 first letters of yesstr and nostr in yesexpr and noexpr,
25380 until now only English was matched in yesexpr and noexpr.
25381 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25382 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25383 fil but not for tl. As tl and fil are very similar, using fil
25384 is probably better than using English.
25386 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25389 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25390 in yesstr and nostr.
25392 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25394 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25395 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25396 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25398 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25400 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25402 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25404 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25405 (SNANF128X): Likewise.
25407 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25408 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25409 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25410 (HUGE_VAL_F32): Likewise.
25411 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25412 (HUGE_VAL_F64): Likewise.
25413 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25414 (HUGE_VAL_F32X): Likewise.
25415 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25416 (HUGE_VAL_F64X): Likewise.
25417 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25418 (HUGE_VAL_F128X): Likewise.
25420 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25422 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25423 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25424 for the br_FR locale.
25426 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25429 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25431 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25433 * locale/programs/record-status.h: Define globals, and function
25434 prototypes. Move function bodies...
25435 * locale/programs/record-status.c: ... to here. New file.
25436 * iconv/Makefile (iconv_prog-modules): Add record-status.
25437 * locale/Makefile (lib-modules): Likewise.
25438 * iconv/iconv_prog.c: Remove verbose.
25439 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25440 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25441 record a warning about ASCII compatibility.
25442 * locale/programs/ld-monetary.c (monetary_finish): If
25443 warn_int_curr_symbol is true then record a warning about the symbol
25444 not being in our ISO 4217 list.
25445 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25446 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25447 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25448 (OPT_NO_WARN): Define.
25449 (OPT_WARN): Define.
25450 (options): Add entry for --no-warnings, and --warnings.
25451 (set_warnings): New function to enable/disable warnings.
25452 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25453 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25454 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25455 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25456 Pass flags to generate_locale.
25457 (generate_locale): Accept new flag argument and pass it to localedef
25459 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25460 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25462 * localedata/Makefile (test-input-data): Use full file name.
25463 * localedata/da_DK.in: Rename to...
25464 * localedata/da_DK.ISO-8859-1.in: ...this.
25465 * localedata/de_DE.in: Rename to...
25466 * localedata/de_DE.ISO-8859-1.in: ...this.
25467 * localedata/en_US.in: Rename to...
25468 * localedata/en_US.ISO-8859-1.in: ...this.
25469 * localedata/fr_FR.in: Rename to...
25470 * localedata/fr_FR.UTF-8.in: ... this.
25471 * localedata/hr_HR.in: Rename to...
25472 * localedata/hr_HR.ISO-8859-2.in: ...this.
25473 * localedata/hu_HU.in: Rename to...
25474 * localedata/hu_HU.UTF-8.in: ...this.
25475 * localedata/si_LK.in: Rename to...
25476 * localedata/si_LK.UTF-8.in: ...this.
25477 * localedata/sv_SE.in: Rename to...
25478 * localedata/sv_SE.ISO-8859-1.in: ...this.
25479 * localedata/tr_TR.in: Rename to...
25480 * localedata/tr_TR.UTF-8.in: ...this.
25481 * localedata/uk_UA.in: Rename to...
25482 * localedata/uk_UA.UTF-8.in: ...this.
25483 * localedata/sort-test.sh: Test file is locale name with the
25486 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25487 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25489 * localedata/locales/i18n_ctype: Regenerate.
25490 * localedata/locales/tr_TR: Likewise.
25491 * localedata/locales/translit_circle: Likewise.
25492 * localedata/locales/translit_cjk_compat: Likewise.
25493 * localedata/locales/translit_combining: Likewise.
25494 * localedata/locales/translit_compat: Likewise.
25495 * localedata/locales/translit_font: Likewise.
25496 * localedata/locales/translit_fraction: Likewise.
25498 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25500 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25501 lxvd2x/stxvd2x with lvx/stvx.
25502 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25504 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25506 * include/alloc_buffer.h: Replace "if if " with "if " in
25508 * sysdeps/mips/memcpy.S: Likkewise.
25509 * sysdeps/mips/memset.S: Likewise.
25510 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25512 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25514 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25517 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25520 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25521 yesexpr and noexpr.
25522 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25523 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25524 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25525 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25526 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25527 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25528 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25530 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25532 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25533 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25534 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25535 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25536 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25537 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25538 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25539 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25540 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25541 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25542 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25543 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25545 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25547 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25548 as possible for better readability of the source.
25549 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25550 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25551 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25552 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25553 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25554 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25555 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25556 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25557 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25558 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25559 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25560 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25561 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25562 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25563 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25564 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25565 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25566 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25567 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25568 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25569 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25570 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25571 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25572 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25573 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25574 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25575 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25576 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25577 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25578 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25579 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25580 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25581 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25582 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25583 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25584 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25585 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25586 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25587 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25588 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25589 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25590 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25591 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25592 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25593 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25594 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25595 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25596 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25597 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25598 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25599 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25600 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25601 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25602 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25603 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25604 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25605 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25606 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25607 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25608 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25609 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25610 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25611 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25612 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25613 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25614 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25615 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25616 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25617 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25618 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25619 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25620 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25621 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25622 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25623 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25624 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25625 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25626 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25627 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25628 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25629 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25630 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25631 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25632 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25633 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25634 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25635 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25636 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25637 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25638 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25639 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25640 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25641 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25642 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25643 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25644 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25645 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25646 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25647 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25648 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25649 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25650 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25651 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25652 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25653 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25654 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25655 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25656 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25657 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25658 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25659 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25660 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25661 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25662 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25663 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25664 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25665 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25666 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25667 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25668 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25669 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25670 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25671 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25672 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25673 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25674 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25675 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25676 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25677 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25678 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25679 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25680 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25681 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25682 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25683 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25684 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25685 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25686 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25687 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25688 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25689 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25690 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25691 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25692 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25693 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25694 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25695 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25696 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25697 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25698 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25699 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25700 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25701 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25702 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25703 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25704 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25705 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25706 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25707 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25708 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25709 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25710 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25711 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25712 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25713 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25714 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25715 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25716 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25717 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25718 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25719 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25720 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25721 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25722 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25724 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25726 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25727 (Use first letters of yesstr and nostr correctly instead of using
25730 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25732 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25733 (Use first letters of yesstr and nostr correctly).
25735 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25737 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25738 also check for the first characters of yesstr and nostr.
25739 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25740 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25742 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25744 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25745 also check for Chinese characters.
25747 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25749 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25750 match also for the contents of yesstr and nostr. As the first letter
25751 of yesstr and nostr is equal, checking only for the first letter
25754 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25756 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25757 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25759 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25761 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25762 of main contributor.
25764 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25766 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25767 instead of using English.
25769 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25771 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25772 by including the first letters of nostr and yesexpr in the regexp.
25773 Also make it more readable by using ASCII where possible.
25775 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25777 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25778 the first letter of nostr in the regexp. It agrees with CLDR now.
25779 Also make it more readable by using ASCII where possible.
25781 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25783 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25784 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25785 these strings contain a U+17D6 (which somewhat looks like a colon)
25786 instead of a real colon to separate the full words for “yes”
25787 and “no” from the single letter responses.
25789 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25791 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25792 it agree with CLDR (include the first letter of yesstr).
25793 Also make it more readable by using ASCII where possible.
25795 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25797 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25798 and improve yesexpr and noexpr. The yesstr and nostr apparently
25799 came from CLDR. And CLDR has a bug there: these strings contain
25800 a U+0903 (which looks like a colon) instead of a real colon
25801 to separate the full words for “yes” and “no” from the single
25804 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25806 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25807 letters of the full yesstr and nostr in yesexpr and noexpr.
25809 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25811 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25812 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25813 * localedata/locales/an_ES: Make source more readable by using ASCII
25816 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25819 * localedata/locales/yuw_PG: New file.
25820 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25821 * locale/iso-639.def: Add Yau (Uruwa).
25823 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25825 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25827 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25829 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25830 (__libc_realloc): Likewise.
25831 (_mid_memalign): Likewise.
25832 (__libc_calloc): Likewise.
25834 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25836 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25837 by adding the generic +1 and -0 as in all other locales.
25838 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25839 day names and make it more readable by using ASCII where possible.
25841 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25843 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25844 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25846 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25848 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25849 WNOHANG in waitpid call.
25851 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25853 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25854 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25856 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25857 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25858 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25859 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25860 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25861 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25862 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25863 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25866 2017-10-23 Michael Collison <michael.collison@arm.com>
25868 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25869 with __builtin_sqrt.
25870 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25871 with __builtin_sqrtf.
25872 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25873 with __builtin_ceil.
25874 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25875 with __builtin_ceilf.
25876 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25877 with __builtin_floor.
25878 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25879 with __builtin_floorf.
25880 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25881 with __builtin_fma.
25882 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25883 with __builtin_fmaf.
25884 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25885 with __builtin_fmax.
25886 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25887 with __builtin_fmaxf.
25888 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25889 with __builtin_fmin.
25890 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25891 with __builtin_fminf.
25892 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25893 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25894 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25895 with builtin_rint and conversion to int.
25896 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25897 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25898 with builtin_llround.
25899 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25900 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25901 with builtin_rint and conversion to long int.
25902 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25903 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25904 with builtin_lround.
25905 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25906 with builtin_lroundf.
25907 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25908 statements with __builtin_nearbyint.
25909 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25910 statements with __builtin_nearbyintf.
25911 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25912 with __builtin_rint.
25913 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25914 with __builtin_rintf.
25915 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25916 with __builtin_round.
25917 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25918 with __builtin_roundf.
25919 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25920 with __builtin_trunc.
25921 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25922 with __builtin_truncf.
25923 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25924 and s_l[l]round[f].c too.
25926 2017-10-23 Alan Modra <amodra@gmail.com>
25928 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25929 Adjust stack after restoring regs. Add missing LR cfi_restore.
25931 2017-10-23 Alan Modra <amodra@gmail.com>
25933 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25934 Move LR save and frame setup/teardown and LR restore to
25935 immediately around memset call. Provide cfi.
25937 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25939 * sysdeps/i386/fpu/e_powf.S: Removed.
25940 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25941 * sysdeps/i386/fpu/w_powf.c: Likewise.
25942 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25943 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25944 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25946 (CFLAGS-e_powf-sse2.c): New.
25947 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25948 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25950 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25952 * sysdeps/i386/fpu/e_log2f.S: Removed.
25953 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25954 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25955 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25956 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25957 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25959 (CFLAGS-e_log2f-sse2.c): New.
25960 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25961 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25963 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25965 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25967 (CFLAGS-e_powf-fma.c): New.
25968 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25969 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25971 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25973 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25975 (CFLAGS-e_log2f-fma.c): New.
25976 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25977 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25979 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25981 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25983 (CFLAGS-e_logf-fma.c): New.
25984 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25985 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25987 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25989 * sysdeps/i386/fpu/e_logf.S: Removed.
25990 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25991 * sysdeps/i386/fpu/w_logf.c: Likewise.
25992 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25993 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25994 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25995 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25997 (CFLAGS-e_logf-sse2.c): New.
25998 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25999 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26001 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26003 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26004 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26005 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26006 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26007 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26009 (CFLAGS-e_exp2f-sse2.c): New.
26010 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26011 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26013 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26015 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26017 (CFLAGS-e_exp2f-fma.c): New.
26018 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26019 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26021 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26023 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26024 * sysdeps/i386/fpu/e_expf.S: Likewise.
26025 * sysdeps/i386/fpu/math_errf.c: Likewise.
26026 * sysdeps/i386/fpu/w_expf.c: Likewise.
26027 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26028 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26029 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26030 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26031 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26032 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26033 Remove e_expf-ia32.
26034 (CFLAGS-e_expf-sse2.c): New.
26035 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26036 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26038 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26040 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26041 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26042 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26043 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26045 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26047 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26048 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26050 (__redirect_expf): This.
26051 (SYMBOL_NAME): Changed to expf.
26052 (__ieee754_expf): Renamed to ...
26054 (__GI___expf): This.
26055 (__ieee754_expf): Add strong_alias.
26056 (__expf_finite): Likewise.
26058 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26060 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26063 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26066 2017-10-21 Florian Weimer <fweimer@redhat.com>
26068 * posix/Makefile (tests): Add tst-glob-tilde.
26069 (tests-special): Add tst-glob-tilde-mem.out
26070 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26071 (tst-glob-tilde-mem.out): Add mtrace check.
26072 * posix/tst-glob-tilde.c: New file.
26074 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26076 * bits/floatn-common.h: New file.
26077 * math/Makefile (headers): Add bits/floatn-common.h.
26078 * bits/floatn.h: Include <bits/floatn-common.h>.
26079 * sysdeps/ia64/bits/floatn.h: Likewise.
26080 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26081 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26082 * sysdeps/powerpc/bits/floatn.h: Likewise.
26083 * sysdeps/x86/bits/floatn.h: Likewise.
26085 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26087 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26088 indicates whether compiler emits an warning for alias for
26089 functions with incompatible types.
26092 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26093 the auxiliary process is terminated by a signal before calling _exit
26096 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26099 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26101 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26102 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26103 and bit_arch_XSAVEC_Usable if needed.
26104 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26105 and bit_arch_Use_dl_runtime_resolve_opt.
26106 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26108 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26109 (bit_arch_Prefer_No_AVX512): Updated.
26110 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26111 (bit_arch_XSAVEC_Usable): New.
26112 (STATE_SAVE_OFFSET): Likewise.
26113 (STATE_SAVE_MASK): Likewise.
26114 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26115 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26116 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26117 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26118 (index_arch_XSAVEC_Usable): New.
26119 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26120 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26121 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26123 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26124 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26125 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26126 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26127 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26128 _dl_runtime_resolve_xsavec.
26129 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26131 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26132 instead of VEC_SIZE.
26133 (REGISTER_SAVE_BND0): Removed.
26134 (REGISTER_SAVE_BND1): Likewise.
26135 (REGISTER_SAVE_BND3): Likewise.
26136 (REGISTER_SAVE_RAX): Always defined to 0.
26138 (_dl_runtime_resolve_avx): Likewise.
26139 (_dl_runtime_resolve_avx_slow): Likewise.
26140 (_dl_runtime_resolve_avx_opt): Likewise.
26141 (_dl_runtime_resolve_avx512): Likewise.
26142 (_dl_runtime_resolve_avx512_opt): Likewise.
26143 (_dl_runtime_resolve_sse): Likewise.
26144 (_dl_runtime_resolve_sse_vex): Likewise.
26146 (_dl_runtime_resolve_fxsave): Likewise.
26147 (USE_XSAVE): Likewise.
26148 (_dl_runtime_resolve_xsave): Likewise.
26149 (USE_XSAVEC): Likewise.
26150 (_dl_runtime_resolve_xsavec): Likewise.
26151 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26153 (_dl_runtime_resolve_avx512_opt): Likewise.
26154 (_dl_runtime_resolve_avx): Likewise.
26155 (_dl_runtime_resolve_avx_opt): Likewise.
26156 (_dl_runtime_resolve_sse): Likewise.
26157 (_dl_runtime_resolve_sse_vex): Likewise.
26158 (_dl_runtime_resolve_fxsave): New.
26159 (_dl_runtime_resolve_xsave): Likewise.
26160 (_dl_runtime_resolve_xsavec): Likewise.
26162 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26166 * posix/glob.c (__glob): Fix one-byte overflow.
26168 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26170 * malloc/malloc.c (sysdep-cancel.h): Add include.
26172 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26174 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26176 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26178 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26179 (tests): Remove $(objpfx)ga_test depdendency.
26180 * resolv/ga_test.c: Remove file.
26182 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26185 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26186 * localedata/locales/kab_DZ: New file.
26188 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26190 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26191 _dl_relocate_static_pie instead of _dl_start to compute load
26192 address in static PIE.
26194 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26196 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26198 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26201 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26202 * localedata/locales/shn_MM: New file.
26204 2017-10-20 Florian Weimer <fweimer@redhat.com>
26207 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26208 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26209 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26210 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26211 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26212 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26214 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26216 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26218 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26220 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26223 * sysdeps/mips/bits/long-double.h: Move to ....
26224 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26226 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26228 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26230 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26231 H.J. Lu <hongjiu.lu@intel.com>
26234 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26235 GLRO(dl_platform) to NULL.
26236 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26237 (modules-names): Add tst-platformmod-1 and
26238 x86_64/tst-platformmod-2.
26239 (CFLAGS-tst-platform-1.c): New.
26240 (CFLAGS-tst-platformmod-1.c): Likewise.
26241 (CFLAGS-tst-platformmod-2.c): Likewise.
26242 (LDFLAGS-tst-platformmod-2.so): Likewise.
26243 ($(objpfx)tst-platform-1): Likewise.
26244 ($(objpfx)tst-platform-1.out): Likewise.
26245 (tst-platform-1-ENV): Likewise.
26246 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26247 * sysdeps/x86_64/tst-platform-1.c: New file.
26248 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26249 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26251 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26254 * locale/iso-639.def: Add Karbi.
26255 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26256 * localedata/locales/mjw_IN: New file.
26258 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26260 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26261 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26262 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26263 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26264 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26265 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26266 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26268 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26269 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26270 * manual/math.texi (Mathematics): Document additional architecture
26271 support for _Float128.
26272 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26273 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26274 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26275 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26276 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26277 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26278 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26279 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26280 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26281 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26282 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26283 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26284 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26285 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26286 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26288 2017-10-18 Renlin Li <renlin.li@arm.com>
26290 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26291 _DYNAMIC symbol to calculate load address.
26293 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26295 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26296 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26298 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26299 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26301 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26304 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26305 and improve readability by using more ASCII.
26306 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26307 and improve readability by using more ASCII.
26309 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26311 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26312 not all targets support atomics on bool.
26314 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26316 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26317 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26319 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26320 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26321 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26322 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26323 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26324 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26326 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26328 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26331 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26334 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26335 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26336 (do_check_remalloced_chunk): Fix build bug.
26337 (do_check_malloc_state): Add assert that checks arena->top.
26338 (malloc_consolidate): Remove initialization.
26339 (int_mallinfo): Remove call to malloc_consolidate.
26340 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26342 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26344 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26345 (have_fastchunks): Remove.
26346 (clear_fastchunks): Remove.
26347 (set_fastchunks): Remove.
26348 (malloc_state): Add have_fastchunks.
26349 (malloc_init_state): Use have_fastchunks.
26350 (do_check_malloc_state): Remove incorrect invariant checks.
26351 (_int_malloc): Use have_fastchunks.
26352 (_int_free): Likewise.
26353 (malloc_consolidate): Likewise.
26355 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26357 * malloc/malloc.c (tcache_put): Inline.
26358 (tcache_get): Inline.
26360 2017-10-17 Jordi Mallach <jordi@gnu.org>
26362 Aurelien Jarno <aurelien@aurel32.net>
26364 * localedata/locales/ca_ES@valencia: New file.
26365 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26367 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26370 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26373 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26375 * scripts/build-many-glibcs.py (Context.add_all_configs):
26376 Add arm-linux-gnueabihf multiarch extra_glibcs.
26378 * sysdeps/generic/ifunc-init.h: New file.
26379 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26381 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26384 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26385 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26386 * stdlib/tst-strfmon_l.c: adapt test case.
26388 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26390 * sysdeps/generic/float128-abi.h: New file.
26391 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26392 non-__prefixed symbols to ....
26393 * math/Versions: ... here. Include <float128-abi.h>.
26394 * stdlib/Versions ... and here. Include <float128-abi.h>
26396 2017-10-16 Florian Weimer <fweimer@redhat.com>
26398 * version.h (VERSION): Switch to ".9000" as the development
26401 2017-10-16 Florian Weimer <fweimer@redhat.com>
26404 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26405 compat_symbol_reference to access non-default version.
26407 2017-10-16 Florian Weimer <fweimer@redhat.com>
26409 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26411 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26413 * include/shlib-compat.h (compat_symbol_reference): Update
26416 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26418 * math/Makefile (test-types): Add
26419 $(type-float128-$(float128-alias-fcts)).
26420 * math/test-float128.h (TYPE_STR): Define conditional on
26421 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26422 (ULP_IDX): Likewise.
26423 (ULP_I_IDX): Likewise.
26425 * stdlib/strtold.c: Include <bits/floatn.h>
26426 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26427 and later undefine as macro. Define as weak alias if
26429 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26430 and later undefine as macro. Define as weak alias if
26432 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26433 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26434 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26435 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26436 Define and later undefine as macro. Define as weak alias if
26438 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26440 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26441 Define and later undefine as macro. Define as weak alias if
26443 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26444 Define and later undefine as macro. Define as weak alias if
26447 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26449 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26450 record_verbose messages.
26452 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26455 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26456 to silence -O3 -Wall warning with GCC 7.
26458 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26460 * Makeconfig (+link-static-before-libc): Use the first of
26461 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26462 * gmon/Makefile (tests): Add tst-gmon-static.
26463 (tests-static): Likewise.
26464 (CFLAGS-tst-gmon-static.c): New.
26465 (CRT-tst-gmon-static): Likewise.
26466 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26467 (tst-gmon-static-ENV): Likewise.
26468 (tests-special): Likewise.
26469 ($(objpfx)tst-gmon-static.out): Likewise.
26470 (clean-tst-gmon-static-data): Likewise.
26471 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26472 * gmon/tst-gmon-static-gprof.sh: New file.
26473 * gmon/tst-gmon-static.c: Likewise.
26475 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26478 * locale/programs/linereader.c (get_string): Don't warn on
26479 non-symbolic character.
26482 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26486 * locale/programs/record-status.h: New file
26487 * locale/programs/locale.c: Add comment.
26488 * locale/programs/charmap-dir.c: Don't include error.h.
26489 (charmap_opendir): Use record_error.
26490 * locale/programs/charmap.c: Don't include error.h.
26491 (charmap_read): Use record_error, and record_warning.
26492 (parse_charmap): Likewise.
26493 * locale/programs/ld-address.c: Don't include error.h.
26494 (address_finish): Use record_error, and record_warning.
26495 * locale/programs/ld-collate.c: Don't include error.h.
26496 (collate_finish): Use record_error, and record_error_at_line.
26497 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26498 (ctype_class_new): Likewise.
26499 (ctype_map_new): Likewise.
26500 (set_one_default): Likewise.
26501 (set_class_defaults): Likewise.
26502 (translit_flatten): Likewise.
26503 (allocate_arrays): Use record_error, and record_verbose.
26504 * locale/programs/ld-identification.c: Don't include error.h.
26505 (indentation_finish): Use record_error and record_warning.
26506 * locale/programs/ld-measurement.c: Don't include error.h.
26507 (measurement_finish): Use record_error.
26508 * locale/programs/ld-messages.c
26509 (message_finish): Likewise.
26510 * locale/programs/ld-monetary.c
26511 (monetary_finish): Likewise.
26512 * locale/programs/ld-name.c (name_finish): Use record_error
26513 and record_warning.
26514 * locale/programs/ld-numeric.c
26515 (numeric_finish): Use record_error.
26516 * locale/programs/ld-paper.c: Don't include error.h.
26517 (paper_finish): Use record_error.
26518 * locale/programs/ld-telephone.c: Don't include error.h.
26519 (telephone_finish): Use record_error.
26520 * locale/programs/ld-time.c (time_finish): Likewise.
26521 * locale/programs/linereader.h (lr_error): Make inline func.
26522 * locale/programs/localedef.c: Define recorded_warning_count,
26523 and recorded_error_count.
26524 (main): Use record_error. Use recorded_error_count and
26525 recorded_warning_count to issue correct error returns.
26526 (add_to_readlist): Use record_error.
26527 (find_locale): Likewise.
26528 (load_locale): Likewise.
26529 * locale/programs/localedef.h: Remove be_quiet
26530 and WITH_CUR_LOCALE.
26531 * locale/programs/locarchive.c (compare_from_file): Use
26533 * locale/programs/locfile.c (write_locale_data): Use
26535 * locale/programs/repertoire.c: Dont include error.h.
26536 (repertoire_complain): Use record_error.
26537 * localedata/tst-fmon.sh: Expect failures from localedef.
26538 * localedata/tst-locale.sh: Likewise.
26539 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26541 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26542 (REPORTS): Likewise.
26544 (i18n): Rename to...
26545 (i18n_ctype): ...this.
26546 (i18n-report): Rename to...
26547 (i18n_ctype-report): ...this.
26548 * localedata/locales/i18n_ctype: Regenerate.
26549 * localedata/locales/i18n: copy i18n_ctype.
26551 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26553 * stdlib/strfroml.c: Include <bits/floatn.h>.
26554 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26555 Define before include of <stdlib.h> and undefine afterwards, then
26556 define as weak alias.
26558 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26559 Undefine and restore default definition. Use
26560 libm_alias_ldouble_other.
26562 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26565 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26568 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26570 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26571 Assign sym_map to be map for local symbols, as TLS relocations
26572 use sym_map to determine whether the symbol is defined and to
26573 extract the TLS information.
26574 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26577 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26580 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26581 (math_force_eval): Add powerpc version.
26584 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26586 (do_test): Likewise.
26587 * stdio-common/tst-printf.sh: Likewise.
26588 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26589 ifdef clause in order to set the carry bit right. Replace r0 by
26590 0 without changing the behavior.
26592 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26594 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26595 <libm-alias-ldouble.h>.
26596 (fabsl): Define using libm_alias_ldouble.
26597 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26598 <libm-alias-ldouble.h>.
26599 (fabsl): Define using libm_alias_ldouble.
26601 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26602 Remove conditional code.
26604 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26605 Rename to __clog10_internal_l.
26606 (__clog10_internal_l): Define aliases using
26607 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26610 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26612 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26613 * benchtests/sincosf-inputs: New file.
26614 * benchtests/cosf-inputs: New file.
26615 * benchtests/sinf-inputs: New file.
26617 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26619 * posix/tst-spawn.c (do_test): Wait for both children.
26621 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26624 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26625 tests-pie): Add tst-gmon-pie.
26626 (CFLAGS-tst-gmon-pie.c): New.
26627 (CRT-tst-gmon-pie): Likewise.
26628 (tst-gmon-pie-ENV): Likewise.
26629 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26630 ($(objpfx)tst-gmon-pie.out): Likewise.
26631 (clean-tst-gmon-pie-data): Likewise.
26632 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26633 * gmon/gmon.c [PIC]: Include <link.h>.
26634 [PIC] (callback): New function.
26635 (write_hist): Add an argument for load address. Subtract load
26637 (write_call_graph): Likewise.
26638 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26639 it to write_hist and write_call_graph.
26640 * gmon/tst-gmon-pie.c: New file.
26642 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26644 * math/Makefile (test-types-basic): New variable.
26645 (test-types): Likewise.
26646 (libm-test-support): Use $(test-types) instead of $(types).
26647 (libm-tests-base-normal): Likewise.
26648 (libm-tests-base-finite): Likewise.
26649 (libm-tests-base-inline): Likewise.
26650 (generated): Likewise.
26651 ($(objpfx)libm-test-support-$(t).c): Likewise.
26652 (libm-tests-for-type iterator): Likewise.
26653 (libm-test-support iterator): Likewise.
26654 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26655 (ulp_idx): Use ULP_IDX.
26656 * math/test-ldouble.h: Include <float.h>.
26657 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26658 (ULP_IDX): New macro.
26659 (ULP_I_IDX): Likewise.
26660 * math/test-double.h (ULP_IDX): Likewise.
26661 (ULP_I_IDX): Likewise.
26662 * math/test-float.h (ULP_IDX): Likewise.
26663 (ULP_I_IDX): Likewise.
26664 * math/test-float128.h (ULP_IDX): Likewise.
26665 (ULP_I_IDX): Likewise.
26667 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26669 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26670 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26671 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26672 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26673 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26674 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26675 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26676 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26677 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26678 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26679 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26680 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26681 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26682 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26683 (SINGLE_THREAD_BY_GLOBAL): Define.
26684 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26686 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26688 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26690 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26692 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26693 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26697 2017-10-11 Andreas Schwab <schwab@suse.de>
26699 * nis/Makefile (aux): Remove.
26700 * nscd/Makefile (aux): Add nscd_hash.
26701 (nscd-modules): Likewise.
26702 ($(objpfx)nscd): Don't depend on libnsl.
26703 * nscd/nscd_hash.c: New file.
26704 * nscd/nscd_hash.h: Likewise.
26705 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26706 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26707 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26708 instead of <nis/rpcsvc/nis.h>.
26709 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26711 2017-10-11 Florian Weimer <fweimer@redhat.com>
26714 Avoid large NSS buffers with many addresses, aliases.
26715 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26716 using dynarrays and struct alloc_buffer.
26717 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26718 (tst-nss-files-hosts-multi): Link with -ldl.
26719 * nss/tst-nss-files-hosts-multi.c: New file.
26721 2017-10-11 Florian Weimer <fweimer@redhat.com>
26724 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26725 scratch_buffer. Eliminate gotos.
26727 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26729 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26730 libm_alias_ldouble_other.
26731 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26732 undefine and redefine.
26733 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26734 (exp10l): Do not define here.
26735 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26736 (weak_alias): Undefine and redefine.
26737 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26738 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26739 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26740 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26742 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26743 [!__fma] (fma): Define using libm_alias_double.
26744 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26745 [!__fmaf] (fmaf): Define using libm_alias_float.
26746 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26747 (fmal): Define using libm_alias_ldouble.
26749 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26751 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26753 (libm_alias_double_other): Likewise.
26754 (libm_alias_double_r): Use libm_alias_double_other_r.
26755 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26757 (libm_alias_float_other): Likewise.
26758 (libm_alias_float_r): Use libm_alias_float_other_r.
26759 * sysdeps/generic/libm-alias-float128.h
26760 (libm_alias_float128_other_r): New macro.
26761 (libm_alias_float128_other): Likewise.
26762 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26763 * sysdeps/generic/libm-alias-ldouble.h
26764 (libm_alias_ldouble_other_r): New macro.
26765 (libm_alias_ldouble_other): Likewise.
26766 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26767 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26768 (libm_alias_double_other_r): New macro.
26769 (libm_alias_double_other): Likewise.
26770 (libm_alias_double_r): Use libm_alias_double_other_r.
26771 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26772 (libm_alias_ldouble_other_r): New macro.
26773 (libm_alias_ldouble_other): Likewise.
26774 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26775 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26776 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26777 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26778 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26779 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26780 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26781 * math/w_exp2f.c: Use libm_alias_float_other.
26782 * math/w_expf.c: Likewise.
26783 * math/w_log2f.c: Likewise.
26784 * math/w_logf.c: Likewise.
26785 * math/w_powf.c: Likewise.
26786 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26787 [!__exp2f]: Use libm_alias_float_other.
26788 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26789 [!__expf]: Use libm_alias_float_other.
26790 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26791 [!__log2f]: Use libm_alias_float_other.
26792 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26793 [!__logf]: Use libm_alias_float_other.
26794 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26795 [!__powf]: Use libm_alias_float_other.
26797 2017-10-10 Florian Weimer <fweimer@redhat.com>
26799 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26801 (_nss_files_gethostbyname3_r): Call it.
26803 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26805 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26806 error. Remove default definition of declare_mgen_alias.
26807 [!declare_mgen_alias_r]: Likewise.
26808 * sysdeps/generic/math-type-macros-double.h
26809 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26810 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26811 (declare_mgen_alias_r): Likewise.
26812 * sysdeps/generic/math-type-macros-float128.h
26813 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26814 * sysdeps/generic/math-type-macros-ldouble.h
26815 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26816 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26818 (declare_mgen_alias_r_s): Likewise.
26819 (declare_mgen_alias_r): Likewise.
26820 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26821 (lgamma_r): Define using libm_alias_double_r.
26822 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26823 (lgammaf_r): Define using libm_alias_float_r.
26824 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26825 (lgammal_r): Define using libm_alias_ldouble_r.
26826 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26827 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26829 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26831 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26832 extern declaration.
26834 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26836 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26838 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26841 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26842 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26843 * math/Makefile (test-math-cxx11): New test.
26844 * math/test-math-cxx11.cc: New file.
26846 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26848 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26850 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26851 call to allocate the slave pty file descriptor.
26853 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26855 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26856 [!__fma] (fma): Define using libm_alias_double.
26857 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26858 [!__fma] (fma): Define using libm_alias_double.
26860 * sysdeps/ieee754/float128/float128_private.h: Include
26861 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26862 (libm_alias_ldouble_r): Undefine and redefine.
26863 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26864 <libm-alias-ldouble.h>.
26865 (asinhl): Define using libm_alias_ldouble.
26866 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26867 <libm-alias-ldouble.h>.
26868 (atanl): Define using libm_alias_ldouble.
26869 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26870 <libm-alias-ldouble.h>.
26871 (cbrtl): Define using libm_alias_ldouble.
26872 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26873 <libm-alias-ldouble.h>.
26874 (ceill): Define using libm_alias_ldouble.
26875 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26876 <libm-alias-ldouble.h>.
26877 (copysignl): Define using libm_alias_ldouble.
26878 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26879 <libm-alias-ldouble.h>.
26880 (cosl): Define using libm_alias_ldouble.
26881 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26882 <libm-alias-ldouble.h>.
26883 (erfl): Define using libm_alias_ldouble.
26885 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26886 <libm-alias-ldouble.h>.
26887 (expm1l): Define using libm_alias_ldouble.
26888 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26889 <libm-alias-ldouble.h>.
26890 (fabsl): Define using libm_alias_ldouble.
26891 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26892 <libm-alias-ldouble.h>.
26893 (floorl): Define using libm_alias_ldouble.
26894 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26895 <libm-alias-ldouble.h>.
26896 (fmal): Define using libm_alias_ldouble.
26897 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26898 <libm-alias-ldouble.h>.
26899 (frexpl): Define using libm_alias_ldouble.
26900 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26901 libm_alias_ldouble.
26902 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26903 <libm-alias-ldouble.h>.
26904 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26905 libm_alias_ldouble.
26906 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26907 <libm-alias-ldouble.h>.
26908 (getpayloadl): Define using libm_alias_ldouble.
26909 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26910 <libm-alias-ldouble.h>.
26911 (llrintl): Define using libm_alias_ldouble.
26912 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26913 <libm-alias-ldouble.h>.
26914 (llroundl): Define using libm_alias_ldouble.
26915 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26916 <libm-alias-ldouble.h>.
26917 (logbl): Define using libm_alias_ldouble.
26918 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26919 <libm-alias-ldouble.h>.
26920 (lrintl): Define using libm_alias_ldouble.
26921 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26922 <libm-alias-ldouble.h>.
26923 (lroundl): Define using libm_alias_ldouble.
26924 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26925 <libm-alias-ldouble.h>.
26926 (modfl): Define using libm_alias_ldouble.
26927 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26928 <libm-alias-ldouble.h>.
26929 (nearbyintl): Define using libm_alias_ldouble.
26930 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26931 <libm-alias-ldouble.h>.
26932 (nextafterl): Define using libm_alias_ldouble.
26933 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26934 <libm-alias-ldouble.h>.
26935 (nextupl): Define using libm_alias_ldouble.
26936 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26937 <libm-alias-ldouble.h>.
26938 (remquol): Define using libm_alias_ldouble.
26939 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26940 <libm-alias-ldouble.h>.
26941 (rintl): Define using libm_alias_ldouble.
26942 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26943 <libm-alias-ldouble.h>.
26944 (roundevenl): Define using libm_alias_ldouble.
26945 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26946 <libm-alias-ldouble.h>.
26947 (roundl): Define using libm_alias_ldouble.
26948 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26949 using libm_alias_ldouble.
26950 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26951 <libm-alias-ldouble.h>.
26952 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26953 Define using libm_alias_ldouble.
26954 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26955 <libm-alias-ldouble.h>.
26956 (sincosl): Define using libm_alias_ldouble.
26957 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26958 <libm-alias-ldouble.h>.
26959 (sinl): Define using libm_alias_ldouble.
26960 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26961 <libm-alias-ldouble.h>.
26962 (tanhl): Define using libm_alias_ldouble.
26963 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26964 <libm-alias-ldouble.h>.
26965 (tanl): Define using libm_alias_ldouble.
26966 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26967 <libm-alias-ldouble.h>.
26968 (totalorderl): Define using libm_alias_ldouble.
26969 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26970 <libm-alias-ldouble.h>.
26971 (totalordermagl): Define using libm_alias_ldouble.
26972 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26973 <libm-alias-ldouble.h>.
26974 (truncl): Define using libm_alias_ldouble.
26975 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26976 libm_alias_ldouble.
26977 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26978 libm_alias_ldouble.
26979 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26980 <libm-alias-ldouble.h>.
26981 (weak_alias): Do not undefine and redefine.
26982 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26983 (copysignl): Define with long_double_symbol only if [IS_IN
26985 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26986 <libm-alias-ldouble.h>.
26987 (weak_alias): Do not undefine and redefine.
26988 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26989 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26990 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26991 <libm-alias-ldouble.h>.
26992 (weak_alias): Do not undefine and redefine.
26993 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26994 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26995 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26996 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26997 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26998 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26999 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27002 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27003 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27005 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27008 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27009 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27010 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27012 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27013 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27014 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27016 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27018 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27020 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27023 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27024 (tcache_thread_freeres): Set tcache_shutting_down before
27025 freeing the tcache.
27026 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27027 * malloc/tst-malloc-tcache-leak.c: New file.
27029 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27031 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27032 back to powerpc32 file.
27033 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27034 (memrchr): Add __memrchr_power8 to ifunc list.
27035 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27036 extra bytes for unaligned inputs.
27038 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27040 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27041 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27044 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27046 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27048 * sysdeps/arm/libm-test-ulps: Update.
27050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27051 <libm-alias-ldouble.h>.
27052 (asinhl): Define using libm_alias_ldouble.
27053 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27054 <libm-alias-ldouble.h>.
27055 (cbrtl): Define using libm_alias_ldouble.
27056 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27057 <libm-alias-ldouble.h>.
27058 (copysignl): Define using libm_alias_ldouble.
27059 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27060 <libm-alias-ldouble.h>.
27061 (cosl): Define using libm_alias_ldouble.
27062 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27063 <libm-alias-ldouble.h>.
27064 (erfl): Define using libm_alias_ldouble.
27066 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27067 <libm-alias-ldouble.h>.
27068 (fmal): Define using libm_alias_ldouble.
27069 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27070 <libm-alias-ldouble.h>.
27071 (frexpl): Define using libm_alias_ldouble.
27072 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27073 libm_alias_ldouble.
27074 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27075 <libm-alias-ldouble.h>.
27076 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27077 libm_alias_ldouble.
27078 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27079 <libm-alias-ldouble.h>.
27080 (getpayloadl): Define using libm_alias_ldouble.
27081 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27082 <libm-alias-ldouble.h>.
27083 (llrintl): Define using libm_alias_ldouble.
27084 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27085 <libm-alias-ldouble.h>.
27086 (llroundl): Define using libm_alias_ldouble.
27087 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27088 <libm-alias-ldouble.h>.
27089 (lrintl): Define using libm_alias_ldouble.
27090 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27091 <libm-alias-ldouble.h>.
27092 (lroundl): Define using libm_alias_ldouble.
27093 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27094 <libm-alias-ldouble.h>.
27095 (modfl): Define using libm_alias_ldouble.
27096 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27097 <libm-alias-ldouble.h>.
27098 (nextupl): Define using libm_alias_ldouble.
27099 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27100 <libm-alias-ldouble.h>.
27101 (remquol): Define using libm_alias_ldouble.
27102 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27103 <libm-alias-ldouble.h>.
27104 (roundevenl): Define using libm_alias_ldouble.
27105 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27106 <libm-alias-ldouble.h>.
27107 (roundl): Define using libm_alias_ldouble.
27108 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27109 using libm_alias_ldouble.
27110 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27111 <libm-alias-ldouble.h>.
27112 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27113 <libm-alias-ldouble.h>.
27114 (setpayloadsigl): Define using libm_alias_ldouble.
27115 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27116 <libm-alias-ldouble.h>.
27117 (sincosl): Define using libm_alias_ldouble.
27118 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27119 <libm-alias-ldouble.h>.
27120 (sinl): Define using libm_alias_ldouble.
27121 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27122 <libm-alias-ldouble.h>.
27123 (tanhl): Define using libm_alias_ldouble.
27124 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27125 <libm-alias-ldouble.h>.
27126 (tanl): Define using libm_alias_ldouble.
27127 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27128 <libm-alias-ldouble.h>.
27129 (totalorderl): Define using libm_alias_ldouble.
27130 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27131 <libm-alias-ldouble.h>.
27132 (totalordermagl): Define using libm_alias_ldouble.
27133 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27134 libm_alias_ldouble.
27135 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27136 libm_alias_ldouble.
27138 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27140 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27142 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27143 (__libc_ifunc_impl_list): Likewise.
27144 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27145 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27147 * benchtests/bench-memmove-walk.c: New file.
27148 * benchtests/Makefile (string-benchset): Add it.
27150 * benchtests/bench-memset-walk.c: New file.
27151 * benchtests/Makefile (string-benchset): Add it.
27153 * benchtests/bench-memcpy-walk.c: New file.
27154 * benchtests/Makefile (string-benchset): Add it.
27156 2017-10-05 Florian Weimer <fweimer@redhat.com>
27158 nscd: Eliminate compilation time dependency in the build output.
27159 * nscd/nscd_stat.c (STATDATA_VERSION)
27160 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27161 (STATDATA_VERSION_FULL): New macro definitions.
27162 (compilation): Remove.
27163 (struct statdata): Adjust version member.
27164 (send_stats): Set version from STATDATA_VERSION_FULL.
27165 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27167 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27169 * configure.ac (--enable-add-ons): Remove option.
27170 (machine): Do not mention add-ons in comment.
27171 (LIBC_PRECONFIGURE): Likewise.
27172 (add_ons): Remove variable and sanity checks and logic to locate
27174 (add_ons_automatic): Remove variable.
27175 (configured_add_ons): Likewise.
27176 (add_ons_sfx): Likewise.
27177 (add_ons_pfx): Likewise.
27178 (add_on_subdirs): Likewise.
27179 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27180 consideration of add-ons in Implies handling.
27181 (sysdeps_add_ons): Likewise.
27182 * configure: Regenerated.
27183 * libidn/configure.ac: Remove.
27184 * libidn/configure: Likewise.
27185 * sysdeps/unix/inet/configure.ac: New file.
27186 * sysdeps/unix/inet/configure: New generated file.
27187 * sysdeps/unix/inet/Subdirs: Add libidn.
27188 * Makeconfig (sysdeps-srcdirs): Remove variable.
27189 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27190 ($(common-objpfx)config.status): Do not depend on add-on files.
27191 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27193 (all-subdirs): Do not include $(add-on-subdirs).
27194 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27195 * config.make.in (add-ons): Remove variable.
27196 (add-on-subdirs): Likewise.
27197 (sysdeps-add-ons): Likewise.
27198 * manual/Makefile (add-chapters): Remove.
27199 ($(objpfx)texis): Do not depend on $(add-chapters).
27200 (nonexamples): Do not handle $(add-chapters).
27201 (examples): Do not handle $(add-ons).
27202 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27204 * manual/install.texi (Installation): Do not mention add-ons.
27205 (--enable-add-ons): Do not document configure option.
27206 * INSTALL: Regenerated.
27207 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27208 * manual/maint.texi (Hierarchy Conventions): Do not mention
27210 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27212 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27214 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27215 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27217 2017-10-05 Andreas Schwab <schwab@suse.de>
27220 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27221 (_IO_flush_all_lockp): Always lock list_all_lock.
27222 (_IO_flush_all_linebuffered): Likewise.
27223 (_IO_unbuffer_all): Likewise.
27225 2017-10-05 Florian Weimer <fweimer@redhat.com>
27228 Do not flush stdio streams on abort.
27229 * stdlib/abort.c (fflush): Remove macro definition.
27230 (abort): Remove stages related to stdio flushing.
27232 2017-10-05 Florian Weimer <fweimer@redhat.com>
27234 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27236 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27238 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27240 2017-10-05 Florian Weimer <fweimer@redhat.com>
27242 * support/support_format_hostent.c (support_format_hostent): Add
27243 more error information for NETDB_INTERNAL.
27245 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27247 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27248 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27249 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27250 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27251 AC_DEFINE if multi-arch is enabled.
27252 * sysdeps/i386/configure: Regenerated.
27254 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27256 * Makeconfig (+link-static-before-libc): Use
27257 $(DEFAULT-LDFLAGS-$(@F)).
27258 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27259 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27260 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27262 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27264 * elf/Makefile (tests): Add tst-main1.
27265 (modules-names): Add tst-main1mod.
27266 ($(objpfx)tst-main1): New.
27267 (CRT-tst-main1): Likewise.
27268 (LDFLAGS-tst-main1): Likewise.
27269 (LDLIBS-tst-main1): Likewise.
27270 (tst-main1mod.so-no-z-defs): Likewise.
27271 * elf/tst-main1.c: New file.
27272 * elf/tst-main1mod.c: Likewise.
27274 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27276 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27278 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27280 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27281 (fma): Define using libm_alias_double.
27282 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27283 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27285 (fmal): Do not define as compat symbol here.
27286 * sysdeps/alpha/fpu/s_fma.c: New file.
27288 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27290 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27292 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27295 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27297 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27299 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27300 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27301 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27302 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27304 Include <math_ldbl_opt.h>
27305 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27307 (compat_symbol): Undefine and redefine.
27308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27310 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27311 (compat_symbol): Undefine and redefine.
27312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27313 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27314 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27315 GLIBC_2_1 for libm.
27316 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27317 GLIBC_2.0 copysignl symbol.
27318 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27319 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27321 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27323 2017-10-04 Florian Weimer <fweimer@redhat.com>
27325 * scripts/check-local-headers.sh: Ignore nspr4 header file
27326 directory in addition to nspr.
27328 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27331 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27332 * configure: Regenerate.
27333 * crypt/Makefile (nss-cpp-flags): New variable.
27334 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27335 (CPPFLAGS-md5-crypt.c): Use it.
27336 * scripts/check-local-headers.sh: Ignore nspr header file
27339 2017-10-04 Andreas Schwab <schwab@suse.de>
27341 * nis/Makefile (services): Remove compat.
27342 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27343 ($(objpfx)libnss_compat.so): Remove rule.
27344 * nis/Versions (libnss_compat): Remove.
27345 * nss/Makefile (services): Add compat.
27346 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27347 * nss/Versions (libnss_compat): Define.
27348 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27349 Don't include <rpc/types.h>. Replace bool_t by bool.
27350 * nss/nss_compat/compat-initgroups.c: Likewise.
27351 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27352 instead of <rpcsrv/ypclnt.h>.
27353 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27354 yp_get_default_domain.
27355 * nss/nss_compat/compat-pwd.c: Likewise.
27356 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27357 yp_get_default_domain.
27358 * nss/nss_compat/nisdomain.c: New file.
27359 * nss/nss_compat/nisdomain.h: Likewise.
27361 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27364 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27365 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27367 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27370 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27373 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27375 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27376 "movl main@GOTOFF(%ebx), %eax".
27378 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27380 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27381 allow undefined _DYNAMIC in PIE libc.a.
27382 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27385 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27387 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27390 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27392 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27395 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27397 * math/test-math-iscanonical.cc (error): Replace bool with int.
27399 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27401 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27402 (modf): Define using libm_alias_double, only if [!__modf].
27403 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27404 <libm-alias-double.h>.
27405 (modf): Define using libm_alias_double, only if [!__modf].
27406 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27407 compat symbol here.
27408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27409 (weak_alias): Do not undefine and redefine.
27410 (strong_alias): Likewise.
27411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27412 (weak_alias): Likewise.
27413 (strong_alias): Likewise.
27415 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27416 (logb): Define using libm_alias_double, only if [!__logb].
27417 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27418 <libm-alias-double.h>.
27419 (logb): Define using libm_alias_double, only if [!__logb].
27420 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27422 (weak_alias): Do not undefine and redefine.
27423 (strong_alias): Likewise.
27424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27425 (weak_alias): Likewise.
27426 (strong_alias): Likewise.
27428 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27430 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27431 Check SHARED instead PIC.
27433 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27435 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27436 [!__fmaf] (fmaf): Define using libm_alias_float.
27438 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27439 (frexp): Define using libm_alias_double.
27440 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27441 <libm-alias-double.h>.
27442 (frexp): Define using libm_alias_double.
27443 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27444 compat symbol here.
27446 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27449 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27450 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27451 (CFLAGS-test-math-iscanonical.cc): New variable.
27452 * math/test-math-iscanonical.cc: New file.
27453 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27454 Provide a C++ implementation based on function overloading,
27455 rather than using __MATH_TG, which uses C-only builtins.
27456 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27458 * sysdeps/powerpc/powerpc64le/Makefile
27459 (CFLAGS-test-math-iscanonical.cc): New variable.
27461 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27463 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27464 (ceil): Define using libm_alias_double.
27465 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27466 (floor): Define using libm_alias_double.
27467 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27468 <libm-alias-double.h>.
27469 (llround): Define using libm_alias_double.
27470 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27471 <libm-alias-double.h>.
27472 (lround): Define using libm_alias_double.
27473 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27474 <libm-alias-double.h>.
27475 (nearbyint): Define using libm_alias_double.
27476 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27477 <libm-alias-double.h>.
27478 (remquo): Define using libm_alias_double.
27479 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27480 (rint): Define using libm_alias_double.
27481 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27482 (round): Define using libm_alias_double.
27483 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27484 (trunc): Define using libm_alias_double.
27485 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27486 <libm-alias-double.h>.
27487 (ceil): Define using libm_alias_double.
27488 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27489 <libm-alias-double.h>.
27490 (floor): Define using libm_alias_double.
27491 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27492 <libm-alias-double.h>.
27493 (llround): Define using libm_alias_double.
27494 [_LP64] (lround): Likewise.
27495 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27496 <libm-alias-double.h>.
27497 [!_LP64] (lround): Define using libm_alias_double.
27498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27499 <libm-alias-double.h>.
27500 (nearbyint): Define using libm_alias_double.
27501 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27502 <libm-alias-double.h>.
27503 (remquo): Define using libm_alias_double.
27504 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27505 <libm-alias-double.h>.
27506 (rint): Define using libm_alias_double.
27507 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27508 <libm-alias-double.h>.
27509 (round): Define using libm_alias_double.
27510 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27511 <libm-alias-double.h>.
27512 (trunc): Define using libm_alias_double.
27513 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27514 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27515 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27516 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27517 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27518 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27519 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27520 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27521 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27523 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27525 * math/w_remainder.c: New file.
27526 * math/w_remainderf.c: New file.
27527 * math/w_remainderl.c: New file.
27529 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27531 * elf/rtld.c (BOOTSTRAP_MAP): New.
27532 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27533 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27535 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27537 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27540 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27542 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27543 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27544 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27545 rtld_hidden_data_ver): Define to empty.
27546 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27547 __assert_perror_fail): Likewise.
27548 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27549 (__rewinddir): Likewise.
27550 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27551 (__profile_frequency): Likewise.
27552 * include/setjmp.h (__sigsetjmp): Likewise.
27553 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27554 __libc_sigaction): Likewise.
27555 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27556 not set hidden attribute.
27557 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27558 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27559 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27560 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27561 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27562 __fxstatat64): Likewise.
27563 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27564 (__uname): Likewise.
27565 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27566 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27567 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27568 (NO_RTLD_HIDDEN): Set.
27569 * sysdeps/mach/hurd/configure: Refresh.
27570 * config.h.in: Refresh.
27572 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27574 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27575 (atan): Define using libm_alias_double.
27576 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27577 (tan): Define using libm_alias_double.
27578 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27579 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27581 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27582 define as weak alias of __atan. Do not define any aliases if
27584 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27585 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27586 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27587 as weak alias of __tan. Do not define any aliases if [__tan].
27588 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27589 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27590 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27592 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27593 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27594 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27595 and define as weak alias of __atan.
27596 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27598 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27599 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27600 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27601 define as weak alias of __tan.
27603 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27605 * math/w_lgamma.c: New file.
27606 * math/w_lgammaf.c: New file.
27607 * math/w_lgammal.c: New file.
27609 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27611 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27612 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27613 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27614 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27615 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27616 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27617 * sysdeps/i386/fpu/w_log2f.c: New file.
27618 * sysdeps/i386/fpu/w_logf.c: New file.
27619 * sysdeps/i386/fpu/w_powf.c: New file.
27620 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27621 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27622 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27624 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27625 H.J. Lu <hongjiu.lu@intel.com>
27627 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27628 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27629 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27630 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27631 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27633 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27634 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27635 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27636 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27637 * sysdeps/i386/fpu/w_exp2f.c: New file.
27638 * sysdeps/i386/fpu/w_expf.c: New file.
27639 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27640 * sysdeps/x86_64/fpu/w_expf.c: New file.
27642 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27644 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27647 * math/w_log2f.c: New file.
27648 * math/w_logf.c: New file.
27649 * math/w_powf.c: New file.
27650 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27651 * math/w_logf_compat.c (__logf_compat): Likewise.
27652 * math/w_powf_compat.c (__powf_compat): Likewise.
27653 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27654 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27655 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27656 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27657 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27658 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27659 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27660 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27661 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27662 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27663 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27664 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27665 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27666 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27667 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27676 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27677 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27678 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27679 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27680 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27685 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27686 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27687 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27689 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27691 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27692 (sysdep_routines): Add memrchr_power8.
27693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27694 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27695 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27697 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27698 (memrchr): Add __memrchr_power8 to ifunc list.
27699 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27701 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27704 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27705 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27707 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27708 (__posix_fallocate64_l64): Likewise.
27710 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27713 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27714 (__sched_setaffinity_new): Add libc_hidden_proto and
27717 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27720 * include/glob.h (__glob64): Add libc_hidden_proto.
27721 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27724 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27727 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27733 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27735 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27738 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27741 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27744 * csu/version.c (__libc_print_version): Add attribute_hidden.
27746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27749 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27754 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27759 * nscd/nscd_helper.c (__nis_hash): New prototype.
27761 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27764 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27765 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27767 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27768 * termios/tcgetattr.c (__tcgetattr): Likewise.
27770 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27773 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27774 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27775 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27776 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27777 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27779 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27782 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27784 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27787 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27788 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27790 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27793 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27798 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27799 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27801 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27804 * include/ifreq.h: New file.
27805 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27806 (__ifreq): Likewise.
27807 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27808 (__ifreq): Likewise.
27810 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27813 * include/idna.h: New file.
27814 * inet/getnameinfo.c: Include <idna.h> instead of
27816 (__idna_to_unicode_lzlz): Removed.
27817 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27819 (__idna_to_ascii_lz): Removed.
27820 (__idna_to_unicode_lzlz): Likewise.
27822 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27825 * include/plural-exp.h: New file.
27826 * intl/plural-exp.c: Include <plural-exp.h> instead of
27829 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27832 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27833 "getsourcefilter.h".
27834 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27835 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27836 "getsourcefilter.h".
27837 (__get_sol): Removed.
27839 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27842 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27844 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27846 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27849 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27852 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27855 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27857 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27860 * include/search.h (__tdestroy): Add libc_hidden_proto.
27861 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27866 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27871 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27874 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27877 * include/signal.h (__kill): Add libc_hidden_proto.
27878 (__sigblock): Likewise.
27879 (__sigprocmask): Likewise.
27880 (__sigaltstack): Likewise.
27881 * signal/kill.c (__kill): Add libc_hidden_def.
27882 * signal/sigblock.c (__sigblock): Likewise.
27883 * signal/sigprocmask.c (__sigprocmask): Likewise.
27884 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27885 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27886 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27887 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27888 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27890 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27892 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27893 (__sigprocmask): Likewise.
27894 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27896 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27897 (__sigprocmask): Likewise.
27898 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27904 * include/string.h (__strsep): Add libc_hidden_proto.
27905 * string/strsep.c (__strsep): Add libc_hidden_def.
27907 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27910 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27912 (__spawni): Likewise.
27914 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27917 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27918 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27924 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27929 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27930 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27931 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27932 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27933 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27935 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27936 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27938 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27941 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27942 (__dcigettext): Likewise.
27944 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27947 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27949 (__get_nprocs): Likewise.
27950 (__get_phys_pages): Likewise.
27951 (__get_avphys_pages): Likewise.
27952 (__get_child_max): Add attribute_hidden.
27953 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27954 (__get_nprocs): Likewise.
27955 (__get_phys_pages): Likewise.
27956 (__get_avphys_pages): Likewise.
27957 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27959 (__get_nprocs): Likewise.
27960 (__get_phys_pages): Likewise.
27961 (__get_avphys_pages): Likewise.
27962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27964 (__get_nprocs_conf): Likewise.
27965 (__get_phys_pages): Likewise.
27966 (__get_avphys_pages): Likewise.
27968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27971 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27973 (__netlink_close): Likewise.
27974 (__netlink_free_handle): Likewise.
27975 (__netlink_request): Likewise.
27977 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27980 * include/rpc/rpc.h (__rpc_thread_variables): Add
27982 (__rpc_thread_svc_cleanup): Likewise.
27983 (__rpc_thread_clnt_cleanup): Likewise.
27984 (__rpc_thread_key_cleanup): Likewise.
27986 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27989 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27990 (__writev): Likewise.
27991 * misc/readv.c (__readv): Add libc_hidden_def.
27992 * misc/writev.c (__writev): Likewise.
27993 * sysdeps/posix/readv.c (__readv): Likewise.
27994 * sysdeps/posix/writev.c (__writev): Likewise.
27995 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27996 (__readv): Likewise.
27997 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27998 (__writev): Likewise.
28000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28003 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28004 (__regcomp): Add libc_hidden_proto.
28005 (__regexec): Likewise.
28006 (__regfree): Likewise.
28007 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28008 (__regfree): Likewise.
28009 * posix/regexec.c (__regexec): Likewise.
28011 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28014 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28015 (__getutent): Likewise.
28016 (__getutid): Likewise.
28017 (__getutline): Likewise.
28018 (__pututline): Likewise.
28019 (__getutent_r): Likewise.
28020 (__getutid_r): Likewise.
28021 (__getutline_r): Likewise.
28022 (__utmpname): Add attribute_hidden.
28023 (__setutent): Likewise.
28024 (__endutent): Likewise.
28025 * login/getutent.c (__getutent): Add libc_hidden_def.
28026 * login/getutent_r.c (__getutent_r): Likewise.
28027 (__pututline): Likewise.
28028 * login/getutid.c (__getutid): Likewise.
28029 * login/getutid_r.c (__getutid_r): Likewise.
28030 * login/getutline.c (__getutline): Likewise.
28031 * login/getutline_r.c (__getutline_r): Likewise.
28032 * login/updwtmp.c (__updwtmp): Likewise.
28034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28037 * include/dirent.h (__opendir): Always add attribute_hidden.
28038 (__fdopendir): Likewise.
28039 (__closedir): Likewise.
28040 (__readdir): Likewise.
28041 (__readdir64): Add libc_hidden_proto.
28042 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28043 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28044 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28045 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28051 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28052 * include/netdb.h (__gethostbyaddr_r): Likewise.
28053 (__gethostbyname_r): Likewise.
28054 (__gethostbyname2_r): Likewise.
28055 (__getnetbyaddr_r): Likewise.
28056 (__getnetbyname_r): Likewise.
28057 (__getservbyname_r): Likewise.
28058 (__getservbyport_r): Likewise.
28059 (__getprotobyname_r): Likewise.
28060 (__getprotobynumber_r): Likewise.
28061 (__getnetgrent_r): Likewise.
28062 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28063 (__getrpcbynumber_r): Likewise.
28064 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28069 * include/stdio.h (__fcloseall): Add attribute_hidden.
28070 (__getline): Likewise.
28071 (__path_search): Likewise.
28072 (__gen_tempname): Likewise.
28073 (__libc_message): Likewise.
28074 (__flockfile): Likewise.
28075 (__funlockfile): Likewise.
28076 (__fxprintf): Likewise.
28077 (__fxprintf_nocancel): Likewise.
28079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28082 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28083 (__sgetsgent_r): Likewise.
28085 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28088 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28089 (__statfs64): Likewise.
28090 (__fstatfs64): Likewise.
28091 * include/sys/statvfs.h (__statvfs64): Likewise.
28092 (__fstatvfs64): Likewise.
28093 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28094 (__statfs_filesize_max): Likewise.
28095 (__statfs_symlinks): Likewise.
28096 (__statfs_chown_restricted): Likewise.
28098 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28101 * include/time.h (__tzstring): Add attribute_hidden.
28102 (__tzfile_read): Likewise.
28103 (__tzfile_compute): Likewise.
28104 (__tzfile_default): Likewise.
28105 (__tzset_parse_tz): Likewise.
28106 (__offtime): Likewise.
28107 (__asctime_r): Likewise.
28108 (__tzset): Likewise.
28109 (__tz_convert): Likewise.
28110 (__getdate_r): Likewise.
28111 (__getclktck): Likewise.
28113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28116 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28117 (__nscd_unmap): Likewise.
28118 (__nscd_cache_search): Likewise.
28119 (__nscd_get_nl_timestamp): Likewise.
28120 (__nscd_getpwnam_r): Likewise.
28121 (__nscd_getpwuid_r): Likewise.
28122 (__nscd_getgrnam_r): Likewise.
28123 (__nscd_getgrgid_r): Likewise.
28124 (__nscd_gethostbyname_r): Likewise.
28125 (__nscd_gethostbyname2_r): Likewise.
28126 (__nscd_gethostbyaddr_r): Likewise.
28127 (__nscd_getai): Likewise.
28128 (__nscd_getgrouplist): Likewise.
28129 (__nscd_getservbyname_r): Likewise.
28130 (__nscd_getservbyport_r): Likewise.
28131 (__nscd_innetgr): Likewise.
28132 (__nscd_setnetgrent): Likewise.
28134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28137 * include/gmp.h: Declare internal functions only if _ISOMAC is
28139 (__mpn_extract_double): Add attribute_hidden.
28140 (__mpn_extract_long_double): Likewise.
28141 (__mpn_extract_float128): Likewise.
28142 (__mpn_construct_float): Likewise.
28143 (__mpn_construct_double): Likewise.
28144 (__mpn_construct_long_double): Likewise.
28145 (__mpn_construct_float128): Likewise.
28146 (mpn_add_1): Likewise.
28147 (mpn_addmul_1): Likewise.
28148 (mpn_add_n): Likewise.
28149 (mpn_cmp): Likewise.
28150 (mpn_divrem): Likewise.
28151 (mpn_lshift): Likewise.
28152 (mpn_mul): Likewise.
28153 (mpn_mul_1): Likewise.
28154 (mpn_rshift): Likewise.
28155 (mpn_sub_1): Likewise.
28156 (mpn_submul_1): Likewise.
28157 (mpn_sub_n): Likewise.
28159 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28162 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28163 (__wcscat): Likewise.
28164 (__btowc): Likewise.
28165 (__wcrtomb): Likewise.
28166 (__mbsrtowcs): Likewise.
28167 (__wcsrtombs): Likewise.
28168 (__mbsnrtowcs): Likewise.
28169 (__wcsnrtombs): Likewise.
28170 (__wcsncpy): Likewise.
28171 (__wcpncpy): Likewise.
28172 (__wmemcpy): Likewise.
28173 (__wmempcpy): Likewise.
28174 (__wmemmove): Likewise.
28175 (__wcschrnul): Likewise.
28176 (__vfwscanf): Likewise.
28177 (__vswprintf): Likewise.
28178 (__fwprintf): Likewise.
28179 (__vfwprintf): Likewise.
28181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28184 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28185 (__getgrgid_r): Likewise.
28186 (__getgrnam_r): Likewise.
28187 * include/pwd.h (__getpwuid_r): Likewise.
28188 (__getpwnam_r): Likewise.
28189 (__fgetpwent_r): Likewise.
28190 * include/shadow.h (__getspnam_r): Likewise.
28191 (__sgetspent_r): Likewise.
28192 (__fgetspent_r): Likewise.
28194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28197 * include/unistd.h (__access): Add attribute_hidden.
28198 (__lseek64): Likewise.
28199 (__libc_pread64): Likewise.
28200 (__pipe2): Likewise.
28201 (__sleep): Likewise.
28202 (__chdir): Likewise.
28203 (__fchdir): Likewise.
28204 (__getcwd): Likewise.
28205 (__rmdir): Likewise.
28206 (__execvpe): Likewise.
28207 (__execve): Likewise.
28208 (__setsid): Likewise.
28209 (__getuid): Likewise.
28210 (__geteuid): Likewise.
28211 (__getgid): Likewise.
28212 (__getegid): Likewise.
28213 (__getgroups): Likewise.
28214 (__group_member): Likewise.
28215 (__ttyname_r): Likewise.
28216 (__isatty): Likewise.
28217 (__readlink): Likewise.
28218 (__unlink): Likewise.
28219 (__gethostname): Likewise.
28220 (__profil): Likewise.
28221 (__getdtablesize): Likewise.
28223 (__ftruncate): Likewise.
28224 (__ftruncate64): Likewise.
28226 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28229 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28230 * argp/argp-fs-xinl.c: Likewise.
28231 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28232 * argp/argp-parse.c: Include <argp.h>.
28233 * argp/argp-xinl.c: Likewise.
28234 * include/argp-fmtstream.h: New file.
28235 * include/argp.h (__argp_error): Add attribute_hidden.
28236 (__argp_failure): Likewise.
28237 (__argp_input): Likewise.
28238 (__argp_state_help): Likewise.
28240 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28243 * include/wchar.h (____wcstof_l_internal): New prototype.
28244 (____wcstod_l_internal): Likewise.
28245 (____wcstold_l_internal): Likewise.
28246 (____wcstol_l_internal): Likewise.
28247 (____wcstoul_l_internal): Likewise.
28248 (____wcstoll_l_internal): Likewise.
28249 (____wcstoull_l_internal): Likewise.
28250 (____wcstof128_l_internal): Likewise.
28251 * sysdeps/ieee754/float128/wcstof128.c
28252 (____wcstof128_l_internal): Removed.
28253 * sysdeps/ieee754/float128/wcstof128_l.c
28254 (____wcstof128_l_internal): Likewise.
28255 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28256 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28257 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28258 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28259 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28260 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28261 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28262 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28263 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28264 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28269 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28270 instead of <sys/statvfs.h>.
28271 (__internal_statvfs): Removed.
28272 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28273 instead of <sys/statvfs.h>.
28274 (__internal_statvfs64): Removed.
28275 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28276 "internal_statvfs.h" instead of <sys/statvfs.h>.
28277 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28278 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28279 instead of <sys/statvfs.h>.
28280 (__internal_statvfs): Removed.
28281 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28282 instead of <sys/statvfs.h>.
28283 (__internal_statvfs64): Removed.
28285 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28288 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28289 (__gconv_close): Likewise.
28290 (__gconv): Likewise.
28291 (__gconv_find_transform): Likewise.
28292 (__gconv_lookup_cache): Likewise.
28293 (__gconv_compare_alias_cache): Likewise.
28294 (__gconv_load_cache): Likewise.
28295 (__gconv_get_path): Likewise.
28296 (__gconv_close_transform): Likewise.
28297 (__gconv_release_cache): Likewise.
28298 (__gconv_find_shlib): Likewise.
28299 (__gconv_release_shlib): Likewise.
28300 (__gconv_get_builtin_trans): Likewise.
28301 (__gconv_compare_alias): Likewise.
28302 * include/dlfcn.h (_dlerror_run): Likewise.
28303 * include/stdio.h (__fortify_fail_abort): Likewise.
28304 * include/time.h (__tz_compute): Likewise.
28305 (__strptime_internal): Likewise.
28306 * intl/gettextP.h (_nl_find_domain): Likewise.
28307 (_nl_load_domain): Likewise.
28308 (_nl_find_msg): Likewise.
28309 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28310 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28311 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28312 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28313 (__gai_find_request): Likewise.
28314 (__gai_remove_request): Likewise.
28315 (__gai_notify): Likewise.
28316 (__gai_notify_only): Likewise.
28317 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28318 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28319 (_dl_non_dynamic_init): Likewise.
28320 (_dl_aux_init): Likewise.
28321 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28322 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28324 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28325 (__wcsmbs_clone_conv): Likewise.
28326 (__wcsmbs_named_conv): Likewise.
28328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28331 * include/stdlib.h (__random): Add attribute_hidden.
28332 (__random_r): Likewise.
28333 (__srandom_r): Likewise.
28334 (__initstate_r): Likewise.
28335 (__setstate_r): Likewise.
28336 (__erand48_r): Likewise.
28337 (__nrand48_r): Likewise.
28338 (__jrand48_r): Likewise.
28339 (__srand48_r): Likewise.
28340 (__seed48_r): Likewise.
28341 (__lcong48_r): Likewise.
28342 (__drand48_iterate): Likewise.
28343 (__setenv): Likewise.
28344 (__unsetenv): Likewise.
28345 (__clearenv): Likewise.
28346 (__ptsname_r): Likewise.
28347 (__posix_openpt): Likewise.
28348 (__add_to_environ): Likewise.
28349 (__realpath): Add libc_hidden_proto.
28350 (__ecvt_r): Likewise.
28351 (__fcvt_r): Likewise.
28352 (__qecvt_r): Likewise.
28353 (__qfcvt_r): Likewise.
28354 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28355 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28360 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28361 * include/time.h (__mktime_internal): Likewise.
28362 * libio/iolibio.h (__fopen_internal): Likewise.
28364 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28366 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28368 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28369 Correct offset used to restore PIC register.
28371 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28374 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28375 code to load address of __getcontext_ret when generating PIC code.
28377 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28379 * elf/Makefile (tests-static-internal): Add
28380 tst-tls1-static-non-pie.
28381 (LDFLAGS-tst-tls1-static-non-pie): New.
28382 * elf/tst-tls1-static-non-pie.c: New file.
28384 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28386 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28387 (asinh): Define using libm_alias_double.
28388 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28389 (cbrt): Define using libm_alias_double.
28390 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28391 <libm-alias-double.h>.
28392 (copysign): Define using libm_alias_double.
28393 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28394 (erf): Define using libm_alias_double.
28396 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28397 (expm1): Define using libm_alias_double.
28398 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28399 (fabs): Define using libm_alias_double.
28400 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28402 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28403 <libm-alias-double.h>.
28404 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28406 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28407 <libm-alias-double.h>.
28408 (getpayload): Define using libm_alias_double.
28409 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28410 <libm-alias-double.h>.
28411 (llrint): Define using libm_alias_double.
28412 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28413 (lrint): Define using libm_alias_double.
28414 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28415 <libm-alias-double.h>.
28416 (nextup): Define using libm_alias_double.
28417 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28418 <libm-alias-double.h>.
28419 (roundeven): Define using libm_alias_double.
28420 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28422 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28423 <libm-alias-double.h>.
28424 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28425 using libm_alias_double.
28426 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28427 (cos): Define using libm_alias_double.
28429 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28430 <libm-alias-double.h>.
28431 (sincos): Define using libm_alias_double.
28432 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28433 (tanh): Define using libm_alias_double.
28434 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28435 <libm-alias-double.h>.
28436 (totalorder): Define using libm_alias_double.
28437 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28438 <libm-alias-double.h>.
28439 (totalordermag): Define using libm_alias_double.
28440 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28442 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28444 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28445 <libm-alias-double.h>.
28446 (getpayload): Define using libm_alias_double.
28447 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28448 <libm-alias-double.h>.
28449 (roundeven): Define using libm_alias_double.
28450 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28451 <libm-alias-double.h>.
28452 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28453 <libm-alias-double.h>.
28454 (totalorder): Define using libm_alias_double.
28455 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28456 <libm-alias-double.h>.
28457 (totalordermag): Define using libm_alias_double.
28458 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28459 libc compat symbol here.
28460 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28461 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28462 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28463 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28464 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28465 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28466 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28467 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28468 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28469 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28471 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28473 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28474 _dl_relocate_static_pie instead of _dl_start to compute load
28475 address in static PIE. Return 0 if _DYNAMIC is undefined for
28478 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28480 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28481 _DYNAMIC is undefined for static executable.
28483 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28485 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28487 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28491 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28493 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28494 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28495 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28496 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28498 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28499 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28500 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28501 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28502 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28503 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28504 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28505 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28506 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28507 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28508 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28509 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28511 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28513 * math/bits/cmathcalls.h (cimag): Remove inline.
28514 (creal): Remove inline.
28515 (conj): Remove inline.
28517 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28519 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28520 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28521 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28522 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28523 (issignalingf_inline): Likewise.
28524 (POWF_LOG2_TABLE_BITS): Likewise.
28525 (POWF_LOG2_POLY_ORDER): Likewise.
28526 (POWF_SCALE_BITS): Likewise.
28527 (POWF_SCALE): Likewise.
28528 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28529 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28530 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28532 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28534 * math/Makefile (type-float-routines): Add e_log2f_data.
28535 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28536 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28537 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28538 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28539 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28540 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28541 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28543 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28545 * math/Makefile (type-float-routines): Add e_logf_data.
28546 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28547 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28548 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28549 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28550 * sysdeps/i386/fpu/e_logf_data.c: New file.
28551 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28552 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28554 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28556 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28557 undefined _DYNAMIC in PIE libc.a.
28558 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28561 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28563 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28564 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28565 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28566 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28567 (__signbit): Remove.
28568 (__signbitl): Remove.
28569 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28570 (__signbit): Remove.
28571 (__signbitl): Remove.
28572 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28573 (__signbit): Remove.
28574 (__signbitl): Remove.
28575 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28576 (__signbit): Remove.
28577 (__signbitl): Remove.
28578 * sysdeps/tile/bits/mathinline.h: Delete file.
28579 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28580 (__signbit): Remove.
28581 (__signbitl): Remove.
28583 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28585 * math/math.h: Improve handling of C99 isgreater macros.
28586 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28587 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28588 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28589 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28590 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28592 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28594 * sysdeps/aarch64/libm-test-ulps: Update.
28596 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28599 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28600 math_opt_barrier on argument when doing arithmetic on it.
28601 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28602 Likewise. Use math_force_eval not math_opt_barrier after
28604 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28605 math_opt_barrier on argument when doing arithmetic on it.
28606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28609 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28611 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28613 (__freeifaddrs): Likewise.
28615 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28617 * include/dirent.h (__dirfd): New declaration.
28618 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28620 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28621 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28622 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28623 * include/unistd.h (__revoke): New declaration.
28624 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28626 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28627 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28629 * include/dirent.h (__seekdir): New declaration.
28630 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28631 redefine as weak alias.
28632 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28634 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28635 and use libc_hidden_def on them.
28636 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28638 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28639 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28640 instead of getifaddrs and freeifaddrs.
28642 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28645 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28646 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28647 (__dso_handle): Remove declaration.
28648 * dlfcn/tstatexit.c (__dso_handle): Removed.
28649 (main): Don't check __dso_handle.
28650 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28651 (main): Don't check __dso_handle.
28652 * include/dso_handle.h: New file.
28653 * malloc/mtrace.c: Include <dso_handle.h>.
28654 (mtrace): Pass __dso_handle directly.
28655 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28656 (__dso_handle): Remove declaration.
28657 (__pthread_atfork): Pass __dso_handle directly.
28658 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28659 (__dso_handle): Removed.
28660 * posix/wordexp-test.c: Include <dso_handle.h>.
28661 (__dso_handle): Remove declaration.
28662 (__app_register_atfork): Pass __dso_handle directly.
28663 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28664 (__dso_handle): Remove declaration.
28665 (at_quick_exit): Pass __dso_handle directly.
28666 * stdlib/atexit.c: Include <dso_handle.h>.
28667 (__dso_handle): Remove declaration.
28668 (atexit): Pass __dso_handle directly.
28669 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28670 (__dso_handle): Removed.
28672 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28674 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28677 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28679 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28680 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28681 values to correct default value for given type.
28683 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28686 * elf/Makefile (tests): Add tst-debug1.
28687 ($(objpfx)tst-debug1): New.
28688 ($(objpfx)tst-debug1.out): Likewise.
28689 ($(objpfx)tst-debug1mod1.so): Likewise.
28690 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28691 with p_filesz == 0.
28692 * elf/tst-debug1.c: New file.
28694 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28696 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28697 Define using __ifunc.
28699 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28701 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28704 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28707 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28709 2017-09-26 Florian Weimer <fweimer@redhat.com>
28711 * resolv/Makefile (tests-internal): Fix typo in comment.
28713 2017-09-26 Florian Weimer <fweimer@redhat.com>
28715 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28717 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28719 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28720 Use an union instead of a max_align_t array for __space,
28721 so that __space is the same size on all platforms.
28722 * malloc/scratch_buffer_grow_preserve.c
28723 (__libc_scratch_buffer_grow_preserve): Likewise.
28726 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28728 * posix/Makefile (routines): Add glob-lstat-compat and
28729 glob64-lstat-compat.
28730 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28731 * posix/glob-lstat-compat.c: New file.
28732 * posix/glob64-lstat-compat.c: Likewise.
28733 * posix/tst-glob_lstat_compat.c: Likewise.
28734 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28735 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28736 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28737 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28739 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28740 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28741 * posix/glob.c (glob_lstat): New function.
28742 (glob): Rename to __glob and add versioned symbol to 2.27.
28743 (glob_in_dir): Use glob_lstat.
28744 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28745 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28746 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28748 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28749 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28750 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28751 gl_lstat on glob call.
28752 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28753 and glob64 symbols.
28754 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28755 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28756 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28757 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28758 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28759 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28760 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28761 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28762 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28763 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28764 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28765 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28768 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28770 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28771 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28772 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28773 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28774 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28777 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28778 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28779 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28781 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28783 * configure.ac (AS): Require binutils 2.25 or later.
28784 * configure: Regenerated.
28786 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28789 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28792 2017-09-25 DJ Delorie <dj@redhat.com>
28795 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28798 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28800 * sysdeps/ieee754/dbl-64/sincos32.h
28801 [SINCCOS32_H]: Remove define.
28802 [SINCOS32_H]: Define.
28804 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28806 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28808 * math/w_exp2f.c: New file.
28809 * math/w_expf.c: New file.
28810 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28811 * math/w_expf_compat.c (__expf_compat): Likewise.
28812 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28813 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28814 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28815 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28816 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28817 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28818 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28819 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28820 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28821 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28822 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28823 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28824 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28825 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28834 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28835 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28836 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28837 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28838 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28843 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28844 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28845 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28847 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28849 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28850 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28851 (roundtoint, converttoint): Likewise.
28852 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28853 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28854 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28855 * sysdeps/ieee754/flt-32/math_config.h: New file.
28856 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28857 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28858 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28859 * sysdeps/i386/fpu/math_errf.c: New file.
28860 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28861 * sysdeps/ia64/fpu/math_errf.c: New file.
28862 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28863 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28865 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28867 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28868 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28869 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28870 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28871 to make sure that these symbols are defined.
28872 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28874 (__need_NULL): Do not define.
28875 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28877 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28878 CMGROUP_MAX, cmsgcred): Do not define.
28879 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28881 * bits/socket.h: Likewise.
28882 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28883 __gettimeofday instead of gettimeofday.
28884 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28885 instead of settimeofday.
28887 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28889 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28890 (asinhf): Define using libm_alias_float.
28891 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28892 (atanf): Define using libm_alias_float.
28893 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28894 (cbrtf): Define using libm_alias_float.
28895 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28896 (ceilf): Define using libm_alias_float.
28897 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28898 <libm-alias-float.h>.
28899 (copysignf): Define using libm_alias_float.
28900 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28901 (cosf): Define using libm_alias_float.
28902 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28903 (erff): Define using libm_alias_float.
28905 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28906 (expm1f): Define using libm_alias_float.
28907 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28908 (fabsf): Define using libm_alias_float.
28909 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28910 (floorf): Define using libm_alias_float.
28911 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28912 (frexpf): Define using libm_alias_float.
28913 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28915 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28916 <libm-alias-float.h>.
28917 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28919 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28920 <libm-alias-float.h>.
28921 (getpayloadf): Define using libm_alias_float.
28922 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28923 <libm-alias-float.h>.
28924 (llrintf): Define using libm_alias_float.
28925 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28926 <libm-alias-float.h>.
28927 (llroundf): Define using libm_alias_float.
28928 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28929 (logbf): Define using libm_alias_float.
28930 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28931 (lrintf): Define using libm_alias_float.
28932 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28933 (lroundf): Define using libm_alias_float.
28934 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28935 (modff): Define using libm_alias_float.
28936 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28937 <libm-alias-float.h>.
28938 (nearbyintf): Define using libm_alias_float.
28939 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28940 <libm-alias-float.h>.
28941 (nextafterf): Define using libm_alias_float.
28942 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28943 <libm-alias-float.h>.
28944 (nextupf): Define using libm_alias_float.
28945 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28946 <libm-alias-float.h>.
28947 (remquof): Define using libm_alias_float.
28948 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28949 (rintf): Define using libm_alias_float.
28950 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28951 <libm-alias-float.h>.
28952 (roundevenf): Define using libm_alias_float.
28953 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28954 (roundf): Define using libm_alias_float.
28955 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28956 using libm_alias_float.
28957 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28958 <libm-alias-float.h>.
28959 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28960 Define using libm_alias_float.
28961 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28962 <libm-alias-float.h>.
28963 (sincosf): Define using libm_alias_float.
28964 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28965 (sinf): Define using libm_alias_float.
28966 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28967 (tanf): Define using libm_alias_float.
28968 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28969 (tanhf): Define using libm_alias_float.
28970 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28971 <libm-alias-float.h>.
28972 (totalorderf): Define using libm_alias_float.
28973 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28974 <libm-alias-float.h>.
28975 (totalordermagf): Define using libm_alias_float.
28976 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28977 (truncf): Define using libm_alias_float.
28978 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28980 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28983 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28986 math/math.h: Let fpclassify use the builtin in C++ mode, even
28987 when optimazing for size.
28989 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28991 * csu/Makefile (generated): Do not add version-info.h.
28992 (before-compile): Likewise.
28993 (all-Banner-files): Remove variable.
28994 ($(objpfx)version-info.h): Remove rule.
28995 * csu/version.c (banner): Do not include "version-info.h".
28996 * libidn/Banner: Remove.
28997 * manual/contrib.texi (Simon Josefsson): New entry.
28999 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29001 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29002 Remove conditionals on LDBL_MANT_DIG.
29003 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29004 (__ieee754_lgammal_r): Likewise.
29006 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29008 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29010 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29011 _Float128 and L(). Replace _Float128 with long double and L(x)
29012 with xL, throughout the file.
29013 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29018 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29021 sysdeps/ieee754/ldbl-128ibm.
29022 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29023 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29024 of including it. Keep _Float128 and L() intact. These will be
29025 reviewed by a separate patch.
29026 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29031 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29034 (__finitef128): Define to __redirect___finitef128.
29035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29036 (__isinff128): Define to __redirect___isinff128.
29037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29038 (__isnanf128): Define to __redirect___isnanf128.
29040 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29042 * sysdeps/powerpc/powerpc64le/Makefile
29043 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29044 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29046 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29047 Carlos O'Donell <carlos@redhat.com>
29050 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29051 * stdlib/test-dlclose-exit-race.c: New file.
29052 * stdlib/test-dlclose-exit-race-helper.c: New file.
29053 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29055 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29057 * crypt/Banner: Remove file.
29058 * nptl/Banner: Likewise.
29059 * resolv/Banner: Likewise.
29060 * soft-fp/Banner: Likewise.
29061 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29062 ($(objpfx)version.d): Remove dependency on banner.h.
29063 ($(objpfx)version.os): Likewise.
29064 * nptl/version.c (banner): Do not include banner.h.
29065 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29066 Jelinek and BIND code.
29068 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29069 Carlos O'Donell <carlos@redhat.com>
29071 * support/xdlfcn.h: New file.
29072 * support/xdlfcn.c: New file.
29073 * support/Makefile (libsupport-routines): Add xdlfcn.
29074 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29076 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29079 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29080 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29081 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29082 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29083 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29084 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29085 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29086 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29088 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29089 Ricky Zhou <rickyz@google.com>
29090 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29093 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29095 (__new_exitfn): Fail registration when we finished at_exit processing.
29096 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29097 * stdlib/on_exit.c (__on_exit): Likewise.
29098 * stdlib/exit.c (__exit_funcs_done): New variable.
29099 (__run_exit_handlers): Use __exit_funcs_lock.
29100 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29102 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29103 (test-cxa_atexit-race, test-on_exit-race): New tests.
29104 * stdlib/test-atexit-race-common.c: New file.
29105 * stdlib/test-atexit-race.c: New file.
29106 * stdlib/test-at_quick_exit-race.c: New file.
29107 * stdlib/test-cxa_atexit-race.c: New file.
29108 * stdlib/test-on_exit-race.c: New file.
29110 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29112 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29113 * benchtests/exp2f-inputs: Copy of expf-inputs.
29114 * benchtests/log2f-inputs: Copy of logf-inputs.
29116 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29118 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29119 Explicitly take address of first element of array arguments in
29120 call to INLINE_SYSCALL.
29122 2017-09-19 Andreas Schwab <schwab@suse.de>
29125 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29127 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29130 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29131 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29132 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29133 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29134 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29135 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29136 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29137 * posix/Makefile (tests): Add tst-fexecve.
29138 * posix/tst-fexecve.c: New file.
29140 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29142 * benchtests/Makefile: Add logf benchmark.
29143 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29145 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29147 * benchtests/Makefile: Add expf benchmark.
29148 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29150 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29152 * csu/Makefile: Add -funwind-tables to libc-start.c.
29153 * debug/Makefile: Add -funwind-tables to backtrace.c.
29154 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29155 * sysdeps/arm/Makefile: Likewise.
29156 * sysdeps/i386/Makefile: Likewise.
29157 * sysdeps/m68k/Makefile: Likewise.
29158 * sysdeps/mips/Makefile: Likewise.
29159 * sysdeps/nios2/Makefile: Likewise.
29160 * sysdeps/sh/Makefile: Likewise.
29161 * sysdeps/sparc/Makefile: Likewise.
29163 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29165 * benchtests/Makefile (bench-math): Add trunc and truncf.
29166 (CFLAGS-bench-trunc.c): New variable.
29167 (CFLAGS-bench-truncf.c): Likewise.
29168 * benchtests/trunc-inputs: New file.
29169 * benchtests/truncf-inputs: Likewise.
29171 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29173 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29175 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29177 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29178 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29180 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29181 (exp10l): Define as weak alias.
29182 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29183 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29185 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29186 (remainderl): Define as weak alias.
29188 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29189 (fmal): Define using libm_alias_ldouble.
29190 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29191 (acoshl): Define using libm_alias_ldouble.
29192 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29193 (acosl): Define using libm_alias_ldouble.
29194 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29195 (asinl): Define using libm_alias_ldouble.
29196 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29197 (atan2l): Define using libm_alias_ldouble.
29198 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29199 (atanhl): Define using libm_alias_ldouble.
29200 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29201 (coshl): Define using libm_alias_ldouble.
29202 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29203 (exp10l): Define using libm_alias_ldouble.
29204 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29205 (exp2l): Define using libm_alias_ldouble.
29206 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29207 (expl): Define using libm_alias_ldouble.
29208 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29209 (fmodl): Define using libm_alias_ldouble.
29210 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29211 (hypotl): Define using libm_alias_ldouble.
29212 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29213 (j0l): Define using libm_alias_ldouble.
29215 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29216 (j1l): Define using libm_alias_ldouble.
29218 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29219 (jnl): Define using libm_alias_ldouble.
29221 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29222 (log10l): Define using libm_alias_ldouble.
29223 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29224 (log2l): Define using libm_alias_ldouble.
29225 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29226 (logl): Define using libm_alias_ldouble.
29227 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29228 (powl): Define using libm_alias_ldouble.
29229 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29230 (remainderl): Define using libm_alias_ldouble.
29231 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29232 (sinhl): Define using libm_alias_ldouble.
29233 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29234 (sqrtl): Define using libm_alias_ldouble.
29235 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29236 (tgammal): Define using libm_alias_ldouble.
29237 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29238 (exp10l): Do not use long_double_symbol here.
29239 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29240 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29241 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29242 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29243 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29244 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29245 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29246 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29247 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29248 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29249 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29250 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29251 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29252 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29253 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29254 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29255 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29256 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29257 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29258 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29259 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29260 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29262 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29264 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29265 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29267 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29269 * io/read.c (read): Add libc_hidden_weak.
29270 * sysdeps/mach/hurd/read.c (read): Likewise.
29271 * io/write.c (write): Likewise.
29272 * sysdeps/mach/hurd/write.c (write): Likewise.
29273 * io/pread64.c (__pread64): Likewise.
29274 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29275 * posix/pread64.c (__pread64): Add libc_hidden_def.
29277 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29279 * benchtests/scripts/compare_strings.py: New option -g.
29280 (draw_graph): Print a message that a graph is being generated.
29281 (process_results): Generate graph only if -g is passed.
29282 (main): Process option -g.
29284 * benchtests/scripts/compare_strings.py (process_results):
29285 Better spacing for output.
29287 * benchtests/scripts/compare_strings.py: Use argparse.
29288 * benchtests/README: Document existence of compare_strings.py.
29290 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29292 * math/s_fma.c: Include <libm-alias-double.h>.
29293 (fma): Define using libm_alias_double.
29294 * math/s_nextafter.c: Include <libm-alias-double.h>.
29295 (nextafter): Define using libm_alias_double.
29296 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29297 (acos): Define using libm_alias_double.
29298 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29299 (aocsh): Define using libm_alias_double.
29300 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29301 (asin): Define using libm_alias_double.
29302 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29303 (atan2): Define using libm_alias_double.
29304 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29305 (atanh): Define using libm_alias_double.
29306 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29307 (cosh): Define using libm_alias_double.
29308 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29309 (exp10): Define using libm_alias_double.
29310 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29311 (exp2): Define using libm_alias_double.
29312 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29313 (exp): Define using libm_alias_double.
29314 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29315 (fmod): Define using libm_alias_double.
29316 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29317 (hypot): Define using libm_alias_double.
29318 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29319 (j0): Define using libm_alias_double.
29321 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29322 (j1): Define using libm_alias_double.
29324 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29325 (jn): Define using libm_alias_double.
29327 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29328 (log10): Define using libm_alias_double.
29329 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29330 (log2): Define using libm_alias_double.
29331 * math/w_log_compat.c: Include <libm-alias-double.h>.
29332 (log): Define using libm_alias_double.
29333 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29334 (pow): Define using libm_alias_double.
29335 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29336 (remainder): Define using libm_alias_double.
29337 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29338 (sinh): Define using libm_alias_double.
29339 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29340 (sqrt): Define using libm_alias_double.
29341 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29342 (tgamma): Define using libm_alias_double.
29343 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29344 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29345 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29346 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29347 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29348 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29349 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29350 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29351 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29352 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29353 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29354 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29355 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29356 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29357 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29358 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29359 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29360 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29361 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29362 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29363 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29364 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29365 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29366 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29367 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29369 * math/e_acoshl.c: Remove.
29370 * math/e_acosl.c: Likewise.
29371 * math/e_asinl.c: Likewise.
29372 * math/e_atan2l.c: Likewise.
29373 * math/e_atanhl.c: Likewise.
29374 * math/e_coshl.c: Likewise.
29375 * math/e_expl.c: Likewise.
29376 * math/e_fmodl.c: Likewise.
29377 * math/e_gammal_r.c: Likewise.
29378 * math/e_hypotl.c: Likewise.
29379 * math/e_j0l.c: Likewise.
29380 * math/e_j1l.c: Likewise.
29381 * math/e_jnl.c: Likewise.
29382 * math/e_lgammal_r.c: Likewise.
29383 * math/e_log10l.c: Likewise.
29384 * math/e_log2l.c: Likewise.
29385 * math/e_logl.c: Likewise.
29386 * math/e_powl.c: Likewise.
29387 * math/e_rem_pio2l.c: Likewise.
29388 * math/e_sinhl.c: Likewise.
29389 * math/e_sqrtf128.c: Likewise.
29390 * math/e_sqrtl.c: Likewise.
29391 * math/k_cosl.c: Likewise.
29392 * math/k_sinl.c: Likewise.
29393 * math/k_tanl.c: Likewise.
29394 * math/s_asinhl.c: Likewise.
29395 * math/s_atanl.c: Likewise.
29396 * math/s_cbrtl.c: Likewise.
29397 * math/s_erfl.c: Likewise.
29398 * math/s_expm1l.c: Likewise.
29399 * math/s_log1pl.c: Likewise.
29400 * math/s_tanhl.c: Likewise.
29402 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29406 [$(subdir) = math] (sysdep_calls): New variable. Has the
29407 previous contents of sysdep_routines, but re-sorted..
29408 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29410 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29411 defined in sysdep_calls and replace by the respective m_* names.
29412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29413 (compat_symbol): Undefine to avoid duplicated compat symbols in
29416 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29418 * math/s_fmaf.c: Include <libm-alias-float.h>.
29419 (fmaf): Define using libm_alias_float.
29420 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29421 (acosf): Define using libm_alias_float.
29422 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29423 (acoshf): Define using libm_alias_float.
29424 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29425 (asinf): Define using libm_alias_float.
29426 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29427 (atan2f): Define using libm_alias_float.
29428 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29429 (atanhf): Define using libm_alias_float.
29430 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29431 (coshf): Define using libm_alias_float.
29432 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29433 (exp10f): Define using libm_alias_float.
29434 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29435 (fmodf): Define using libm_alias_float.
29436 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29437 (hypotf): Define using libm_alias_float.
29438 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29439 (j0f): Define using libm_alias_float.
29441 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29442 (j1f): Define using libm_alias_float.
29444 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29445 (jnf): Define using libm_alias_float.
29447 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29448 (log10f): Define using libm_alias_float.
29449 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29450 (log2f): Define using libm_alias_float.
29451 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29452 (logf): Define using libm_alias_float.
29453 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29454 (powf): Define using libm_alias_float.
29455 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29456 (remainderf): Define using libm_alias_float.
29457 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29458 (sinhf): Define using libm_alias_float.
29459 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29460 (sqrtf): Define using libm_alias_float.
29461 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29462 (tgammaf): Define using libm_alias_float.
29464 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29466 * include/math.h (roundeven): Change hidden_proto call to
29468 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29470 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29471 (y0): Rename to __y0 and define as weak alias.
29472 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29473 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29475 (y0f): Rename to __y0f and define as weak alias.
29476 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29478 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29479 (y1): Rename to __y1 and define as weak alias.
29480 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29481 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29483 (y1f): Rename to __y1f and define as weak alias.
29484 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29486 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29487 (yn): Rename to __yn and define as weak alias.
29488 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29489 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29491 (ynf): Rename to __ynf and define as weak alias.
29492 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29493 (fromfp): Define as weak alias.
29494 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29495 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29496 (fromfpx): Define as weak alias.
29497 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29498 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29499 __getpayload and define as weak alias.
29500 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29501 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29502 __roundeven and define as weak alias.
29503 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29504 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29506 (setpayload): Define as weak alias.
29507 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29508 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29510 (setpayloadsig): Define as weak alias.
29511 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29512 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29513 __totalorder and define as weak alias.
29514 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29515 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29516 to __totalordermag and define as weak alias.
29517 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29518 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29519 (ufromfp): Define as weak alias.
29520 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29521 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29523 (ufromfpx): Define as weak alias.
29524 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29525 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29526 Rename to __getpayload and define as weak alias.
29527 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29528 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29529 Rename to __roundeven and define as weak alias.
29530 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29531 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29532 Rename to __totalorder and define as weak alias.
29533 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29534 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29535 (totalordermag): Rename to __totalordermag and define as weak
29537 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29538 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29540 (__roundevenl): Likewise.
29541 (__totalorderl): Likewise.
29542 (__totalordermagl): Likewise
29543 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29545 (fromfpf128): Define as weak alias.
29546 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29548 (fromfpxf128): Define as weak alias.
29549 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29551 (setpayloadf128): Define as weak alias.
29552 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29553 __setpayloadsigf128.
29554 (setpayloadsigf128): Define as weak alias.
29555 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29557 (ufromfpf128): Define as weak alias.
29558 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29560 (ufromfpxf128): Define as weak alias.
29561 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29562 (fromfpf): Define as weak alias.
29563 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29565 (fromfpxf): Define as weak alias.
29566 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29567 __getpayloadf and define as weak alias.
29568 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29569 __roundevenf and define as weak alias.
29570 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29572 (setpayloadf): Define as weak alias.
29573 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29575 (setpayloadsigf): Define as weak alias.
29576 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29577 __totalorderf and define as weak alias.
29578 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29579 Rename to __totalordermagf and define as weak alias.
29580 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29582 (ufromfpf): Define as weak alias.
29583 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29585 (ufromfpxf): Define as weak alias.
29586 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29588 (fromfpl): Define as weak alias.
29589 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29591 (fromfpxl): Define as weak alias.
29592 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29593 to __getpayloadl and define as weak alias.
29594 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29595 __roundevenl and define as weak alias.
29596 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29598 (setpayloadl): Define as weak alias.
29599 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29601 (setpayloadsigl): Define as weak alias.
29602 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29603 to __totalorderl and define as weak alias.
29604 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29605 Rename to __totalordermagl and define as weak alias.
29606 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29608 (ufromfpl): Define as weak alias.
29609 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29611 (ufromfpxl): Define as weak alias.
29612 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29614 (fromfpl): Define as weak alias.
29615 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29617 (fromfpxl): Define as weak alias.
29618 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29619 Rename to __getpayloadl and define as weak alias.
29620 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29621 to __roundevenl and define as weak alias. Call __roundeven
29622 instead of roundeven.
29623 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29625 (setpayloadl): Define as weak alias.
29626 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29628 (setpayloadsigl): Define as weak alias.
29629 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29630 Rename to __totalorderl and define as weak alias.
29631 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29632 Rename to __totalordermagl and define as weak alias.
29633 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29635 (ufromfpl): Define as weak alias.
29636 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29638 (ufromfpxl): Define as weak alias.
29639 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29641 (fromfpl): Define as weak alias.
29642 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29644 (fromfpxl): Define as weak alias.
29645 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29646 __getpayloadl and define as weak alias.
29647 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29648 __roundevenl and define as weak alias.
29649 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29651 (setpayloadl): Define as weak alias.
29652 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29654 (setpayloadsigl): Define as weak alias.
29655 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29656 __totalorderl and define as weak alias.
29657 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29658 Rename to __totalordermagl and define as weak alias.
29659 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29661 (ufromfpl): Define as weak alias.
29662 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29664 (ufromfpxl): Define as weak alias.
29666 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29668 * benchtests/bench-string.h (realloc_bufs): New function.
29669 (test_init): Call it.
29670 * benchtests/bench-memset-large.c (do_test): Likewise.
29671 * benchtests/bench-memset.c (do_test): Likewise.
29673 * benchtests/bench-memset-large.c: Print output in JSON
29675 * benchtests/bench-memset.c: Likewise.
29677 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29680 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29681 * iconvdata/Makefile: Add IBM858.
29682 * iconvdata/gconv-modules: Likewise.
29683 * iconvdata/tst-tables.sh: Likewise.
29684 * iconvdata/ibm858.c: New file.
29685 * localedata/charmaps/IBM858: Likewise.
29687 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29690 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29691 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29693 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29696 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29697 and add tel_int_fmt.
29699 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29701 * sysdeps/generic/libm-alias-float128.h: New file.
29702 * sysdeps/generic/math-type-macros-float128.h: Include
29703 <libm-alias-float128.h>.
29704 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29706 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29708 * sysdeps/generic/libm-alias-ldouble.h: New file.
29709 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29710 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29711 * sysdeps/generic/math-type-macros-ldouble.h: Include
29712 <libm-alias-ldouble.h>.
29713 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29714 libm_alias_ldouble.
29716 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29718 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29719 * math/w_exp_compat.c: ... here.
29720 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29721 * math/w_expf_compat.c: ... here.
29722 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29723 * math/w_expl_compat.c: ... here.
29724 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29725 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29726 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29727 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29729 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29731 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29733 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29735 (ldexpl): Only define as compat symbol for libc, not libm.
29736 (scalbnl): Define as compat symbol for libc here.
29737 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29738 define for [IS_IN (libc)].
29739 (__ldexpl_2): Remove alias.
29740 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29741 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29742 name in long_double_symbol call.
29743 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29744 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29745 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29746 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29747 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29749 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29750 Define as compat symbol.
29752 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29754 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29755 * sysdeps/unix/sysv/linux/alpha/Makefile
29756 [$(subdir) = csu] (sysdep_routines): Remove rule.
29758 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29760 * sysdeps/generic/libm-alias-double.h: New file.
29761 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29762 * sysdeps/generic/math-type-macros-double.h: Include
29763 <libm-alias-double.h>.
29764 [declare_mgen_alias] (declare_mgen_alias): Define to use
29766 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29767 (M_LIBM_NEED_COMPAT): Remove macro.
29768 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29769 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29770 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29772 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29773 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29774 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29775 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29776 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29777 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29778 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29779 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29780 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29781 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29782 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29783 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29784 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29785 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29786 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29787 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29788 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29789 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29790 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29791 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29792 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29793 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29794 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29795 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29796 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29797 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29798 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29799 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29800 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29802 (declare_mgen_alias): New macro.
29803 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29804 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29806 (M_LIBM_NEED_COMPAT): Remove macro.
29807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29808 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29809 <first-versions.h>.
29810 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29811 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29813 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29815 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29816 (declare_mgen_alias_2): Remove.
29817 * sysdeps/generic/math-type-macros-double.h
29818 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29820 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29822 (ldexp): Define with declare_mgen_alias.
29823 (scalbn): Likewise.
29825 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29827 * grp/initgroups.c: Include config.h.
29828 (DEFAULT_CONFIG): New macro.
29829 (internal_getgrouplist): Use DEFAULT_CONFIG.
29830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29831 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29832 (DEFAULT_DEFCONFIG): New macro.
29833 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29834 * nss/grp-lookup.c: Include config.h
29835 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29836 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29837 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29838 * manual/nss.texi: Update default values section.
29840 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29843 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29845 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29846 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29847 Handle MathVec_Prefer_No_AVX512.
29848 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29849 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29852 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29854 * posix/sched_primax.c (__sched_get_priority_max): Add
29856 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29857 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29858 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29859 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29860 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29861 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29862 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29863 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29866 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29868 * sysdeps/generic/libm-alias-float.h: New file.
29869 * sysdeps/generic/math-type-macros-float.h: Include
29870 <libm-alias-float.h>.
29871 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29873 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29876 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29877 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29878 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29879 (HWCAP_IMPORTANT): Likewise.
29880 (HWCAP_X86_64): New enum.
29881 (HWCAP_X86_AVX512_1): Updated.
29882 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29883 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29884 (modules-names): Add x86_64/tst-x86_64mod-1.
29885 (LDFLAGS-tst-x86_64mod-1.so): New.
29886 ($(objpfx)tst-x86_64-1): Likewise.
29887 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29888 (tst-x86_64-1-clean): Likewise.
29889 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29890 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29892 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29894 * po/sv.po: Update translations.
29895 * po/fr.po: Likewise.
29897 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29899 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29901 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29903 * elf/rtld-Rules: Fix $(error) use.
29905 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29908 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29909 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29910 * localedata/locales/bn_BD: “Bengali” was still used in some
29911 comments. Change it to “Bangla”.
29913 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29915 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29917 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29919 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29920 thunderx2t99p1 to list of cpu names.
29921 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29922 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29924 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29926 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29927 Use strcmp instead of tunable_is_name.
29929 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29932 (F_GET_RW_HINT): New macro.
29933 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29934 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29935 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29936 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29937 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29938 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29939 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29940 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29941 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29944 (F_ADD_SEALS): New macro.
29945 [__USE_GNU] (F_GET_SEALS): Likewise.
29946 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29947 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29948 [__USE_GNU] (F_SEAL_GROW): Likewise.
29949 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29951 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29953 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29954 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29955 * posix/glob_internal.h (__glob_pattern_type):
29956 * posix/glob.c (glob):
29957 * posix/glob_pattern_p.c (__glob_pattern_p):
29960 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29961 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29962 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29963 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29964 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29966 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29967 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29968 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29969 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29970 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29971 * sysdeps/wordsize-64/glob.c: Likewise.
29972 * sysdeps/wordsize-64/glob64.c: Likewise.
29973 * sysdeps/wordsize-64/globfree.c: Likewise.
29974 * sysdeps/wordsize-64/globfree64.c: Likewise.
29975 * sysdeps/unix/sysv/linux/glob.c: New file.
29976 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29977 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29978 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29979 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29980 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29981 adds !GLOB_NO_OLD_VERSION as an extra condition.
29982 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29983 using relative path instead of absolute one.
29984 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29985 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29986 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29987 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29988 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29989 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29992 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29993 (glob): Use the same scratch buffer for both getlogin_r and
29994 getpwnam_r. Don’t require preallocation of the login name. This
29995 simplifies storage allocation, and corrects the handling of
29999 * posix/glob.c (glob): Port recent patches to platforms
30000 lacking getpwnam_r.
30001 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30002 returns an error number rather than setting errno.
30004 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30005 instead of GCC extension.
30006 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30007 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30008 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30012 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30013 * posix/bug-glob1.c: Remove file.
30014 * posix/tst-glob_symlinks.c: New file.
30015 * posix/glob.c (__lstat64): New macro.
30016 (is_dir): New function.
30017 (glob, glob_in_dir): Match symlinks even if they are dangling.
30018 (link_stat, link_exists_p): Remove. All uses removed.
30022 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30023 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30028 * posix/Makefile (routines): Add globfree, globfree64, and
30030 * posix/flexmember.h: New file.
30031 * posix/glob_internal.h: Likewise.
30032 * posix/glob_pattern_p.c: Likewise.
30033 * posix/globfree.c: Likewise.
30034 * posix/globfree64.c: Likewise.
30035 * sysdeps/gnu/globfree64.c: Likewise.
30036 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30037 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30038 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30039 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30040 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30041 * sysdeps/wordsize-64/globfree.c: Likewise.
30042 * sysdeps/wordsize-64/globfree64.c: Likewise.
30043 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30044 [NDEBUG): Remove comments.
30045 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30046 (dirent_type): New type. Use uint_fast8_t not
30047 uint8_t, as C99 does not require uint8_t.
30048 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30049 (struct readdir_result): Use dirent_type. Do not define skip_entry
30050 unless it is needed; this saves a byte on platforms lacking d_ino.
30051 (readdir_result_type, readdir_result_skip_entry):
30052 New functions, replacing ...
30053 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30054 these functions, which were removed. This makes the callers
30055 easier to read. All callers changed.
30056 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30057 (size_add_wrapv, glob_use_alloca): New static functions.
30058 (glob, glob_in_dir): Check for size_t overflow in several places,
30059 and fix some size_t checks that were not quite right.
30060 Remove old code using SHELL since Bash no longer
30062 (glob, prefix_array): Separate MS code better.
30063 (glob_in_dir): Remove old Amiga and VMS code.
30064 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30066 (glob_in_dir): Do not rely on undefined behavior in accessing
30067 struct members beyond their bounds. Use a flexible array member
30069 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30070 0/1. Caller changed.
30071 (glob): Fix memory leaks.
30072 * posix/glob64 (globfree64): Move to separate file.
30073 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30074 (globfree64): Remove hidden alias.
30075 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30077 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30079 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30081 Move compat code to separate file.
30082 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30085 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30087 * resolv/tst-resolv-qtypes.c (domain): Changed to
30088 "const char domain[] =".
30090 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30092 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30095 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30096 (TCP_MD5SIG_EXT): Likewise.
30097 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30098 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30099 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30101 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30103 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30105 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30107 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30110 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30112 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30114 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30115 before assuming that the file is empty. Avoid testing buffer content
30118 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30121 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30123 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30125 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30127 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30129 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30131 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30133 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30136 2017-09-06 Florian Weimer <fweimer@redhat.com>
30138 * malloc/dynarray_emplace_enlarge.c
30139 (__libc_dynarray_emplace_enlarge): Add missing else.
30141 2017-09-06 Florian Weimer <fweimer@redhat.com>
30144 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30145 case of failure to obtain the global conf object.
30147 2017-09-06 Florian Weimer <fweimer@redhat.com>
30150 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30151 dynarray allocation failure.
30153 2017-09-06 Florian Weimer <fweimer@redhat.com>
30155 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30156 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30157 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30159 (response): Call them. Add 'p', '6' flag processing.
30160 (test_reverse): New function.
30161 (test_get2_any): Call it.
30162 (test_no_inet6): Add 'p' test.
30163 (test_inet6): Likewise.
30165 2017-09-06 Florian Weimer <fweimer@redhat.com>
30167 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30168 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30170 (test_gai): Adjust query names. Add additional tests.
30171 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30172 test_get2. Adjust query names. Add additional tests.
30173 (test_no_inet6): New function, extracted from threadfunc.
30174 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30175 Add additional tests.
30177 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30180 * localedata/unicode-gen/utf8_gen.py: Set the width for
30181 characters with Prepended_Concatenation_Mark property to 1
30182 * localedata/charmaps/UTF-8: Updated using the improved script.
30184 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30187 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30188 use the range notation for all ranges of neighbouring characters
30189 with the same width.
30191 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30193 * sysdeps/generic/math-type-macros-double.h: Include
30194 <math-svid-compat.h>.
30195 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30196 * sysdeps/generic/math-type-macros-float.h: Include
30197 <math-svid-compat.h>.
30198 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30199 * sysdeps/generic/math-type-macros-ldouble.h: Include
30200 <math-svid-compat.h>.
30201 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30202 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30204 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30205 * math/w_acosf_compat.c: Likewise.
30206 * math/w_acosh_compat.c: Likewise.
30207 * math/w_acoshf_compat.c: Likewise.
30208 * math/w_acoshl_compat.c: Likewise.
30209 * math/w_acosl_compat.c: Likewise.
30210 * math/w_asin_compat.c: Likewise.
30211 * math/w_asinf_compat.c: Likewise.
30212 * math/w_asinl_compat.c: Likewise.
30213 * math/w_atan2_compat.c: Likewise.
30214 * math/w_atan2f_compat.c: Likewise.
30215 * math/w_atan2l_compat.c: Likewise.
30216 * math/w_atanh_compat.c: Likewise.
30217 * math/w_atanhf_compat.c: Likewise.
30218 * math/w_atanhl_compat.c: Likewise.
30219 * math/w_cosh_compat.c: Likewise.
30220 * math/w_coshf_compat.c: Likewise.
30221 * math/w_coshl_compat.c: Likewise.
30222 * math/w_exp10_compat.c: Likewise.
30223 * math/w_exp10f_compat.c: Likewise.
30224 * math/w_exp10l_compat.c: Likewise.
30225 * math/w_exp2_compat.c: Likewise.
30226 * math/w_exp2f_compat.c: Likewise.
30227 * math/w_exp2l_compat.c: Likewise.
30228 * math/w_fmod_compat.c: Likewise.
30229 * math/w_fmodf_compat.c: Likewise.
30230 * math/w_fmodl_compat.c: Likewise.
30231 * math/w_hypot_compat.c: Likewise.
30232 * math/w_hypotf_compat.c: Likewise.
30233 * math/w_hypotl_compat.c: Likewise.
30234 * math/w_j0_compat.c: Likewise.
30235 * math/w_j0f_compat.c: Likewise.
30236 * math/w_j0l_compat.c: Likewise.
30237 * math/w_j1_compat.c: Likewise.
30238 * math/w_j1f_compat.c: Likewise.
30239 * math/w_j1l_compat.c: Likewise.
30240 * math/w_jn_compat.c: Likewise.
30241 * math/w_jnf_compat.c: Likewise.
30242 * math/w_jnl_compat.c: Likewise.
30243 * math/w_lgamma_r_compat.c: Likewise.
30244 * math/w_lgammaf_r_compat.c: Likewise.
30245 * math/w_lgammal_r_compat.c: Likewise.
30246 * math/w_log10_compat.c: Likewise.
30247 * math/w_log10f_compat.c: Likewise.
30248 * math/w_log10l_compat.c: Likewise.
30249 * math/w_log2_compat.c: Likewise.
30250 * math/w_log2f_compat.c: Likewise.
30251 * math/w_log2l_compat.c: Likewise.
30252 * math/w_log_compat.c: Likewise.
30253 * math/w_logf_compat.c: Likewise.
30254 * math/w_logl_compat.c: Likewise.
30255 * math/w_pow_compat.c: Likewise.
30256 * math/w_powf_compat.c: Likewise.
30257 * math/w_powl_compat.c: Likewise.
30258 * math/w_remainder_compat.c: Likewise.
30259 * math/w_remainderf_compat.c: Likewise.
30260 * math/w_remainderl_compat.c: Likewise.
30261 * math/w_sinh_compat.c: Likewise.
30262 * math/w_sinhf_compat.c: Likewise.
30263 * math/w_sinhl_compat.c: Likewise.
30264 * math/w_sqrt_compat.c: Likewise.
30265 * math/w_sqrtf_compat.c: Likewise.
30266 * math/w_sqrtl_compat.c: Likewise.
30267 * math/w_tgamma_compat.c: Likewise.
30268 * math/w_tgammaf_compat.c: Likewise.
30269 * math/w_tgammal_compat.c: Likewise.
30270 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30271 [LIBM_SVID_COMPAT].
30272 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30273 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30274 [LIBM_SVID_COMPAT].
30275 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30276 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30277 [LIBM_SVID_COMPAT].
30278 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30279 * sysdeps/i386/fpu/w_sqrt.c: New file.
30280 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30281 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30282 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30283 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30284 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30285 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30286 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30287 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30288 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30289 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30290 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30291 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30292 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30293 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30294 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30295 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30296 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30297 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30298 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30299 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30300 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30301 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30302 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30303 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30304 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30305 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30306 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30307 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30308 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30309 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30310 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30311 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30312 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30313 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30314 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30315 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30316 * sysdeps/ia64/fpu/w_log.c: Likewise.
30317 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30318 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30319 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30320 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30321 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30322 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30323 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30324 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30325 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30326 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30327 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30328 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30329 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30330 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30331 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30332 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30333 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30334 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30335 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30336 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30337 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30338 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30339 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30340 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30341 [LIBM_SVID_COMPAT].
30342 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30343 * sysdeps/ieee754/k_standard.c: Likewise.
30344 * sysdeps/ieee754/k_standardf.c: Likewise.
30345 * sysdeps/ieee754/k_standardl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30347 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30348 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30349 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30350 long_double_symbol call on [LIBM_SVID_COMPAT].
30351 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30352 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30353 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30354 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30355 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30356 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30357 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30358 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30359 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30360 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30361 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30362 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30363 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30364 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30365 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30366 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30367 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30368 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30369 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30370 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30371 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30372 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30374 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30376 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30377 * malloc/tst-mallocstate.c: Convert from test-skeleton
30378 to test-driver. Ifdef code using TEST_COMPAT macro.
30379 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30380 * math/test-matherr.c: Likewise.
30382 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30385 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30386 comparing word with byte-swapped constant.
30388 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30391 * locale/iso-639.def: add Miskito.
30392 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30393 * localedata/locales/miq_NI: New file.
30395 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30398 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30399 (__mkdir): Likewise.
30400 * io/chmod.c (__chmod): Add libc_hidden_def.
30401 * io/mkdir.c (__mkdir): Likewise.
30402 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30403 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30404 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30405 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30407 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30409 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30413 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30414 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30416 2017-09-04 Florian Weimer <fweimer@redhat.com>
30418 * math/math.h: Issue warning if log is defined.
30420 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30422 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30423 kernel version to 4.13.
30425 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30427 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30428 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30430 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30431 just <bits/types.h>.
30432 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30433 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30434 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30435 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30436 * misc/preadv2.c: Include <errno.h>.
30437 * misc/preadv64v2.c: Include <errno.h>.
30438 * misc/pwritev2.c: Include <errno.h>.
30439 * misc/pwritev64v2.c: Include <errno.h>.
30440 * sysdeps/posix/preadv2.c: Include <errno.h>.
30441 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30442 Fix <unistd.h> inclusion.
30443 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30444 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30445 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30446 __strtoul_internal): New functions.
30447 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30448 * sysdeps/posix/system.c: Include <sigsetops.h>.
30449 * sysdeps/mach/hurd/i386/Makefile
30450 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30451 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30452 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30453 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30454 __feraiseexcept_renamed to feraiseexcept instead of
30455 __GI_feraiseexcept.
30456 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30457 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30458 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30459 RWF_NOWAIT): Define to 0 if undefined already.
30460 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30462 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30463 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30465 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30467 * manual/math.texi (pow10): Do not document.
30468 (pow10f): Likewise.
30469 (pow10l): Likewise.
30470 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30471 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30472 * math/libm-test-exp10.inc (pow10_test): Remove.
30473 (do_test): Do not call pow10.
30474 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30475 [NO_LONG_DOUBLE] (pow10l): Likewise.
30476 * math/w_exp10f_compat.c (pow10f): Likewise.
30477 * math/w_exp10l_compat.c (pow10l): Likewise.
30478 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30479 (pow10): Make into compat symbol.
30480 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30481 (pow10f): Make into compat symbol.
30482 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30483 (pow10l): Make into compat symbol.
30484 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30486 (CFLAGS-nldbl-pow10.c): Remove variable..
30487 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30488 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30489 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30490 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30491 Undefine and redefine.
30492 (pow10l): Make into compat symbol.
30493 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30494 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30495 * sysdeps/arm/libm-test-ulps: Likewise.
30496 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30497 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30498 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30499 * sysdeps/microblaze/libm-test-ulps: Likewise.
30500 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30501 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30502 * sysdeps/nios2/libm-test-ulps: Likewise.
30503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30504 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30505 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30506 * sysdeps/sh/libm-test-ulps: Likewise.
30507 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30508 * sysdeps/tile/libm-test-ulps: Likewise.
30509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30511 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30513 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30515 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30517 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30518 "../ChangeLog.old/ChangeLog.8".
30519 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30520 "../ChangeLog.old/ChangeLog.14".
30522 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30524 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30527 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30529 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30531 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30533 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30534 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30536 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30538 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30539 32 atexit handlers.
30541 2017-09-01 Zack Weinberg <zackw@panix.com>
30543 * math/math.h (HUGE_VAL): Improve commentary.
30545 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30546 Andreas Schwab <schwab@suse.de>
30549 * include/stdio.h (__gen_tempfd): New function.
30550 * stdio-common/Makefile (routines): Add gentempfd.
30551 * stdio-common/gentempfd.c: New file.
30552 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30553 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30554 unnamed file first.
30556 2017-09-01 Florian Weimer <fweimer@redhat.com>
30560 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30561 result to determine success or failure, not the errno value.
30562 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30563 (tst-nss-files-hosts-erange): Link with -ldl.
30564 * nss/tst-nss-files-hosts-erange.c: New file.
30565 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30566 (do_test): Add NO_DATA tests.
30567 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30568 (do_test): Call it.
30570 2017-09-01 Florian Weimer <fweimer@redhat.com>
30573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30574 coming from gethostbyname2_r.
30576 2017-09-01 Florian Weimer <fweimer@redhat.com>
30578 * support/namespace.h (struct support_chroot_configuration): Add
30580 (struct support_chroot): Add path_hosts, path_host_conf.
30581 * support/support_chroot.c (write_file): New function.
30582 (support_chroot_create): Call it to process /etc/resolv.conf,
30583 /etc/hosts, /etc/host.conf.
30584 (support_chroot_free): Update.
30586 2017-09-01 Florian Weimer <fweimer@redhat.com>
30588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30589 status indicates it is set.
30591 2017-09-01 Florian Weimer <fweimer@redhat.com>
30594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30595 function lookup failures more reliable.
30597 2017-09-01 Florian Weimer <fweimer@redhat.com>
30599 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30600 (getcanonname): Likewise.
30601 (gaih_inet): Likewise.
30603 2017-09-01 Florian Weimer <fweimer@redhat.com>
30605 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30606 (getcanonname): Likewise.
30607 (gaih_inet): Likewise.
30609 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30610 Richard Henderson <rth@twiddle.net>
30612 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30613 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30614 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30615 (IREG_SIZE, OREG_SIZE): New macros.
30616 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30617 (IREG_SIZE, OREG_SIZE): New macros.
30618 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30619 (IREG_SIZE): New macro.
30620 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30621 (IREG_SIZE): New macro.
30622 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30624 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30625 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30626 (__CONCATX): Handle exceptions correctly on large values that may
30628 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30629 Initialize if not already set.
30630 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30632 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30634 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30635 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30637 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30639 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30641 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30643 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30645 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30647 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30649 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30650 (NO_CANCELLATION): Likewise.
30651 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30653 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30655 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30657 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30658 (NO_CANCELLATION): Likewise.
30659 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30660 (NO_CANCELLATION): Likewise.
30661 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30663 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30665 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30667 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30669 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30671 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30672 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30674 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30676 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30679 2017-08-31 Florian Weimer <fweimer@redhat.com>
30681 * include/libc-symbols.h (internal_function): Remove.
30683 2017-08-31 Florian Weimer <fweimer@redhat.com>
30685 * stdlib/fmtmsg.c (internal_addseverity): Remove
30688 2017-08-31 Florian Weimer <fweimer@redhat.com>
30690 * stdio-common/printf_fp.c (group_number): Remove
30692 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30694 2017-08-31 Florian Weimer <fweimer@redhat.com>
30696 * posix/fnmatch.c (internal_function): Remove definition.
30697 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30698 * posix/regcomp.c (peek_token, init_word_char)
30699 (duplicate_node_closure, fetch_token, peek_token)
30700 (peek_token_bracket, build_range_exp, build_collating_symbol):
30702 * posix/regex_internal.c (re_string_construct_common)
30703 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30704 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30705 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30706 (re_string_translate_buffer, re_string_reconstruct)
30707 (re_string_peek_byte_case, re_string_fetch_byte_case)
30708 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30709 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30710 (re_node_set_add_intersect, re_node_set_init_union)
30711 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30712 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30713 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30714 (re_acquire_state_context): Likewise.
30715 * posix/regex_internal.h (internal_function): Remove definition.
30716 (re_string_realloc_buffers, build_wcs_buffer)
30717 (build_wcs_upper_buffer, build_upper_buffer)
30718 (re_string_translate_buffer, re_string_context_at)
30719 (re_string_char_size_at, re_string_wchar_at)
30720 (re_string_elem_size_at): Likewise.
30721 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30722 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30723 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30724 (re_search_internal, re_search_2_stub, re_search_stub)
30725 (re_copy_regs, prune_impossible_nodes, check_matching)
30726 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30727 (free_fail_stack_return, sift_states_iter_mb)
30728 (sift_states_backward, build_sifted_states)
30729 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30730 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30731 (check_subexp_limits, sift_states_bkref, merge_state_array)
30732 (find_recover_state, transit_state, merge_state_with_log)
30733 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30734 (transit_state_mb, transit_state_bkref, get_subexp)
30735 (get_subexp_sub, find_subexp_node, check_arrival)
30736 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30737 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30738 (check_node_accept_bytes, find_collation_sequence_value)
30739 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30740 (acquire_init_state_context, check_halt_node_context)
30741 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30742 (sub_epsilon_src_nodes): Likewise.
30743 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30744 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30745 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30746 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30747 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30748 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30749 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30750 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30751 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30752 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30753 (PREADV): Likewise.
30754 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30755 (PREADV): Likewise.
30756 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30757 (PWRITEV): Likewise.
30758 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30759 (PWRITEV): Likewise.
30760 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30761 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30763 2017-08-31 Florian Weimer <fweimer@redhat.com>
30765 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30766 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30767 Remove internal_function.
30768 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30769 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30770 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30771 (__deallocate_stack, __libc_pthread_init)
30772 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30773 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30774 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30776 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30777 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30778 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30780 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30781 (__pthread_mutex_unlock_usercnt): Likewise.
30783 2017-08-31 Florian Weimer <fweimer@redhat.com>
30785 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30786 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30787 (fts_safe_changedir): Remove internal_function.
30788 * io/ftw.c (internal_function): Remove definition.
30789 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30791 2017-08-31 Florian Weimer <fweimer@redhat.com>
30793 * inet/deadline.c (__deadline_current_time)
30794 (__deadline_from_timeval, __deadline_to_ms): Remove
30796 * inet/getnameinfo.c (nrl_domainname): Likewise.
30797 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30798 * inet/inet6_option.c (add_pad): Likewise.
30799 * inet/net-internal.h (__deadline_current_time)
30800 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30801 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30802 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30803 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30805 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30807 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30808 include <bits/nan.h>.
30809 * math/Makefile (headers): Remove bits/nan.h.
30810 * bits/nan.h: Remove.
30811 * sysdeps/ieee754/bits/nan.h: Likewise.
30812 * sysdeps/mips/bits/nan.h: Likewise.
30814 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30815 not include <bits/inf.h>.
30816 * math/Makefile (headers): Remove bits/inf.h.
30817 * bits/inf.h: Remove.
30818 * sysdeps/ieee754/bits/inf.h: Likewise.
30820 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30821 bits/huge_vall.h or bits/huge_val_flt128.h.
30822 (HUGE_VAL): Define directly here.
30823 [__USE_ISOC99] (HUGE_VALF): Likewise.
30824 [__USE_ISOC99] (HUGE_VALL): Likewise.
30825 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30826 (HUGE_VAL_F128): Likewise.
30827 * math/Makefile (headers): Remove bits/huge_val.h,
30828 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30829 * bits/huge_val.h: Remove.
30830 * bits/huge_val_flt128.h: Likewise.
30831 * bits/huge_valf.h: Likewise.
30832 * bits/huge_vall.h: Likewise.
30833 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30834 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30835 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30836 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30837 * sysdeps/sh/bits/huge_val.h: Likewise.
30838 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30839 * sysdeps/x86/bits/huge_vall.h: Likewise.
30841 2017-08-31 Florian Weimer <fweimer@redhat.com>
30843 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30845 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30847 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30848 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30849 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30850 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30851 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30852 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30853 * elf/dl-libc.c (dlerror_run): Likewise.
30854 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30855 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30856 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30857 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30859 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30860 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30861 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30862 * elf/dl-profile.c (_dl_start_profile): Likewise.
30863 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30864 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30866 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30867 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30868 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30869 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30870 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30871 (_dl_allocate_tls_storage): Likewise.
30872 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30873 (_dl_check_all_versions): Likewise.
30874 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30875 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30876 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30877 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30878 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30879 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30880 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30881 internal_function from __dl_start.
30882 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30883 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30884 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30885 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30886 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30887 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30888 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30889 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30890 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30891 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30892 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30893 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30894 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30895 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30896 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30898 (struct rtld_global_ro): Remove internal_function from the
30899 _dl_lookup_symbol_x member.
30900 (_dl_symbol_value): Remove. No longer defined anywhere.
30901 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30903 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30904 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30905 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30906 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30907 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30908 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30909 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30910 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30911 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30912 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30913 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30914 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30916 2017-08-31 Florian Weimer <fweimer@redhat.com>
30918 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30919 Remove internal_function.
30920 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30922 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30925 2017-08-31 Florian Weimer <fweimer@redhat.com>
30927 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30928 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30929 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30931 2017-08-31 Florian Weimer <fweimer@redhat.com>
30933 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30934 (__gai_enqueue_request): Remove internal_function.
30935 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30936 (__gai_remove_request, __gai_notify, __gai_notify_only)
30937 (__gai_sigqueue): Likewise.
30938 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30939 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30940 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30941 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30944 2017-08-31 Florian Weimer <fweimer@redhat.com>
30946 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30947 * include/dirent.h (__opendirat, __getdents, __getdents64)
30948 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30949 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30950 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30951 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30955 2017-08-31 Florian Weimer <fweimer@redhat.com>
30957 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30959 (GETCWD_RETURN_TYPE): Likewise.
30961 2017-08-31 Florian Weimer <fweimer@redhat.com>
30963 * include/time.h (__tz_compute, __strptime_internal): Remove
30965 * time/strptime_l.c (__strptime_internal): Likewise.
30966 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30968 2017-08-31 Florian Weimer <fweimer@redhat.com>
30970 * iconv/gconv.c (__gconv): Remove internal_function.
30971 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30972 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30973 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30974 (__gconv_release_cache): Likewise.
30975 * iconv/gconv_close.c (__gconv_close): Likewise.
30976 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30977 (read_conf_file, __gconv_get_path): Likewise.
30978 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30979 (__gconv_release_step, gen_steps, increment_counter)
30980 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30981 (__gconv_close_transform, free_modules_db): Likewise.
30982 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30984 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30985 (__gconv_find_transform, __gconv_lookup_cache)
30986 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30987 (__gconv_close_transform, __gconv_release_cache)
30988 (__gconv_loaded_object, __gconv_release_shlib)
30989 (__gconv_compare_alias): Likewise.
30990 * iconv/gconv_open.c (__gconv_open): Likewise.
30991 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30992 * iconv/iconvconfig.c (add_module): Likewise.
30993 * intl/dcigettext.c (plural_lookup, guess_category_value)
30994 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30995 * intl/eval-plural.h (plural_eval): Likewise.
30996 * intl/finddomain.c (_nl_find_domain): Likewise.
30997 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30998 (_nl_load_domain, _nl_find_msg): Likewise.
30999 (internal_function): Remove definition.
31000 * intl/loadinfo.h (internal_function): Likewise.
31001 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31003 * intl/localealias.c (internal_function): Remove definition.
31004 (read_alias_file): Remove internal_function.
31005 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31006 * intl/plural-exp.h (internal_function): Remove definition.
31007 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31009 * intl/plural.c: Regenerate.
31010 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31011 * locale/coll-lookup.c (__collidx_table_lookup)
31012 (__collseq_table_lookup): Likewise.
31013 * locale/coll-lookup.h (__collidx_table_lookup)
31014 (__collseq_table_lookup): Likewise.
31015 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31016 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31017 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31018 (_nl_unload_locale): Likewise.
31019 * locale/localeinfo.h (struct __locale_data): Remove
31020 internal_function from cleanup member.
31021 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31022 (_nl_remove_locale, _nl_load_locale_from_archive)
31023 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31024 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31025 (_nl_cleanup_time): Remove internal_function.
31026 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31027 (_nl_parse_alt_digit): Likewise.
31028 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31029 (_nl_select_era_entry): Likewise.
31030 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31031 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31032 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31033 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31034 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31036 2017-08-31 Florian Weimer <fweimer@redhat.com>
31038 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31039 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31040 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31041 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31043 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31044 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31045 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31046 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31048 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31050 2017-08-31 Florian Weimer <fweimer@redhat.com>
31052 * misc/getttyent.c (skip, value): Remove internal_function.
31053 * misc/syslog.c (openlog_internal): Likewise.
31054 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31056 2017-08-31 Florian Weimer <fweimer@redhat.com>
31058 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31059 (__nss_rewrite_field): Remove internal_function.
31060 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31061 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31062 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31063 * nss/nsswitch.c (nss_parse_file, nss_getline)
31064 (nss_parse_service_list, nss_new_service): Likewise.
31065 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31066 * nss/valid_field.c (__nss_valid_field): Likewise.
31067 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31069 2017-08-31 Florian Weimer <fweimer@redhat.com>
31071 * malloc/arena.c (__malloc_fork_lock_parent)
31072 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31073 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31074 internal_function from defintions.
31075 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31076 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31077 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31078 internal_function from declarations.
31079 * malloc/malloc.c (internal_function): Do not define.
31080 (mem2mem_check): Remove internal_function from declaration.
31081 (munmap_chunk, mremap_chunk): Remove internal_function.
31082 * malloc/mtrace.c (tr_where): Likewise.
31084 2017-08-31 Florian Weimer <fweimer@redhat.com>
31086 * include/rpc/pmap_clnt.h (__get_socket): Remove
31088 * sunrpc/auth_des.c (synchronize): Likewise.
31089 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31090 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31091 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31092 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31093 (key_call): Likewise.
31094 * sunrpc/pm_getport.c (__get_socket): Likewise.
31095 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31096 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31097 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31098 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31099 (invalidate): Likewise.
31100 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31101 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31102 (set_input_fragment, get_input_bytes): Likewise.
31104 2017-08-31 Florian Weimer <fweimer@redhat.com>
31106 * malloc/malloc.c (_int_free): Remove locked variable and related
31109 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31112 * Makerules (build-module-helper-objlist): Filter out
31113 $(elf-objpfx)sofini.os.
31114 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31117 2017-08-31 Florian Weimer <fweimer@redhat.com>
31119 * libio/fcloseall.c: Assume weak_alias is defined.
31120 * libio/feof.c: Likewise.
31121 * libio/fileno.c: Likewise.
31122 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31123 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31125 (_IO_file_open): Call __open directly.
31126 (_IO_new_file_sync): Assume ESPIPE is defined.
31127 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31128 (_IO_new_file_write): Call __write directly.
31129 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31130 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31131 * libio/genops.c: Assume _LIBC is defined.
31132 (save_for_backup): Remove internal_function.
31133 * libio/getc.c: Assume weak_alias is defined.
31134 * libio/getwc.c: Likewise.
31135 * libio/iofclose.c: Assume _LIBC is defined.
31136 * libio/iofdopen.c: Likewise.
31137 (_IO_fcntl): Remove macro definition.
31138 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31139 Call __fcntl directly.
31140 * libio/iofflush.c: Assume weak_alias is defined.
31141 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31143 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31144 * libio/iofgets.c: Likewise.
31145 * libio/iofopen.c: Assume _LIBC is defined.
31146 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31147 * libio/iofputs.c: Assume weak_alias is defined.
31148 * libio/iofread.c: Likewise.
31149 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31150 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31151 * libio/ioftell.c: Assume weak_alias is defined.
31152 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31153 * libio/iofwide.c: Assume _LIBC is defined.
31154 (_IO_fwide): Drop SHARED conditional because it is implied by
31156 * libio/iofwrite.c: Assume weak_alias is defined.
31157 * libio/iogetdelim.c: Likewise.
31158 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31159 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31160 (_IO_getwline): Call __wmemcpy directly.
31161 * libio/iopopen.c: Assume _LIBC is defined.
31162 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31163 (_IO_close): Remove macro definitions.
31164 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31166 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31168 * libio/ioputs.c: Assume weak_alias is defined.
31169 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31170 * libio/iosetbuffer.c: Assume weak_alias is defined.
31171 * libio/iosetvbuf.c: Likewise.
31172 * libio/ioungetc.c: Likewise.
31173 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31174 libc_hidden_def, libc_hidden_weak, NULL are defined.
31175 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31176 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31178 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31180 (_IO_old_file_init_internal): Drop SHARED conditional because it
31181 is implied by SHLIB_COMPAT.
31182 (_IO_old_file_fopen): Call __open directly.
31183 (_IO_old_file_sync): Assume ESPIPE is defined.
31184 (_IO_old_file_write): Call __write directly.
31185 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31186 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31187 Call __fcntl directly.
31188 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31189 (_IO_old_fgetpos): Assume EIO is defined.
31190 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31191 (_IO_old_fgetpos64): Assume EIO is defined.
31192 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31193 (_IO_old_fsetpos): Assume EIO is defined.
31194 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31195 (_IO_old_fsetpos64): Assume EIO is defined.
31196 * libio/oldiopopen.c: Assume _LIBC is defined.
31197 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31198 (_IO_close): Remove macro definitions.
31199 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31201 (_IO_old_proc_close): Call __close, __waitpid directly.
31202 * libio/put.c: Assume weak_alias is defined.
31203 * libio/stdfiles.c: Assume _LIBC is defined.
31204 * libio/stdio.c: Likewise.
31205 * libio/wfileops.c: Likewise.
31206 (_IO_wfile_sync): Assume ESPIPE is defined.
31207 * libio/wgenops.c: Assume _LIBC is defined.
31208 (save_for_wbackup): Remove internal_function.
31210 2017-08-31 Florian Weimer <fweimer@redhat.com>
31212 * malloc/malloc.c (top_check): Change return type to void. Remove
31214 * malloc/hooks.c (top_check): Likewise.
31215 (malloc_check, realloc_check, memalign_check): Adjust.
31217 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31220 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31221 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31222 sigcontext and namespace requirements.
31223 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31224 * sysdeps/m68k/sys/ucontext.h: Likewise.
31225 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31226 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31227 <bits/sigcontext.h>.
31228 (__ctx): Define earlier.
31229 (mcontext_t): Define structure contents rather than using struct
31231 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31232 __glibc_reserved1 instead of __reserved.
31233 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31234 <bits/sigcontext.h>.
31235 (__ctx): Define earlier.
31236 (mcontext_t): Define structure contents rather than using struct
31238 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31239 mcontext_t instead of struct sigcontext.
31240 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31241 <bits/sigcontext.h>.
31242 (__ctx): Define earlier.
31243 (mcontext_t): Define structure contents rather than using struct
31245 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31246 <bits/sigcontext.h>.
31247 (__ctx): Define earlier.
31248 (mcontext_t): Define structure contents rather than using struct
31250 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31251 mcontext_t instead of struct sigcontext.
31252 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31253 mcontext_t instead of struct sigcontext.
31254 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31255 <bits/sigcontext.h>.
31256 (__ctx): New macro.
31257 (struct __ia64_fpreg_mcontext): New type.
31258 (mcontext_t): Define structure contents rather than using struct
31260 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31261 (uc_sigmask): Define using __ctx.
31262 (uc_stack): Likewise.
31263 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31264 <bits/sigcontext.h>.
31265 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31266 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31267 <bits/sigcontext.h>.
31268 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31269 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31270 <bits/sigcontext.h>.
31271 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31272 <bits/sigcontext.h>.
31273 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31274 <bits/sigcontext.h>.
31275 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31276 <bits/sigcontext.h>.
31277 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31278 <bits/sigcontext.h>.
31279 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31280 <bits/sigcontext.h>.
31281 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31282 <bits/sigcontext.h>.
31283 (__ctx): Define earlier.
31284 (mcontext_t): Define structure contents rather than using struct
31286 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31287 <bits/sigcontext.h>. Include <bits/types.h>.
31288 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31289 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31290 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31291 (test-xfail-UNIX98/signal.h/conform): Likewise.
31292 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31293 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31294 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31295 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31296 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31297 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31298 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31299 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31300 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31302 2017-08-30 Florian Weimer <fweimer@redhat.com>
31304 * malloc/dynarray_emplace_enlarge.c
31305 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31306 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31307 * malloc/tst-dynarray.c (test_long_overflow): New function.
31308 (do_test): Call it.
31310 2017-08-30 Florian Weimer <fweimer@redhat.com>
31312 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31313 (set_arena_corrupt): Remove definitions.
31314 (mtrim): Do not check for corrupt arena.
31315 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31318 2017-08-30 Florian Weimer <fweimer@redhat.com>
31321 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31323 (ptmalloc_init): Do not set or use check_action.
31324 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31325 call to malloc_printerr. Remove return statement.
31326 (free_check): Likewise. Remove arena unlock.
31327 (top_check): Update comment. Adjust call to malloc_printerr.
31328 Remove heap repair code.
31329 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31330 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31331 (sysmalloc): Adjust call to malloc_printerr.
31332 (munmap_chunk, __libc_realloc): Likewise. Remove return
31334 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31335 Remove errout label and corresponding gotos.
31336 (_int_free): Likewise. Remove arena unlock.
31337 (do_set_mallopt_check): Do not set check_action.
31338 (malloc_printerr): Adjust parameter list. Do not mark arena as
31340 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31342 * manual/probes.texi (Memory Allocation Probes): Remove
31343 memory_mallopt_check_action.
31345 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31347 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31348 Use pointer to uint64_t instead of long int for sp.
31350 2017-08-30 Florian Weimer <fweimer@redhat.com>
31353 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31354 without printing a backtrace. Do not leak any information in the
31356 * manual/memory.texi (Heap Consistency Checking): Update.
31357 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31359 2017-08-30 Florian Weimer <fweimer@redhat.com>
31361 Do not scale NPTL tests with available number of CPUs.
31362 * nptl/tst-cond16.c (count): Set to constant value of 8.
31363 * nptl/tst-cond18.c (count): Likewise.
31365 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31368 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31369 Define to take a second argument that is a macro that
31370 concatentates a suffix, not the suffix itself.
31371 (__CONCAT_d): New macro.
31372 (__CONCAT_f): Likewise.
31373 (__CONCAT_l): Likewise.
31375 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31377 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31380 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31381 Aurelien Jarno <aurelien@aurel32.net>
31382 Maciej W. Rozycki <macro@imgtec.com>
31385 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31386 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31387 `mips16-syscall6' and `mips16-syscall7'.
31388 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31389 (CFLAGS-mips16-syscall7.c): Remove.
31390 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31391 Remove `__mips16_syscall5', `__mips16_syscall6' and
31392 `__mips16_syscall7'.
31393 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31394 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31395 `__mips_syscall_return'.
31396 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31397 (__mips16_syscall1): Likewise.
31398 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31399 (__mips16_syscall2): Likewise.
31400 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31401 (__mips16_syscall3): Likewise.
31402 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31403 (__mips16_syscall4): Likewise.
31404 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31406 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31408 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31410 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31411 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31412 `__mips16_syscall5'. Remove prototype.
31413 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31414 `__mips16_syscall6'. Remove prototype.
31415 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31416 `__mips16_syscall7'. Remove prototype.
31417 (__nomips16, __mips16_syscall_return): Move to...
31418 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31419 (__nomips16, __mips_syscall_return): ... here.
31420 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31421 `__mips16_syscall_return' to `__mips_syscall_return'.
31422 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31423 `internal_syscall##nr'.
31424 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31425 `internal_syscall##nr'.
31426 (FORCE_FRAME_POINTER): Remove.
31427 (__mips_syscall5): New prototype.
31428 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31429 (__mips_syscall6): New prototype.
31430 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31431 (__mips_syscall7): New prototype.
31432 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31433 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31434 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31435 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31436 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31437 (sysdep_routines): Add libc-do-syscall.
31438 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31439 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31441 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31444 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31445 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31446 (advise_stack_range): New function.
31447 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31448 stack non required to advise_stack_range at allocatestack.c
31450 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31452 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31454 2017-08-29 Florian Weimer <fweimer@redhat.com>
31457 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31458 __end_fct. Mangle __end_fct after setting it to NULL.
31459 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31460 (modules-names, modules-names-tests): Add
31461 tst-gconv-init-failure-mod.
31462 (gconv-modules): New target.
31463 (tst-gconv-init-failure-mod.so): Link against libsupport.
31464 (tst-gconv-init-failure): Depend on gconv-modules,
31465 tst-gconv-init-failure-mod.so.
31466 * iconv/tst-gconv-init-failure-mod.c: New file.
31467 * iconv/tst-gconv-init-failure.c: Likewise.
31468 * iconv/test-gconv-modules: Likewise.
31470 2017-08-29 Florian Weimer <fweimer@redhat.com>
31473 * iconv/gconv_db.c (free_derivation): Remove redundant
31475 (gen_steps): Unconditionally mangle __btowc_fct after
31477 (increment_counter): Likewise. Do not call init_fct for internal
31480 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31483 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31484 (_MSUF_): Remove macro.
31485 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31487 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31488 (__REDIRFROM_X): New macro.
31489 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31491 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31492 (__REDIRTO_X): Likewise.
31493 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31495 (__MATH_REDIRCALL_2): Likewise.
31496 (__MATH_REDIRCALL_INTERNAL): Likewise.
31497 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31498 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31499 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31500 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31501 * math/test-finite-macros.c: New file.
31502 * math/Makefile (tests): Add test-finite-macros.
31503 (CFLAGS-test-finite-macros.c): New variable.
31505 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31506 Jeff Law <law@redhat.com>
31509 Mangle NULL pointers in iconv/gconv.
31510 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31511 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31512 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31513 is non-NULL before demangling the end_fct. Check for NULL
31514 end_fct after demangling.
31515 (__gconv_release_step): Demangle the end_fct before checking
31516 it for NULL. Remove assert on __shlibc_handle != NULL.
31517 (gen_steps): Don't check btowc_fct for NULL before mangling.
31518 Demangle init_fct before checking for NULL.
31519 (increment_counter): Likewise.
31520 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31521 end_fct for NULL before mangling.
31522 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31525 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31528 * locale/iso-639.def: add Morisyen.
31530 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31533 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31534 (iszero): New C++ implementation that does not use
31535 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31536 signaling nans are enabled, since __builtin_types_compatible_p
31537 is a C-only feature.
31538 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31539 defined, include ieee754_float128.h for access to the union and
31540 member ieee854_float128.ieee.
31541 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31542 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31543 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31544 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31545 options of test-math-zero on powerpc64le.
31547 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31549 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31550 Change double to float.
31552 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31554 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31556 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31557 conditional code; define contents only for [LIBM_SVID_COMPAT].
31559 2017-08-28 Florian Weimer <fweimer@redhat.com>
31561 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31562 (abi-lp64_be-options): Remove.
31563 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31564 (abi-hard-options): Likewise.
31565 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31566 (abi-o32_hard-options, abi-o32_soft_2008-options)
31567 (abi-o32_hard_2008-options, abi-n32_soft-options)
31568 (abi-n32_hard-options, abi-n32_soft_2008-options)
31569 (abi-n32_hard_2008-options, abi-n64_soft-options)
31570 (abi-n64_hard-options, abi-n64_soft_2008-options)
31571 (abi-n64_hard_2008-options): Likewise.
31572 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31573 (abi-64-v1-options, abi-64-v2-options): Likewise.
31574 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31575 (abi-64-options): Likewise.
31576 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31577 (abi-64-options): Likewise.
31578 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31579 (abi-64-options): Likewise.
31580 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31581 (abi-64-options, abi-x32-options): Likewise.
31583 2017-08-28 Florian Weimer <fweimer@redhat.com>
31585 Store supported list of SYS_* system calls in the source tree.
31586 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31587 (bits/syscall.h): Generate from list file.
31588 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31589 [$(subdir) = misc] (tests): Add tst-syscall-list.
31590 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31591 [$(subdir) = misc] (tst-syscall-list-macros.list)
31592 [$(subdir) = misc] (tst-syscall-list-nr.list)
31593 (tst-syscall-list-sys.list): Helper targets for new
31594 tst-syscall-list test.
31595 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31596 tst-syscall-list.sh.
31597 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31598 target. Do not include bits/syscall.d.
31599 [$(subdir) = misc] (generated): Do not update.
31600 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31601 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31602 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31603 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31605 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31607 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31608 (tst-cxa_atexit, tst-on_exit): Likewise.
31609 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31610 tst-cxa_atexit, and tst-on_exit.
31611 * stdlib/tst-atexit-common.c: New file.
31612 * stdlib/tst-atexit.c: New file.
31613 * stdlib/tst-at_quick_exit.c: New file.
31614 * stdlib/tst-cxa_atexit.c: New file.
31615 * stdlib/tst-on_exit.c: New file.
31617 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31619 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31620 * mach/stack_chk_fail_local.c: New file.
31621 * hurd/stack_chk_fail_local.c: New file.
31622 * mach/Machrules ($(interface-library)-routines): Add
31623 stack_chk_fail_local.
31624 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31625 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31626 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31627 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31628 * hurd/Makefile (CFLAGS-hurdstartup.o,
31629 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31631 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31633 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31634 (index_cpu_*, index_arch_*): Removed.
31636 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31638 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31639 Use uint64_t instead of unsigned long.
31641 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31643 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31644 [__HAVE_DISTINCT_FLOAT128].
31646 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31647 of <bits/math-finite.h>.
31648 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31649 inclusion of <bits/math-finite.h>.
31650 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31651 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31652 __NO_LONG_DOUBLE_MATH].
31653 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31654 (__MATH_REDIRCALL_2): Likewise.
31655 (__MATH_REDIRCALL_INTERNAL): Likewise.
31656 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31657 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31658 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31672 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31673 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31674 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31675 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31677 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31678 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31679 w_sqrtf_compat-ppc32.
31681 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31683 * math/math.h [defined __cplusplus] (issignaling): In the long
31684 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31685 is not defined. Call __issignaling, otherwise.
31687 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31689 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31690 syscall definitions and replace __builtin_expect with __glibc_likely.
31691 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31693 (SYSCALL_CANCELLABLE): Removedefinition
31694 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31696 (PSEUDO_END): Likewise.
31697 [IS_IN (libpthread)] (CENABLE): Likewise.
31698 [IS_IN (libpthread)] (CDISABLE): Likewise.
31699 [IS_IN (libc)] (CENABLE): Likewise.
31700 [IS_IN (libc)] (CENABLE): Likewise.
31701 [IS_IN (librt)] (CDISABLE): Likewise.
31702 [IS_IN (librt)] (CDISABLE): Likewise.
31703 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31704 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31706 (PSEUDO_END): Likewise.
31707 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31708 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31709 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31710 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31711 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31712 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31713 (CENABLE): Likewise.
31714 (CDISABLE): Likewise.
31715 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31716 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31718 (PSEUDO_END): Likewise.
31719 [IS_IN (libpthread)] (CENABLE): Likewise.
31720 [IS_IN (libpthread)] (CDISABLE): Likewise.
31721 [IS_IN (libc)] (CENABLE): Likewise.
31722 [IS_IN (libc)] (CENABLE): Likewise.
31723 [IS_IN (librt)] (CDISABLE): Likewise.
31724 [IS_IN (librt)] (CDISABLE): Likewise.
31725 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31726 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31728 (PSEUDO_END): Likewise.
31729 [IS_IN (libpthread)] (CENABLE): Likewise.
31730 [IS_IN (libpthread)] (CDISABLE): Likewise.
31731 [IS_IN (libc)] (CENABLE): Likewise.
31732 [IS_IN (libc)] (CENABLE): Likewise.
31733 [IS_IN (librt)] (CDISABLE): Likewise.
31734 [IS_IN (librt)] (CDISABLE): Likewise.
31735 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31736 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31738 (PSEUDO_END): Likewise.
31739 [IS_IN (libpthread)] (CENABLE): Likewise.
31740 [IS_IN (libpthread)] (CDISABLE): Likewise.
31741 [IS_IN (libc)] (CENABLE): Likewise.
31742 [IS_IN (libc)] (CENABLE): Likewise.
31743 [IS_IN (librt)] (CDISABLE): Likewise.
31744 [IS_IN (librt)] (CDISABLE): Likewise.
31745 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31746 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31748 (PSEUDO_END): Likewise.
31749 [IS_IN (libpthread)] (CENABLE): Likewise.
31750 [IS_IN (libpthread)] (CDISABLE): Likewise.
31751 [IS_IN (libc)] (CENABLE): Likewise.
31752 [IS_IN (libc)] (CENABLE): Likewise.
31753 [IS_IN (librt)] (CDISABLE): Likewise.
31754 [IS_IN (librt)] (CDISABLE): Likewise.
31755 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31756 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31758 (PSEUDO_END): Likewise.
31759 [IS_IN (libpthread)] (CENABLE): Likewise.
31760 [IS_IN (libpthread)] (CDISABLE): Likewise.
31761 [IS_IN (libc)] (CENABLE): Likewise.
31762 [IS_IN (libc)] (CENABLE): Likewise.
31763 [IS_IN (librt)] (CDISABLE): Likewise.
31764 [IS_IN (librt)] (CDISABLE): Likewise.
31765 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31766 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31768 (PSEUDO_END): Likewise.
31769 [IS_IN (libpthread)] (CENABLE): Likewise.
31770 [IS_IN (libpthread)] (CDISABLE): Likewise.
31771 [IS_IN (libc)] (CENABLE): Likewise.
31772 [IS_IN (libc)] (CENABLE): Likewise.
31773 [IS_IN (librt)] (CDISABLE): Likewise.
31774 [IS_IN (librt)] (CDISABLE): Likewise.
31775 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31776 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31778 (PSEUDO_END): Likewise.
31779 [IS_IN (libpthread)] (CENABLE): Likewise.
31780 [IS_IN (libpthread)] (CDISABLE): Likewise.
31781 [IS_IN (libc)] (CENABLE): Likewise.
31782 [IS_IN (libc)] (CENABLE): Likewise.
31783 [IS_IN (librt)] (CDISABLE): Likewise.
31784 [IS_IN (librt)] (CDISABLE): Likewise.
31785 (SINGLE_THREAD_P): Likewise.
31786 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31788 (PSEUDO_END): Likewise.
31789 [IS_IN (libpthread)] (CENABLE): Likewise.
31790 [IS_IN (libpthread)] (CDISABLE): Likewise.
31791 [IS_IN (libc)] (CENABLE): Likewise.
31792 [IS_IN (libc)] (CENABLE): Likewise.
31793 [IS_IN (librt)] (CDISABLE): Likewise.
31794 [IS_IN (librt)] (CDISABLE): Likewise.
31795 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31796 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31798 (PSEUDO_END): Likewise.
31799 [IS_IN (libpthread)] (CENABLE): Likewise.
31800 [IS_IN (libpthread)] (CDISABLE): Likewise.
31801 [IS_IN (libc)] (CENABLE): Likewise.
31802 [IS_IN (libc)] (CENABLE): Likewise.
31803 [IS_IN (librt)] (CDISABLE): Likewise.
31804 [IS_IN (librt)] (CDISABLE): Likewise.
31805 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31806 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31807 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31808 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31811 (PSEUDO_END): Likewise.
31812 [IS_IN (libpthread)] (CENABLE): Likewise.
31813 [IS_IN (libpthread)] (CDISABLE): Likewise.
31814 [IS_IN (libc)] (CENABLE): Likewise.
31815 [IS_IN (libc)] (CENABLE): Likewise.
31816 [IS_IN (librt)] (CDISABLE): Likewise.
31817 [IS_IN (librt)] (CDISABLE): Likewise.
31818 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31821 (PSEUDO_END): Likewise.
31822 [IS_IN (libpthread)] (CENABLE): Likewise.
31823 [IS_IN (libpthread)] (CDISABLE): Likewise.
31824 [IS_IN (libc)] (CENABLE): Likewise.
31825 [IS_IN (libc)] (CENABLE): Likewise.
31826 [IS_IN (librt)] (CDISABLE): Likewise.
31827 [IS_IN (librt)] (CDISABLE): Likewise.
31828 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31829 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31831 (PSEUDO_END): Likewise.
31832 [IS_IN (libpthread)] (CENABLE): Likewise.
31833 [IS_IN (libpthread)] (CDISABLE): Likewise.
31834 [IS_IN (libc)] (CENABLE): Likewise.
31835 [IS_IN (libc)] (CENABLE): Likewise.
31836 [IS_IN (librt)] (CDISABLE): Likewise.
31837 [IS_IN (librt)] (CDISABLE): Likewise.
31838 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31841 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31842 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31844 (PSEUDO_END): Likewise.
31845 [IS_IN (libpthread)] (CENABLE): Likewise.
31846 [IS_IN (libpthread)] (CDISABLE): Likewise.
31847 [IS_IN (libc)] (CENABLE): Likewise.
31848 [IS_IN (libc)] (CENABLE): Likewise.
31849 [IS_IN (librt)] (CDISABLE): Likewise.
31850 [IS_IN (librt)] (CDISABLE): Likewise.
31851 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31852 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31854 (PSEUDO_END): Likewise.
31855 [IS_IN (libpthread)] (CENABLE): Likewise.
31856 [IS_IN (libpthread)] (CDISABLE): Likewise.
31857 [IS_IN (libc)] (CENABLE): Likewise.
31858 [IS_IN (libc)] (CENABLE): Likewise.
31859 [IS_IN (librt)] (CDISABLE): Likewise.
31860 [IS_IN (librt)] (CDISABLE): Likewise.
31861 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31863 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31865 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31867 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31869 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31871 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31874 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31875 middle and outer with size_t instead of int. Repleace %d and
31876 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31877 "MAX (outer, nchars - 64)" to support unsigned outer and
31878 nchars. Also exit loop when outer == 0.
31880 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31882 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31883 * include/signal.h (__sigsuspend_nocancel): Likewise.
31884 * include/time.h (__nanosleep_nocancel): Likewise.
31885 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31886 * login/utmp_file.c: Include non cancellable syscall header.
31887 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31890 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31892 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31893 .byte sequences with AVX512F instructions.
31894 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31895 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31896 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31897 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31899 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31902 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31903 Steve Ellcey <sellcey@cavium.com>
31905 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31906 Use PTR_REG macro in cmp instruction.
31908 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31910 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31911 Change the return type of the ifunc resolver to match the return
31912 type of the target function.
31914 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31916 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31917 (preadv64): Likewise.
31918 (pwrite64(: Likewise.
31919 (pwritev64): Likewise.
31921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31922 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31923 (LOAD_ARGS_0): Likewise.
31924 (LOAD_ARGS_1): Likewise.
31925 (LOAD_ARGS_2): Likewise.
31926 (LOAD_ARGS_3): Likewise.
31927 (LOAD_ARGS_4): Likewise.
31928 (LOAD_ARGS_5): Likewise.
31929 (LOAD_ARGS_6): Likewise.
31930 (LOAD_REGS_0): Likewise.
31931 (LOAD_REGS_1): Likewise.
31932 (LOAD_REGS_2): Likewise.
31933 (LOAD_REGS_3): Likewise.
31934 (LOAD_REGS_4): Likewise.
31935 (LOAD_REGS_5): Likewise.
31936 (LOAD_REGS_6): Likewise.
31937 (ASM_ARGS_0): Likewise.
31938 (ASM_ARGS_1): Likewise.
31939 (ASM_ARGS_2): Likewise.
31940 (ASM_ARGS_3): Likewise.
31941 (ASM_ARGS_4): Likewise.
31942 (ASM_ARGS_5): Likewise.
31943 (ASM_ARGS_6): Likewise.
31944 (LOAD_ARGS_TYPES_1): Likewise.
31945 (LOAD_ARGS_TYPES_2): Likewise.
31946 (LOAD_ARGS_TYPES_3): Likewise.
31947 (LOAD_ARGS_TYPES_4): Likewise.
31948 (LOAD_ARGS_TYPES_5): Likewise.
31949 (LOAD_ARGS_TYPES_6): Likewise.
31950 (LOAD_REGS_TYPES_1): Likewise.
31951 (LOAD_REGS_TYPES_2): Likewise.
31952 (LOAD_REGS_TYPES_3): Likewise.
31953 (LOAD_REGS_TYPES_4): Likewise.
31954 (LOAD_REGS_TYPES_5): Likewise.
31955 (LOAD_REGS_TYPES_6): Likewise.
31956 (TYPEFY): New define.
31957 (ARGIFY): Likewise.
31958 (internal_syscall0): Likewise.
31959 (internal_syscall1): Likewise.
31960 (internal_syscall2): Likewise.
31961 (internal_syscall3): Likewise.
31962 (internal_syscall4): Likewise.
31963 (internal_syscall5): Likewise.
31964 (internal_syscall6): Likewise.
31965 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31966 (INTERNAL_SYSCALL_NCS): Remove define.
31967 (internal_syscall1): Add define.
31969 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31971 * math/w_remainder_compat.c: Remove duplicate inclusion of
31972 math-svid-compat.h.
31973 * math/w_remainderf_compat.c: Likewise.
31974 * math/w_remainderl_compat.c: Likewise.
31976 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31980 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31983 * math/tgmath.h (__floating_type): Simplify definitions.
31984 (__real_integer_type): New macro.
31985 (__complex_integer_type): Likewise.
31986 (__expr_is_real): Likewise.
31987 (__tgmath_real_type_sub): Update comment to describe handling of
31989 (__tgmath_complex_type_sub): New macro.
31990 (__tgmath_complex_type): Likewise.
31991 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31992 (__TGMATH_CF128): Use __expr_is_real.
31993 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31995 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31996 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31997 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32000 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32002 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32004 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32006 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32009 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32010 nanosleep_not_cancel with __nanosleep_nocancel.
32011 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32012 (__nanosleep_nocancel): New macro.
32013 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32015 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32017 (__nanosleep_nocancel): New prototype.
32019 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32020 pause_not_cancel with __pause_nocancel.
32021 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32022 (__pause_nocancel): New macro.
32023 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32025 (__pause_nocancel): New prototype.
32026 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32028 2017-08-22 Martin Sebor <msebor@redhat.com>
32030 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32031 to return a pointer to the same type as the target function.
32033 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32037 * include/printf.h (__printf_fphex): Add attribute_hidden.
32038 (__guess_grouping): New prototype.
32039 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32040 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32041 libc_hidden_proto and libc_hidden_def.
32042 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32043 (__vstrfmon_l): Remove the third argument passed to
32046 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32048 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32049 definition for issignaling that does not rely on __MATH_TG,
32050 since __MATH_TG uses __builtin_types_compatible_p, which is only
32051 available in C mode.
32052 (CFLAGS-test-math-issignaling.cc): New variable.
32053 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32054 * math/test-math-issignaling.cc: New test for C++ implementation
32055 of type-generic issignaling.
32056 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32057 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32058 options of test-math-issignaling on powerpc64le.
32060 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32062 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32064 (hidden_proto): Likewise.
32065 (hidden_tls_proto): Likewise.
32066 (__hidden_proto): Likewise.
32068 2017-08-22 Florian Weimer <fweimer@redhat.com>
32070 math: Statically link tests of internal functionality.
32071 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32073 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32074 (gmp-objs): Remove assignment.
32075 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32077 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32080 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32082 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32084 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32087 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32088 variable definitions above inclusion of ../Rules.
32090 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32092 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32093 case calling __builtin_unreachable.
32095 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32097 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32098 __waitpid_nocancel.
32099 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32100 (__waitpid_nocancel): New macro.
32101 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32103 (__waitpid_nocancel): Replace macro with a function.
32104 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32107 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32109 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32110 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32112 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32113 __writev_nocancel_nostatus.
32114 (write_call_graph): Likewise.
32115 (write_bb_counts): Likewise.
32116 * resolv/herror.c (herror): Likewise.
32117 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32119 (__writev_nocancel_nostatus): New macro.
32120 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32122 (__writev_nocancel_nostatus): New function.
32124 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32127 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32129 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32131 (hidden_proto): Likewise.
32132 (hidden_tls_proto): Likewise.
32133 (__hidden_proto): Likewise.
32136 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32137 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32146 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32147 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32148 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32149 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32150 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32151 GLIBC_2.0 sqrtl symbol.
32153 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32154 [__USE_MISC] (_LIB_VERSION): Likewise.
32155 [__USE_MISC] (struct exception): Likewise.
32156 [__USE_MISC] (matherr): Likewise.
32157 [__USE_MISC] (DOMAIN): Likewise.
32158 [__USE_MISC] (SING): Likewise.
32159 [__USE_MISC] (OVERFLOW): Likewise.
32160 [__USE_MISC] (UNDERFLOW): Likewise.
32161 [__USE_MISC] (TLOSS): Likewise.
32162 [__USE_MISC] (PLOSS): Likewise.
32163 [__USE_MISC] (HUGE): Likewise.
32164 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32165 * math/math-svid-compat.h: New file.
32166 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32168 * include/math.h [!_ISOMAC] (__matherr): Remove.
32169 * manual/arith.texi (FP Exceptions): Do not document matherr.
32170 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32171 (tests-internal): New variable.
32172 (install-lib): Do not add libieee.a.
32173 (non-lib.a): Likewise.
32174 (extra-objs): Do not add libieee.a and ieee-math.o.
32175 (CPPFLAGS-s_lib_version.c): Remove variable.
32176 ($(objpfx)libieee.a): Remove rule.
32177 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32178 * math/ieee-math.c: Remove.
32179 * math/libm-test-support.c (matherr): Remove.
32180 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32181 and license notices. Include <math-svid-compat.h> and
32183 (matherr): Undefine as macro. Use compat_symbol_reference.
32184 (_LIB_VERSION): Likewise.
32185 * math/test-matherr-2.c: New file.
32186 * math/test-matherr-3.c: Likewise.
32187 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32189 (__kernel_standard_f): Likewise.
32190 (__kernel_standard_l): Likewise.
32191 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32192 <math_private.h>. Include <math-svid-compat.h>.
32193 (_LIB_VERSION): Undefine as macro.
32194 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32195 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32196 [LIBM_SVID_COMPAT], use compat_symbol.
32197 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32198 <math_private.h>. Include <math-svid-compat.h>.
32199 (matherr): Undefine as macro.
32200 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32202 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32203 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32204 compat_symbol_reference.
32205 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32206 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32207 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32208 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32209 (MATHERR_D): Remove declaration.
32210 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32211 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32212 [LIBM_BUILD] (pmatherrf): Likewise.
32213 [LIBM_BUILD] (pmatherr): Likewise.
32214 [LIBM_BUILD] (pmatherrl): Likewise.
32215 (DOMAIN): Likewise.
32217 (OVERFLOW): Likewise.
32218 (UNDERFLOW): Likewise.
32221 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32222 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32224 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32225 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32227 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32228 * math/w_acos_compat.c: Likewise.
32229 * math/w_acosf_compat.c: Likewise.
32230 * math/w_acosh_compat.c: Likewise.
32231 * math/w_acoshf_compat.c: Likewise.
32232 * math/w_acoshl_compat.c: Likewise.
32233 * math/w_acosl_compat.c: Likewise.
32234 * math/w_asin_compat.c: Likewise.
32235 * math/w_asinf_compat.c: Likewise.
32236 * math/w_asinl_compat.c: Likewise.
32237 * math/w_atan2_compat.c: Likewise.
32238 * math/w_atan2f_compat.c: Likewise.
32239 * math/w_atan2l_compat.c: Likewise.
32240 * math/w_atanh_compat.c: Likewise.
32241 * math/w_atanhf_compat.c: Likewise.
32242 * math/w_atanhl_compat.c: Likewise.
32243 * math/w_cosh_compat.c: Likewise.
32244 * math/w_coshf_compat.c: Likewise.
32245 * math/w_coshl_compat.c: Likewise.
32246 * math/w_exp10_compat.c: Likewise.
32247 * math/w_exp10f_compat.c: Likewise.
32248 * math/w_exp10l_compat.c: Likewise.
32249 * math/w_exp2_compat.c: Likewise.
32250 * math/w_exp2f_compat.c: Likewise.
32251 * math/w_exp2l_compat.c: Likewise.
32252 * math/w_fmod_compat.c: Likewise.
32253 * math/w_fmodf_compat.c: Likewise.
32254 * math/w_fmodl_compat.c: Likewise.
32255 * math/w_hypot_compat.c: Likewise.
32256 * math/w_hypotf_compat.c: Likewise.
32257 * math/w_hypotl_compat.c: Likewise.
32258 * math/w_j0_compat.c: Likewise.
32259 * math/w_j0f_compat.c: Likewise.
32260 * math/w_j0l_compat.c: Likewise.
32261 * math/w_j1_compat.c: Likewise.
32262 * math/w_j1f_compat.c: Likewise.
32263 * math/w_j1l_compat.c: Likewise.
32264 * math/w_jn_compat.c: Likewise.
32265 * math/w_jnf_compat.c: Likewise.
32266 * math/w_jnl_compat.c: Likewise.
32267 * math/w_lgamma_main.c: Likewise.
32268 * math/w_lgamma_r_compat.c: Likewise.
32269 * math/w_lgammaf_main.c: Likewise.
32270 * math/w_lgammaf_r_compat.c: Likewise.
32271 * math/w_lgammal_main.c: Likewise.
32272 * math/w_lgammal_r_compat.c: Likewise.
32273 * math/w_log10_compat.c: Likewise.
32274 * math/w_log10f_compat.c: Likewise.
32275 * math/w_log10l_compat.c: Likewise.
32276 * math/w_log2_compat.c: Likewise.
32277 * math/w_log2f_compat.c: Likewise.
32278 * math/w_log2l_compat.c: Likewise.
32279 * math/w_log_compat.c: Likewise.
32280 * math/w_logf_compat.c: Likewise.
32281 * math/w_logl_compat.c: Likewise.
32282 * math/w_pow_compat.c: Likewise.
32283 * math/w_powf_compat.c: Likewise.
32284 * math/w_powl_compat.c: Likewise.
32285 * math/w_remainder_compat.c: Likewise.
32286 * math/w_remainderf_compat.c: Likewise.
32287 * math/w_remainderl_compat.c: Likewise.
32288 * math/w_scalb_compat.c: Likewise.
32289 * math/w_scalbf_compat.c: Likewise.
32290 * math/w_scalbl_compat.c: Likewise.
32291 * math/w_sinh_compat.c: Likewise.
32292 * math/w_sinhf_compat.c: Likewise.
32293 * math/w_sinhl_compat.c: Likewise.
32294 * math/w_sqrt_compat.c: Likewise.
32295 * math/w_sqrtf_compat.c: Likewise.
32296 * math/w_sqrtl_compat.c: Likewise.
32297 * math/w_tgamma_compat.c: Likewise.
32298 * math/w_tgammaf_compat.c: Likewise.
32299 * math/w_tgammal_compat.c: Likewise.
32300 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32301 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32302 * sysdeps/ieee754/k_standard.c: Likewise.
32303 * sysdeps/ieee754/k_standardf.c: Likewise.
32304 * sysdeps/ieee754/k_standardl.c: Likewise.
32305 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32306 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32307 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32308 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32309 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32310 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32311 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32312 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32313 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32318 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32319 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32320 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32321 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32323 2017-08-21 Florian Weimer <fweimer@redhat.com>
32326 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32327 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32328 Move before inclusion of ../Rules.
32330 2017-08-21 Florian Weimer <fweimer@redhat.com>
32333 * assert/assert.h (assert): Use static_cast (bool) for C++.
32334 Use the ternary operator in the warning branch for GNU C.
32335 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32336 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32337 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32338 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32339 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32341 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32344 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32345 (__syscall_clock_gettime): Add attribute_hidden.
32346 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32347 (__start_context): Likewise.
32349 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32351 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32353 (hidden_proto): Likewise.
32354 (hidden_tls_proto): Likewise.
32355 (__hidden_proto): Likewise.
32357 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32359 * include/libc-symbols.h (attribute_hidden): Enable hidden
32360 visibility in libc.a compiled with PIE.
32362 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32365 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32366 Add attribute_hidden.
32368 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32371 * Makerules (all-nonlib): Add $(others-extras).
32372 * catgets/Makefile (others-extras): New.
32373 * elf/Makefile (others-extras): Likewise.
32374 * nss/Makefile (others-extras): Likewise.
32376 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32379 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32380 * elf/dl-open.c: Include <libc-internal.h>.
32381 (__libc_multiple_libcs): Removed.
32382 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32384 * include/libc-internal.h (__libc_multiple_libcs): New.
32385 * misc/sbrk.c: Include <libc-internal.h>.
32386 (__libc_multiple_libcs): Removed.
32388 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32391 * grp/initgroups.c (__nss_group_database): Removed.
32392 (__nss_initgroups_database): Likewise.
32393 * nscd/gai.c (__nss_hosts_database): Likewise.
32394 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32395 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32396 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32397 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32398 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32399 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32401 * nss/nsswitch.c (__nss_database_custom): Define only if
32402 USE_NSCD is defined.
32403 (__nss_configure_lookup): Use __nss_database_custom only if
32404 USE_NSCD is defined.
32405 * nss/nsswitch.h (__nss_database_custom): Declare only if
32406 USE_NSCD is defined. Add attribute_hidden.
32407 (__nss_setent): Add attribute_hidden.
32408 (__nss_endent): Likewise.
32409 (__nss_getent_r): Likewise.
32410 (__nss_getent): Likewise.
32411 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32413 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32416 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32417 libc_hidden_proto and libc_hidden_def.
32419 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32422 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32423 Add libc_hidden_proto.
32424 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32425 Add libc_hidden_def.
32427 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32430 * gmon/Makefile (routines): Remove bb_init_func and
32432 (elide-routines.os): Removed.
32433 * gmon/bb_exit_func.c: Likewise.
32434 * gmon/bb_init_func.c: Likewise.
32435 * include/sys/gmon.h (__bb): Likewise.
32436 (__bb_init_func): Likewise.
32437 (__bb_exit_func): Likewise.
32438 * sysdeps/alpha/bb_init_func.S: Likewise.
32440 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32442 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32443 * include/setjmp.h (____longjmp_chk): Here. Add
32446 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32449 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32451 (__strspn_sse2): Likewise.
32453 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32455 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32456 (close_not_cancel_no_status): Likewise.
32457 (__close_nocancel): New macro.
32458 (__close_nocancel_nostatus): Likewise.
32459 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32461 (close_not_cancel): Likewise.
32462 (close_not_cancel_no_status): Likewise.
32463 (__close_nocancel): New prototype.
32464 (__close_nocancel_nostatus): New function.
32465 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32466 * catgets/open_catalog.c (__open_catalog): Replace
32467 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32468 * gmon/gmon.c (write_gmon): Likewise.
32469 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32470 * intl/loadmsgcat.c (close): Likewise.
32471 * io/ftw.c (open_dir_stream): Likewise.
32472 (ftw_startup): Likewise.
32473 * libio/fileops.c (_IO_file_open): Likewise.
32474 (_IO_file_close_mmap): Likewise.
32475 (_IO_file_close): Likewise.
32476 * libio/iopopen.c (_IO_dup2): Likewise.
32477 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32478 * locale/loadlocale.c (_nl_load_locale): Likewise.
32479 * login/utmp_file.c (pututline_file): Likewise.
32480 (endutent_file): Likewise.
32481 * misc/daemon.c (daemon): Likewise.
32482 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32483 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32484 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32485 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32486 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32487 * nscd/nscd_helper.c (open_socket): Likewise.
32488 (__nscd_open_socket): Likewise.
32489 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32490 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32491 (__nscd_innetgr): Likewise.
32492 * nss/nss_db/db-open.c (internal_setent): Likewise.
32493 * resolv/res-close.c (__res_iclose): Likewise.
32494 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32495 * sysdeps/posix/closedir.c (__closedir): Likewise.
32496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32497 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32498 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32499 (opendir_tail): Likewise.
32500 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32501 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32502 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32503 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32504 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32505 (gethostid): Likewise.
32506 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32507 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32510 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32511 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32512 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32514 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32515 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32516 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32518 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32519 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32521 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32523 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32524 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32525 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32528 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32529 (openat_not_cancel_3): Likewise.
32530 (openat64_not_cancel_3): Likewise).
32531 (openat_not_cancel_3): Likewise).
32532 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32534 (openat_not_cancel_3): Likewise.
32535 (openat64_not_cancel): Likewise.
32536 (openat64_not_cancel_3): Likewise.
32537 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32538 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32539 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32540 __open{64}_nocancel.
32541 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32542 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32543 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32545 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32548 * include/argz.h (__argz_create_sep): New function prototype.
32549 (__argz_append): Likewise.
32550 (__argz_add): Likewise.
32551 (__argz_add_sep): Likewise.
32552 (__argz_delete): Likewise.
32553 (__argz_insert): Likewise.
32554 (__argz_replace): Likewise.
32555 * string/argz.h (__argz_create_sep): Removed.
32556 (__argz_append): Likewise.
32557 (__argz_add): Likewise.
32558 (__argz_add_sep): Likewise.
32559 (__argz_delete): Likewise.
32560 (__argz_insert): Likewise.
32561 (__argz_replace): Likewise.
32563 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32565 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32566 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32567 (GNU_PROPERTY_STACK_SIZE): Likewie.
32568 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32569 (GNU_PROPERTY_LOPROC): Likewise.
32570 (GNU_PROPERTY_HIPROC): Likewise.
32571 (GNU_PROPERTY_LOUSER): Likewise.
32572 (GNU_PROPERTY_HIUSER): Likewise.
32573 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32574 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32575 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32576 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32577 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32578 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32579 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32580 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32581 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32582 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32583 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32584 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32585 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32586 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32587 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32588 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32589 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32590 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32591 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32592 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32593 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32594 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32595 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32597 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32599 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32602 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32605 * math/math.h (isinf): Check if in C or C++ mode before using
32606 __builtin_types_compatible_p, since this is a C mode feature.
32608 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32610 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32611 (__write_nocancel): New macro.
32612 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32613 Rewrite as a function prototype.
32614 (write_not_cancel): Remove macro.
32615 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32616 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32617 (write_gmon): Likewise.
32618 * libio/fileops.c (_IO_new_file_write): Likewise.
32619 * login/utmp_file.c (pututline_file): Likewise.
32620 (updwtmp_file): Likewise.
32621 * stdio-common/psiginfo.c (psiginfo): Likewise.
32622 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32623 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32624 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32626 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32629 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32630 (__read_nocancel): New macro.
32631 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32633 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32635 (__read_nocancel): New prototype.
32636 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32637 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32638 with __read_nocancel.
32639 * intl/loadmsgcat.c (read): Likewise.
32640 * libio/fileops.c (_IO_file_read): Likewise.
32641 * locale/loadlocale.c (_nl_load_locale): Likewise.
32642 * login/utmp_file.c (getutent_r_file): Likewise.
32643 (internal_getut_r): Likewise.
32644 (getutline_r_file): Likewise.
32645 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32646 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32647 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32650 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32651 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32652 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32654 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32656 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32658 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32660 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32662 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32665 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32666 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32669 2017-08-17 DJ Delorie <dj@redhat.com>
32671 * bug17079.c: Update to new test harness.
32672 * test-digits-dots.c: Likewise.
32673 * test-netdb.c: Likewise.
32674 * tst-field.c: Likewise.
32675 * tst-nss-getpwent.c: Likewise.
32676 * tst-nss-static.c: Likewise.
32677 * tst-nss-test1.c: Likewise.
32678 * tst-nss-test2.c: Likewise.
32679 * tst-nss-test3.c: Likewise.
32680 * tst-nss-test4.c: Likewise.
32681 * tst-nss-test5.c: Likewise.
32683 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32685 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32686 (open_not_cancel_2): Likewise.
32687 (open_nocancel): New macro.
32688 (open64_nocancel): Likewise.
32689 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32690 (open_not_cancel_2): Likewise.
32691 (__open_nocancel): New prototype.
32692 (__open64_nocancel): Likewise.
32693 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32695 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32696 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32697 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32698 with __open_nocancel.
32699 * csu/check_fds.c (check_one_fd): Likewise.
32700 * gmon/gmon.c (write_gmon): Likewise.
32701 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32702 * intl/loadmsgcat.c (open): Likewise.
32703 * libio/fileops.c (_IO_file_open): Likewise.
32704 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32705 * locale/loadlocale.c (_nl_load_locale): Likewise.
32706 * login/utmp_file.c (setutent_file): Likewise.
32707 * misc/daemon.c (daemon): Likewise.
32708 * nss/nss_db/db-open.c (internal_setent): Likewise.
32709 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32710 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32711 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32712 (__opendir): Likewise.
32713 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32714 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32715 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32716 (gethostid): Likewise.
32717 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32718 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32720 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32721 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32722 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32723 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32725 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32727 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32729 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32731 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32733 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32735 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32736 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32738 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32740 * benchtests/bench-skeleton.c (main): Add support for
32741 latency benchmarking.
32742 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32744 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32746 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32747 the startup object.
32749 2017-08-17 Florian Weimer <fweimer@redhat.com>
32751 * include/sys/socket.h (__opensock): Remove internal_function.
32752 * socket/opensock.c (__opensock): Likewise.
32753 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32755 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32758 * signal/bits/types/__sigval_t.h: New file.
32759 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32760 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32761 and define sigval_t using __sigval_t.
32762 * include/bits/types/__sigval_t.h: New file.
32763 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32764 instead of <bits/types/__sigval_t.h>.
32765 (struct sigevent): Use __sigval_t instead of sigval_t.
32766 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32767 instead of <bits/types/__sigval_t.h>.
32768 (siginfo_t): Use __sigval_t instead of sigval_t.
32769 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32770 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32771 (struct sigevent): Use __sigval_t instead of sigval_t.
32772 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32773 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32774 (siginfo_t): Use __sigval_t instead of sigval_t.
32775 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32777 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32779 * NEWS: Remove "[Add new features here]" for 2.27.
32781 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32783 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32786 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32788 * NEWS: Mention x86-64 FMA optimization.
32790 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32793 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32795 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32796 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32797 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32799 2017-08-16 Andreas Schwab <schwab@suse.de>
32803 * elf/ldd.bash.in: Never run file directly.
32805 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32808 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32809 (L(SP_INF_0)): Likewise.
32811 2017-08-15 Florian Weimer <fweimer@redhat.com>
32813 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32816 2017-08-15 Florian Weimer <fweimer@redhat.com>
32818 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32819 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32820 BROKEN_THREAD_SIGNALS code.
32821 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32822 request_list): Remove caller_pid member used for
32823 BROKEN_THREAD_SIGNALS.
32824 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32825 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32826 Remove BROKEN_THREAD_SIGNALS support.
32827 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32828 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32830 2017-08-15 Florian Weimer <fweimer@redhat.com>
32832 * gmon/Makefile (tests): Add tst-gmon.
32833 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32835 (tests-special): Add tst-gmon-prof.out.
32836 (tst-gmon.out): Depend on clean-tst-gmon-data.
32837 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32838 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32839 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32841 * aclocal.m4 (GPROF): Set and substitute.
32842 * config.amke.in (GPROF): Set.
32843 * configure: Regenerate.
32845 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32847 * elf/elf.h A (NT_PPC_TAR): New macro.
32848 (NT_PPC_PPR): Likewise.
32849 (NT_PPC_DSCR): Likewise.
32850 (NT_PPC_EBB): Likewise.
32851 (NT_PPC_PMU): Likewise.
32852 (NT_PPC_TM_CGPR): Likewise.
32853 (NT_PPC_TM_CFPR): Likewise.
32854 (NT_PPC_TM_CVMX): Likewise.
32855 (NT_PPC_TM_CVSX): Likewise.
32856 (NT_PPC_TM_SPR): Likewise.
32857 (NT_PPC_TM_CTAR): Likewise.
32858 (NT_PPC_TM_CPPR): Likewise.
32859 (NT_PPC_TM_CDSCR): Likewise.
32861 2017-08-15 Florian Weimer <fweimer@redhat.com>
32863 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32864 regparm (2) instead of internal_function.
32865 (_MCOUNT_DECL): Adjust.
32867 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32869 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32870 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32872 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32874 * conform/data/sys/wait.h-data (si_value): Do not expect for
32877 2017-08-14 Florian Weimer <fweimer@redhat.com>
32880 NSS: Create stubs for accidentally exported lookup functions.
32881 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32882 Remove declaration.
32883 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32884 (ether_hostton): Call __nss_ethers_lookup2 instead.
32885 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32886 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32887 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32888 (setup): Call __nss_netgroup_lookup2 instead.
32889 * nss/Makefile (routines): Add compat-lookup.
32890 * nss/Versions (GLIBC_2.27): Add symbol version.
32891 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32892 (DB_COMPAT_FCT): Remove.
32893 * nss/compat-lookup.c: New file.
32894 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32895 from databases.def.
32896 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32897 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32898 (netname2user): Call __nss_publickey_lookup2 instead.
32899 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32900 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32903 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32904 Sergei Trofimovich <slyfox@inbox.ru>
32907 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32908 Rename to MMAP2_PAGE_UNIT.
32909 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32910 __OFF_T_MATCHES_OFF64_T is not defined.
32911 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32913 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32914 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32916 2017-08-14 Florian Weimer <fweimer@redhat.com>
32918 i386: Do not set internal_function.
32919 * config.h.in (USE_REGPARMS, internal_function): Remove.
32920 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32921 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32923 2017-08-14 Florian Weimer <fweimer@redhat.com>
32925 * elf/dl-init.c (_dl_init): Remove internal_function.
32926 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32927 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32929 2017-08-14 Florian Weimer <fweimer@redhat.com>
32931 * elf/rtld.c (_dl_start): Remove internal_function.
32932 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32935 2017-08-14 Florian Weimer <fweimer@redhat.com>
32937 * elf/dl-fini.c (_dl_fini): Remove internal_function
32938 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32940 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32942 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32943 (bit_cpu_SHSTK): Likewise.
32944 (index_cpu_IBT): Likewise.
32945 (index_cpu_SHSTK): Likewise.
32946 (reg_IBT): Likewise.
32947 (reg_SHSTK): Likewise.
32948 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32949 Handle index_cpu_IBT and index_cpu_SHSTK.
32951 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32954 * po/fr.po: Fix spelling mistake.
32956 2017-08-13 Florian Weimer <fweimer@redhat.com>
32958 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32959 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32960 (_dl_catch_error, _dl_receive_error): Likewise.
32961 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32962 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32963 (_dl_deallocate_tls): Likewise.
32964 * include/dlfcn.h (_dl_addr): Likewise.
32965 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32966 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32967 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32970 2017-08-13 Florian Weimer <fweimer@redhat.com>
32972 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32973 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32975 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32977 2017-08-13 Florian Weimer <fweimer@redhat.com>
32979 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32981 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32982 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32983 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32984 internal_function from _dl_make_stack_executable_hook member.
32985 (_dl_make_stack_executable): Remove internal_function.
32986 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32988 * sysdeps/unix/sysv/linux/dl-execstack.c
32989 (_dl_make_stack_executable): Likewise.
32991 2017-08-13 Florian Weimer <fweimer@redhat.com>
32993 * sysdeps/unix/sysv/linux/netlinkaccess.h
32994 (__netlink_assert_response): Remove internal_function.
32995 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32996 (__netlink_assert_response): Likewise.
32998 2017-08-13 Florian Weimer <fweimer@redhat.com>
33000 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33002 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33004 2017-08-13 Florian Weimer <fweimer@redhat.com>
33006 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33008 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33009 * inet/netgroup.h (__internal_setnetgrent)
33010 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33011 * inet/getnetgrent_r.c (__internal_setnetgrent)
33012 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33013 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33014 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33015 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33016 * nss/nsswitch.h (db_lookup_function): Likewise.
33018 2017-08-13 Florian Weimer <fweimer@redhat.com>
33020 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33021 Remove internal_function.
33022 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33023 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33024 message argument on the stack.
33025 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33028 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33030 Adapt test case data to the changes in the thousands
33034 * localedata/tst-langinfo.sh: Adapt test case data.
33035 * stdlib/tst-strfmon_l.c: Likewise.
33036 * stdlib/tst-strtod4.c: Likewise.
33037 * stdlib/tst-strtod5i.c: Likewise.
33039 2017-08-11 Florian Weimer <fweimer@redhat.com>
33042 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33043 Suppress pedantic warning resulting from statement expression.
33044 (__ASSERT_FUNCTION): Add missing __extension__.
33046 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33048 * benchtests/bench-memmove-large.c: Print output in JSON
33050 * benchtests/bench-memmove.c: Likewise.
33052 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33053 * benchtests/bench-memchr.c (do_one_test): Likewise.
33054 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33055 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33056 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33057 * benchtests/bench-memmove.c (do_one_test): Likewise.
33058 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33059 * benchtests/bench-memset.c (do_one_test): Likewise.
33060 * benchtests/bench-string.h (test_init): Remove memsets.
33062 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33065 (Computing the Width of an Integer Data Type): Rename section to
33066 "Width of an Integer Type". Remove inaccurate statement regarding
33067 lack of C language facilities for determining width of integer
33068 types, and reorder content to improve flow and context of
33071 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33073 * lang.texi (va_copy): Change standard from ISO to C99.
33074 (__va_copy): Add standard and header annotation.
33075 Update description for clarity of origins and current use.
33077 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33080 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33081 xssqrtqp requires operands to be in Vector Registers
33082 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33083 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33084 (__ieee754_sqrtf128): Likewise.
33086 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33088 * sysdeps/aarch64/memcmp.S (memcmp):
33089 Rewrite of optimized memcmp.
33091 2017-08-10 Florian Weimer <fweimer@redhat.com>
33093 Introduce ld.so exceptions.
33094 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33095 (_dl_exception_create, _dl_exception_create_format)
33096 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33097 (_dl_catch_exception): Declare.
33098 (_dl_catch_error): Update comment.
33099 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33100 errstring, malloced members with exception member.
33101 (_dl_out_of_memory): Remove.
33102 (fatal_error): New function, extracted from _dl_signal_error.
33103 (_dl_signal_exception, _dl_signal_cexception): New functions.
33104 (_dl_signal_error): Call _dl_exception_create to allocate an
33106 (_dl_catch_exception): New function, based on _dl_catch_error.
33107 (_dl_catch_error): Implement using _dl_catch_exception.
33108 * elf/dl-exception.c: New file.
33109 * elf/Makefile (dl-routines): Add dl-exception.
33110 (elide-routines.os): Likewise.
33111 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33112 _dl_exception_create_format, _dl_exception_free.
33113 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33114 _dl_signal_exception.
33115 * elf/dl-lookup.c (make_string): Remove.
33116 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33117 _dl_signal_cexception, _dl_exception_free.
33118 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33119 _dl_signal_exception.
33120 * elf/dl-sym.c (do_sym): Likewise.
33121 * elf/dl-version.c (make_string): Remove.
33122 (match_symbol): Use _dl_exception_create_format,
33123 _dl_signal_cexception, _dl_exception_free.
33124 (_dl_check_map_versions): Likewise.
33125 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33126 _dl_catch_exception.
33127 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33128 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33129 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33130 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33131 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33132 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33133 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33134 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33136 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33143 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33144 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33145 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33147 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33149 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33151 2017-08-10 Florian Weimer <fweimer@redhat.com>
33153 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33154 attribute_hidden, internal_function.
33155 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33158 2017-08-10 Florian Weimer <fweimer@redhat.com>
33160 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33161 function which calls __builtin_unreachable.
33163 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33165 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33166 Indian monetary formatting
33167 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33170 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33172 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33173 Fix typo in comment.
33176 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33177 PTRACE_SEIZE_DEVEL): Remove.
33178 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33179 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33180 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33181 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33182 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33184 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33186 * posix/bits/types.h (__qaddr_t): Remove.
33189 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33190 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33192 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33193 (ucontext_t): Use __ctx with uc_flags.
33194 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33195 (__ctxt): Likewise.
33196 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33198 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33199 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33201 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33202 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33204 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33206 (ucontext_t): Use __ctx with uc_flags.
33207 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33208 (ucontext_t): Use __ctx with uc_flags.
33209 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33210 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33211 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33212 (ucontext_t): Use __ctx with uc_flags.
33213 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33214 undefine further down.
33215 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33217 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33218 undefine further down.
33219 (ucontext_t): Use __ctx with uc_flags.
33220 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33221 undefine further down.
33222 (ucontext_t): Use __ctx with uc_flags.
33223 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33224 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33225 Rename uc_pad to __glibc_reserved1.
33226 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33227 undefine further down.
33228 (ucontext_t): Use __ctx with uc_flags.
33229 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33231 (ucontext_t): Use __ctx with uc_flags.
33232 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33233 __ctx with uc_flags.
33234 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33235 (ucontext_t): Use __ctx with uc_flags.
33236 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33237 __ctx with uc_flags.
33239 2017-08-09 Florian Weimer <fweimer@redhat.com>
33242 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33243 before early return.
33245 2017-08-09 Andreas Schwab <schwab@suse.de>
33248 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33252 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33253 tst-compat-forwarder.
33254 (modules-names): Add tst-compat-forwarder-mod.
33255 ($(objpfx)tst-compat-forwarder): Depend on
33256 $(objpfx)tst-compat-forwarder-mod.so.
33257 * nptl/tst-compat-forwarder.c: New file.
33258 * nptl/tst-compat-forwarder-mod.c: New file.
33260 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33262 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33265 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33266 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33268 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33270 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33271 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33272 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33273 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33275 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33278 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33281 * manual/setjmp.texi (getcontex): Document uc_stack value
33282 compatibility differences.
33284 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33286 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33287 (old_malloc_hook): Likewise.
33288 (old_memalign_hook): Likewise.
33289 (old_realloc_hook): Likewise.
33290 (struct hdr): Likewise.
33292 (freehook): Likewise.
33293 (mallochook): Likewise.
33294 (memalignhook): Likewise.
33295 (reallochook): Likewise.
33296 (mprobe): Likewise.
33297 * malloc/mtrace.c (mallwatch): Likewise.
33298 (tr_old_free_hook): Likewise.
33299 (tr_old_malloc_hook): Likewise.
33300 (tr_old_realloc_hook): Likewise.
33301 (tr_old_memalign_hook): Likewise.
33302 (tr_where): Likewise.
33303 (lock_and_info): Likewise.
33304 (tr_freehook): Likewise.
33305 (tr_mallochook): Likewise.
33306 (tr_reallochook): Likewise.
33307 (tr_memalignhook): Likewise.
33308 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33309 * misc/mmap.c (__mmap): Likewise.
33310 * misc/mmap64.c (__mmap64): Likewise.
33311 * misc/mprotect.c (__mprotect): Likewise.
33312 * misc/msync.c (msync): Likewise.
33313 * misc/munmap.c (__munmap): Likewise.
33314 * posix/posix_madvise.c (posix_madvise): Likewise.
33315 * socket/send.c (__send): Likewise.
33316 * socket/sendto.c (__sendto): Likewise.
33317 * socket/setsockopt.c (__setsockopt): Likewise.
33318 * string/memcmp.c (__ptr_t): Remove macro.
33319 (MEMCMP): Use void * instead of ptr_t.
33320 * string/memrchr.c (__ptr_t): Remove macro.
33321 (__memrchr): Use void * instead of ptr_t.
33322 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33323 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33324 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33325 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33326 * sysdeps/mach/msync.c (msync): Likewise.
33327 * sysdeps/mach/munmap.c (__munmap): Likewise.
33328 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33330 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33331 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33332 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33333 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33334 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33335 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33336 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33337 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33339 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33340 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33341 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33342 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33343 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33344 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33345 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33346 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33347 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33349 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33350 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33351 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33352 (MEMCMP): Use void * instead of ptr_t.
33353 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33354 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33356 2017-08-08 Florian Weimer <fweimer@redhat.com>
33358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33361 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33364 * csu/libc-tls.c: Include <startup.h> first.
33365 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33366 * elf/dl-tunables.c: Include <startup.h> first.
33367 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33368 * sysdeps/generic/startup.h: New file.
33369 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33370 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33371 (I386_USE_SYSENTER): New. Defined to 0.
33373 2017-08-08 Andreas Schwab <schwab@suse.de>
33376 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33377 * nptl/pt-system.c (system): Likewise.
33379 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33382 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33384 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33385 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33386 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33387 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33388 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33389 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33390 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33392 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33395 * bits/sigaction.h (struct sigaction): Define sa_handler and
33396 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33397 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33398 [__USE_XOPEN_EXTENDED].
33399 (SA_RESTART): Likewise.
33400 (SA_NODEFER): Likewise.
33401 (SA_RESETHAND): Likewise.
33402 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33403 (struct sigaction): Define sa_handler and sa_sigaction using union
33404 also for [__USE_XOPEN_EXTENDED].
33405 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33406 [__USE_XOPEN_EXTENDED].
33407 (SA_RESTART): Likewise.
33408 (SA_NODEFER): Likewise.
33409 (SA_RESETHAND): Likewise.
33410 * sysdeps/unix/sysv/linux/bits/sigaction.h
33411 (struct sigaction): Define sa_handler and sa_sigaction using union
33412 also for [__USE_XOPEN_EXTENDED].
33413 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33414 [__USE_XOPEN_EXTENDED].
33415 (SA_RESTART): Likewise.
33416 (SA_NODEFER): Likewise.
33417 (SA_RESETHAND): Likewise.
33418 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33419 (struct sigaction): Define sa_handler and sa_sigaction using union
33420 also for [__USE_XOPEN_EXTENDED].
33421 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33422 [__USE_XOPEN_EXTENDED].
33423 (SA_RESTART): Likewise.
33424 (SA_NODEFER): Likewise.
33425 (SA_RESETHAND): Likewise.
33426 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33427 (struct sigaction): Define sa_handler and sa_sigaction using union
33428 also for [__USE_XOPEN_EXTENDED].
33429 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33430 [__USE_XOPEN_EXTENDED].
33431 (SA_RESTART): Likewise.
33432 (SA_NODEFER): Likewise.
33433 (SA_RESETHAND): Likewise.
33434 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33435 (struct sigaction): Define sa_handler and sa_sigaction using union
33436 also for [__USE_XOPEN_EXTENDED].
33437 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33438 [__USE_XOPEN_EXTENDED].
33439 (SA_RESTART): Likewise.
33440 (SA_NODEFER): Likewise.
33441 (SA_RESETHAND): Likewise.
33442 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33443 (struct sigaction): Define sa_handler and sa_sigaction using union
33444 also for [__USE_XOPEN_EXTENDED].
33445 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33446 [__USE_XOPEN_EXTENDED].
33447 (SA_RESTART): Likewise.
33448 (SA_NODEFER): Likewise.
33449 (SA_RESETHAND): Likewise.
33450 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33451 (struct sigaction): Define sa_handler and sa_sigaction using union
33452 also for [__USE_XOPEN_EXTENDED].
33453 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33454 [__USE_XOPEN_EXTENDED].
33455 (SA_RESTART): Likewise.
33456 (SA_NODEFER): Likewise. Define directly rather than as alias.
33457 (SA_RESETHAND): Likewise.
33458 (SA_INTERRUPT): Define only for [__USE_MISC].
33459 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33460 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33462 (SA_STACK): Define only for [__USE_MISC].
33463 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33464 (struct sigaction): Define sa_handler and sa_sigaction using union
33465 also for [__USE_XOPEN_EXTENDED].
33466 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33467 [__USE_XOPEN_EXTENDED].
33468 (SA_RESTART): Likewise.
33469 (SA_NODEFER): Likewise.
33470 (SA_RESETHAND): Likewise.
33471 (SA_NOPTRACE): Define only for [__USE_MISC].
33473 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33474 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33475 (struct catalog_info): Likewise.
33476 * inet/htontest.c (lo): Likewise.
33478 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33479 * inet/inet_net.c (inet_network): Likewise.
33480 * inet/inet_netof.c (inet_netof): Likewise.
33481 * inet/rcmd.c (__ivaliduser): Likewise.
33482 (iruserok): Likewise.
33483 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33484 * locale/programs/locale-spec.c (locale_special): Likewise.
33485 * nis/nis_findserv.c (struct findserv_req): Likewise.
33486 (__nis_findfastest_with_timeout): Likewise.
33487 * nss/test-netdb.c (test_network): Likewise.
33488 * resolv/inet_neta.c (inet_neta): Likewise.
33489 * resolv/ns_date.c (ns_datetosecs): Likewise.
33490 (SECS_PER_DAY): Likewise.
33491 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33493 * resolv/res_comp.c (__putlong): Likewise.
33494 (__putshort): Likewise.
33495 (_getlong): Likewise.
33496 (_getshort): Likewise.
33497 * resolv/res_debug.c (p_time): Likewise.
33498 (precsize_ntoa): Likewise.
33499 (precsize_aton): Likewise.
33500 (latlon2ul): Likewise.
33501 (loc_aton): Likewise.
33502 (loc_ntoa): Likewise.
33503 * resolv/res_hconf.c (struct netaddr): Likewise.
33504 (_res_hconf_reorder_addrs): Likewise.
33505 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33506 (clnttcp_control): Likewise.
33507 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33508 (clntudp_control): Likewise.
33509 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33510 (clntunix_control): Likewise.
33511 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33512 * sunrpc/rpc/auth.h (union des_block): Likewise.
33513 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33514 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33515 (xdrrec_create): Likewise.
33516 (xdrrec_endofrecord): Likewise.
33517 (flush_out): Likewise.
33518 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33519 (xdrstdio_putlong): Likewise.
33520 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33523 * misc/sys/cdefs.h (__long_double_t): Remove.
33524 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33525 instead of __long_double_t,
33526 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33528 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33530 * benchtests/scripts/compare_strings.py: Avoid display error when
33531 running on a text terminal.
33533 * benchtests/scripts/compare_strings.py (main): Add an
33534 optional -base option.
33535 (process_results): New argument base_func.
33537 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33539 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33540 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33542 2017-08-07 Andreas Schwab <schwab@suse.de>
33544 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33545 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33546 * intl/Makefile ($(objpfx)tst-gettext.out)
33547 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33548 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33549 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33550 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33551 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33552 * posix/Makefile ($(objpfx)globtest.out)
33553 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33554 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33555 ($(objpfx)tst-printf.out): Likewise.
33556 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33557 ($(objpfx)tst-setcontext3.out): Likewise.
33559 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33561 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33562 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33563 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33564 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33565 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33567 (CFLAGS-doasin-fma.c): New.
33568 (CFLAGS-dosincos-fma.c): Likewise.
33569 (CFLAGS-e_asin-fma.c): Likewise.
33570 (CFLAGS-e_atan2-fma.c): Likewise.
33571 (CFLAGS-e_exp-fma.c): Likewise.
33572 (CFLAGS-e_log-fma.c): Likewise.
33573 (CFLAGS-e_pow-fma.c): Likewise.
33574 (CFLAGS-halfulp-fma.c): Likewise.
33575 (CFLAGS-mpa-fma.c): Likewise.
33576 (CFLAGS-mpatan-fma.c): Likewise.
33577 (CFLAGS-mpatan2-fma.c): Likewise.
33578 (CFLAGS-mpexp-fma.c): Likewise.
33579 (CFLAGS-mplog-fma.c): Likewise.
33580 (CFLAGS-mpsqrt-fma.c): Likewise.
33581 (CFLAGS-mptan-fma.c): Likewise.
33582 (CFLAGS-s_atan-fma.c): Likewise.
33583 (CFLAGS-sincos32-fma.c): Likewise.
33584 (CFLAGS-slowexp-fma.c): Likewise.
33585 (CFLAGS-slowpow-fma.c): Likewise.
33586 (CFLAGS-s_sin-fma.c): Likewise.
33587 (CFLAGS-s_tan-fma.c): Likewise.
33588 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33589 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33590 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33591 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33592 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33593 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33594 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33595 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33596 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33597 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33598 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33599 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33600 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33601 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33602 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33603 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33604 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33605 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33606 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33607 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33608 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33609 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33610 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33611 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33612 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33613 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33614 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33615 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33616 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33617 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33618 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33620 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33622 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33623 (min_of_type_f): New macro.
33624 (min_of_type_): Likewise.
33625 (min_of_type_l): Likewise.
33626 (min_of_type_f128): Likewise.
33627 (min_of_type): Define using __MATH_TG and taking an expression
33629 (math_check_force_underflow): Pass expression instead of type to
33631 (math_check_force_underflow_nonneg): Likewise.
33633 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33635 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33636 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33637 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33639 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33642 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33643 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33644 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33645 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33646 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33647 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33648 memmove_chk-nonshared and memset_chk-nonshared
33649 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33650 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33651 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33652 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33653 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33654 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33655 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33656 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33657 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33658 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33659 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33660 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33661 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33662 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33663 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33664 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33665 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33666 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33667 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33668 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33669 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33670 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33671 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33672 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33673 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33674 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33675 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33676 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33677 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33678 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33679 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33680 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33681 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33682 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33683 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33684 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33685 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33686 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33687 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33688 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33689 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33690 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33691 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33692 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33693 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33694 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33695 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33696 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33697 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33698 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33699 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33700 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33701 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33702 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33703 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33704 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33705 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33706 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33707 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33708 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33709 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33710 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33711 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33712 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33713 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33714 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33715 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33716 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33717 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33718 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33719 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33720 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33721 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33722 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33723 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33724 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33725 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33726 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33727 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33728 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33729 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33730 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33731 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33732 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33733 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33734 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33735 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33736 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33737 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33738 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33739 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33740 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33741 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33742 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33743 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33744 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33745 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33746 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33747 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33748 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33749 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33750 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33751 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33752 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33753 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33754 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33755 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33756 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33758 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33760 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33761 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33762 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33763 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33764 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33765 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33766 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33767 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33768 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33769 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33770 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33771 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33772 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33773 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33774 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33775 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33776 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33777 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33778 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33779 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33780 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33781 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33782 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33783 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33784 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33785 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33786 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33787 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33788 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33789 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33790 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33791 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33792 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33793 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33794 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33795 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33796 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33797 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33798 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33799 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33800 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33801 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33802 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33803 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33804 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33805 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33806 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33807 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33808 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33809 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33810 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33811 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33812 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33813 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33814 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33815 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33816 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33817 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33818 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33820 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33821 Don't include <sysdep.h> nor <init-arch.h>.
33822 (_ZGVbN2v_cos): Removed.
33823 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33825 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33826 Don't include <sysdep.h> nor <init-arch.h>.
33827 (_ZGVdN4v_cos): Removed.
33828 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33830 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33831 Don't include <sysdep.h> nor <init-arch.h>.
33832 (_ZGVeN8v_cos): Removed.
33833 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33835 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33836 Don't include <sysdep.h> nor <init-arch.h>.
33837 (_ZGVbN2v_exp): Removed.
33838 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33840 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33841 Don't include <sysdep.h> nor <init-arch.h>.
33842 (_ZGVdN4v_exp): Removed.
33843 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33845 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33846 Don't include <sysdep.h> nor <init-arch.h>.
33847 (_ZGVeN8v_exp): Removed.
33848 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33850 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33851 Don't include <sysdep.h> nor <init-arch.h>.
33852 (_ZGVbN2v_log): Removed.
33853 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33855 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33856 Don't include <sysdep.h> nor <init-arch.h>.
33857 (_ZGVdN4v_log): Removed.
33858 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33860 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33861 Don't include <sysdep.h> nor <init-arch.h>.
33862 (_ZGVeN8v_log): Removed.
33863 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33865 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33866 Don't include <sysdep.h> nor <init-arch.h>.
33867 (_ZGVbN2vv_pow): Removed.
33868 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33870 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33871 Don't include <sysdep.h> nor <init-arch.h>.
33872 (_ZGVdN4vv_pow): Removed.
33873 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33875 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33876 Don't include <sysdep.h> nor <init-arch.h>.
33877 (_ZGVeN8vv_pow): Removed.
33878 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33880 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33881 Don't include <sysdep.h> nor <init-arch.h>.
33882 (_ZGVbN2v_sin): Removed.
33883 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33885 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33886 Don't include <sysdep.h> nor <init-arch.h>.
33887 (_ZGVbN4v_sin): Removed.
33888 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33890 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33891 Don't include <sysdep.h> nor <init-arch.h>.
33892 (_ZGVbN8v_sin): Removed.
33893 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33896 Don't include <sysdep.h> nor <init-arch.h>.
33897 (_ZGVbN2vvv_sincos): Removed.
33898 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33900 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33901 Don't include <sysdep.h> nor <init-arch.h>.
33902 (_ZGVdN4vvv_sincos): Removed.
33903 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33905 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33906 Don't include <sysdep.h> nor <init-arch.h>.
33907 (_ZGVeN8vvv_sincos): Removed.
33908 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33910 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33911 Don't include <sysdep.h> nor <init-arch.h>.
33912 (_ZGVeN16v_cosf): Removed.
33913 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33915 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33916 Don't include <sysdep.h> nor <init-arch.h>.
33917 (_ZGVbN4v_cosf): Removed.
33918 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33920 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33921 Don't include <sysdep.h> nor <init-arch.h>.
33922 (_ZGVdN8v_cosf): Removed.
33923 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33925 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33926 Don't include <sysdep.h> nor <init-arch.h>.
33927 (_ZGVeN16v_expf): Removed.
33928 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33930 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33931 Don't include <sysdep.h> nor <init-arch.h>.
33932 (_ZGVbN4v_expf): Removed.
33933 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33935 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33936 Don't include <sysdep.h> nor <init-arch.h>.
33937 (_ZGVdN8v_expf): Removed.
33938 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33940 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33941 Don't include <sysdep.h> nor <init-arch.h>.
33942 (_ZGVeN16v_logf): Removed.
33943 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33945 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33946 Don't include <sysdep.h> nor <init-arch.h>.
33947 (_ZGVbN4v_logf): Removed.
33948 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33950 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33951 Don't include <sysdep.h> nor <init-arch.h>.
33952 (_ZGVdN8v_logf): Removed.
33953 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33955 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33956 Don't include <sysdep.h> nor <init-arch.h>.
33957 (_ZGVeN16vv_powf): Removed.
33958 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33960 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33961 Don't include <sysdep.h> nor <init-arch.h>.
33962 (_ZGVbN4vv_powf): Removed.
33963 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33965 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33966 Don't include <sysdep.h> nor <init-arch.h>.
33967 (_ZGVdN8vv_powf): Removed.
33968 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33970 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33971 Don't include <sysdep.h> nor <init-arch.h>.
33972 (_ZGVeN16vvv_sincosf): Removed.
33973 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33975 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33976 Don't include <sysdep.h> nor <init-arch.h>.
33977 (_ZGVbN4vvv_sincosf): Removed.
33978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33980 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33981 Don't include <sysdep.h> nor <init-arch.h>.
33982 (_ZGVdN8vvv_sincosf): Removed.
33983 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33985 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33986 Don't include <sysdep.h> nor <init-arch.h>.
33987 (_ZGVeN16v_sinf): Removed.
33988 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33990 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33991 Don't include <sysdep.h> nor <init-arch.h>.
33992 (_ZGVbN4v_sinf): Removed.
33993 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33995 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33996 Don't include <sysdep.h> nor <init-arch.h>.
33997 (_ZGVdN8v_sinf): Removed.
33999 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34001 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34002 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34003 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34004 s_rint-sse4_1 and s_rintf-sse4_1.
34005 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34006 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34007 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34008 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34009 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34010 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34011 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34012 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34013 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34014 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34015 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34016 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34018 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34019 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34020 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34021 (__ceilf): Removed.
34022 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34023 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34024 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34025 (__floor): Removed.
34026 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34027 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34028 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34029 (__floorf): Removed.
34030 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34031 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34032 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34033 (__nearbyint): Removed.
34034 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34035 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34036 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34037 (__nearbyintf): Removed.
34038 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34039 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34040 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34042 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34043 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34044 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34045 (__rintf): Removed.
34047 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34049 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34050 SHARED. Avoid dynamic relocation against main in static PIE.
34052 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34055 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34056 (LDFLAGS-tst-prelink): Likewise.
34058 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34060 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34061 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34062 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34063 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34064 (INTERNAL_SYSCALL_NCS): Likewise.
34065 (LOADARGS_1): Likewise.
34066 (LOADARGS_5): Likewise.
34067 (RESTOREARGS_1): Likewise.
34068 (RESTOREARGS_5): Likewise.
34070 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34072 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34073 (MEMPCPY_SYMBOL): Likewise.
34074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34075 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34078 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34079 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34081 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34082 (__hidden_ver1): Don't use in libc.a.
34083 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34084 (__mempcpy): Don't create a weak alias in libc.a.
34085 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34087 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34088 (__hidden_ver1): Don't use in libc.a.
34090 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34092 * config.make.in (have-insert): New.
34093 * configure.ac (libc_cv_insert): New. Set to yes if linker
34094 supports INSERT in linker script.
34095 (AC_SUBST(libc_cv_insert): New.
34096 * configure: Regenerated.
34097 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34098 if $(have-insert) == yes.
34100 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34102 * elf/Makefile (tests): Add vismain only if
34103 $(have-protected-data) == yes.
34104 (tests-pie): Likewise.
34106 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34109 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34110 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34112 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34115 * sysdeps/i386/i586/memset.S
34116 (__memset_zero_constant_len_parameter): Removed.
34117 * sysdeps/i386/i686/memset.S
34118 (__memset_zero_constant_len_parameter): Likewise.
34119 * sysdeps/i386/i686/multiarch/memset_chk.S
34120 (__memset_zero_constant_len_parameter): Likewise.
34121 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34124 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34126 * stdlib/getentropy.c (getentropy): Change return type to int.
34128 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34130 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34132 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34134 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34136 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34137 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34139 (ieee_float_shape_type): Likewise.
34140 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34141 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34142 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34143 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34144 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34145 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34146 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34147 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34148 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34150 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34151 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34152 (__ieee754_yn): Likewise.
34153 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34154 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34155 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34157 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34158 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34159 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34160 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34161 (__erfc): Likewise.
34162 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34163 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34164 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34165 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34166 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34167 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34169 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34170 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34171 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34172 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34173 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34174 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34175 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34176 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34177 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34178 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34179 (__issignaling): Likewise.
34180 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34181 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34182 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34184 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34185 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34186 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34187 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34189 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34191 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34192 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34193 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34194 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34195 (__erfcf): Likewise.
34196 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34197 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34198 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34199 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34201 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34202 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34204 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34205 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34206 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34207 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34208 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34209 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34210 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34211 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34213 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34215 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34217 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34218 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34220 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34222 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34223 (__ieee754_ynl): Likewise.
34224 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34225 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34227 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34229 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34230 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34231 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34233 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34234 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34235 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34236 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34237 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34238 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34239 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34240 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34242 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34243 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34244 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34246 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34247 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34248 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34249 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34250 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34251 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34253 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34255 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34257 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34259 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34260 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34261 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34262 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34263 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34264 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34265 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34267 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34269 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34270 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34272 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34273 (__ieee754_remainderl): Likewise.
34274 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34275 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34276 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34277 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34279 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34282 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34283 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34284 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34285 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34286 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34287 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34289 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34290 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34291 (__ieee754_y0l): Likewise.
34294 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34295 (__ieee754_y1l): Likewise.
34298 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34299 (__ieee754_ynl): Likewise.
34300 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34301 (__ieee754_lgammal_r): Likewise.
34302 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34304 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34305 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34306 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34307 (__erfcl): Likewise.
34308 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34309 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34311 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34312 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34313 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34314 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34315 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34316 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34317 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34319 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34320 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34321 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34322 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34323 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34325 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34326 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34328 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34329 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34330 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34331 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34332 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34334 2017-08-03 Florian Weimer <fweimer@redhat.com>
34337 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34338 on memory allocation failure.
34340 2017-08-03 Alan Modra <amodra@gmail.com>
34342 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34343 tst-tlsopt-powerpc.c with function name change and no test harness.
34344 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34345 Call tls_get_addr_opt_test.
34346 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34347 (modules-names): Add mod-tlsopt-powerpc.
34348 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34349 (tst-tlsopt-powerpc): Depend on .so.
34350 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34351 define. Expand use in TLS_GD and TLS_LD.
34353 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34355 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34357 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34359 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34362 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34363 comparing size with that of double.
34364 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34365 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34366 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34367 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34368 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34369 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34370 unsigned __int128 types.
34372 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34374 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34375 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34376 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34377 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34378 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34380 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34382 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34384 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34386 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34388 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34389 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34390 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34391 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34392 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34393 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34394 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34396 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34399 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34400 bit-field expressions passed to sizeof or typeof.
34401 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34402 (__TGMATH_F128): Likewise.
34403 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34404 (__TGMATH_CF128): Likewise.
34405 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34406 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34407 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34408 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34409 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34410 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34411 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34412 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34413 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34414 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34415 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34416 (__TGMATH_UNARY_IMAG): Likewise.
34417 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34418 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34419 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34421 (define_vars_for_type): Handle bit_field type specially.
34422 (Tests.__init__): Declare structure with bit-field element.
34424 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34427 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34428 (MEMCPY_CHK): Define only if SHARED is defined.
34429 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34434 See ChangeLog.18 for earlier changes.