1 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
4 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
5 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6 (__ASSUME_CLONE_BACKWARDS): Define.
8 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
10 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
11 early when linux sentinel value is set.
13 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17 2018-03-27 Andreas Schwab <schwab@suse.de>
20 * resolv/res_send.c (__res_context_send): Return ENOMEM if
21 allocation of private copy of nsaddr_list fails.
23 2018-03-26 Joseph Myers <joseph@codesourcery.com>
26 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
27 * sysdeps/unix/sysv/linux/umount.c: ... here.
28 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
29 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
30 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
31 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
32 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
33 * sysdeps/unix/sysv/linux/umount.S: Likewise.
34 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
36 2018-03-26 Andreas Schwab <schwab@suse.de>
38 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
39 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
40 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
41 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
42 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
43 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
44 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
45 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
46 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
47 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
48 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
49 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
50 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
51 (R_RISCV_NUM): Define.
53 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
55 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
56 TLS declaration of errno.
57 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
59 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
60 (ARCH_SETUP_TLS): Likewise.
61 * sysdeps/mach/hurd/libc-start.h: New file copied from
62 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
63 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
64 instead of __libc_setup_tls.
65 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
66 __libc_setup_tls before initializing libpthread and running _hurd_init
67 which starts the signal thread.
68 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
70 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
72 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
75 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
78 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
79 Max Horn <max@quendi.de>
82 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
84 * string/test-memmove.c (do_test2): New testcase.
86 2018-03-22 Joseph Myers <joseph@codesourcery.com>
88 * sysdeps/generic/frame.h: Remove file.
89 * sysdeps/arm/frame.h: Likewise.
90 * sysdeps/hppa/frame.h: Likewise.
91 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
93 (GET_FRAME): Likewise.
94 (GET_STACK): Likewise.
95 (CALL_SIGHANDLER): Likewise.
96 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
98 (GET_FRAME): Likewise.
99 (GET_STACK): Likewise.
100 (CALL_SIGHANDLER): Likewise.
101 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
102 (SIGCONTEXT_EXTRA_ARGS): Likewise.
103 (GET_FRAME): Likewise.
104 (GET_STACK): Likewise.
105 (CALL_SIGHANDLER): Likewise.
106 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
107 (SIGCONTEXT_EXTRA_ARGS): Likewise.
108 (GET_FRAME): Likewise.
109 (GET_STACK): Likewise.
110 (ADVANCE_STACK_FRAME): Likewise.
111 (CALL_SIGHANDLER): Likewise.
112 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
113 (SIGCONTEXT_EXTRA_ARGS): Likewise.
114 (GET_FRAME): Likewise.
115 (GET_STACK): Likewise.
116 (CALL_SIGHANDLER): Likewise.
117 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
118 (SIGCONTEXT_EXTRA_ARGS): Likewise.
119 (GET_FRAME): Likewise.
120 (GET_STACK): Likewise.
121 (CALL_SIGHANDLER): Likewise.
122 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
123 (SIGCONTEXT_EXTRA_ARGS): Likewise.
124 (GET_FRAME): Likewise.
125 (GET_STACK): Likewise.
126 (CALL_SIGHANDLER): Likewise.
127 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
128 (SIGCONTEXT_EXTRA_ARGS): Likewise.
129 (GET_FRAME): Likewise.
130 (GET_STACK): Likewise.
131 (CALL_SIGHANDLER): Likewise.
132 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
133 (SIGCONTEXT_EXTRA_ARGS): Likewise.
134 (GET_FRAME): Likewise.
135 (GET_STACK): Likewise.
136 (CALL_SIGHANDLER): Likewise.
137 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
138 (SIGCONTEXT_EXTRA_ARGS): Likewise.
139 (GET_FRAME): Likewise.
140 (GET_STACK): Likewise.
141 (CALL_SIGHANDLER): Likewise.
142 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
143 (SIGCONTEXT_EXTRA_ARGS): Likewise.
144 (GET_FRAME): Likewise.
145 (GET_STACK): Likewise.
146 (CALL_SIGHANDLER): Likewise.
147 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
148 (SIGCONTEXT_EXTRA_ARGS): Likewise.
149 (GET_FRAME): Likewise.
150 (GET_STACK): Likewise.
151 (CALL_SIGHANDLER): Likewise.
152 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
153 (SIGCONTEXT_EXTRA_ARGS): Likewise.
154 (GET_FRAME): Likewise.
155 (GET_STACK): Likewise.
156 (CALL_SIGHANDLER): Likewise.
157 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
158 (SIGCONTEXT_EXTRA_ARGS): Likewise.
159 (FIRST_FRAME_POINTER): Likewise.
160 (ADVANCE_STACK_FRAME): Likewise.
161 (GET_STACK): Likewise.
162 (GET_FRAME): Likewise.
163 (CALL_SIGHANDLER): Likewise.
164 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
165 (SIGCONTEXT_EXTRA_ARGS): Likewise.
166 (ADVANCE_STACK_FRAME): Likewise.
167 (GET_STACK): Likewise.
168 (GET_FRAME): Likewise.
169 (CALL_SIGHANDLER): Likewise.
170 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
171 (SIGCONTEXT_EXTRA_ARGS): Likewise.
172 (GET_FRAME): Likewise.
173 (GET_STACK): Likewise.
174 (CALL_SIGHANDLER): Likewise.
175 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
176 (SIGCONTEXT_EXTRA_ARGS): Likewise.
177 (GET_FRAME): Likewise.
178 (GET_STACK): Likewise.
179 (CALL_SIGHANDLER): Likewise.
181 2018-03-21 Joseph Myers <joseph@codesourcery.com>
183 * sysdeps/x86_64/backtrace.c: Move to ....
184 * debug/backtrace.c: ... here.
185 * sysdeps/aarch64/backtrace.c: Remove file.
186 * sysdeps/alpha/backtrace.c: Likewise.
187 * sysdeps/hppa/backtrace.c: Likewise.
188 * sysdeps/ia64/backtrace.c: Likewise.
189 * sysdeps/mips/backtrace.c: Likewise.
190 * sysdeps/nios2/backtrace.c: Likewise.
191 * sysdeps/riscv/backtrace.c: Likewise.
192 * sysdeps/sh/backtrace.c: Likewise.
193 * sysdeps/tile/backtrace.c: Likewise.
195 2018-03-20 Joseph Myers <joseph@codesourcery.com>
198 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
201 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
204 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
205 possibly overflowing computations.
207 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
209 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
210 values from Linux-specific section now that it is in the GNU section.
211 * sysdeps/gnu/errlist.c: Regenerate.
213 2018-03-20 Joseph Myers <joseph@codesourcery.com>
215 * math/Makefile (libm-narrow-fns): Add sub.
216 (libm-test-funcs-narrow): Likewise.
217 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
218 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
219 * math/gen-auto-libm-tests.c (test_functions): Add sub.
220 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
221 (NARROW_SUB_ROUND_TO_ODD): Likewise.
222 (NARROW_SUB_TRIVIAL): Likewise.
223 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
226 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
228 (CFLAGS-nldbl-dsub.c): New variable.
229 (CFLAGS-nldbl-fsub.c): Likewise.
230 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
232 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
234 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
235 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
236 * math/auto-libm-test-in: Add tests of sub.
237 * math/auto-libm-test-out-narrow-sub: New generated file.
238 * math/libm-test-narrow-sub.inc: New file.
239 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
240 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
241 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
242 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
243 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
244 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
245 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
246 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
247 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
248 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
249 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
250 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
251 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
252 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
253 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
254 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
255 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
256 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
258 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
259 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
260 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
261 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
262 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
263 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
264 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
265 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
266 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
267 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
268 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
269 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
270 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
275 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
276 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
277 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
278 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
279 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
280 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
281 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
282 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
283 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
284 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
286 2018-03-19 Joseph Myers <joseph@codesourcery.com>
289 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
291 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
293 * benchtests/bench-timing.h (attribute_hidden): Undefine.
295 2018-03-18 Richard Braun <rbraun@sceen.net>
297 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
300 2018-03-18 Agustina Arzille <avarzille@riseup.net>
302 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
303 (__libc_cleanup_fct): Define function.
304 (__libc_cleanup_region_start, __libc_cleanup_region_end,
305 __libc_cleanup_end): Rewrite implementation using
306 __attribute__ ((__cleanup__)).
307 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
308 * hurd/Makefile (routines): Add hurdlock.
309 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
311 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
312 * hurd/hurdpid.c: Include <lowlevellock.h>
313 (_S_msg_proc_newids): Use lll_wait to synchronize.
314 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
315 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
316 * mach/Makefile (lock-headers): Remove machine-lock.h.
317 * mach/lock-intern.h: Include <lowlevellock.h> instead of
319 (__spin_lock_t): New type.
320 (__SPIN_LOCK_INITIALIZER): New macro.
321 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
322 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
323 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
324 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
325 (__mutex_init): Initialize with lll.
326 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
327 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
329 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
330 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
331 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
332 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
333 (__setpgid): Use lll for synchronization.
334 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
335 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
336 instead of <cthreads.h>.
337 (_IO_lock_inexpensive): New macro
338 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
339 (__libc_lock_self0): New declaration.
340 (__libc_lock_owner_self): New macro.
341 (__libc_key_t): Remove type.
342 (_LIBC_LOCK_INITIALIZER): New macro.
343 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
344 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
345 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
346 __libc_lock_define_initialized_recursive,
347 __rtld_lock_define_initialized_recursive,
348 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
349 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
350 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
351 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
352 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
353 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
354 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
356 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
357 * hurd/hurdlock.c: New file.
358 * hurd/hurdlock.h: New file.
359 * mach/lowlevellock.h: New file
361 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
363 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
364 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
365 when opening a symlink with O_NOFOLLOW.
366 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
367 path when flags contains O_NOFOLLOW.
368 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
369 if flags contains O_DIRECTORY and the result is a directory.
370 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
371 oneself when the pointer given in D is nul (as set by ext2fs).
372 * sysdeps/mach/hurd/mlockall.c: New file.
373 * sysdeps/mach/hurd/munlockall.c: New file.
375 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
377 * hurd/hurdsig.c: Include <pthread.h>.
378 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
379 get the signal thread stack layout.
380 * hurd/Makefile (headers): Remove threadvar.h.
381 (inline-headers): Remove threadvar.h.
382 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
383 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
384 __hurd_threadvar_max, __hurd_errno_location.
385 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
386 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
387 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
388 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
389 unless TLS is not initialized yet, in which case we do not need a
390 critical section yet anyway.
391 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
393 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
395 (__hurd_threadvar_index): Remove enum.
396 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
397 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
399 (__hurd_reply_port0): New variable declaration.
400 (__hurd_local_reply_port): New macro.
401 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
402 (interrupted_reply_port_location): Add thread_t parameter. Use it
403 with THREAD_TCB to access thread-local variables.
404 (_hurdsig_abort_rpcs): Pass ss->thread to
405 interrupted_reply_port_location.
406 (_hurd_internal_post_signal): Likewise.
407 (_hurdsig_init): Use presence of cthread_fork instead of
408 __hurd_threadvar_stack_mask to start signal thread by hand.
409 Remove signal thread threadvar initialization.
410 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
411 * hurd/sigunwind.c: Include <hurd/threadvar.h>
412 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
414 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
416 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
417 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
418 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
419 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
420 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
421 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
422 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
424 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
426 [IS_IN(rtld)] (rtld_errno): New variable.
427 [IS_IN(rtld)] (__errno_location): New weak function.
428 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
429 * sysdeps/mach/hurd/errno.c: Remove file.
430 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
431 (__fork): Remove THREADVAR_SPACE macro and its use.
432 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
434 (init): Do not initialize threadvar.
435 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
437 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
438 __hurd_local_reply_port instead of threadvar.
439 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
440 _hurd_sigstate fields.
441 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
442 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
443 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
444 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
445 instead of threadvar.
446 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
447 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
448 (use_threadvar, global_reply_port): Remove variables.
449 (__hurd_reply_port0): New variable.
450 (__mig_get_reply_port): Use __hurd_local_reply_port and
451 __hurd_reply_port0 instead of threadvar.
452 (__mig_dealloc_reply_port): Likewise.
453 (__mig_init): Do not initialize threadvar.
454 * sysdeps/mach/hurd/profil.c: Fix comment.
455 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
456 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
457 cthread_keycreate, cthread_getspecific, cthread_setspecific to
458 __cthread_fork, __cthread_detach, __pthread_getattr_np,
459 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
460 __cthread_setspecific.
461 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
462 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
463 __cthread_t instead of cthread_fork, cthread_detach,
464 pthread_getattr_np, pthread_attr_getstack.
465 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
467 (cthread_getspecific): Rename to __cthread_getspecific.
468 (cthread_setspecific): Rename to __cthread_setspecific.
469 (__libc_getspecific): Use __cthread_getspecific instead of
471 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
472 __cthread_keycreate instead of cthread_keycreate.
473 (__libc_setspecific): Use __cthread_setspecific instead of
475 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
478 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
479 testing whether it is defined.
481 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
483 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
485 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
486 * sysdeps/mach/i386/thread_state.h
487 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
489 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
491 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
493 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
494 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
496 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
498 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
499 descriptor instead of creating a new one.
500 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
502 * mach/setup-thread.c: Include <ldsodefs.h>.
503 (__mach_setup_thread): Call _dl_allocate_tls, pass
504 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
505 MACHINE_THREAD_STATE_FLAVOR, before getting
506 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
507 MACHINE_THREAD_STATE_FLAVOR with the result.
508 * hurd/hurdfault.c (_hurdsig_fault_init): Call
509 MACHINE_THREAD_STATE_FIX_NEW.
510 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
511 too. Add original thread parameter.
513 2018-03-16 Joseph Myers <joseph@codesourcery.com>
515 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
516 Remove inline function.
518 * sysdeps/i386/fpu/libm-test-ulps: Update.
519 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
521 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
523 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
526 2018-03-15 Joseph Myers <joseph@codesourcery.com>
528 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
529 (__sincos_code): Remove define and undefine.
530 [__FAST_MATH__] (__sincos): Remove inline function.
531 [__FAST_MATH__] (__sincosf): Remove inline function.
532 [__FAST_MATH__] (__sincosl): Remove inline function.
533 (__atan2l): Remove inline functions.
534 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
535 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
537 (floor): Remove inline function.
539 [__FAST_MATH__] (__ldexp_code): Remove macro.
540 [__FAST_MATH__] (ldexp): Remove inline function.
541 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
542 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
543 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
544 [__USE_ISOC99] (__lrint_code): Remove macro.
545 [__USE_ISOC99] (__llrint_code): Likewise.
546 [__USE_ISOC99] (lrintf): Remove inline function.
547 [__USE_ISOC99] (lrint): Likewise.
548 [__USE_ISOC99] (lrintl): Likewise.
549 [__USE_ISOC99] (llrint): Likewise.
550 [__USE_ISOC99] (llrintf): Likewise.
551 [__USE_ISOC99] (llrintl): Likewise.
553 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
555 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
556 (__ieee754_sqrtf): Remove.
557 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
558 (__ieee754_sqrtf): Remove.
559 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
560 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
561 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
562 (__ieee754_sqrtf): Remove.
563 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
564 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
567 (__ieee754_sqrt): Remove.
568 (__ieee754_sqrtf): Remove.
569 (__ieee754_sqrtl): Remove.
570 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
571 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
572 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
573 (__ieee754_sqrtf): Remove.
574 (__ieee754_sqrtl): Remove.
576 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
578 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
579 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
580 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
581 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
582 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
583 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
584 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
585 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
587 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
588 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
589 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
590 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
591 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
592 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
593 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
594 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
595 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
596 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
597 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
598 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
599 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
600 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
601 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
602 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
603 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
604 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
605 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
609 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
610 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
611 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
612 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
616 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
617 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
619 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
620 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
621 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
623 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
624 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
625 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
626 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
628 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
630 * include/math.h (sqrt): Declare with asm redirect.
633 (sqrtf128): Likewise.
634 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
635 nonlib and libnldbl with -fmath-errno.
636 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
637 * math/w_sqrt_template.c: Likewise.
638 * math/w_sqrtf_compat.c: Likewise.
639 * math/w_sqrtl_compat.c: Likewise.
640 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
641 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
642 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
645 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
647 * benchtests/Makefile: Define _ISOMAC.
648 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
649 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
650 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
651 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
652 * benchtests/bench-timing.h: Define attribute_hidden.
654 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
656 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
659 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
662 * localedata/locales/cs_CZ (mon): Rename to...
664 (mon): Import from CLDR (genitive case).
666 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
669 * localedata/locales/el_CY (abmon): Rename to...
671 (abmon): Import from CLDR (abbreviated genitive case).
672 * localedata/locales/el_GR (abmon): Rename to...
674 (abmon): Import from CLDR (abbreviated genitive case).
676 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
679 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
681 2018-03-15 Robert Buj <robert.buj@gmail.com>
684 * localedata/locales/ca_ES (abmon): Rename to...
685 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
688 (abmon): Import from CLDR (genitive case, month names preceded by
691 (abday): Synchronize with CLDR.
696 (LC_TIME): Improve indentation.
697 (LC_TELEPHONE): Likewise.
699 (LC_ADDRESS): Likewise.
701 2018-03-14 Joseph Myers <joseph@codesourcery.com>
703 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
704 (lrintf): Remove definitions used only with old GCC.
705 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
706 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
707 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
708 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
709 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
710 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
711 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
712 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
713 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
714 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
715 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
716 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
717 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
718 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
719 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
720 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
721 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
722 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
723 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
724 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
725 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
726 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
727 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
728 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
729 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
730 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
731 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
732 [__FAST_MATH__] (__M_SQRT2): Remove macro.
734 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
736 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
737 instruction to unbreak builds with binutils 2.26 and older.
739 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
741 * sysdeps/aarch64/strncmp.S (count): New macro.
742 (strncmp): Store misaligned length in SRC1 in COUNT.
743 (mutual_align): Adjust.
744 (misaligned8): Load dword at a time when it is safe.
746 2018-03-12 Zack Weinberg <zackw@panix.com>
750 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
751 if the _IO_EOF_SEEN bit is already set; update commentary.
752 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
753 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
755 * support/support_openpty.c, support/tty.h: New files.
756 * support/Makefile (libsupport-routines): Add support_openpty.
758 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
760 * libio/Makefile (tests): Add tst-fgetc-after-eof.
761 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
763 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
765 * po/pt_BR.po: Update translations.
767 2018-03-12 David Michael <fedora.dm0@gmail.com>
769 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
770 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
771 get a port to the startup server.
773 2018-03-11 Zack Weinberg <zackw@panix.com>
775 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
776 before nldbl-compat.h.
778 2018-03-10 Zack Weinberg <zackw@panix.com>
780 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
781 math.h or math_private.h.
783 * sysdeps/alpha/fpu/s_isnan.c
784 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
785 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
786 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
787 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
788 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
789 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
790 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
791 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
792 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
795 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
798 Include math_private.h.
800 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
801 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
802 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
803 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
804 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
805 * sysdeps/powerpc/power7/fpu/s_logb.c:
806 Include math.h and math_private.h.
808 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
809 uses of $at in .set noat / .set at.
811 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
813 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
814 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
815 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
816 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
819 2018-03-09 Florian Weimer <fweimer@redhat.com>
821 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
824 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
827 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
828 Add nop before __startcontext, add explaining comments.
830 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
833 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
835 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
836 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
837 Do not build hardware transactional code for __SPE__.
838 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
839 (__lll_trylock_elision): Likewise.
840 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
841 (__lll_unlock_elision): Likewise.
843 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
844 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
845 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
846 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
847 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
848 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
849 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
850 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
851 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
852 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
853 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
854 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
856 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
857 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
858 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
859 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
860 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
861 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
862 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
863 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
864 * sysdeps/unix/sysv/linux/arm/kernel-features.h
865 (__ASSUME_CLONE_BACKWARDS): Define.
866 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
867 __clone2 if __NR_clone2 is defined.
868 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
869 (__ASSUME_CLONE_BACKWARDS): Likewise.
870 * sysdeps/unix/sysv/linux/i386/kernel-features.h
871 (__ASSUME_CLONE_BACKWARDS): Likewise.
872 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
873 (__ASSUME_CLONE2): Likewise.
874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
875 (__ASSUME_CLONE_BACKWARDS3): Likewise.
876 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
877 variants and the define architecture can use.
878 (__ASSUME_CLONE_DEFAULT): Define as default.
879 * sysdeps/unix/sysv/linux/mips/kernel-features.h
880 (__ASSUME_CLONE_BACKWARDS): Likewise.
881 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
882 (__ASSUME_CLONE_BACKWARDS): Likewise.
883 * sysdeps/unix/sysv/linux/s390/kernel-features.h
884 (__ASSUME_CLONE_BACKWARDS2): Likewise.
886 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
888 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
890 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
893 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
894 (do_test_limit): Likewise.
896 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
897 for every implementation.
900 * benchtests/bench-strncmp.c: Convert output to json.
902 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
904 * io/futimens.c: Add missing start-of-file descriptive comment.
905 * io/utime.c: Likewise.
906 * misc/futimesat.c: Likewise.
907 * misc/utimes.c: Likewise.
908 * sysdeps/mach/hurd/futimesat.c: Likewise.
909 * sysdeps/mach/hurd/utimes.c: Likewise.
910 * sysdeps/posix/utime.c: Likewise.
911 * sysdeps/posix/utimes.c: Likewise.
912 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
913 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
914 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
915 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
917 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
919 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
921 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
922 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
923 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
924 (__futimens): Move implementation to...
925 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
926 utime_tvalue_from_tspec): ... new helper functions.
927 (hurd_futimens): New function.
928 * sysdeps/mach/hurd/futimesat.c: New file.
929 * sysdeps/mach/hurd/utimensat.c: New file.
931 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
933 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
934 UTIME_OMIT): New macros.
935 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
936 before reverting to converting time spec to time value and calling
938 * sysdeps/mach/hurd/utime-helper.c: New file.
939 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
940 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
941 reverting to utime_tvalue_from_tval and __file_utimes.
942 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
943 (__lutimes): Just call hurd_futimens after lookup.
944 * sysdeps/mach/hurd/utimes.c: Likewise.
946 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
948 * bits/sigaction.h: Add include guard.
949 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
950 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
951 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
952 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
953 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
954 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
955 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
956 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
957 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
959 2018-03-05 Joseph Myers <joseph@codesourcery.com>
961 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
962 -Wmaybe-uninitialized for -Os.
963 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
966 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
968 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
969 __INO_T_MATCHES_INO64_T is defined.
970 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
971 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
973 * dirent/alphasort64.c: Likewise.
974 * dirent/scandir.c: Likewise.
975 * dirent/scandir64-tail.c: Likewise.
976 * dirent/scandir64.c: Likewise.
977 * dirent/scandirat.c: Likewise.
978 * dirent/scandirat64.c: Likewise.
979 * dirent/versionsort.c: Likewise.
980 * dirent/versionsort64.c: Likewise.
981 * include/dirent.h: Likewise.
983 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
984 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
985 for socketpair endpoint.
986 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
987 WRITE_BUFFER_SIZE as buffer size for sending socket.
988 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
989 issue on system where send is implemented with sendto syscall.
990 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
991 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
992 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
993 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
996 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
997 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
998 sa_restorer for vDSO case.
999 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
1001 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1003 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
1004 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
1005 * hurd/hurd/ioctl.h: Include <mach/port.h>
1006 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
1007 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
1008 <mach/mach_types.h> and <mach/message.h>.
1009 (headers): Move mach/param.h to bits/mach/param.h.
1010 * sysdeps/mach/i386/mach/param.h: Move file to ...
1011 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
1012 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
1014 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
1015 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
1016 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
1017 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
1018 trivial, for C++ conformity.
1019 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
1020 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
1021 Process mig output through $(migheadersed).
1022 * hurd/Makefile (migheadersed): Define variable.
1023 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
1024 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
1026 * hurd/hurd.h: Include <bits/types/sigset_t.h>
1027 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
1028 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
1029 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
1030 <bits/types/sigset_t.h>.
1031 [!defined __USE_GNU]: Do not #error out.
1032 (struct hurd_sigstate): Use _NSIG instead of NSIG.
1033 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
1034 Include <stddef.h> and <bits/types/sigset_t.h>
1035 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
1036 instead of sighandler_t.
1037 * stdlib/errno.h (error_t): Move definition to...
1038 * bits/types/error_t.h: ... new header.
1039 * stdlib/Makefile (headers): Add bits/types/error_t.h.
1040 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
1041 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
1042 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
1043 * hurd/hurd.h: Include <bits/types/error_t.h>
1044 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
1045 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
1046 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
1047 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
1048 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
1049 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
1050 * sysdeps/mach/hurd/futimens.c: New file.
1052 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
1055 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
1056 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
1057 * nscd/gai.c (__nss_hosts_database): Readd definition.
1058 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
1059 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
1060 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
1062 2018-03-02 Joseph Myers <joseph@codesourcery.com>
1064 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
1065 (ifunc_one): Likewise.
1067 2018-03-01 DJ Delorie <dj@delorie.com>
1070 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
1073 2018-03-01 Maciej W. Rozycki <macro@mips.com>
1075 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
1076 `match_pid' parameter.
1077 (td_ta_thr_iter): Update accordingly.
1079 2018-03-01 Florian Weimer <fweimer@redhat.com>
1081 * nptl/Makefile (install-lib-ldscripts): Remove.
1082 (install): Remove rule.
1083 ($(inst_libdir)/libpthread.so): Likewise.
1085 2018-03-01 Mike FABIAN <mfabian@redhat.com>
1088 * localedata/locales/an_ES: update month and day names,
1089 improve d_fmt, improve postal_fmt, add country_post,
1092 2018-03-01 Mike FABIAN <mfabian@redhat.com>
1094 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
1095 Ukrainian instead of Bulgarian.
1097 2018-03-01 Florian Weimer <fweimer@redhat.com>
1099 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
1102 2018-03-01 Florian Weimer <fweimer@redhat.com>
1104 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
1105 * nptl/Makefile (routines): Add pthread_atfork.
1106 (static-only-routines): Set to pthread_atfork.
1107 (libpthread-routines): Remove pthread_atfork.
1108 (libpthread-static-only-routines): Remove.
1109 (install): Update comment.
1110 (libpthread.so): Do not install libpthread_nonshared.a.
1111 (tests): Do not link with libpthread_nonshared.a.
1112 (generated): Remove libpthread_nonshared.a.
1113 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
1114 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
1115 with libpthread_nonshared.a.
1117 2018-02-28 Joseph Myers <joseph@codesourcery.com>
1120 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
1121 (libc_feholdexcept_setroundf128): New macro.
1122 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
1125 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
1127 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
1128 * include/inttypes.h: New file.
1130 2018-02-27 Joseph Myers <joseph@codesourcery.com>
1132 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
1133 -Os in two more places.
1135 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1137 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
1138 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
1139 be sorted correctly at the moment because of a bug.
1141 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1143 [BZ #22550] - es_ES locale (and other es_* locales): collation should
1144 treat ñ as a primary different character, sync the collation
1145 for Spanish with CLDR.
1146 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
1147 * localedata/Makefile: Add new test files.
1148 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
1149 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
1151 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
1152 * localedata/am_ET.UTF-8.in: New test file.
1153 * localedata/az_AZ.UTF-8.in: Likewise.
1154 * localedata/be_BY.UTF-8.in: Likewise.
1155 * localedata/ber_DZ.UTF-8.in: Likewise.
1156 * localedata/ber_MA.UTF-8.in: Likewise.
1157 * localedata/bg_BG.UTF-8.in: Likewise.
1158 * localedata/br_FR.UTF-8.in: Likewise.
1159 * localedata/cmn_TW.UTF-8.in: Likewise.
1160 * localedata/crh_UA.UTF-8.in: Likewise.
1161 * localedata/csb_PL.UTF-8.in: Likewise.
1162 * localedata/cv_RU.UTF-8.in: Likewise.
1163 * localedata/cy_GB.UTF-8.in: Likewise.
1164 * localedata/dz_BT.UTF-8.in: Likewise.
1165 * localedata/eo.UTF-8.in: Likewise.
1166 * localedata/es_ES.UTF-8.in: Likewise.
1167 * localedata/fa_IR.UTF-8.in: Likewise.
1168 * localedata/fi_FI.UTF-8.in: Likewise.
1169 * localedata/fil_PH.UTF-8.in: Likewise.
1170 * localedata/fur_IT.UTF-8.in: Likewise.
1171 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
1172 * localedata/ha_NG.UTF-8.in: Likewise.
1173 * localedata/ig_NG.UTF-8.in: Likewise.
1174 * localedata/ik_CA.UTF-8.in: Likewise.
1175 * localedata/kk_KZ.UTF-8.in: Likewise.
1176 * localedata/ku_TR.UTF-8.in: Likewise.
1177 * localedata/ky_KG.UTF-8.in: Likewise.
1178 * localedata/ln_CD.UTF-8.in: Likewise.
1179 * localedata/mi_NZ.UTF-8.in: Likewise.
1180 * localedata/ml_IN.UTF-8.in: Likewise.
1181 * localedata/mn_MN.UTF-8.in: Likewise.
1182 * localedata/mr_IN.UTF-8.in: Likewise.
1183 * localedata/mt_MT.UTF-8.in: Likewise.
1184 * localedata/nb_NO.UTF-8.in: Likewise.
1185 * localedata/om_KE.UTF-8.in: Likewise.
1186 * localedata/os_RU.UTF-8.in: Likewise.
1187 * localedata/ps_AF.UTF-8.in: Likewise.
1188 * localedata/ro_RO.UTF-8.in: Likewise.
1189 * localedata/ru_RU.UTF-8.in: Likewise.
1190 * localedata/sc_IT.UTF-8.in: Likewise.
1191 * localedata/se_NO.UTF-8.in: Likewise.
1192 * localedata/sq_AL.UTF-8.in: Likewise.
1193 * localedata/sv_SE.UTF-8.in: Likewise.
1194 * localedata/szl_PL.UTF-8.in: Likewise.
1195 * localedata/tg_TJ.UTF-8.in: Likewise.
1196 * localedata/tk_TM.UTF-8.in: Likewise.
1197 * localedata/tt_RU.UTF-8.in: Likewise.
1198 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
1199 * localedata/ug_CN.UTF-8.in: Likewise.
1200 * localedata/uz_UZ.UTF-8.in: Likewise.
1201 * localedata/vi_VN.UTF-8.in: Likewise.
1202 * localedata/yi_US.UTF-8.in: Likewise.
1203 * localedata/yo_NG.UTF-8.in: Likewise.
1204 * localedata/zh_CN.UTF-8.in: Likewise.
1205 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
1206 file and fix bugs in the collation.
1207 * localedata/locales/az_AZ: Likewise.
1208 * localedata/locales/be_BY: Likewise.
1209 * localedata/locales/ber_DZ: Likewise.
1210 * localedata/locales/ber_MA: Likewise.
1211 * localedata/locales/bg_BG: Likewise.
1212 * localedata/locales/br_FR: Likewise.
1213 * localedata/locales/br_FR@euro: Likewise.
1214 * localedata/locales/ca_ES: Likewise.
1215 * localedata/locales/cns11643_stroke: Likewise.
1216 * localedata/locales/crh_UA: Likewise.
1217 * localedata/locales/cs_CZ: Likewise.
1218 * localedata/locales/csb_PL: Likewise.
1219 * localedata/locales/cv_RU: Likewise.
1220 * localedata/locales/cy_GB: Likewise.
1221 * localedata/locales/da_DK: Likewise.
1222 * localedata/locales/dz_BT: Likewise.
1223 * localedata/locales/en_CA: Likewise.
1224 * localedata/locales/eo: Likewise.
1225 * localedata/locales/es_CU: Likewise.
1226 * localedata/locales/es_EC: Likewise.
1227 * localedata/locales/es_ES: Likewise.
1228 * localedata/locales/es_US: Likewise.
1229 * localedata/locales/et_EE: Likewise.
1230 * localedata/locales/fa_IR: Likewise.
1231 * localedata/locales/fi_FI: Likewise.
1232 * localedata/locales/fil_PH: Likewise.
1233 * localedata/locales/fur_IT: Likewise.
1234 * localedata/locales/gez_ER@abegede: Likewise.
1235 * localedata/locales/ha_NG: Likewise.
1236 * localedata/locales/hr_HR: Likewise.
1237 * localedata/locales/hsb_DE: Likewise.
1238 * localedata/locales/hu_HU: Likewise.
1239 * localedata/locales/ig_NG: Likewise.
1240 * localedata/locales/ik_CA: Likewise.
1241 * localedata/locales/is_IS: Likewise.
1242 * localedata/locales/iso14651_t1_pinyin: Likewise.
1243 * localedata/locales/kk_KZ: Likewise.
1244 * localedata/locales/ku_TR: Likewise.
1245 * localedata/locales/ky_KG: Likewise.
1246 * localedata/locales/ln_CD: Likewise.
1247 * localedata/locales/lt_LT: Likewise.
1248 * localedata/locales/lv_LV: Likewise.
1249 * localedata/locales/mi_NZ: Likewise.
1250 * localedata/locales/ml_IN: Likewise.
1251 * localedata/locales/mn_MN: Likewise.
1252 * localedata/locales/mr_IN: Likewise.
1253 * localedata/locales/mt_MT: Likewise.
1254 * localedata/locales/nb_NO: Likewise.
1255 * localedata/locales/om_KE: Likewise.
1256 * localedata/locales/os_RU: Likewise.
1257 * localedata/locales/pl_PL: Likewise.
1258 * localedata/locales/ps_AF: Likewise.
1259 * localedata/locales/ro_RO: Likewise.
1260 * localedata/locales/ru_RU: Likewise.
1261 * localedata/locales/ru_UA: Likewise.
1262 * localedata/locales/sc_IT: Likewise.
1263 * localedata/locales/se_NO: Likewise.
1264 * localedata/locales/si_LK: Likewise.
1265 * localedata/locales/sq_AL: Likewise.
1266 * localedata/locales/sv_FI: Likewise.
1267 * localedata/locales/sv_FI@euro: Likewise.
1268 * localedata/locales/sv_SE: Likewise.
1269 * localedata/locales/szl_PL: Likewise.
1270 * localedata/locales/tg_TJ: Likewise.
1271 * localedata/locales/ti_ER: Likewise.
1272 * localedata/locales/tk_TM: Likewise.
1273 * localedata/locales/tl_PH: Likewise.
1274 * localedata/locales/tr_TR: Likewise.
1275 * localedata/locales/tt_RU: Likewise.
1276 * localedata/locales/tt_RU@iqtelif: Likewise.
1277 * localedata/locales/ug_CN: Likewise.
1278 * localedata/locales/uk_UA: Likewise.
1279 * localedata/locales/uz_UZ: Likewise.
1280 * localedata/locales/uz_UZ@cyrillic: Likewise.
1281 * localedata/locales/vi_VN: Likewise.
1282 * localedata/locales/yi_US: Likewise.
1283 * localedata/locales/yo_NG: Likewise.
1285 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1287 * gen-locales.mk: Make test files which contain @ modifiers in their
1289 * localedata/gen-locale.sh: Likewise.
1291 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1293 * posix/tst-fnmatch.input: Fix results for range expressions
1295 * posix/tst-regexloc.c: Do not use a range expression for
1296 de_DE.ISO-8859-1 locale.
1298 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1300 * posix/bug-regex5.c: Fix test case because with the new
1301 iso14651_t1_common file, the da_DK locale now has 6 collating elements
1302 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
1305 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1307 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
1308 downloaded from ISO, the collation order of @-. and space has changed.
1309 Therefore, this test file needed to be adapted.
1310 * localedata/fr_CA.UTF-8.in: Likewise.
1311 * localedata/fr_FR.UTF-8.in: Likewise.
1312 * localedata/uk_UA.UTF-8.in: Likewise.
1314 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1316 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
1317 order of ȥ in the new iso14651_t1_common file.
1318 * localedata/pl_PL.UTF-8.in: Likewise.
1320 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1322 * localedata/locales/iso14651_t1_common: Add sections for various
1323 scripts to the iso14651_t1_common file.
1325 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1327 * localedata/locales/iso14651_t1_common: Use the code point of a
1328 character in the fourth collation level instead of IGNORE for all
1329 entries which have IGNORE on all 4 levels.
1331 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1333 * localedata/locales/iso14651_t1_common: Add some convenient collation
1334 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
1335 rules similar to those in CLDR.
1337 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1339 * localedata/locales/iso14651_t1_common: The new version of this
1340 file downloaded from ISO contained several syntax errors which
1341 are fixed by this patch.
1343 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1345 * localedata/locales/iso14651_t1_common: replace all <U.....>
1346 with <U000.....> because glibc understands only 4 digit or 8 digit
1348 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1350 * localedata/locales/iso14651_t1_common: Necessary changes
1351 to make the file downloaded from ISO usable by glibc.
1353 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1356 * localedata/locales/iso14651_t1_common: Update file to
1357 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
1359 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1361 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
1362 of <nptl/pthreadP.h>
1363 (thread_attr_compare): Move function to...
1364 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
1365 * sysdeps/nptl/timer_routines.h: ... new header.
1366 * sysdeps/mach/hurd/gai_misc.h: New file.
1368 2018-02-26 Joseph Myers <joseph@codesourcery.com>
1370 * string/strcoll_l.c: Include <libc-diag.h>.
1371 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
1372 declarations of seq1 and seq2.
1375 * stdlib/atoi.c (atoi): Use libc_hidden_def.
1376 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
1378 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
1382 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
1383 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
1384 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
1385 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
1386 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
1387 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
1389 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1391 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
1392 macros used in __ptrace_request.
1394 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
1397 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
1399 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
1400 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
1401 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
1404 2018-02-23 Joseph Myers <joseph@codesourcery.com>
1407 * ctype/ctype.c (tolower): Use libc_hidden_def.
1408 (toupper): Likewise.
1409 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
1410 [!_ISOMAC] (toupper): Likewise.
1412 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1414 * localedata/Makefile: Remove --quiet argument when
1417 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1420 * localedata/locales/pt_BR (LC_TIME): use / instead of -
1422 * localedata/locales/pt_PT (LC_TIME): likewise
1424 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1427 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
1428 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
1429 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
1431 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1435 * nptl/Makefile (routines): Remove unregister-atfork.
1436 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
1437 (fork_handler_alloc): Remove function.
1438 (fork_handlers, fork_handler_init): New variables.
1439 (__fork_lock): Rename to atfork_lock.
1440 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
1441 to use a dynamic array to add/remove atfork handlers.
1442 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1443 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
1445 (fork_handler): Remove next, refcntr, and need_signal member.
1446 (__run_fork_handler_type): New enum.
1447 (__run_fork_handlers): New prototype.
1448 * nptl/register-atfork.c: Remove file.
1449 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
1451 * sysdeps/nptl/nptl-signals.h: Move to ...
1452 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
1454 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
1455 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
1456 unnecessary check for SIGTIMER.
1457 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
1458 remove unnecessary removal of SIGTIMER.
1459 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
1460 include-signals.h rename.
1461 * nptl/pthreadP.h: Likewise.
1462 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
1463 __is_internal_signal instead of __nptl_is_internal_signal.
1465 2018-02-22 Andrew Waterman <andrew@sifive.com>
1468 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
1469 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
1470 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
1471 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
1473 2018-02-22 DJ Delorie <dj@delorie.com>
1475 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
1477 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1479 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
1480 do_misaligned, not misaligned8.
1482 2018-02-22 Steve Ellcey <sellcey@cavium.com>
1484 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1485 Add memcpy_thunderx2.
1486 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
1488 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
1489 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
1490 and IS_THUNDERX2PA checks.
1491 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
1492 Use macro to set name appropriately.
1493 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
1494 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
1495 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
1497 (IS_THUNDERX2): New macro.
1499 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
1501 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1503 2018-02-21 Zack Weinberg <zackw@panix.com>
1505 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
1506 Define here, unconditionally.
1507 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
1508 * libio/libioP.h: Remove #if 0 blocks.
1509 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
1510 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
1511 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
1513 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
1514 Assume weak_alias is always defined.
1516 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
1517 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
1518 Remove #if 0 and #ifdef TODO blocks.
1519 Assume text_set_element is always defined.
1521 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
1522 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
1523 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
1525 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
1526 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
1527 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
1528 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
1529 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
1530 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
1531 Reformat bit flags for _flags field to make occupancy clearer.
1533 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
1534 Keep definitions consistent with those in libio/libio.h.
1536 * libio/libio.h (_IO_file_flags): Remove macro.
1537 All uses changed to _flags.
1539 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
1540 (__HAVE_COLUMN, _IO_BE): Don't define.
1541 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
1542 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
1543 * libio/libioP.h (EOF): Don't define.
1544 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
1545 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
1546 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
1547 testing _IO_UNIFIED_JUMPTABLES.
1549 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
1550 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
1551 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
1552 (_IO_size_t): Delete; all uses changed to size_t.
1553 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
1554 (_IO_off_t): Delete; all uses changed to off_t.
1555 (_IO_off64_t): Delete; all uses changed to off64_t.
1556 (_IO_pid_t): Delete; all uses changed to pid_t.
1557 (_IO_uid_t): Delete; all uses changed to uid_t.
1558 (_IO_wint_t): Delete; all uses changed to wint_t.
1559 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
1560 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
1561 (_IO_cookie_io_functions_t): Delete; all uses changed to
1562 cookie_io_functions_t.
1563 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
1564 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
1565 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
1566 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
1568 * libio/iofopncook.c: Remove unnecessary forward declarations.
1569 * libio/iolibio.h: Correct outdated commentary.
1570 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
1571 * stdio-common/fxprintf.c (__fxprintf_nocancel):
1572 Remove unnecessary casts.
1573 * stdio-common/getline.c: Use _IO_getdelim directly.
1574 Don't redefine ssize_t.
1575 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
1576 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
1577 Remove outdated comments.
1578 * stdio-common/vfscanf.c: Don't redefine va_list.
1580 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
1581 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
1582 Remove preprocessor conditionals on _LIBC and __USE_GNU,
1583 which are always true, and __cplusplus, which is always false.
1585 2018-02-21 Joseph Myers <joseph@codesourcery.com>
1589 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
1590 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
1591 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
1592 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
1594 [!_ISOMAC] (putc_unlocked): Likewise.
1595 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
1596 define inline if [__USE_EXTERN_INLINES].
1597 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
1602 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
1603 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
1604 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
1605 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
1606 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
1608 * time/tzfile.c (__tzfile_read): Likewise.
1610 2018-02-21 Mike FABIAN <mfabian@redhat.com>
1613 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
1615 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
1617 * io/fcntl.h: Fix a typo in a comment.
1619 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
1622 * include/features.h: Add _ISOC11_SOURCE to test for whether to
1623 define _DEFAULT_SOURCE.
1624 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
1626 2018-02-21 Florian Weimer <fweimer@redhat.com>
1629 * elf/cache.c (save_cache): Call fsync on temporary file before
1631 (save_aux_cache): Call fdatasync on temporary file before renaming
1634 2018-02-21 Florian Weimer <fweimer@redhat.com>
1637 * include/caller.h: Remove file.
1638 * elf/dl-caller.c: Likewise.
1639 * elf/Makefile (dl-routines): Remove dl-caller.
1640 (shared-only-routines): Do not add dl-caller.
1641 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
1643 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
1645 (dl_open_worker): Do not call __check_caller.
1646 (_dl_open): Do not set caller_dl_open member.
1647 * elf/rtld.c (_rtld_global_ro): Do not initialize
1648 _dl_check_caller member.
1649 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
1650 _dl_check_caller member.
1651 (_dl_check_caller): Remove declaration.
1652 * sysdeps/unix/sysv/linux/dl-execstack.c
1653 (_dl_make_stack_executable): Do not call __check_caller.
1655 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
1657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
1658 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
1660 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
1662 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
1665 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
1668 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
1669 of 199606L, 200112L, and 200809L.
1670 (_XOPEN_SOURCE): Document special values of 600 and 700.
1671 (_ISOC11_SOURCE): Document macro.
1672 (_ATFILE_SOURCE): Likewise.
1673 (_FORTIFY_SOURCE): Likewise.
1675 2018-02-19 Joseph Myers <joseph@codesourcery.com>
1679 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
1680 and define as weak alias of __ferror_unlocked. Use
1682 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
1684 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
1685 function if [__USE_EXTERN_INLINES].
1686 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
1689 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
1692 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
1694 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
1697 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
1698 the GLIBC_2.1 version.
1700 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
1703 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
1704 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
1705 intl/tst-gettext-de.po from po/de.po by removing the
1706 POT-Creation-Date line.
1707 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
1709 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
1712 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
1714 * mach/Makefile (headers): Add mach/param.h.
1715 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
1716 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
1717 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
1718 (__ptsname_r): Move implementation to...
1719 (__ptsname_internal): ... new function. Add filling the STP
1722 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
1724 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
1727 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
1729 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
1732 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1734 * nptl/Makefile (tst-mutex8-ENV): Delete.
1735 * nptl/tst-mutex8.c (check_type):
1736 Add runtime check if mutex will be elided.
1738 2018-02-15 Joseph Myers <joseph@codesourcery.com>
1742 * manual/install.texi (Configuring and compiling): Describe
1743 passing CC and CFLAGS on configure command line, not as
1744 environment variables. Use @code markup on those variables.
1745 Specify what options go in CC and what go in CFLAGS. Note the
1746 requirement to compile with optimization.
1747 * INSTALL: Regenerated.
1750 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
1751 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
1752 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
1753 __sigprocmask instead of sigprocmask.
1754 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
1756 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
1757 __sigsetjmp and sigprocmask.
1760 * include/argz.h (argz_next): Use libc_hidden_proto.
1761 (__argz_next): Likewise.
1762 * string-argz-next.c (__argz_next): Use libc_hidden_def.
1763 (argz_next): Use libc_hidden_weak.
1766 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
1768 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
1772 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
1774 * libio/iofputs.c (fputs): Use libc_hidden_weak.
1778 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
1779 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
1780 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
1781 (__feof_unlocked): New declaration, and inline function if
1782 [__USE_EXTERN_INLINES].
1783 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
1784 instead of feof_unlocked.
1785 * intl/localealias.c [_LIBC] (FEOF): Likewise.
1786 * nss/nsswitch.c (nss_parse_file): Likewise.
1787 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
1789 * time/getdate.c (__getdate_r): Likewise.
1790 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
1791 Define as macro to call __feof_unlocked.
1793 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
1795 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
1797 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
1799 * math/Makefile: Remove mpexp.c and mplog.c
1800 * sysdeps/i386/fpu/mpexp.c: Delete file.
1801 * sysdeps/i386/fpu/mplog.c: Likewise.
1802 * sysdeps/ia64/fpu/mpexp.c: Likewise.
1803 * sysdeps/ia64/fpu/mplog.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
1805 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
1806 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
1807 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1808 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
1809 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
1810 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
1811 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
1812 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
1813 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1814 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
1815 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
1816 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1817 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
1818 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
1819 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1821 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1823 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1825 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1827 * sysdeps/sh/libm-test-ulps: Update.
1829 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1831 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
1834 2018-02-12 Zack Weinberg <zackw@panix.com>
1837 * posix/sys/types.h: Don't include sys/sysmacros.h.
1838 * misc/sys/sysmacros.h: Remove the conditional deprecation
1839 warnings for the macros defined by this header.
1841 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
1843 * manual/probes.texi: Remove slowexp probes.
1844 * math/Makefile: Remove slowexp.
1845 * sysdeps/generic/math_private.h (__slowexp): Remove.
1846 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
1847 document error bounds.
1848 * sysdeps/i386/fpu/slowexp.c: Remove.
1849 * sysdeps/ia64/fpu/slowexp.c: Remove.
1850 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
1851 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
1852 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
1853 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
1854 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
1855 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
1856 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
1857 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
1858 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
1859 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
1860 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
1862 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1865 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
1866 * benchtests/pow-inputs: Update comment for slow path cases.
1867 * manual/probes.texi (slowpow_p10): Delete removed probe.
1868 (slowpow_p10): Likewise.
1869 * math/Makefile: Remove halfulp.c and slowpow.c.
1870 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
1871 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
1872 (__halfulp): Remove.
1873 (__slowpow): Remove.
1874 * sysdeps/i386/fpu/halfulp.c: Delete file.
1875 * sysdeps/i386/fpu/slowpow.c: Likewise.
1876 * sysdeps/ia64/fpu/halfulp.c: Likewise.
1877 * sysdeps/ia64/fpu/slowpow.c: Likewise.
1878 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
1879 improve comments and add error analysis.
1880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
1881 (power1): Remove function:
1882 (log1): Remove error argument, add error analysis.
1883 (my_log2): Remove function.
1884 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
1885 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1886 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
1887 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
1888 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
1889 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
1890 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
1891 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
1892 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
1893 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
1894 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
1895 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1896 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
1897 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1899 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1901 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
1902 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
1904 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
1907 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
1908 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
1909 and PTRACE_SETHBPREGS.
1911 2018-02-10 Zack Weinberg <zackw@panix.com>
1914 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
1916 * malloc/tst-malloc-stats-cancellation.c: New test case.
1917 * malloc/Makefile: Add new test case.
1919 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
1921 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
1923 2018-02-10 Joseph Myers <joseph@codesourcery.com>
1925 * math/Makefile (libm-narrow-fns): Add add.
1926 (libm-test-funcs-narrow): Likewise.
1927 * math/Versions (GLIBC_2.28): Add narrowing add functions.
1928 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
1929 * math/gen-auto-libm-tests.c (test_functions): Add add.
1930 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
1931 (NARROW_ADD_ROUND_TO_ODD): Likewise.
1932 (NARROW_ADD_TRIVIAL): Likewise.
1933 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
1935 (__daddl): Likewise.
1936 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
1938 (CFLAGS-nldbl-dadd.c): New variable.
1939 (CFLAGS-nldbl-fadd.c): Likewise.
1940 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
1942 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
1944 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
1945 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
1946 * math/auto-libm-test-in: Add tests of add.
1947 * math/auto-libm-test-out-narrow-add: New generated file.
1948 * math/libm-test-narrow-add.inc: New file.
1949 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
1950 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
1951 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
1952 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
1953 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
1954 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
1955 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
1957 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
1963 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
1964 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1965 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
1966 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1968 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
1969 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1970 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1971 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1972 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1973 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1974 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1975 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1976 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1977 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1978 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1979 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1980 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1985 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1986 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1987 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1988 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1989 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1990 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1991 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
1992 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
1993 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1994 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1996 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
1997 (f128-pairs): New variable.
1998 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
1999 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
2001 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
2002 Also make tests add $(f128-loader-link) to gnulib-tests.
2004 2018-02-09 DJ Delorie <dj@redhat.com>
2007 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
2008 64-bit ELF type for 64-bit ELF objects.
2010 2018-02-09 Joseph Myers <joseph@codesourcery.com>
2012 * math/libm-test-driver.c (snan_tests_arg): New variable.
2013 * math/libm-test-support.h (snan_tests_arg): New declaration.
2014 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
2016 * math/Makefile (test-type-pairs): New variable.
2017 (test-type-pairs-f64xf128-yes): Likewise.
2018 (tests): Add test-narrow-macros.
2019 (libm-test-funcs-narrow): New variable.
2020 (libm-test-c-narrow): Likewise.
2021 (generated): Add $(libm-test-c-narrow).
2022 (libm-tests-base-narrow): New variable.
2023 (libm-tests-narrow): Likewise.
2024 (libm-tests): Add $(libm-tests-narrow).
2025 (libm-tests-for-type): Handle $(libm-tests-narrow).
2026 (libm-test-c-narrow-obj): New variable.
2027 ($(libm-test-c-narrow-obj)): New rule.
2028 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
2029 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
2030 $(o-iterator) to set dependencies and CFLAGS.
2031 * math/gen-auto-libm-tests.c: Document use for narrowing
2033 (output_for_one_input_case): Take argument NARROW.
2034 (generate_output): Likewise. Update call to
2035 output_for_one_input_case.
2036 (main): Take --narrow option. Update call to generate_output.
2037 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
2038 (apply_lit): Update call to _apply_lit.
2039 (apply_arglit): New function.
2040 (parse_args): Handle "a" arguments.
2041 (parse_auto_input): Handle format names using ":".
2042 * math/README.libm-test: Document "a" parameter type.
2043 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
2044 (ARG_TYPE_TRUE_MIN): Likewise.
2045 (ARG_TYPE_MAX): Likwise.
2046 (ARG_MIN_EXP): Likewise.
2047 (ARG_MAX_EXP): Likewise.
2048 (ARG_MANT_DIG): Likewise.
2049 (TEST_COND_arg_ibm128): Likewise.
2050 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
2051 (TEST_COND_arg_fmt): New macro.
2052 (init_max_error): Update prototype.
2053 * math/libm-test-support.c (test_ibm128): New variable.
2054 (init_max_error): Take argument testing_ibm128 and set test_ibm128
2055 instead of using [TEST_COND_ibm128] conditional.
2056 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
2057 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
2058 [TEST_NARROW] (TEST_MSG): New definition.
2059 (arg_plus_zero): New macro.
2060 (arg_minus_zero): Likewise.
2061 (arg_plus_infty): Likewise.
2062 (arg_minus_infty): Likewise.
2063 (arg_qnan_value_pl): Likewise.
2064 (arg_qnan_value): Likewise.
2065 (arg_snan_value_pl): Likewise.
2066 (arg_snan_value): Likewise.
2067 (arg_max_value): Likewise.
2068 (arg_min_value): Likewise.
2069 (arg_min_subnorm_value): Likewise.
2070 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
2071 (RUN_TEST_LOOP_aa_f): New macro.
2072 (TEST_SUFF): New macro.
2073 (TEST_SUFF_STR): Likewise.
2074 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
2075 (TEST_COND_any_ibm128): New macro.
2076 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
2077 this_func. Update call to init_max_error.
2078 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
2079 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
2080 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
2081 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
2082 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
2083 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
2084 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
2085 * math/test-math-scalar.h (TEST_NARROW): Likewise.
2086 * math/test-math-vector.h (TEST_NARROW): Likewise.
2087 * math/test-arg-double.h: New file.
2088 * math/test-arg-float128.h: Likewise.
2089 * math/test-arg-float32x.h: Likewise.
2090 * math/test-arg-float64.h: Likewise.
2091 * math/test-arg-float64x.h: Likewise.
2092 * math/test-arg-ldouble.h: Likewise.
2093 * math/test-math-narrow.h: Likewise.
2094 * math/test-narrow-macros.c: Likewise.
2095 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
2096 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
2097 test-narrow-macros-ldbl-64.
2098 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
2100 * math/bits/mathcalls-narrow.h: New file.
2101 * include/bits/mathcalls-narrow.h: Likewise.
2102 * math/math-narrow.h: Likewise.
2103 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
2104 (__MATHCALL_NARROW_ARGS_2): Likewise.
2105 (__MATHCALL_NARROW_ARGS_3): Likewise.
2106 (__MATHCALL_NARROW_NORMAL): Likewise.
2107 (__MATHCALL_NARROW_REDIR): Likewise.
2108 (__MATHCALL_NARROW): Likewise.
2109 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
2110 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
2112 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
2113 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
2114 (libm-narrow-fns): New variable.
2115 (libm-narrow-types-basic): Likewise.
2116 (libm-narrow-types-ldouble-yes): Likewise.
2117 (libm-narrow-types-float128-yes): Likewise.
2118 (libm-narrow-types-float128-alias-yes): Likewise.
2119 (libm-narrow-types): Likewise.
2120 (libm-routines): Add narrowing functions.
2121 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
2122 (libc_feholdexcept_setroundf128): New macro.
2123 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
2124 * sysdeps/ieee754/float128/float128_private.h: Include
2125 <math/math-narrow.h>.
2126 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
2127 Undefine and redefine.
2128 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
2129 (libm_alias_float_ldouble): Undefine and redefine.
2130 (libm_alias_double_ldouble): Likewise.
2132 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
2134 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
2136 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
2139 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
2141 * manual/creature.texi: Convert references to gcc.info to gcc.
2142 * manual/stdio.texi: Likewise.
2143 * manual/string.texi: Likewise.
2145 2018-02-07 Joseph Myers <joseph@codesourcery.com>
2148 * posix/bits/types.h (__int_least8_t): New typedef.
2149 (__uint_least8_t): Likewise.
2150 (__int_least16_t): Likewise.
2151 (__uint_least16_t): Likewise.
2152 (__int_least32_t): Likewise.
2153 (__uint_least32_t): Likewise.
2154 (__int_least64_t): Likewise.
2155 (__uint_least64_t): Likewise.
2156 * sysdeps/generic/stdint.h (int_least8_t): Define using
2158 (int_least16_t): Define using __int_least16_t.
2159 (int_least32_t): Define using __int_least32_t.
2160 (int_least64_t): Define using __int_least64_t.
2161 (uint_least8_t): Define using __uint_least8_t.
2162 (uint_least16_t): Define using __uint_least16_t.
2163 (uint_least32_t): Define using __uint_least32_t.
2164 (uint_least64_t): Define using __uint_least64_t.
2165 * wcsmbs/uchar.h: Include <bits/types.h>.
2166 (char16_t): Define using __uint_least16_t conditional only on
2168 (char32_t): Define using __uint_least32_t conditional only on
2170 * wcsmbs/test-char-types.c: New file.
2171 * wcsmbs/Makefile (tests): Add test-char-types.
2173 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2176 2018-02-07 Zack Weinberg <zackw@panix.com>
2178 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
2179 Delete all contents except for definitions of _G_HAVE_MMAP and
2180 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
2181 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
2182 sysdeps/unix/sysv/linux/_G_config.h. Make same content
2185 * libio/libio.h: Don't include bits/_G_config.h here.
2186 Include stddef.h with __need_wchar_t defined. Include
2187 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
2188 Define _IO_iconv_t here, directly.
2189 Don't define _IO_HAVE_ST_BLKSIZE.
2190 * libio/libioP.h: Include _G_config.h here. Move include of
2191 shlib-compat.h up with rest of includes. Simplify conditionals
2192 controlling definition of _IO_JUMPS_OFFSET.
2194 * csu/init.c: Remove always-true #if around entire file.
2195 Don't include stdio.h. Set _IO_stdin_used to hardwired
2196 constant 0x20001, and update commentary.
2197 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
2198 Replace all uses of _G_va_list with __gnuc_va_list.
2199 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
2200 instead of #if _IO_HAVE_ST_BLKSIZE.
2201 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
2202 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
2205 * libio/bits/libio.h: Move back to libio/libio.h and adjust
2206 multiple-include guard to match.
2207 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
2209 Remove preprocessor conditionals that are always true and/or
2210 redundant to other preprocessor conditionals in the same nest.
2211 Include shlib-compat.h unconditionally.
2212 Error out if _LIBC is not defined, or if _ISOMAC is defined,
2213 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
2214 defined after including stdio.h.
2215 Use __BEGIN_DECLS/__END_DECLS.
2217 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
2218 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
2219 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
2221 2018-02-07 Zack Weinberg <zackw@panix.com>
2223 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
2224 New single-type headers split from _G_config.h.
2225 * libio/bits/types/cookie_io_functions_t.h
2226 * libio/bits/types/struct_FILE.h
2227 New single-type headers split from libio.h.
2229 * libio/Makefile: Install the above new headers. Don't install
2230 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
2232 * libio/_G_config.h, libio/libio.h: Delete file.
2234 * libio/bits/libio.h: Remove improper-inclusion guard.
2235 Include stdio.h and don't repeat anything that it does.
2236 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
2237 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
2238 __io_read_fn as cookie_read_function_t,
2239 __io_write_fn as cookie_write_function_t,
2240 __io_seek_fn as cookie_seek_function_t,
2241 __io_close_fn as cookie_close_function_t,
2242 and _IO_cookie_io_functions_t as cookie_io_functions_t.
2243 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
2244 here, in the "compatibility defines" section. Remove an #if 0
2245 block. Use the "body" macros from bits/types/struct_FILE.h to
2246 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
2247 and _IO_ferror_unlocked.
2248 Move prototypes of __uflow and __overflow...
2250 * libio/stdio.h: ...here. Don't include bits/libio.h.
2251 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
2252 directly from stdarg.h. Include bits/types/__fpos_t.h,
2253 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
2254 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
2255 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
2256 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
2257 cookie_io_functions_t, not _IO_cookie_io_functions_t;
2258 __ssize_t, not _IO_ssize_t. Unconditionally define
2259 BUFSIZ as 8192 and EOF as (-1).
2261 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
2262 macros from bits/types/struct_FILE.h instead of _IO_* macros
2263 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
2264 instead of _IO_ssize_t.
2265 * libio/bits/stdio2.h: Similarly.
2267 * libio/iolibio.h: Add multiple-include guard.
2268 Include bits/libio.h after stdio.h.
2269 * libio/libioP.h: Add multiple-include guard.
2270 Include stdio.h and bits/libio.h before iolibio.h.
2272 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
2273 * include/bits/types/cookie_io_functions_t.h
2274 * include/bits/types/struct_FILE.h: New wrappers.
2276 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
2277 Get definitions of _G_fpos_t and _G_fpos64_t from
2278 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
2279 respectively. Remove improper-inclusion guards.
2281 * conform/data/stdio.h-data: Update expectations of va_list.
2282 * scripts/check-installed-headers.sh: Remove special case for
2283 libio.h and _G_config.h.
2285 2018-02-07 Joseph Myers <joseph@codesourcery.com>
2289 * include/sys/sysmacros.h [!_ISOMAC]
2290 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
2291 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
2292 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
2293 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
2295 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
2296 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
2298 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
2299 Undefine and redefine to add use __gnu_dev_ prefix.
2300 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
2302 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
2303 and define as hidden inline function.
2304 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
2306 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
2308 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
2309 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
2310 (gnu_dev_minor): Likewise.
2311 (gnu_dev_makedev): Likewise.
2312 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
2314 * posix/wordexp.c (exec_comm_child): Likewise.
2315 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
2316 instead of minor and __gnu_dev_major instead of major.
2317 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
2318 __gnu_dev_major instead of major.
2319 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
2320 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
2321 instead of gnu_dev_minor.
2322 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
2323 (SLAVE_P): Likewise.
2324 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
2325 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
2329 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
2331 * locale/weightwc.h (findidx): Likewise.
2333 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
2335 * manual/probes.texi (slowlog): Delete documentation of removed probe.
2336 (slowlog_inexact): Likewise
2337 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
2338 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
2340 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
2343 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
2344 missing second underscore to parameter name.
2346 2018-02-06 Joseph Myers <joseph@codesourcery.com>
2352 * bits/byteswap.h: Update file comment. Do not include
2353 <bits/byteswap-16.h>.
2354 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
2356 (__bswap_16): Define as inline function.
2357 (__bswap_constant_32): Reformat definition.
2358 (__bswap_32): Always define as inline function, not macro, using
2359 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
2360 otherwise __bswap_constant_32.
2361 (__bswap_constant_64): Reformat definition. Do not use
2363 (__bswap_64): Always define as inline function, not macro. Use
2364 __extension__ on function definition. Use __builtin_bswap64 if
2365 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
2366 * string/test-endian-file-scope.c: New file.
2367 * string/test-endian-sign-conversion.c: Likewise.
2368 * string/Makefile (headers): Remove bits/byteswap-16.h.
2369 (tests): Add test-endian-file-scope and
2370 test-endian-sign-conversion.
2371 (CFLAGS-test-endian-sign-conversion.c): New variable.
2372 * bits/byteswap-16.h: Remove file.
2373 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
2374 * sysdeps/ia64/bits/byteswap.h: Likewise.
2375 * sysdeps/m68k/bits/byteswap.h: Likewise.
2376 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2377 * sysdeps/s390/bits/byteswap.h: Likewise.
2378 * sysdeps/tile/bits/byteswap.h: Likewise.
2379 * sysdeps/x86/bits/byteswap-16.h: Likewise.
2380 * sysdeps/x86/bits/byteswap.h: Likewise.
2383 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
2384 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
2385 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
2386 199901L] (__restrict): Define to restrict.
2389 * string/testcopy.c: Include <support/support.h>. Do not include
2390 <malloc.h>. Use <support/test-driver.c>.
2391 (main): Rename to do_test. Make static. Use xmalloc instead of
2395 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
2396 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
2397 (SSIZE_MAX): Define to INT_MAX.
2398 * posix/test-ssize-max.c: New file.
2399 * posix/Makefile (tests): Add test-ssize-max.
2402 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2403 <support/support.h>. Do not include <malloc.h>.
2404 (query_auxv): Use xmalloc instead of malloc.
2407 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
2408 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
2411 2018-02-06 Florian Weimer <fweimer@redhat.com>
2414 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2415 Use scratch_buffer instead of extend_alloca.
2417 2018-02-06 Zack Weinberg <zackw@panix.com>
2419 * libio/stdio.h: Don't define getc or putc as macros.
2420 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
2421 not _IO_getc and _IO_putc.
2423 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
2424 * stdio-common/tstgetln.c: Don't redefine ssize_t.
2426 2018-02-06 Joseph Myers <joseph@codesourcery.com>
2428 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
2429 (TCP_FASTOPEN_NO_COOKIE): Likewise.
2431 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
2434 * elf/elf.h (NT_PRFPREG): New macro.
2435 (NT_S390_VXRS_LOW): Likewise.
2436 (NT_S390_VXRS_HIGH): Likewise.
2437 (NT_S390_GS_CB): Likewise.
2438 (NT_S390_GS_BC): Likewise.
2439 (NT_S390_RI_CB): Likewise.
2441 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
2442 (MAP_SYNC): New macro.
2443 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
2445 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
2446 (MAP_SYNC): Likewise.
2447 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
2448 (MAP_SYNC): Likewise.
2449 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
2450 (MAP_SYNC): Likewise.
2451 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
2452 (MAP_SYNC): Likewise.
2453 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
2454 (MAP_SYNC): Likewise.
2455 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
2456 (MAP_SYNC): Likewise.
2457 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
2459 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
2462 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
2463 (MAP_SHARED_VALIDATE): New macro.
2464 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2465 (MAP_SHARED_VALIDATE): Likewise.
2467 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2469 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
2470 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
2471 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2473 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2475 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
2476 (DT_NUM): Updated to 35.
2478 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2480 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2481 __builtin_expect with __glibc_likely and __glibc_unlikely.
2482 (elf_machine_rela): Likewise.
2483 (elf_machine_lazy_rel): Likewise.
2485 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
2488 __builtin_expect with __glibc_likely and __glibc_unlikely.
2489 (elf_machine_lazy_rel): Likewise.
2491 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2494 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
2496 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
2498 2018-02-05 Andreas Schwab <schwab@suse.de>
2501 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
2504 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2506 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
2507 not check against PTHREAD_STACK_MIN.
2509 2018-02-02 Sean McKean <smckean83@gmail.com>
2512 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
2514 2018-02-02 Florian Weimer <fweimer@redhat.com>
2517 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
2518 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
2519 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
2520 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
2521 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
2522 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2523 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2524 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
2525 * manual/llio.texi (Scatter-Gather): Mention offset -1.
2526 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
2527 * misc/tst-preadvwritev2.c (do_test): Call it.
2528 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
2530 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
2532 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
2534 * benchtests/bench-memcmp.c: Print json instead of plain text.
2536 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
2539 2018-02-01 Joseph Myers <joseph@codesourcery.com>
2541 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2543 (s390_sthyi): New syscall.
2545 * sysdeps/generic/ldbl-classify-compat.h: New file.
2546 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
2547 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
2548 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
2549 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
2550 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
2551 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
2552 * sysdeps/ieee754/dbl-64/s_finite.c: Include
2553 <ldbl-classify-compat.h>.
2554 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2555 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
2556 <ldbl-classify-compat.h>.
2557 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2558 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
2559 <ldbl-classify-compat.h>.
2560 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2561 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
2562 <ldbl-classify-compat.h>.
2563 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
2565 <ldbl-classify-compat.h>.
2566 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2567 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
2568 <ldbl-classify-compat.h>.
2569 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2570 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
2571 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2572 * sysdeps/m68k/coldfire/math_private.h: Remove file.
2573 * sysdeps/microblaze/math_private.h: Likewise.
2574 * sysdeps/nios2/math_private.h: Likewise.
2575 * sysdeps/sh/math_private.h: Likewise.
2577 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
2578 * sysdeps/m68k/coldfire/math_private.h: ... here.
2579 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
2580 * sysdeps/tile/math_private.h: Likewise.
2581 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
2583 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
2586 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
2588 (libc_fetestexcept): Likewise.
2589 (libc_feupdateenv_test): Likewise.
2590 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
2591 (libc_fetestexcept): Likewise.
2592 (libc_feupdateenv_test): Likewise.
2593 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
2594 (libc_fetestexcept): Likewise.
2595 (libc_feupdateenv_test): Likewise.
2596 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
2597 (libc_fetestexcept): Likewise.
2598 (libc_feupdateenv_test): Likewise.
2600 * sysdeps/generic/math_private.h
2601 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
2602 New inline function.
2603 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
2606 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
2607 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
2608 * sysdeps/generic/math_private.h
2609 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
2611 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
2613 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
2615 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
2617 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
2619 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
2621 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
2622 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
2623 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
2624 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
2625 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
2626 (__fegetenv): Likewise.
2627 (fesetenv): Likewise.
2628 (__fesetenv): Likewise.
2629 (feupdateenv): Likewise.
2630 (__feupdateenv): Likewise.
2631 (fegetround): Likewise.
2632 (__fegetround): Likewise.
2633 (fesetround): Likewise.
2634 (__fesetround): Likewise.
2636 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
2637 (feraiseexcept): New macro.
2638 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
2639 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
2641 (__feraiseexcept): Likewise.
2642 (feclearexcept): Likewise.
2643 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
2644 (__feraiseexcept): Likewise.
2645 (feclearexcept): Likewise.
2646 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
2647 (__feraiseexcept): Likewise.
2648 (feclearexcept): Likewise.
2649 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
2650 (__feraiseexcept): Likewise.
2651 (feclearexcept): Likewise.
2652 (fetestexcept): Likewise.
2654 * sysdeps/m68k/coldfire/math-tests.h: New file.
2656 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
2657 * sysdeps/m68k/bits/fenv.h: ... here.
2658 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
2660 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
2662 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
2664 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
2666 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
2668 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
2670 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
2671 (__FE_UNDEFINED): New enum constant.
2672 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
2674 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
2676 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
2678 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
2679 to match generic bits/fenv.h.
2680 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
2683 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
2685 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
2686 * soft-fp/half.h (union _FP_UNION_H): Likewise.
2687 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
2688 * soft-fp/single.h (union _FP_UNION_S): Likewise.
2690 2018-02-01 Carlos O'Donell <carlos@redhat.com>
2691 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
2692 Joseph Myers <joseph@codesourcery.com>
2695 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
2696 (__log1p): Disable -Wmaybe-uninitialized for -Os around
2697 computation using c.
2698 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
2699 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
2700 computation using c.
2702 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
2704 * version.h (RELEASE): Set to "development".
2705 (VERSION): Set to "2.27.9000".
2706 * NEWS (2.28): New section.
2708 * version.h (RELEASE): Set to "stable".
2709 (VERSION): Set to "2.27".
2710 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
2712 * NEWS: Add the list of bugs fixed in 2.27.
2714 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2716 * stdlib/test-atexit-race-common.c (do_test): Check stack size
2717 against PTHREAD_STACK_MIN.
2719 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
2721 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
2723 (Rafal Luzynski, Andreas Schwab): Update.
2725 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
2728 * NEWS: List the languages which actually use the alternative
2729 months feature in this release. Also explain that "alt_mon" and
2730 "ab_alt_mon" are optional.
2732 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
2735 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
2737 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
2739 * manual/install.texi (Tools for Compilation): Update the newest
2740 versions of gcc, binutils, texinfo, gawk, bison, and sed.
2741 * INSTALL: Regenerated.
2743 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2745 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
2746 instead of __builtin_expect.
2748 2018-01-30 Florian Weimer <fweimer@redhat.com>
2750 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
2752 * nss/tst-nss-getpwent.c (do_test): Likewise.
2754 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
2757 * localedata/locales/hr_HR (mon): Rename to...
2759 (mon): Import from CLDR (genitive case).
2760 (d_t_fmt): Update the comment.
2762 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
2764 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
2765 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
2766 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
2768 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2770 * mach/Versions: Fix version when __mach_host_self_ was added.
2771 * hurd/Versions: Fix version when _hurd_exec_paths was added.
2772 * sysdeps/mach/hurd/i386/ld.abilist: New file.
2773 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
2774 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
2775 * sysdeps/mach/hurd/i386/libc.abilist: New file.
2776 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
2777 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
2778 * sysdeps/mach/hurd/i386/libm.abilist: New file.
2779 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
2780 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
2781 * sysdeps/mach/hurd/i386/librt.abilist: New file.
2782 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
2783 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
2784 || to respect codestyle.
2785 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
2786 (do_test_bz20181): Rename accordingly.
2787 * malloc/malloc.c: Include <assert.h>.
2788 (assert): Do not define.
2789 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
2790 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
2791 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
2792 * sysdeps/mach/hurd/hp-timing.h: New file.
2793 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
2795 2018-01-29 Darius Rad <darius@bluespec.com>
2797 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
2799 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
2801 * sysdeps/init_array/crti.S (.section .init_array): Add
2802 PREINIT_FUNCTION when defined.
2803 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
2804 * config.h.in: Regenerate.
2805 * manual/platform.texi: Add RISC-V documenation for
2806 __riscv_flush_icache.
2807 * sysdeps/riscv/__longjmp.S: New file.
2808 * sysdeps/riscv/backtrace.c: Likewise.
2809 * sysdeps/riscv/bits/endian.h: Likewise.
2810 * sysdeps/riscv/bits/setjmp.h: Likewise.
2811 * sysdeps/riscv/bits/wordsize.h: Likewise.
2812 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
2813 * sysdeps/riscv/bsd-setjmp.c: Likewise.
2814 * sysdeps/riscv/dl-trampoline.S: Likewise.
2815 * sysdeps/riscv/gccframe.h: Likewise.
2816 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
2817 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
2818 * sysdeps/riscv/machine-gmon.h: Likewise.
2819 * sysdeps/riscv/memusage.h: Likewise.
2820 * sysdeps/riscv/setjmp.S: Likewise.
2821 * sysdeps/riscv/sys/asm.h: Likewise.
2822 * sysdeps/riscv/tls-macros.h: Likewise.
2823 * sysdeps/riscv/dl-tls.h: New file.
2824 * sysdeps/riscv/libc-tls.c: Likewise.
2825 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
2826 * sysdeps/riscv/nptl/tls.h: Likewise.
2827 * sysdeps/riscv/stackinfo.h: Likewise.
2828 * sysdeps/riscv/bits/fenv.h: New file.
2829 * sysdeps/riscv/e_sqrtl.c: Likewise.
2830 * sysdeps/riscv/fpu_control.h: Likewise.
2831 * sysdeps/riscv/math-tests.h: Likewise.
2832 * sysdeps/riscv/nofpu/Implies: Likewise.
2833 * sysdeps/riscv/sfp-machine.h: Likewise.
2834 * sysdeps/riscv/tininess.h: Likewise.
2835 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
2836 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
2837 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
2838 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
2839 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
2840 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
2841 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
2842 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
2843 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2844 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
2845 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2846 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
2847 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
2848 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
2849 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
2850 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
2851 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
2852 * sysdeps/riscv/rvd/s_finite.c: Likewise.
2853 * sysdeps/riscv/rvd/s_fma.c: Likewise.
2854 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
2855 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
2856 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
2857 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
2858 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
2859 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
2860 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
2861 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
2862 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
2863 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
2864 * sysdeps/riscv/rvf/fegetround.c: Likewise.
2865 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
2866 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
2867 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
2868 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
2869 * sysdeps/riscv/rvf/fesetround.c: Likewise.
2870 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
2871 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
2872 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
2873 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
2874 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
2875 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
2876 * sysdeps/riscv/rvf/math_private.h: Likewise.
2877 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
2878 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
2879 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
2880 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
2881 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
2882 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
2883 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
2884 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
2885 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
2886 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
2887 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
2888 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
2889 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
2890 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
2891 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2892 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2893 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
2894 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
2895 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
2896 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
2897 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
2898 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
2899 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
2900 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
2901 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2902 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
2903 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
2904 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
2905 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
2906 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
2907 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
2908 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
2909 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
2910 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
2911 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
2912 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
2913 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
2914 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
2915 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2916 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
2917 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
2918 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
2919 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
2920 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
2921 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
2922 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
2923 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
2924 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
2925 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
2926 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
2927 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
2928 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
2929 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
2930 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2931 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
2932 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
2933 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
2934 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
2935 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
2936 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
2937 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
2938 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
2939 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2940 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
2941 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
2942 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
2943 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
2944 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
2945 * sysdeps/riscv/Implies: New file.
2946 * sysdeps/riscv/Makefile: Likewise.
2947 * sysdeps/riscv/configure: Likewise.
2948 * sysdeps/riscv/configure.ac: Likewise.
2949 * sysdeps/riscv/nptl/Makefile: Likewise.
2950 * sysdeps/riscv/preconfigure: Likewise.
2951 * sysdeps/riscv/rv64/Implies-after: Likewise.
2952 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
2953 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
2954 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
2955 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
2956 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
2957 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
2958 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
2959 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
2960 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
2961 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
2962 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
2963 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
2966 2018-01-29 Florian Weimer <fweimer@redhat.com>
2969 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
2970 libnsl_hidden_proto.
2971 * include/rpcsvc/yp.h (yp_xdrall): Declare with
2972 libnsl_hidden_proto.
2973 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
2974 * nis/Makefile (libnsl-routines): Add nss-default only for
2976 * nis/nis_defaults.c (__nis_default_ttl): Add
2977 libnsl_hidden_nolink_def.
2978 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
2980 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
2981 * nis/ypclnt.c (yp_maplist): Likewise.
2983 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
2985 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2986 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
2988 2018-01-29 Joseph Myers <joseph@codesourcery.com>
2990 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
2991 clean -dxfq for git updates when replacing sources.
2993 * scripts/build-many-glibcs.py (Config.build_gcc): Use
2994 --disable-libcilkrts unconditionally, not just for the final GCC
2997 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3000 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3003 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
3006 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3009 * localedata/locales/be_BY (mon): Rename to...
3010 (alt_mon): This, then synchronize with CLDR (nominative case).
3011 (abmon): Rename to...
3012 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
3013 (mon): Import from CLDR (genitive case).
3015 * localedata/locales/be_BY@latin (mon): Rename to...
3017 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
3019 * localedata/locales/be_BY@latin (lang_name): Reworded to
3020 "biełaruskaja mova".
3022 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3025 * localedata/locales/el_CY (mon): Renamed to...
3027 (mon): Import from CLDR (genitive case).
3028 * localedata/locales/el_GR: Likewise.
3030 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3033 * localedata/locales/ru_RU (mon): Rename to...
3035 (abmon): Rename to...
3037 (mon): Import from CLDR (genitive case).
3038 (abmon): Copy from the old content except the 5th month which is
3039 now in the genitive case, even when abbreviated.
3040 * localedata/locales/ru_UA: Likewise.
3041 * time/tst-strptime.c (day_tests): Add an actual example of
3042 a difference between %b and %Ob in Russian.
3044 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3046 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
3047 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
3049 * resolv/res-close.c: Include <stdlib.h>.
3050 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
3051 <sys/wait.h>, <time.h>, <sys/uio.h>.
3052 (NOT_CANCEL_H): Add inclusion guard.
3053 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
3054 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
3055 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
3057 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
3058 vm_address_t * to ElfW(Addr) * for dl_main parameter.
3059 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
3061 * sysdeps/pthread/timer_create.c (timer_create): Do not use
3062 timer_ptr2id to cast struct timer_node * to void *.
3063 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
3064 --disable-libcilkrts to gcc configure.
3065 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
3066 and make them the default for now.
3067 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
3068 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
3069 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
3070 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
3071 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
3073 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
3074 __task_terminate would ever return successfully.
3075 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
3077 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
3078 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
3079 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
3080 critical section to make code simpler and avoid warning.
3081 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
3082 critical section to make code simpler and avoid warning.
3083 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
3084 const char * instead of char *.
3085 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
3086 __hurd_file_name_split, hurd_file_name_split,
3087 __hurd_directory_name_split, hurd_directory_name_split,
3088 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
3089 hurd_file_name_path_lookup): Make lookup function parameter take a
3090 const char *name instead of char *name.
3091 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
3092 __hurd_directory_name_split): Likewise.
3093 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3094 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
3095 * sysdeps/mach/hurd/check_native.c: New file.
3096 * sysdeps/mach/hurd/check_pf.c: New file.
3097 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
3098 (__freeifaddrs): Define macro to freeifaddrs.
3099 * sysdeps/mach/hurd/libhurduser.abilist: New file.
3100 * sysdeps/mach/libmachuser.abilist: New file.
3101 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
3102 (do_test_bz20181): Rename accordingly.
3103 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3104 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
3106 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
3107 version only if __USE_EXTERN_INLINES is defined.
3108 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
3109 __hurd_sockfail): Likewise.
3110 (_hurd_fd_get): Always declare functions, and provide inline versions
3111 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
3112 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
3113 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
3114 _hurd_port_set): Always declare functions, and provide inline versions
3115 only if __USE_EXTERN_INLINES and _LIBC are defined and
3117 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
3118 _hurd_critical_section_unlock): Likewise.
3119 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
3120 * __hurd_threadvar_location): Likewise.
3121 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
3122 _hurd_userlink_clear): Likewise.
3123 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
3124 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
3125 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
3126 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
3127 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
3128 __spin_lock_locked): Likewise.
3129 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
3130 __spin_lock_locked): Likewise.
3131 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
3132 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
3133 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
3134 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
3135 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
3136 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
3137 _POSIX_NO_TRUNC): Define to 0.
3138 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
3139 check size against PTHREAD_STACK_MIN.
3140 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
3141 IS_IN(libpthread)]: Include <sigsetops.h>.
3142 * mach/Makefile (user-interfaces): Add mach/gnumach.
3143 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
3144 * sysdeps/mach/configure (mach_interface_list): Regenerate.
3145 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
3146 instead of invalid -1.
3147 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
3148 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
3149 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
3152 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
3154 * hurd/fcntl-internal.h: New file.
3156 2018-01-27 James Clarke <jrtc27@jrtc27.com>
3158 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3160 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3162 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
3165 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
3166 Build only shared objects.
3168 2018-01-26 Carlos O'Donell <carlos@redhat.com>
3170 * README: Update for hppa.
3172 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3174 * sysdeps/sparc/fpu/libm-test-ulps: Update
3175 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
3177 2018-01-26 Carlos O'Donell <carlos@redhat.com>
3181 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3184 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3185 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
3186 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3187 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
3190 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3193 * bits/types/__cancel_jmp_buf_tag.h: New file.
3194 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
3195 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
3196 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
3197 * nptl/Makefile (headers): Add
3198 bits/types/__cancel_jmp_buf_tag.h.
3199 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
3200 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
3201 * sysdeps/nptl/pthread.h: Include
3202 <bits/types/__cancel_jmp_buf_tag.h>.
3203 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
3205 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
3207 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
3210 * localedata/locales/uk_UA (mon): Renamed to...
3212 (alt_digits): "0" removed and then renamed to...
3214 (date_fmt): Definition changed not to use the alternative
3217 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
3219 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
3220 FLAG_RISCV_FLOAT_ABI_DOUBLE.
3221 * elf/elf.h (EF_RISCV_RVC): New define.
3222 (EF_RISCV_FLOAT_ABI): Likewise.
3223 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
3224 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
3225 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
3226 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
3227 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
3229 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
3231 2018-01-25 Andreas Schwab <schwab@suse.de>
3233 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
3235 * sysdeps/gnu/configure: Regenerate.
3236 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3237 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3239 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3240 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3241 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
3242 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3243 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3245 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
3247 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
3248 URL, and run autoconf, make it the default for now.
3250 2018-01-24 Joseph Myers <joseph@codesourcery.com>
3252 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3253 soft-float ColdFire configuration.
3255 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
3256 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
3257 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
3259 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
3262 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
3264 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
3266 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
3269 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
3270 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
3271 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
3274 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3277 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
3278 Rename to __reserved and add comment.
3279 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
3280 Rename to __reserved.
3282 2018-01-24 Joseph Myers <joseph@codesourcery.com>
3284 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3285 i686-gnu configurations.
3286 (Context.run_builds): Include mig, gnumach and hurd in components
3288 (Context.checkout): Add mig, gnumach and hurd to components.
3289 (Context.checkout_tar): Add URL mappings for mig, gnumach and
3291 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
3292 (Config.build): Install gnumach headers, build mig and install
3293 hurd headers for 'gnu' OS.
3294 (Config.install_gnumach_headers): New function.
3295 (Config.install_hurd_headers): Likewise.
3296 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
3297 when building for 'gnu' OS.
3299 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
3301 * manual/tunables.texi (Hardware Capability Tunables): Fix
3304 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
3306 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
3307 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
3308 (ALTMON_11, ALTMON_12): Improve documentation.
3309 * manual/time.texi (strftime): Likewise.
3311 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3314 * localedata/locales/pl_PL: Alternative month names added,
3315 primary month names are genitive now.
3316 * time/tst-strptime.c (day_tests): Actually use a genitive case
3317 of a month name in Polish language.
3319 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3322 * manual/locale.texi: Document ALTMON_1..12 constants for
3323 nl_langinfo. Specify when to use ALTMON instead of MON.
3324 * manual/time.texi (strftime, strptime): Document GNU extension
3325 permitting O modifier with %B and %b. Specify when to use
3328 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3331 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
3332 names, define them as the same as abbreviated month names explicitly.
3333 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
3334 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
3335 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
3336 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
3337 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
3338 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
3339 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
3340 _NL_WABALTMON_12): New enum constants.
3341 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
3342 wab_alt_mon, and ab_alt_mon_defined members.
3343 (time_output): Output ab_alt_mon and wab_alt_mon members.
3344 (time_read): Read them, initialize them as copies of abmon and wabmon
3345 respectively if they are missing, initialize ab_alt_mon_defined.
3346 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
3347 * locale/programs/locfile-kw.h: Regenerate.
3348 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
3349 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
3351 * time/strftime_l.c (a_altmonth, aam_len): New macros.
3352 [!COMPILE_WIDE] (ABALTMON_1): New macro.
3353 (__strftime_internal): Handle %Ob and %Oh formats.
3354 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
3355 (__strptime_internal): Handle %Ob and %Oh formats.
3356 * time/tst-strptime.c (day_tests): Add more tests to parse different
3357 forms of month names including the new %Ob format specifier.
3359 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3362 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
3363 define them as the same as primary full month names explicitly.
3364 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
3365 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
3366 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
3367 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
3368 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
3369 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
3370 _NL_WALTMON_12): New enum constants.
3371 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
3372 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
3374 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
3375 walt_mon, and alt_mon_defined members.
3376 (time_output): Output alt_mon and walt_mon members.
3377 (time_read): Read them, initialize them as copies of mon and wmon
3378 respectively if they are missing, initialize alt_mon_defined.
3379 * locale/programs/locfile-kw.gperf (alt_mon): Define.
3380 * locale/programs/locfile-kw.h: Regenerate.
3381 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
3382 * localedata/tst-langinfo.c (map): Add tests for the new constants
3383 ALTMON_1 .. ALTMON_12.
3384 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
3386 * time/strftime_l.c (f_altmonth): New macro.
3387 (__strftime_internal): Handle %OB format.
3388 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
3389 (__strptime_internal): Handle %OB format.
3390 * time/tst-strptime.c (day_tests): Add tests to parse different forms
3391 of month names including the new %OB format specifier.
3393 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3396 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
3397 from ABORT_TRANSACTION.
3398 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
3399 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
3400 ABORT_TRANSACTION_IMPL): Likewise.
3401 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
3402 Linux code, but remove the code that aborts transactions.
3404 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3406 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
3408 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
3410 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
3411 in date: "2004-14-09" should be "2004-09-14".
3412 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
3413 "2003-15-09" should be "2003-09-15".
3415 2018-01-18 Arjun Shankar <arjun@redhat.com>
3421 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
3423 (_int_memalign): check for integer overflow before calling
3425 * malloc/tst-malloc-too-large.c: New test.
3426 * malloc/Makefile: Add tst-malloc-too-large.
3428 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
3430 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
3431 in date: "2017-24-07" should be "2017-07-24".
3432 * localedata/locales/mai_IN: Likewise.
3433 * localedata/locales/mai_NP: Likewise.
3435 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
3437 * po/ru.po: Update translations.
3439 2018-01-17 Joseph Myers <joseph@codesourcery.com>
3442 * sysdeps/hppa/backtrace.c: New file.
3444 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
3447 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
3448 align La_x86_64_retval to VEC_SIZE.
3450 2018-01-16 Joseph Myers <joseph@codesourcery.com>
3452 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
3453 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
3455 2018-01-16 Florian Weimer <fweimer@redhat.com>
3457 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
3458 Move tst-thread-exit-clobber ...
3459 [$(CXX)] (tests-unsupported): ... to here.
3461 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
3463 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
3464 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
3465 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3466 (_dl_aarch64_cap_flags): Update.
3467 (_DL_HWCAP_COUNT): Update.
3469 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
3471 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3472 (_DL_HWCAP_LAST): Remove.
3473 (_DL_HWCAP_COUNT): Move to ...
3474 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3475 (_DL_HWCAP_COUNT): ... here.
3477 2018-01-16 Florian Weimer <fweimer@redhat.com>
3479 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
3480 mode with GNU extensions.
3482 2018-01-15 Alan Hayward <alan.hayward@arm.com>
3484 * elf/elf.h (NT_ARM_SVE): Define.
3486 2018-01-15 Florian Weimer <fweimer@redhat.com>
3489 * nptl/tst-minstack-throw.cc: New file.
3490 * nptl/Makefile (tests): Add tst-minstack-throw.
3491 (LDLIBS-tst-minstack-throw): Link with libstdc++.
3492 [!CXX] (tests-unsupported): Add tst-minstack-throw.
3494 2018-01-15 Joseph Myers <joseph@codesourcery.com>
3496 * scripts/build-many-glibcs.py (Context.checkout): Default
3497 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
3500 2018-01-13 Carlos O'Donell <carlos@redhat.com>
3503 * elf/elf.h (DF_1_STUB): Define.
3506 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
3510 Do not add 0.5 to integer or out-of-range arguments.
3512 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
3514 * po/bg.po: Update translations.
3515 * po/cs.po: Likewise.
3516 * po/de.po: Likewise.
3517 * po/ko.po: Likewise.
3518 * po/pl.po: Likewise.
3519 * po/sv.po: Likewise.
3520 * po/uk.po: Likewise.
3521 * po/vi.po: Likewise.
3523 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3525 * aarch64/start.S (_start): Use __wrap_main.
3526 (__wrap_main): New local symbol.
3528 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
3532 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
3533 generic_getcwd if the path returned by getcwd syscall is not absolute.
3534 * io/tst-getcwd-abspath.c: New test.
3535 * io/Makefile (tests): Add tst-getcwd-abspath.
3537 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
3539 * malloc/malloc.c (malloc_consolidate): Add size check.
3541 2018-01-12 Florian Weimer <fweimer@redhat.com>
3543 * support/write_message.c (write_message): Preserve errno.
3544 * support/check.c (print_failure): Likewise.
3545 * support/support_test_verify_impl.c (support_test_verify_impl):
3547 * support/support_test_compare_failure.c
3548 (support_test_compare_failure): Likewise.
3550 2018-01-12 Florian Weimer <fweimer@redhat.com>
3553 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
3554 Prevent installation of libnsl.so.
3555 (libnsl-inhibit-o): Do not build (or install) static libraries.
3557 2018-01-12 Egmont Koblinger <egmont@gmail.com>
3560 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
3561 before the day number which may produce a double space.
3562 (date_fmt): Likewise.
3564 2018-01-12 Joseph Myers <joseph@codesourcery.com>
3566 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
3567 instead of fegetenv.
3569 2018-01-11 Joseph Myers <joseph@codesourcery.com>
3572 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
3573 comment to say exceptions are discarded.
3574 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
3576 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
3579 2018-01-11 Florian Weimer <fweimer@redhat.com>
3581 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
3584 2018-01-11 Florian Weimer <fweimer@redhat.com>
3587 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
3588 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
3590 2018-01-10 Joseph Myers <joseph@codesourcery.com>
3593 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
3594 negative arguments in test for NaN or infinity argument.
3596 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
3598 * po/libc.pot: Regenerate.
3600 2018-01-10 Florian Weimer <fweimer@redhat.com>
3603 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
3604 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
3606 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3608 * hurd/hurd/fd.h: Include <fcntl.h>
3609 (__hurd_at_flags): New function.
3610 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
3611 with call to __hurd_at_flags.
3612 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
3613 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
3615 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
3616 (__access_noerrno): Use __faccessat_common instead of access_common.
3617 (__access): Likewise.
3618 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
3619 with a call to __faccessat.
3620 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
3621 (__faccessat_common): ... this. Move implementation of __access into it when
3622 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
3623 reauthenticate_cwdir_at helper to implement AT mechanism.
3624 (__faccessat_noerrno): New function, just calls __faccessat_common.
3625 (__faccessat): New function, just calls __faccessat_common.
3626 (faccessat): Define weak alias.
3628 2018-01-10 Joseph Myers <joseph@codesourcery.com>
3631 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3632 (CFLAGS-s_fmaxmagl.c): New variable.
3633 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
3637 long int for arguments of possibly overflowing addition or
3639 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3641 2018-01-09 Joseph Myers <joseph@codesourcery.com>
3644 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3645 (CFLAGS-e_remainderl.c): New variable.
3648 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
3650 (CFLAGS-s_cacoshl.c): Likewise.
3651 (CFLAGS-s_casinhl.c): Likewise.
3652 (CFLAGS-s_catanl.c): Likewise.
3653 (CFLAGS-s_catanhl.c): Likewise.
3654 (CFLAGS-s_cexpl.c): Likewise.
3655 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
3656 (CFLAGS-s_csinhl.c): Likewise.
3657 (CFLAGS-s_clogl.c): Likewise.
3658 (CFLAGS-s_clog10l.c): Likewise.
3659 (CFLAGS-s_csinl.c): Likewise.
3660 (CFLAGS-s_csqrtl.c): Likewise.
3662 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
3663 2017-01-09 Svante Signell <svante.signell@gmail.com>
3665 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
3666 (_hurd_exec_paths): New function.
3667 * hurd/hurd.h (_hurd_exec): Deprecate function.
3668 (_hurd_exec_paths): Declare function.
3669 * hurd/Versions: Export _hurd_exec_paths.
3670 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
3671 (__execve): Use __getcwd to build absolute path, and use
3672 _hurd_exec_paths instead of _hurd_exec.
3673 * sysdeps/mach/hurd/spawni.c: Likewise.
3674 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
3677 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
3679 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
3680 test instead of failing in case of ENOENT returned by posix_openpt.
3682 2018-01-08 Florian Weimer <fweimer@redhat.com>
3684 resolv: Support binary labels in test framework.
3685 * support/resolv_test.c (struct to_be_freed): Remove.
3686 (struct compressed_name): New.
3687 (allocate_compressed_name, ascii_tolower)
3688 (compare_compressed_name): New functions.
3689 (struct resolv_response_builder): Update type of
3690 compression_offsets for use with tsearch. Rempve to_be_freed.
3691 (response_push_pointer_to_free): Remove function.
3692 (resolv_response_add_name): Rewrite using struct compressed_name
3693 and tsearch instead of hsearch_r.
3694 (response_builder_allocate): Remove initialization of
3695 compression_offsets.
3696 (response_builder_free): Update for removal of to_be_freed. Use
3697 tdestroy instead of hdestroy_r.
3698 * resolv/Makefile (tests): Add tst-resolv-binary.
3699 (tst-resolv-binary): Link with -lresolv -lpthread.
3701 2018-01-08 Florian Weimer <fweimer@redhat.com>
3703 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
3704 time. Pass positive flag instead of negative flag to
3705 support_test_compare_failure.
3706 (support_test_compare_failure): Change negative parameter to
3708 * support/support_test_compare_failure.c (report)
3709 (support_test_compare_failure): Likewise.
3710 * support/tst-test_compare.c (return_ssize_t, return_int): New.
3711 (do_test): Check int/size_t, ssize_t/size_t comparisons.
3713 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
3716 * nptl/descr.h (stackblock, stackblock_size): Update comments.
3717 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
3718 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
3720 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3722 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
3724 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3725 Add s_sincosf-sse2 and s_sincosf-fma.
3726 (CFLAGS-s_sincosf-fma.c): New.
3727 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
3728 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3729 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
3730 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
3731 __sincosf is defined.
3733 2018-01-08 Florian Weimer <fweimer@redhat.com>
3735 * nptl/tst-thread-exit-clobber.cc: New file.
3736 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
3738 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
3739 (tests): Add tst-thread-exit-clobber.
3740 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
3742 2018-01-08 Florian Weimer <fweimer@redhat.com>
3744 * support/check.h (support_static_assert): Define.
3745 (TEST_COMPARE): Use it.
3747 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
3749 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
3750 [!__RLIM_T_MATCHES_RLIM64_T]
3751 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
3752 __getrlimit64. Add libc_hidden_weak.
3754 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
3756 * elf/elf.h (R_RISCV_NONE): New define.
3757 (R_RISCV_32): Likewise.
3758 (R_RISCV_64): Likewise.
3759 (R_RISCV_RELATIVE): Likewise.
3760 (R_RISCV_COPY): Likewise.
3761 (R_RISCV_JUMP_SLOT): Likewise.
3762 (R_RISCV_TLS_DTPMOD32): Likewise.
3763 (R_RISCV_TLS_DTPMOD64): Likewise.
3764 (R_RISCV_TLS_DTPREL32): Likewise.
3765 (R_RISCV_TLS_DTPREL64): Likewise.
3766 (R_RISCV_TLS_TPREL32): Likewise.
3767 (R_RISCV_TLS_TPREL64): Likewise.
3768 * Makerules (make-link-multidir): Make directories before linking into
3770 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
3772 (VDSO_HASH_LINUX_4_15): Likewise.
3773 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
3774 in subdirectories of lib.
3775 * nptl/Makefile (/librt.so): Always depend on
3776 "$(shared-thread-library)".
3778 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3780 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
3781 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
3782 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
3784 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
3785 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
3787 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
3788 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
3789 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
3790 * sysdeps/gnu/glob-lstat-compat.c: New file.
3791 * sysdeps/gnu/glob64-lstat-compat.c: New file.
3792 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
3794 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3796 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
3797 Reserve 16 chars to reloc_addr before calling _itoa_word.
3799 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
3802 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
3803 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
3805 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
3806 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
3808 * resource/tst-getrlimit.c: Add copyright header.
3810 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
3811 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3813 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
3814 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
3815 Define __GI_getrlimit64 as weak alias of __getrlimit64.
3816 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
3818 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
3819 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
3820 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
3821 RLIM64_INFINITY): Fix values to match the kernel ones.
3822 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
3823 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
3824 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
3825 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
3826 getrlimit64@@GLIBC_2_27.
3827 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
3829 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
3830 getrlimit, setrlimit, getrlimit64 and setrlimit64.
3831 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
3832 setrlimit, getrlimit64 and setrlimit64.
3834 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
3837 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
3838 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
3840 2018-01-04 Joseph Myers <joseph@codesourcery.com>
3842 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
3843 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
3844 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
3846 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3850 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
3851 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
3855 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
3856 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
3857 * sysdeps/alpha/fpu/s_floor.c: Likewise.
3858 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
3860 2018-01-04 Florian Weimer <fweimer@redhat.com>
3863 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
3864 Align the stack before calling exit.
3865 * stdlib/tst-makecontext-align.c: New file.
3866 * stdlib/Makefile (tests): Add tst-makecontext-align.
3868 2018-01-04 Florian Weimer <fweimer@redhat.com>
3870 Add support for calling dlvsym from libc.so.
3871 * include/dlfcn.h (__libc_dlvsym): Declare.
3872 * elf/Makefile (tests-static-internal): Add
3873 tst-libc_dlvsym-static.
3874 (tests-internal): Add tst-libc_dlvsym.
3875 (modules-names): Add tst-libc_dlvsym-dso.
3876 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
3877 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
3878 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
3879 object tst-libc_dlvsym-dso.so needs to be built before running
3881 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
3882 * elf/Versions: Export __libc_dlvsym.
3883 * elf/dl-libc.c (struct do_dlvsym_args): New.
3884 (do_dlvsym, __libc_dlvsym): New functions.
3885 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
3886 (_dl_open_hook2): New variable.
3887 (__libc_register_dl_open_hook): Set it.
3888 * elf/tst-libc_dlvsym-dso.c: New file.
3889 * elf/tst-libc_dlvsym-static.c: Likewise.
3890 * elf/tst-libc_dlvsym.c: Likewise.
3891 * elf/tst-libc_dlvsym.h: Likewise.
3893 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3895 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
3896 include <sys/mount.h>.
3898 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
3900 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
3901 Add __NO_MATH_ERRNO__ check.
3903 2018-01-02 Joseph Myers <joseph@codesourcery.com>
3905 * sysdeps/mips/mips32/libm-test-ulps: Update.
3906 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3908 2018-01-02 Florian Weimer <fweimer@redhat.com>
3910 * misc/tst-pselect.c: Add copyright header.
3912 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
3914 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
3916 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
3918 (settrlimit): Rename into setrlimit.
3919 (__sttrlimit): Rename into __setrlimit.
3921 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
3922 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
3923 never defined in that case.
3925 2018-01-02 Joseph Myers <joseph@codesourcery.com>
3927 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3929 * sysdeps/arm/libm-test-ulps: Update.
3931 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
3932 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
3934 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3936 * NEWS: Add cosf and sincosf to list of optimized functions.
3938 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
3941 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
3942 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
3943 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
3944 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
3946 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
3949 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
3951 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
3952 making a copy of it.
3954 2018-01-01 Joseph Myers <joseph@codesourcery.com>
3956 * manual/texinfo.tex: Update to version 2017-12-26.21 with
3957 trailing whitespace removed.
3958 * scripts/config.guess: Update to version 2018-01-01.
3959 * scripts/config.sub: Update to version 2018-01-01.
3960 * scripts/move-if-change: Update from gnulib.
3962 * NEWS: Update copyright dates.
3963 * catgets/gencat.c (print_version): Likewise.
3964 * csu/version.c (banner): Likewise.
3965 * debug/catchsegv.sh: Likewise.
3966 * debug/pcprofiledump.c (print_version): Likewise.
3967 * debug/xtrace.sh (do_version): Likewise.
3968 * elf/ldconfig.c (print_version): Likewise.
3969 * elf/ldd.bash.in: Likewise.
3970 * elf/pldd.c (print_version): Likewise.
3971 * elf/sotruss.sh: Likewise.
3972 * elf/sprof.c (print_version): Likewise.
3973 * iconv/iconv_prog.c (print_version): Likewise.
3974 * iconv/iconvconfig.c (print_version): Likewise.
3975 * locale/programs/locale.c (print_version): Likewise.
3976 * locale/programs/localedef.c (print_version): Likewise.
3977 * login/programs/pt_chown.c (print_version): Likewise.
3978 * malloc/memusage.sh (do_version): Likewise.
3979 * malloc/memusagestat.c (print_version): Likewise.
3980 * malloc/mtrace.pl: Likewise.
3981 * manual/libc.texinfo: Likewise.
3982 * nptl/version.c (banner): Likewise.
3983 * nscd/nscd.c (print_version): Likewise.
3984 * nss/getent.c (print_version): Likewise.
3985 * nss/makedb.c (print_version): Likewise.
3986 * posix/getconf.c (main): Likewise.
3987 * scripts/test-installation.pl: Likewise.
3988 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3990 * All files with FSF copyright notices: Update copyright dates
3991 using scripts/update-copyrights.
3992 * locale/programs/charmap-kw.h: Regenerated.
3993 * locale/programs/locfile-kw.h: Likewise.
3995 2017-12-31 Zack Weinberg <zackw@panix.com>
3997 * libio/bits/libio-ldbl.h: Correct check for improper
3998 inclusion. Add own multiple include guard.
4000 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
4001 Dmitry V. Levin <ldv@altlinux.org>
4005 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
4006 string token expansion. Check for NULL pointer or empty string possibly
4007 returned by expand_dynamic_string_token.
4008 (decompose_rpath): Check for empty path after dynamic string
4011 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
4014 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
4016 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
4017 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
4018 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
4020 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
4021 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4022 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4023 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4024 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4025 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4027 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
4028 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
4029 __ptrace_peeksiginfo_flags, ptrace): Move to ...
4030 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
4031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4032 bits/ptrace-shared.h.
4033 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
4034 <bits/ptrace-shared.h>.
4035 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
4036 __ptrace_peeksiginfo_flags, ptrace): Remove.
4037 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4038 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4039 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4040 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4041 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4043 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
4046 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
4047 end of the loop. Improve comments.
4049 2017-12-29 Zack Weinberg <zackw@panix.com>
4052 * manual/errno.texi (Checking for Errors): Explicitly say that errno
4053 might be set on success.
4055 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
4058 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
4059 is unchanged on success.
4061 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
4063 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
4065 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
4066 expand_dynamic_string_token): Likewise.
4067 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
4070 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
4073 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
4074 is set and name contains ':', and all code depending on these checks.
4076 2017-12-24 Zack Weinberg <zackw@panix.com>
4078 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
4079 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
4081 * libio/libio.h: Rename the original version of this file to
4082 libio/bits/libio.h. Error out if not included by stdio.h or the
4084 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
4085 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
4086 if not included by bits/libio.h or the stub _G_config.h.
4087 * sysdeps/unix/sysv/linux/_G_config.h: Move to
4088 sysdeps/unix/sysv/linux/bits. Error out if not included by
4089 bits/libio.h or the stub _G_config.h.
4090 * libio/stdio.h: Include bits/libio.h, not libio.h.
4091 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
4092 well as libio.h and _G_config.h.
4094 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
4095 * libio/strfile.h, stdio-common/vfscanf.c
4096 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
4097 Include stdio.h, not _G_config.h nor libio.h.
4098 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
4099 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
4101 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
4103 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
4106 * stdlib/getrandom.c (getrandom): Fix comment.
4107 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
4109 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
4112 * manual/arith.texi (strtoul): Fix a typo.
4115 * manual/arith.texi (finite): Fix the description of the return
4118 2017-12-22 Eric Blake <ebb9@byu.net>
4120 Avoid gcc warnings on cygwin
4121 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
4122 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
4123 Avoid unused variable.
4125 2017-12-22 Florian Weimer <fweimer@redhat.com>
4127 * io/Makefile (routines): Add copy_file_range.
4128 (tests): Add tst-copy_file_range.
4129 (tests-static, tests-internal): Add tst-copy_file_range-compat.
4130 * io/Versions (GLIBC_2.27): Export copy_file_range.
4131 * io/copy_file_range-compat.c: New file.
4132 * io/copy_file_range.c: Likewise.
4133 * io/tst-copy_file_range-compat.c: Likewise.
4134 * io/tst-copy_file_range.c: Likewise.
4135 * manual/llio.texi (Copying File Data): New section.
4136 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
4137 * support/Makefile (libsupport-routines): Add support-xfstat,
4139 * support/support-xfstat.c: New file.
4140 * support/xftruncate.c: Likewise.
4141 * support/xlseek.c: Likewise.
4142 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
4143 * sysdeps/unix/sysv/linux/**.abilist: Update.
4144 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
4146 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4148 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4149 disable-multi-arch variant to aarch64-linux-gnu.
4151 2017-12-20 Joseph Myers <joseph@codesourcery.com>
4153 * manual/texinfo.tex: Update to version 2017-12-18.20 with
4154 trailing whitespace removed.
4155 * scripts/config.guess: Update to version 2017-12-17.
4156 * scripts/config.sub: Update to version 2017-11-23.
4157 * scripts/install-sh: Update to version 2017-09-23.17.
4158 * scripts/move-if-change: Update to version 2017-09-13 06:45.
4160 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4162 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
4163 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
4164 * sysdeps/tile/_mcount.S (__mcount): Likewise.
4165 * sysdeps/tile/crti.S (_init, _fini): Likewise.
4166 * sysdeps/tile/crtn.S: Likewise.
4167 * sysdeps/tile/dl-start.S (_start): Likewise.
4168 * sysdeps/tile/dl-trampoline.S: Likewise.
4169 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4170 * sysdeps/tile/start.S (_start): Likewise.
4171 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
4172 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
4173 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
4174 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
4175 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
4176 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
4177 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
4179 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
4181 * sysdeps/tile/preconfigure: Remove tilegx folder.
4182 * sysdeps/tile/tilegx/Implies: Move definitions to ...
4183 * sysdeps/tile/Implies: ... here.
4184 * sysdeps/tile/tilegx/Makefile: Move rules to ...
4185 * sysdeps/tile/Makefile: ... here.
4186 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
4187 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
4188 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
4189 * sysdeps/tile/bits/wordsize.h: ... here.
4190 * sysdeps/tile/tilegx/*: Move to ...
4191 * sysdeps/tile/*: ... here.
4192 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
4193 * sysdeps/tile/tilegx32/Implies: ... here.
4194 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
4195 * sysdeps/tile/tilegx64/Implies: ... here.
4196 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
4198 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4199 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
4200 * sysdeps/unix/sysv/linux/tile/*: ... here.
4201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
4202 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
4203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
4204 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
4206 * README: Remove tilepro-*-linux-gnu from supported architecture.
4207 * scripts/build-many-glibcs.py: Likewise.
4208 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
4209 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
4210 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
4211 elf_machine_matches_host, elf_machine_dynamic,
4212 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
4213 howto, elf_machine_rela): Likewise.
4214 * sysdeps/tile/dl-start.S (_start): Likewise.
4215 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
4216 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
4217 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
4218 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
4219 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
4220 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4222 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
4223 * sysdeps/tile/preconfigure: Likewise.
4224 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
4225 POINTER_CHK_GUARD): Likewise.
4226 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
4227 * sysdeps/tile/start.S (_start): Likewise.
4228 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
4230 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
4231 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
4233 * sysdeps/unix/sysv/linux/tile/bits/environments.h
4234 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
4235 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
4237 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
4238 * sysdeps/tile/tilepro/Implies: Remove file.
4239 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
4240 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4241 * sysdeps/tile/tilepro/memchr.c: Likewise.
4242 * sysdeps/tile/tilepro/memcpy.S: Likewise.
4243 * sysdeps/tile/tilepro/memset.c: Likewise.
4244 * sysdeps/tile/tilepro/memusage.h: Likewise.
4245 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
4246 * sysdeps/tile/tilepro/strchr.c: Likewise.
4247 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
4248 * sysdeps/tile/tilepro/strlen.c: Likewise.
4249 * sysdeps/tile/tilepro/strrchr.c: Likewise.
4250 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
4251 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
4252 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
4253 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
4254 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
4255 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4257 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
4258 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4259 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
4260 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
4261 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4262 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
4263 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
4264 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
4265 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
4266 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
4267 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
4268 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
4269 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
4270 tilepro mention in comment.
4272 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
4273 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
4274 * nptl/pthread_join_common.c: New file: common function used on
4275 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
4276 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
4277 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
4278 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4279 (cleanup): Move definition to pthread_join_common.c.
4280 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
4281 Remove superflous checks.
4282 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
4285 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
4287 * sysdeps/aarch64/libm-test-ulps: Update.
4289 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4291 * sysdeps/aarch64/memset.S (MEMSET): Define.
4293 2017-12-20 Florian Weimer <fweimer@redhat.com>
4296 nptl: Provide full implementation of pthread_self in libc.so.
4297 * nptl/Makefile (routines): Add pthread_self.
4298 (libpthread-routines): Replace pthread_self with
4299 compat-pthread_self.
4300 * nptl/forward.c (pthread_self): Remove.
4301 * nptl/nptl-init.c (pthread_functions): Do not initialize
4303 * nptl/pthread_self.c (pthread_self): Remove weak alias.
4304 * nptl/compat-pthread_self.c: New file.
4305 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
4306 Remove ptr_pthread_self.
4308 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
4310 * posix/regcomp.c: Fix spelling in comments.
4311 * posix/regex.h: Likewise.
4312 * posix/regex_internal.c: Likewise.
4313 * posix/regexec.c: Likewise.
4315 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4318 * math/Makefile [C++] (tests): Add test for iseqsig.
4319 * math/math.h [C++] (iseqsig): New implementation, which does
4320 not rely on __MATH_TG/__builtin_types_compatible_p.
4321 * math/test-math-iseqsig.cc: New file.
4322 * sysdeps/powerpc/powerpc64le/Makefile
4323 (CFLAGS-test-math-iseqsig.cc): New variable.
4325 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
4327 * elf/dl-load.c (is_trusted_path): Remove.
4328 (fillin_rpath): Remove check_trusted argument and its use,
4329 all callers changed.
4331 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4334 * Makeconfig (link-pie-before-libc): Replace -pie with
4335 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
4336 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
4337 (tst-dlopen-aout-no-pie): New.
4338 (LDFLAGS-tst-prelink): Removed.
4339 (tst-prelink-no-pie): New.
4340 (LDFLAGS-tst-main1): Removed.
4341 (tst-main1-no-pie): New.
4342 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
4343 (tst-gmon-no-pie): New.
4345 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4347 * manual/install.texi: Document that --enable-static-pie
4349 * INSTALL: Regenerated.
4351 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
4354 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
4357 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4361 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4365 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4367 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
4368 <errno.h>. Include "eexp.tbl".
4369 (half): New constant.
4371 (__ieee754_exp): Rewrite.
4372 (__slowexp): Remove prototype.
4373 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
4374 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
4375 * sysdeps/i386/fpu/slowexp.c: Likewise.
4376 * sysdeps/ia64/fpu/slowexp.c: Likewise.
4377 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
4378 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
4379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4380 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4381 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
4382 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
4384 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
4385 (CPPFLAGS-slowexp.c): Remove variable.
4386 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4387 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
4388 (CFLAGS-slowexp-fma.c): Remove variable.
4389 (CFLAGS-slowexp-fma4.c): Likewise.
4390 (CFLAGS-slowexp-avx.c): Likewise.
4391 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
4393 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
4394 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
4395 * math/Makefile (type-double-routines): Remove slowexp.
4396 * manual/probes.texi (slowexp_p6): Remove.
4397 (slowexp_p32): Likewise.
4399 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4401 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
4404 * lib/glob.c (glob): Do not pass NULL to mempcpy.
4406 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4410 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4412 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
4413 <errno.h>. Include "eexp.tbl".
4414 (half): New constant.
4416 (__ieee754_exp): Rewrite.
4417 (__slowexp): Remove prototype.
4418 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
4419 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
4420 * sysdeps/i386/fpu/slowexp.c: Likewise.
4421 * sysdeps/ia64/fpu/slowexp.c: Likewise.
4422 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
4423 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
4424 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4425 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4426 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
4427 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
4429 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
4430 (CPPFLAGS-slowexp.c): Remove variable.
4431 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4432 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
4433 (CFLAGS-slowexp-fma.c): Remove variable.
4434 (CFLAGS-slowexp-fma4.c): Likewise.
4435 (CFLAGS-slowexp-avx.c): Likewise.
4436 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
4438 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
4439 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
4440 * math/Makefile (type-double-routines): Remove slowexp.
4441 * manual/probes.texi (slowexp_p6): Remove.
4442 (slowexp_p32): Likewise.
4444 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4445 James Clarke <jrtc27@jrtc27.com>
4448 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
4451 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4454 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
4457 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4460 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
4461 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
4462 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
4463 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
4466 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4469 * bits/types/__cancel_jmp_buf_tag.h: New file.
4470 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
4471 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
4472 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
4473 * nptl/Makefile (headers): Add
4474 bits/types/__cancel_jmp_buf_tag.h.
4475 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
4476 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
4477 * sysdeps/nptl/pthread.h: Include
4478 <bits/types/__cancel_jmp_buf_tag.h>.
4479 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
4481 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
4483 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
4485 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4486 --enable-static-pie variants to x86_64, x32 and i686.
4488 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4491 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
4492 argument for attrubutes. All callers changed.
4493 (__inline_mathop1): Likewise. All callers changed.
4494 (__inline_mathop): Likewise. All callers changed.
4495 [__USE_MISC] (scalbn): Use __inline_forward instead of
4497 [__USE_ISOC99] (scalbln): Likewise.
4498 [__USE_ISOC99] (nearbyint): Likewise.
4499 [__USE_ISOC99] (lrint): Likewise.
4500 [__USE_MISC] (scalbnf): Likewise.
4501 [__USE_ISOC99] (scalblnf): Likewise.
4502 [__USE_ISOC99] (nearbyintf): Likewise.
4503 [__USE_ISOC99] (lrintf): Likewise.
4504 [__USE_MISC] (scalbnl): Likewise.
4505 [__USE_ISOC99] (scalblnl): Likewise.
4506 [__USE_ISOC99] (nearbyintl): Likewise.
4507 [__USE_ISOC99] (lrintl): Likewise.
4508 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
4509 __inline_mathop and __m81_defun changed.
4511 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
4512 CPU or FPU for ARM hard-float configurations.
4514 2017-12-18 Joseph Myers <joseph@codesourcery.com>
4516 * nptl/tst-attr3.c: Include <libc-diag.h>.
4517 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
4519 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
4521 * string/tester.c (test_strncat): Also disable -Warray-bounds
4522 warnings for two tests.
4524 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
4527 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
4528 $(cc-pie-default) == yes.
4529 * config.make.in (cc-pie-default): New.
4530 * configure.ac (libc_cv_pie_default): Renamed to ...
4531 (libc_cv_cc_pie_default): This.
4532 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
4533 * configure: Regenerated.
4535 2017-12-18 Florian Weimer <fweimer@redhat.com>
4538 ld.so: Harden dl-libc/libdl hooks.
4539 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
4540 (rtld_active): New function.
4541 * dlfcn/dladdr.c (__dladdr): Call it.
4542 * dlfcn/dladdr1.c (__dladdr1): Likewise.
4543 * dlfcn/dlclose.c (__dlcose): Likewise.
4544 * dlfcn/dlerror.c (__dlerror): Likewise.
4545 * dlfcn/dlinfo.c (__dlinfo): Likewise.
4546 * dlfcn/dlmopen.c (__dlmopen): Likewise.
4547 * dlfcn/dlopen.c (__dlopen): Likewise.
4548 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4549 * dlfcn/dlsym.c (__dlsym): Likewise.
4550 * dlfcn/dlvsym.c (__dlvsym): Likewise.
4551 * libio/vtables.c (_IO_vtable_check): Likewise.
4552 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
4553 (__libc_dlclose): Likewise.
4554 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
4557 2017-12-18 Joseph Myers <joseph@codesourcery.com>
4560 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
4561 buffers for readlink input and output.
4563 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
4566 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
4567 inhibit_stack_protector.
4570 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
4571 inhibit_stack_protector.
4573 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
4576 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
4577 code and invocation.
4579 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
4581 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
4583 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
4586 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
4588 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4590 * sysdeps/s390/fpu/libm-test-ulps: Update.
4592 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4596 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4598 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
4599 constants to s_sincosf.h file.
4600 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4601 * sysdeps/ieee754/flt-32/s_sincosf.c: New
4603 * sysdeps/ieee754/flt-32/s_sincosf.h:
4606 2017-12-12 Carlos O'Donell <carlos@redhat.com>
4609 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
4612 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
4615 * INSTALL: Regenerated.
4616 * Makeconfig (real-static-start-installed-name): New.
4617 (pic-default): Updated for --enable-static-pie.
4618 (pie-default): New for --enable-static-pie.
4619 (default-pie-ldflag): Likewise.
4620 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
4621 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
4622 Replace $(static-start-installed-name) with
4623 $(real-static-start-installed-name).
4624 (+prectorT): Updated for --enable-static-pie.
4625 (+postctorT): Likewise.
4626 (CFLAGS-.o): Add $(pie-default).
4627 (CFLAGS-.op): Likewise.
4628 * NEWS: Mention --enable-static-pie.
4629 * config.h.in (ENABLE_STATIC_PIE): New.
4630 * configure.ac (--enable-static-pie): New configure option.
4631 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
4632 (have-static-pie): Likewise.
4633 Enable static PIE if linker supports --no-dynamic-linker.
4634 (ENABLE_STATIC_PIE): New AC_DEFINE.
4635 (enable-static-pie): New LIBC_CONFIG_VAR.
4636 * configure: Regenerated.
4637 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
4638 gr$(start-installed-name) for --enable-static-pie.
4639 (extra-objs): Likewise.
4640 (install-lib): Likewise.
4641 (extra-objs): Add static-reloc.o and static-reloc.os
4642 ($(objpfx)$(start-installed-name)): Also depend on
4643 $(objpfx)static-reloc.o.
4644 ($(objpfx)r$(start-installed-name)): New.
4645 ($(objpfx)g$(start-installed-name)): Also depend on
4646 $(objpfx)static-reloc.os.
4647 ($(objpfx)gr$(start-installed-name)): New.
4648 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
4650 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
4652 * csu/static-reloc.c: New file.
4653 * elf/Makefile (routines): Add dl-reloc-static-pie.
4654 (elide-routines.os): Likewise.
4655 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
4656 (tst-tls1-static-non-pie-no-pie): New.
4657 * elf/dl-reloc-static-pie.c: New file.
4658 * elf/dl-support.c (_dl_get_dl_main_map): New function.
4659 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
4660 STATIC_PIE_BOOTSTRAP.
4661 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4662 * gmon/Makefile (tests): Add tst-gmon-static-pie.
4663 (tests-static): Likewise.
4664 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
4665 (tst-gmon-static-no-pie): New.
4666 (CFLAGS-tst-gmon-static-pie.c): Likewise.
4667 (CRT-tst-gmon-static-pie): Likewise.
4668 (tst-gmon-static-pie-ENV): Likewise.
4669 (tests-special): Likewise.
4670 ($(objpfx)tst-gmon-static-pie.out): Likewise.
4671 (clean-tst-gmon-static-pie-data): Likewise.
4672 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
4673 * gmon/tst-gmon-static-pie.c: New file.
4674 * manual/install.texi: Document --enable-static-pie.
4675 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
4676 (_dl_get_dl_main_map): Likewise.
4677 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
4678 * sysdeps/x86_64/configure.ac: Likewise.
4679 * sysdeps/i386/configure: Regenerated.
4680 * sysdeps/x86_64/configure: Likewise.
4681 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
4682 (ASFLAGS-.op): Likewise.
4684 2017-12-15 Joseph Myers <joseph@codesourcery.com>
4686 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
4687 * posix/tst-mmap-offset.c (fname): Use /tmp.
4688 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
4690 2017-12-15 Steve Ellcey <sellcey@cavium.com>
4692 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
4694 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
4696 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
4699 2017-12-15 Joseph Myers <joseph@codesourcery.com>
4701 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
4702 --with-float=hard for arm-linux-gnueabihf configurations.
4705 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
4706 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
4707 ($(mo-installed)): Use $(objpfx)%.mo.
4708 (realclean): Remove rule.
4710 * po/Makefile (linguas): Remove rule and dependencies.
4711 (linguas.mo): Likewise.
4712 (.PHONY): Do not depend on linguas and linguas.mo.
4713 (podir): Remove variable.
4714 (pofiles): Likewise.
4715 [$(pofiles)] (%.po): Remove rule.
4717 * sysdeps/sparc/sparc32/Makefile
4718 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
4719 start-of-line whitespace in argument of echo.
4720 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
4721 with whitespace. Generate __wrap_.udiv alias.
4722 * sysdeps/sparc/sparc32/rem.S: Regenerated.
4723 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4724 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4725 * sysdeps/sparc/sparc32/urem.S: Likewise.
4727 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4729 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
4732 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4734 * benchtests/bench-strcmp.c: Print output in JSON format.
4736 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
4738 2017-12-14 Florian Weimer <fweimer@redhat.com>
4742 * elf/dl-load.c (_dl_init_paths): Compute number of components in
4743 the expanded path string.
4745 2017-12-14 Florian Weimer <fweimer@redhat.com>
4749 * elf/dl-load.c (system_dirs): Update comment.
4750 (nsystem_dirs_len): Use array_length.
4751 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
4753 2017-12-14 Florian Weimer <fweimer@redhat.com>
4755 Simplify compiling most of support/ outside of glibc.
4756 * support/check_addrinfo.c: Include <string.h>.
4757 * support/check_dns_packet.c: Likewise.
4758 * support/check_hostent.c: Likewise.
4759 * support/support_can_chroot.c: Include <support/xunistd.h>.
4760 * support/support_format_addrinfo.c: Include <stdlib.h>
4761 * support/support_format_dns_packet.c: Include <stdbool.h>.
4762 * support/support_format_hostent.c: Include <stdlib.h>.
4763 * support/support_format_netent.c: Likewise.
4764 * support/support_write_string.c: Include <support/xunistd.h>.
4765 * support/xdlfcn.c: Include <stddef.h>.
4767 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
4769 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
4771 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4772 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4774 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4775 (sysdeps_routines): Add memset-niagara7.
4776 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
4778 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
4780 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
4781 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
4782 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
4783 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
4784 Add niagara7 option.
4785 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
4788 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4789 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
4790 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
4792 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
4794 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
4795 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
4796 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
4797 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
4798 and __memmove_niagara7.
4799 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
4800 Add niagara7 option.
4801 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
4802 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
4803 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
4804 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
4805 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
4807 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4809 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
4810 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
4811 * sysdeps/sparc/sparc64/memmove.S: Likewise.
4812 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
4814 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
4815 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
4816 _dl_sparc_cap_flags array.
4817 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
4819 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
4821 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
4822 time whenever possible.
4824 2017-12-12 Carlos O'Donell <carlos@redhat.com>
4826 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
4827 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
4829 2017-12-12 Joseph Myers <joseph@codesourcery.com>
4831 * soft-fp/fmadf4.c: Move to ....
4832 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
4833 * soft-fp/fmasf4.c: Move to ....
4834 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
4835 * soft-fp/fmatf4.c: Move to ....
4836 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
4837 * sysdeps/ieee754/soft-fp/Makefile: New file.
4838 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
4839 * sysdeps/arm/preconfigure: Regenerated.
4840 * sysdeps/arm/nofpu/Implies: New file.
4841 * sysdeps/arm/s_fma.c: Remove file.
4842 * sysdeps/arm/s_fmaf.c: Likewise.
4843 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
4844 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
4845 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4846 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
4847 * sysdeps/microblaze/s_fma.c: Remove file.
4848 * sysdeps/microblaze/s_fmaf.c: Likewise.
4849 * sysdeps/mips/mips32/nofpu/Implies: New file.
4850 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
4851 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
4852 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
4853 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
4854 * sysdeps/mips/ieee754/s_fma.c: Remove file.
4855 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
4856 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
4858 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
4859 * sysdeps/nios2/s_fma.c: Remove file.
4860 * sysdeps/nios2/s_fmaf.c: Likewise.
4861 * sysdeps/sh/nofpu/Implies: New file.
4862 * sysdeps/sh/s_fma.c: Remove file.
4863 * sysdeps/sh/s_fmaf.c: Likewise.
4864 * sysdeps/tile/Implies: Add ieee754/soft-fp.
4865 * sysdeps/tile/s_fma.c: Remove file.
4866 * sysdeps/tile/s_fmaf.c: Likewise.
4868 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
4870 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4871 Add s_cosf-sse2 and s_cosf-fma.
4872 (CFLAGS-s_cosf-fma.c): New.
4873 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
4874 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
4875 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
4877 2017-12-12 Steve Ellcey <sellcey@cavium.com>
4879 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
4881 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4883 * libio/Makefile (tests): Add tst-bz22415.
4884 (tst-bz22415-ENV): New rule.
4885 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
4886 (tests-special): Add tst-bz22415-mem.out.
4887 ($(objpfx)tst-bz22415-mem.out): New rule.
4888 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
4889 in case of a successful seek operation.
4890 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4891 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
4893 * libio/tst-bz22415.c: New test.
4895 * sysdeps/ia64/fpu/libm-test-ulps: Update.
4897 2017-12-12 James Clarke <jrtc27@jrtc27.com>
4899 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
4900 __IPC_64 to 0 to avoid IPC_64 being set.
4902 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4905 * math/bits/mathcalls.h (nextafter): Remove const.
4906 (nexttoward): Likewise.
4908 2017-12-12 Joseph Myers <joseph@codesourcery.com>
4910 * configure.ac (--with-fp): Remove configure option.
4911 (with_fp_cond): New variable.
4912 (libc_cv_with_fp): New configure test. Use this variable instead
4914 * configure: Regenerated.
4915 * config.make.in (with-fp): Use @libc_cv_with_fp@.
4916 * manual/install.texi (Configuring and compiling): Remove
4918 * INSTALL: Regenerated.
4919 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
4920 * sysdeps/mips/preconfigure (with_fp_cond): Define.
4921 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
4922 * sysdeps/sh/preconfigure (with_fp_cond): Define.
4923 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
4924 use --without-fp to configure glibc.
4926 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
4928 * manual/locale.texi (nl_langinfo): Fix a typo.
4930 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
4933 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
4935 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
4937 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
4938 (CFLAGS-argp-parse.c): Likewise.
4939 (CFLAGS-argp-fmtstream.c): Likewise.
4940 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
4941 (CPPFLAGS-sha512-crypt.c): Likewise.
4942 (CPPFLAGS-md5-crypt.c): Likewise.
4943 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
4944 (CFLAGS-stack_chk_fail_local.c): Likewise.
4945 (CFLAGS-backtrace.c): Likewise.
4946 (CFLAGS-sprintf_chk.c): Likewise.
4947 (CFLAGS-snprintf_chk.c): Likewise.
4948 (CFLAGS-vsprintf_chk.c): Likewise.
4949 (CFLAGS-vsnprintf_chk.c): Likewise.
4950 (CFLAGS-asprintf_chk.c): Likewise.
4951 (CFLAGS-vasprintf_chk.c): Likewise.
4952 (CFLAGS-obprintf_chk.c): Likewise.
4953 (CFLAGS-dprintf_chk.c): Likewise.
4954 (CFLAGS-vdprintf_chk.c): Likewise.
4955 (CFLAGS-printf_chk.c): Likewise.
4956 (CFLAGS-fprintf_chk.c): Likewise.
4957 (CFLAGS-vprintf_chk.c): Likewise.
4958 (CFLAGS-vfprintf_chk.c): Likewise.
4959 (CFLAGS-gets_chk.c): Likewise.
4960 (CFLAGS-fgets_chk.c): Likewise.
4961 (CFLAGS-fgets_u_chk.c): Likewise.
4962 (CFLAGS-fread_chk.c): Likewise.
4963 (CFLAGS-fread_u_chk.c): Likewise.
4964 (CFLAGS-swprintf_chk.c): Likewise.
4965 (CFLAGS-vswprintf_chk.c): Likewise.
4966 (CFLAGS-wprintf_chk.c): Likewise.
4967 (CFLAGS-fwprintf_chk.c): Likewise.
4968 (CFLAGS-vwprintf_chk.c): Likewise.
4969 (CFLAGS-vfwprintf_chk.c): Likewise.
4970 (CFLAGS-fgetws_chk.c): Likewise.
4971 (CFLAGS-fgetws_u_chk.c): Likewise.
4972 (CFLAGS-read_chk.c): Likewise.
4973 (CFLAGS-pread_chk.c): Likewise.
4974 (CFLAGS-pread64_chk.c): Likewise.
4975 (CFLAGS-recv_chk.c): Likewise.
4976 (CFLAGS-recvfrom_chk.c): Likewise.
4977 (CFLAGS-tst-longjmp_chk.c): Likewise.
4978 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
4979 (CFLAGS-tst-longjmp_chk2.c): Likewise.
4980 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
4981 (CFLAGS-tst-longjmp_chk3.c): Likewise.
4982 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4983 (CFLAGS-tst-chk1.c): Likewise.
4984 (CFLAGS-tst-chk2.c): Likewise.
4985 (CFLAGS-tst-chk3.c): Likewise.
4986 (CFLAGS-tst-chk4.cc): Likewise.
4987 (CFLAGS-tst-chk5.cc): Likewise.
4988 (CFLAGS-tst-chk6.cc): Likewise.
4989 (CFLAGS-tst-lfschk1.c): Likewise.
4990 (CFLAGS-tst-lfschk2.c): Likewise.
4991 (CFLAGS-tst-lfschk3.c): Likewise.
4992 (CFLAGS-tst-lfschk4.cc): Likewise.
4993 (CFLAGS-tst-lfschk5.cc): Likewise.
4994 (CFLAGS-tst-lfschk6.cc): Likewise.
4995 (CFLAGS-tst-ssp-1.c): Likewise.
4996 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
4997 (CFLAGS-scandir64.c): Likewise.
4998 (CFLAGS-scandir-tail.c): Likewise.
4999 (CFLAGS-scandir64-tail.c): Likewise.
5000 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
5001 (CFLAGS-dl-tunables.c): Likewise.
5002 (CFLAGS-dl-runtime.c): Likewise.
5003 (CFLAGS-dl-lookup.c): Likewise.
5004 (CFLAGS-dl-iterate-phdr.c): Likewise.
5005 (CFLAGS-vismain.c): Likewise.
5006 (CFLAGS-tst-linkall-static.c): Likewise.
5007 (CFLAGS-tst-linkall-static.c): Likewise.
5008 (CPPFLAGS-dl-load.c): Likewise.
5009 (CFLAGS-ldconfig.c): Likewise.
5010 (CFLAGS-dl-cache.c): Likewise.
5011 (CFLAGS-cache.c): Likewise.
5012 (CFLAGS-rtld.c): Likewise.
5013 (CFLAGS-multiload.c): Likewise.
5014 (CFLAGS-filtmod1.c): Likewise.
5015 (CFLAGS-tst-align.c): Likewise.
5016 (CFLAGS-tst-align2.c): Likewise.
5017 (CFLAGS-tst-alignmod.c): Likewise.
5018 (CFLAGS-tst-alignmod2.c): Likewise.
5019 (CPPFLAGS-tst-execstack.c): Likewise.
5020 (CFLAGS-tst-ptrguard1-static.c): Likewise.
5021 (CFLAGS-tst-latepthreadmod.c): Likewise.
5022 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
5023 (CFLAGS-getgrnam_r.c): Likewise.
5024 (CFLAGS-getgrent_r.c): Likewise.
5025 (CFLAGS-getgrent.c): Likewise.
5026 (CFLAGS-fgetgrent.c): Likewise.
5027 (CFLAGS-fgetgrent_r.c): Likewise.
5028 (CFLAGS-putgrent.c): Likewise.
5029 (CFLAGS-initgroups.c): Likewise.
5030 (CFLAGS-getgrgid.c): Likewise.
5031 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
5032 (CFLAGS-getsgent.c): Likewise.
5033 (CFLAGS-fgetsgent.c): Likewise.
5034 (CFLAGS-fgetsgent_r.c): Likewise.
5035 (CFLAGS-putsgent.c): Likewise.
5036 (CFLAGS-getsgnam.c): Likewise.
5037 (CFLAGS-getsgnam_r.c): Likewise.
5038 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
5039 (CFLAGS-iconv_charmap.c): Likewise.
5040 (CFLAGS-dummy-repertoire.c): Likewise.
5041 (CFLAGS-charmap.c): Likewise.
5042 (CFLAGS-linereader.c): Likewise.
5043 (CFLAGS-simple-hash.c): Likewise.
5044 (CFLAGS-gconv_conf.c): Likewise.
5045 (CFLAGS-iconvconfig.c): Likewise.
5046 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5047 (CFLAGS-gethstbyad.c): Likewise.
5048 (CFLAGS-gethstbynm_r.c): Likewise.
5049 (CFLAGS-gethstbynm.c): Likewise.
5050 (CFLAGS-gethstbynm2_r.c): Likewise.
5051 (CFLAGS-gethstbynm2.c): Likewise.
5052 (CFLAGS-gethstent_r.c): Likewise.
5053 (CFLAGS-gethstent.c): Likewise.
5054 (CFLAGS-rcmd.c): Likewise.
5055 (CFLAGS-getnetbynm_r.c): Likewise.
5056 (CFLAGS-getnetbynm.c): Likewise.
5057 (CFLAGS-getnetbyad_r.c): Likewise.
5058 (CFLAGS-getnetbyad.c): Likewise.
5059 (CFLAGS-getnetent_r.c): Likewise.
5060 (CFLAGS-getnetent.c): Likewise.
5061 (CFLAGS-getaliasent_r.c): Likewise.
5062 (CFLAGS-getaliasent.c): Likewise.
5063 (CFLAGS-getrpcent_r.c): Likewise.
5064 (CFLAGS-getrpcent.c): Likewise.
5065 (CFLAGS-getservent_r.c): Likewise.
5066 (CFLAGS-getservent.c): Likewise.
5067 (CFLAGS-getprtent_r.c): Likewise.
5068 (CFLAGS-getprtent.c): Likewise.
5069 (CFLAGS-either_ntoh.c): Likewise.
5070 (CFLAGS-either_hton.c): Likewise.
5071 (CFLAGS-getnetgrent.c): Likewise.
5072 (CFLAGS-getnetgrent_r.c): Likewise.
5073 (CFLAGS-tst-checks-posix.c): Likewise.
5074 (CFLAGS-tst-sockaddr.c): Likewise.
5075 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
5076 (CFLAGS-tst-translit.c): Likewise.
5077 (CFLAGS-tst-gettext2.c): Likewise.
5078 (CFLAGS-tst-codeset.c): Likewise.
5079 (CFLAGS-tst-gettext3.c): Likewise.
5080 (CFLAGS-tst-gettext4.c): Likewise.
5081 (CFLAGS-tst-gettext5.c): Likewise.
5082 (CFLAGS-tst-gettext6.c): Likewise.
5083 * io/Makefile (CFLAGS-open.c): Likewise.
5084 (CFLAGS-open64.c): Likewise.
5085 (CFLAGS-creat.c): Likewise.
5086 (CFLAGS-creat64.c): Likewise.
5087 (CFLAGS-fcntl.c): Likewise.
5088 (CFLAGS-poll.c): Likewise.
5089 (CFLAGS-ppoll.c): Likewise.
5090 (CFLAGS-lockf.c): Likewise.
5091 (CFLAGS-statfs.c): Likewise.
5092 (CFLAGS-fstatfs.c): Likewise.
5093 (CFLAGS-statvfs.c): Likewise.
5094 (CFLAGS-fstatvfs.c): Likewise.
5095 (CFLAGS-fts.c): Likewise.
5096 (CFLAGS-fts64.c): Likewise.
5097 (CFLAGS-ftw.c): Likewise.
5098 (CFLAGS-ftw64.c): Likewise.
5099 (CFLAGS-lockf.c): Likewise.
5100 (CFLAGS-posix_fallocate.c): Likewise.
5101 (CFLAGS-posix_fallocate64.c): Likewise.
5102 (CFLAGS-fallocate.c): Likewise.
5103 (CFLAGS-fallocate64.c): Likewise.
5104 (CFLAGS-read.c): Likewise.
5105 (CFLAGS-write.c): Likewise.
5106 (CFLAGS-test-stat.c): Likewise.
5107 (CFLAGS-test-lfs.c): Likewise.
5108 * libio/Makefile (CFLAGS-fileops.c): Likewise.
5109 (CFLAGS-fputc.c): Likewise.
5110 (CFLAGS-fputwc.c): Likewise.
5111 (CFLAGS-freopen64.c): Likewise.
5112 (CFLAGS-freopen.c): Likewise.
5113 (CFLAGS-fseek.c): Likewise.
5114 (CFLAGS-fseeko64.c): Likewise.
5115 (CFLAGS-fseeko.c): Likewise.
5116 (CFLAGS-ftello64.c): Likewise.
5117 (CFLAGS-ftello.c): Likewise.
5118 (CFLAGS-fwide.c): Likewise.
5119 (CFLAGS-genops.c): Likewise.
5120 (CFLAGS-getc.c): Likewise.
5121 (CFLAGS-getchar.c): Likewise.
5122 (CFLAGS-getwc.c): Likewise.
5123 (CFLAGS-getwchar.c): Likewise.
5124 (CFLAGS-iofclose.c): Likewise.
5125 (CFLAGS-iofflush.c): Likewise.
5126 (CFLAGS-iofgetpos64.c): Likewise.
5127 (CFLAGS-iofgetpos.c): Likewise.
5128 (CFLAGS-iofgets.c): Likewise.
5129 (CFLAGS-iofgetws.c): Likewise.
5130 (CFLAGS-iofputs.c): Likewise.
5131 (CFLAGS-iofputws.c): Likewise.
5132 (CFLAGS-iofread.c): Likewise.
5133 (CFLAGS-iofsetpos64.c): Likewise.
5134 (CFLAGS-iofsetpos.c): Likewise.
5135 (CFLAGS-ioftell.c): Likewise.
5136 (CFLAGS-iofwrite.c): Likewise.
5137 (CFLAGS-iogetdelim.c): Likewise.
5138 (CFLAGS-iogetline.c): Likewise.
5139 (CFLAGS-iogets.c): Likewise.
5140 (CFLAGS-iogetwline.c): Likewise.
5141 (CFLAGS-ioputs.c): Likewise.
5142 (CFLAGS-ioseekoff.c): Likewise.
5143 (CFLAGS-ioseekpos.c): Likewise.
5144 (CFLAGS-iosetbuffer.c): Likewise.
5145 (CFLAGS-iosetvbuf.c): Likewise.
5146 (CFLAGS-ioungetc.c): Likewise.
5147 (CFLAGS-ioungetwc.c): Likewise.
5148 (CFLAGS-oldfileops.c): Likewise.
5149 (CFLAGS-oldiofclose.c): Likewise.
5150 (CFLAGS-oldiofgetpos64.c): Likewise.
5151 (CFLAGS-oldiofgetpos.c): Likewise.
5152 (CFLAGS-oldiofsetpos64.c): Likewise.
5153 (CFLAGS-oldiofsetpos.c): Likewise.
5154 (CFLAGS-peekc.c): Likewise.
5155 (CFLAGS-putc.c): Likewise.
5156 (CFLAGS-putchar.c): Likewise.
5157 (CFLAGS-putwc.c): Likewise.
5158 (CFLAGS-putwchar.c): Likewise.
5159 (CFLAGS-rewind.c): Likewise.
5160 (CFLAGS-wfileops.c): Likewise.
5161 (CFLAGS-wgenops.c): Likewise.
5162 (CFLAGS-oldiofopen.c): Likewise.
5163 (CFLAGS-iofopen.c): Likewise.
5164 (CFLAGS-iofopen64.c): Likewise.
5165 (CFLAGS-oldtmpfile.c): Likewise.
5166 (CFLAGS-tst_putwc.c): Likewise.
5167 * locale/Makefile (CFLAGS-md5.c): Likewise.
5168 (CFLAGS-charmap.c): Likewise.
5169 (CFLAGS-locfile.c): Likewise.
5170 (CFLAGS-charmap-dir.c): Likewise.
5171 * login/Makefile (CFLAGS-grantpt.c): Likewise.
5172 (CFLAGS-getpt.c): Likewise.
5173 (CFLAGS-pt_chown.c): Likewise.
5174 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
5175 (CFLAGS-obstack.c): Likewise.
5176 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
5177 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
5178 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
5179 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
5180 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
5181 (CFLAGS-test-tgmath.c): Likewise.
5182 (CFLAGS-test-tgmath2.c): Likewise.
5183 (CFLAGS-test-tgmath-ret.c): Likewise.
5184 (CFLAGS-test-powl.c): Likewise.
5185 (CFLAGS-test-snan.c): Likewise.
5186 (CFLAGS-test-signgam-finite.c): Likewise.
5187 (CFLAGS-test-signgam-finite-c99.c): Likewise.
5188 (CFLAGS-test-signgam-finite-c11.c): Likewise.
5189 (CFLAGS-test-signgam-uchar.c): Likewise.
5190 (CFLAGS-test-signgam-uchar-init.c): Likewise.
5191 (CFLAGS-test-signgam-uchar-static.c): Likewise.
5192 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5193 (CFLAGS-test-signgam-uint.c): Likewise.
5194 (CFLAGS-test-signgam-uint-init.c): Likewise.
5195 (CFLAGS-test-signgam-uint-static.c): Likewise.
5196 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5197 (CFLAGS-test-signgam-ullong.c): Likewise.
5198 (CFLAGS-test-signgam-ullong-init.c): Likewise.
5199 (CFLAGS-test-signgam-ullong-static.c): Likewise.
5200 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5201 (CFLAGS-test-math-cxx11.cc): Likewise.
5202 (CFLAGS-test-math-isinff.cc): Likewise.
5203 (CFLAGS-test-math-iszero.cc): Likewise.
5204 (CFLAGS-test-math-issignaling.cc): Likewise.
5205 (CFLAGS-test-math-iscanonical.cc): Likewise.
5206 (CFLAGS-test-iszero-excess-precision.c): Likewise.
5207 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
5208 (CFLAGS-test-flt-eval-method.c): Likewise.
5209 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
5210 (CFLAGS-test-finite-macros.c): Likewise.
5211 * misc/Makefile (CFLAGS-select.c): Likewise.
5212 (CFLAGS-tsearch.c): Likewise.
5213 (CFLAGS-lsearch.c): Likewise.
5214 (CFLAGS-pselect.c): Likewise.
5215 (CFLAGS-readv.c): Likewise.
5216 (CFLAGS-writev.c): Likewise.
5217 (CFLAGS-preadv.c): Likewise.
5218 (CFLAGS-preadv64.c): Likewise.
5219 (CFLAGS-pwritev.c): Likewise.
5220 (CFLAGS-pwritev64.c): Likewise.
5221 (CFLAGS-preadv2.c): Likewise.
5222 (CFLAGS-preadv64v2.c): Likewise.
5223 (CFLAGS-pwritev2.c): Likewise.
5224 (CFLAGS-pwritev64v2.c): Likewise.
5225 (CFLAGS-usleep.c): Likewise.
5226 (CFLAGS-syslog.c): Likewise.
5227 (CFLAGS-error.c): Likewise.
5228 (CFLAGS-getpass.c): Likewise.
5229 (CFLAGS-mkstemp.c): Likewise.
5230 (CFLAGS-mkstemp64.c): Likewise.
5231 (CFLAGS-getsysstats.c): Likewise.
5232 (CFLAGS-getusershell.c): Likewise.
5233 (CFLAGS-err.c): Likewise.
5234 (CFLAGS-tst-tsearch.c): Likewise.
5235 (CFLAGS-msync.c): Likewise.
5236 (CFLAGS-fdatasync.c): Likewise.
5237 (CFLAGS-fsync.c): Likewise.
5238 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
5239 (CFLAGS-unwind.c): Likewise.
5240 (CFLAGS-unwind-forcedunwind.c): Likewise.
5241 (CFLAGS-pthread_cancel.c): Likewise.
5242 (CFLAGS-pthread_setcancelstate.c): Likewise.
5243 (CFLAGS-pthread_setcanceltype.c): Likewise.
5244 (CFLAGS-cancellation.c): Likewise.
5245 (CFLAGS-libc-cancellation.c): Likewise.
5246 (CFLAGS-pthread_exit.c): Likewise.
5247 (CFLAGS-forward.c): Likewise.
5248 (CFLAGS-pthread_testcancel.c): Likewise.
5249 (CFLAGS-pthread_join.c): Likewise.
5250 (CFLAGS-pthread_timedjoin.c): Likewise.
5251 (CFLAGS-pthread_once.c): Likewise.
5252 (CFLAGS-pthread_cond_wait.c): Likewise.
5253 (CFLAGS-sem_wait.c): Likewise.
5254 (CFLAGS-sem_timedwait.c): Likewise.
5255 (CFLAGS-fcntl.c): Likewise.
5256 (CFLAGS-lockf.c): Likewise.
5257 (CFLAGS-pread.c): Likewise.
5258 (CFLAGS-pread64.c): Likewise.
5259 (CFLAGS-pwrite.c): Likewise.
5260 (CFLAGS-pwrite64.c): Likewise.
5261 (CFLAGS-wait.c): Likewise.
5262 (CFLAGS-waitpid.c): Likewise.
5263 (CFLAGS-sigwait.c): Likewise.
5264 (CFLAGS-msgrcv.c): Likewise.
5265 (CFLAGS-msgsnd.c): Likewise.
5266 (CFLAGS-tcdrain.c): Likewise.
5267 (CFLAGS-open.c): Likewise.
5268 (CFLAGS-open64.c): Likewise.
5269 (CFLAGS-pause.c): Likewise.
5270 (CFLAGS-recv.c): Likewise.
5271 (CFLAGS-send.c): Likewise.
5272 (CFLAGS-accept.c): Likewise.
5273 (CFLAGS-sendto.c): Likewise.
5274 (CFLAGS-connect.c): Likewise.
5275 (CFLAGS-recvfrom.c): Likewise.
5276 (CFLAGS-recvmsg.c): Likewise.
5277 (CFLAGS-sendmsg.c): Likewise.
5278 (CFLAGS-close.c): Likewise.
5279 (CFLAGS-read.c): Likewise.
5280 (CFLAGS-write.c): Likewise.
5281 (CFLAGS-nanosleep.c): Likewise.
5282 (CFLAGS-sigsuspend.c): Likewise.
5283 (CFLAGS-msync.c): Likewise.
5284 (CFLAGS-fdatasync.c): Likewise.
5285 (CFLAGS-fsync.c): Likewise.
5286 (CFLAGS-pt-system.c): Likewise.
5287 (CFLAGS-tst-cleanup2.c): Likewise.
5288 (CFLAGS-tst-cleanupx2.c): Likewise.
5289 (CFLAGS-flockfile.c): Likewise.
5290 (CFLAGS-ftrylockfile.c): Likewise.
5291 (CFLAGS-funlockfile.c): Likewise.
5292 (CFLAGS-tst-initializers1.c): Likewise.
5293 (CFLAGS-tst-initializers1-c89.c): Likewise.
5294 (CFLAGS-tst-initializers1-c99.c): Likewise.
5295 (CFLAGS-tst-initializers1-c11.c): Likewise.
5296 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
5297 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
5298 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5299 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
5300 (CFLAGS-nscd_getgr_r.c): Likewise.
5301 (CFLAGS-nscd_gethst_r.c): Likewise.
5302 (CFLAGS-nscd_getai.c): Likewise.
5303 (CFLAGS-nscd_initgroups.c): Likewise.
5304 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
5305 (CFLAGS-pause.c): Likewise.
5306 (CFLAGS-pread.c): Likewise.
5307 (CFLAGS-pread64.c): Likewise.
5308 (CFLAGS-pwrite.c): Likewise.
5309 (CFLAGS-pwrite64.c): Likewise.
5310 (CFLAGS-sleep.c): Likewise.
5311 (CFLAGS-wait.c): Likewise.
5312 (CFLAGS-waitid.c): Likewise.
5313 (CFLAGS-waitpid.c): Likewise.
5314 (CFLAGS-getopt.c): Likewise.
5315 (CFLAGS-wordexp.c): Likewise.
5316 (CFLAGS-sysconf.c): Likewise.
5317 (CFLAGS-pathconf.c): Likewise.
5318 (CFLAGS-fpathconf.c): Likewise.
5319 (CFLAGS-spawn.c): Likewise.
5320 (CFLAGS-spawnp.c): Likewise.
5321 (CFLAGS-spawni.c): Likewise.
5322 (CFLAGS-glob.c): Likewise.
5323 (CFLAGS-glob64.c): Likewise.
5324 (CFLAGS-getconf.c): Likewise.
5325 (CFLAGS-nanosleep.c): Likewise.
5326 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
5327 (CFLAGS-getpwent.c): Likewise.
5328 (CFLAGS-getpw.c): Likewise.
5329 (CFLAGS-fgetpwent_r.c): Likewise.
5330 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
5331 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
5332 (CFLAGS-mq_timedreceive.c): Likewise.
5333 (CFLAGS-mq_timedsend.c): Likewise.
5334 (CFLAGS-clock_nanosleep.c): Likewise.
5335 (CFLAGS-librt-cancellation.c): Likewise.
5336 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
5337 (CFLAGS-getspent.c): Likewise.
5338 (CFLAGS-fgetspent.c): Likewise.
5339 (CFLAGS-fgetspent_r.c): Likewise.
5340 (CFLAGS-putspent.c): Likewise.
5341 (CFLAGS-getspnam.c): Likewise.
5342 (CFLAGS-getspnam_r.c): Likewise.
5343 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
5344 (CFLAGS-sigsuspend.c): Likewise.
5345 (CFLAGS-sigtimedwait.c): Likewise.
5346 (CFLAGS-sigwait.c): Likewise.
5347 (CFLAGS-sigwaitinfo.c): Likewise.
5348 (CFLAGS-sigreturn.c): Likewise.
5349 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5350 (CFLAGS-vfwprintf.c): Likewise.
5351 (CFLAGS-tmpfile.c): Likewise.
5352 (CFLAGS-tmpfile64.c): Likewise.
5353 (CFLAGS-tempname.c): Likewise.
5354 (CFLAGS-psignal.c): Likewise.
5355 (CFLAGS-vprintf.c): Likewise.
5356 (CFLAGS-cuserid.c): Likewise.
5357 (CFLAGS-errlist.c): Likewise.
5358 (CFLAGS-siglist.c): Likewise.
5359 (CFLAGS-scanf15.c): Likewise.
5360 (CFLAGS-scanf17.c): Likewise.
5361 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
5362 (CFLAGS-msort.c): Likewise.
5363 (CFLAGS-qsort.c): Likewise.
5364 (CFLAGS-system.c): Likewise.
5365 (CFLAGS-fmtmsg.c): Likewise.
5366 (CFLAGS-strfmon.c): Likewise.
5367 (CFLAGS-strfmon_l.c): Likewise.
5368 (CFLAGS-strfromd.c): Likewise.
5369 (CFLAGS-strfromf.c): Likewise.
5370 (CFLAGS-strfroml.c): Likewise.
5371 (CFLAGS-tst-bsearch.c): Likewise.
5372 (CFLAGS-tst-qsort.c): Likewise.
5373 (CFLAGS-tst-makecontext2.c): Likewise.
5374 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
5375 (CFLAGS-xnlm_prot.c): Likewise.
5376 (CFLAGS-xrstat.c): Likewise.
5377 (CFLAGS-xyppasswd.c): Likewise.
5378 (CFLAGS-xklm_prot.c): Likewise.
5379 (CFLAGS-xrex.c): Likewise.
5380 (CFLAGS-xsm_inter.c): Likewise.
5381 (CFLAGS-xmount.c): Likewise.
5382 (CFLAGS-xrusers.c): Likewise.
5383 (CFLAGS-xspray.c): Likewise.
5384 (CFLAGS-xnfs_prot.c): Likewise.
5385 (CFLAGS-xrquota.c): Likewise.
5386 (CFLAGS-xkey_prot.c): Likewise.
5387 (CFLAGS-auth_unix.c): Likewise.
5388 (CFLAGS-key_call.c): Likewise.
5389 (CFLAGS-pmap_rmt.c): Likewise.
5390 (CFLAGS-clnt_perr.c): Likewise.
5391 (CFLAGS-openchild.c): Likewise.
5392 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
5393 (CFLAGS-msgsnd.c): Likewise.
5394 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
5395 * time/Makefile (CFLAGS-tzfile.c): Likewise.
5396 (CFLAGS-tzset.c): Likewise.
5397 (CFLAGS-getdate.c): Likewise.
5398 (CFLAGS-test_time.c): Likewise.
5399 (CPPFLAGS-tst-tzname.c): Likewise.
5400 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
5401 (CFLAGS-zic.c): Likewise.
5402 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
5403 (CFLAGS-wcswidth.c): Likewise.
5404 (CFLAGS-wcstol.c): Likewise.
5405 (CFLAGS-wcstoul.c): Likewise.
5406 (CFLAGS-wcstoll.c): Likewise.
5407 (CFLAGS-wcstoull.c): Likewise.
5408 (CFLAGS-wcstod.c): Likewise.
5409 (CFLAGS-wcstold.c): Likewise.
5410 (CFLAGS-wcstof128.c): Likewise.
5411 (CFLAGS-wcstof.c): Likewise.
5412 (CFLAGS-wcstol_l.c): Likewise.
5413 (CFLAGS-wcstoul_l.c): Likewise.
5414 (CFLAGS-wcstoll_l.c): Likewise.
5415 (CFLAGS-wcstoull_l.c): Likewise.
5416 (CFLAGS-wcstod_l.c): Likewise.
5417 (CFLAGS-wcstold_l.c): Likewise.
5418 (CFLAGS-wcstof128_l.c): Likewise.
5419 (CFLAGS-wcstof_l.c): Likewise.
5420 (CPPFLAGS-tst-wchar-h.c): Likewise.
5421 (CPPFLAGS-wcstold_l.c): Likewise.
5423 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
5425 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
5427 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5428 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5430 * manual/tunables.texi (Hardware Capability Tunables): Document
5431 glibc.tune.cached_memopt.
5432 * sysdeps/powerpc/cpu-features.c: New file.
5433 * sysdeps/powerpc/cpu-features.h: New file.
5434 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
5435 _dl_powerpc_cpu_features.
5436 * sysdeps/powerpc/dl-tunables.list: New file.
5437 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
5438 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5439 (INIT_ARCH): Initialize use_aligned_memopt.
5440 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
5441 IS_IN(rtld))]: Restrict dl_platform_init availability and
5442 initialize CPU features used by tunables.
5443 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
5444 Add memcpy-power8-cached.
5445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
5446 __memcpy_power8_cached.
5447 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5448 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
5451 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
5453 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
5454 (CFLAGS-noinl-tester.c): Likewise.
5455 (CFLAGS-tst-strlen.c): Likewise.
5456 (CFLAGS-stratcliff.c): Likewise.
5457 (CFLAGS-test-ffs.c): Likewise.
5458 (CFLAGS-tst-inlcall.c): Likewise.
5459 (CFLAGS-tst-xbzero-opt.c): Likewise.
5460 (CFLAGS-memcpy.c): Likewise.
5461 (CFLAGS-wordcopy.c): Likewise.
5463 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5465 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5466 Store r15 on stack and add cfi rule.
5467 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5470 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
5473 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
5476 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
5478 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5479 Add s_sinf-sse2 and s_sinf-fma.
5480 (CFLAGS-s_sinf-fma.c): New.
5481 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
5482 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
5483 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
5485 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
5487 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
5489 2017-12-07 Joseph Myers <joseph@codesourcery.com>
5492 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
5493 part of result to imaginary part of argument if it is zero and the
5494 real part of the argument is not finite.
5495 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
5496 of result to real part of argument if it is zero and the imaginary
5497 part of the argument is not finite.
5499 2017-12-07 Mike FABIAN <mfabian@redhat.com>
5502 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
5503 and to the list of locales to be built for testing.
5504 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
5505 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
5506 and build the collation rules upon that.
5508 2017-12-07 Joseph Myers <joseph@codesourcery.com>
5510 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
5511 * manual/math.texi (Mathematics): Document support for _Float32.
5512 * math/Makefile (test-types): Add float32.
5513 * math/Versions (GLIBC_2.27): Add _Float32 functions.
5514 * stdlib/Versions (GLIBC_2.27): Likewise.
5515 * wcsmbs/Versions (GLIBC_2.27): Likewise.
5516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5517 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5518 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5519 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5520 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5521 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5522 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5523 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5524 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5525 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5526 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5527 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5528 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5529 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5530 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5531 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5532 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5533 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5534 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5535 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5536 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5538 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5539 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5540 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5541 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5542 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5560 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5561 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5562 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5563 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5564 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5565 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5566 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5567 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5568 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5569 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5578 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5579 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5580 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5581 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5582 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5583 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5584 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5585 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5587 2017-12-06 Joseph Myers <joseph@codesourcery.com>
5589 * stdlib/strtof.c: Include <bits/floatn.h>
5590 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
5591 and later undefine as macro. Define as weak alias if
5593 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
5594 and later undefine as macro. Define as weak alias if
5596 * stdlib/strtof_l.c: Include <bits/floatn.h>
5597 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
5598 and later undefine as macro. Define as weak alias if
5600 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
5601 and later undefine as macro. Define as weak alias if
5604 * stdlib/strfromf.c: Include <bits/floatn.h>.
5605 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
5606 and later undefine as macro and define as weak alias.
5608 * math/test-float32.h: New file.
5610 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
5611 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
5612 (libm_alias_float_other_r): Create f32 alias.
5613 (libm_alias_float_r): Use semicolon before call to
5614 libm_alias_float_other_r.
5616 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
5617 second argument to libm_alias_float_other.
5618 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
5619 second argument to libm_alias_float_other.
5620 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
5621 argument to libm_alias_float_other.
5624 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
5625 real part of result for argument 0 + i * NaN.
5626 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
5627 results for tests of 0 + i * NaN.
5629 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5631 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5633 2017-12-06 David S. Miller <davem@davemloft.net>
5635 * sysdeps/sparc/fpu/libm-test-ulps: Update
5636 exp_{downward,towardzero,upward} ulps.
5638 2017-12-06 Joseph Myers <joseph@codesourcery.com>
5640 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
5643 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
5645 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
5647 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
5649 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
5652 2017-12-06 Mike FABIAN <mfabian@redhat.com>
5655 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
5656 and to the list of locales to be built for testing.
5657 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
5658 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
5659 and build the collation rules upon that.
5661 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5663 * NEWS: Add sinf to list of optimized functions.
5665 2017-12-06 Joseph Myers <joseph@codesourcery.com>
5667 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
5668 (__HAVE_FLOAT32X): Likewise.
5669 * manual/math.texi (Mathematics): Document support for _Float64
5671 * math/Makefile (test-types): Add float64 and float32x.
5672 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
5674 * stdlib/Versions (GLIBC_2.27): Likewise.
5675 * wcsmbs/Versions (GLIBC_2.27): Likewise.
5676 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5677 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5678 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5679 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5680 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5681 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5682 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5683 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5684 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5685 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5686 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5687 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5688 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5689 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5690 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5691 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5692 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5693 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5694 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5695 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5696 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5698 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5699 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5700 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5701 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5702 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5719 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5720 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5721 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5722 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5723 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5724 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5725 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5726 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5727 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5728 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5737 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5738 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5739 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5740 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5741 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5742 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5743 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5744 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5746 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5748 * bits/floatn-common.h: Include <bits/long-double.h>.
5749 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5750 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
5751 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5752 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
5753 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5754 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
5755 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5756 (__builtin_huge_valf64): Use __builtin_huge_vall.
5757 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5758 (__builtin_inff64): Use __builtin_infl.
5759 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5760 (__builtin_nanf64): Use __builtin_nanl.
5761 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5762 (__builtin_nansf64): Use __builtin_nansl.
5764 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
5765 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5766 Carlos O'Donnell <carlos@redhat.com>
5768 * elf/dl-tunables.list: Add elision parameters.
5769 * manual/tunables.texi: Add entries about elision tunable.
5770 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
5771 Add callback functions to dynamically enable/disable elision.
5772 Add multiple callbacks functions to set elision parameters.
5773 Deleted __libc_enable_secure check.
5774 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
5775 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
5776 * configure: Regenerated.
5777 * configure.ac: Option enable_lock_elision was deleted.
5778 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
5779 * config.make.in: Remove references to enable_lock_elision.
5780 * manual/install.texi: Elision configure option was removed.
5781 * INSTALL: Regenerated to remove enable_lock_elision.
5783 Disable elision so it can verify error case for destroying a mutex.
5784 * sysdeps/powerpc/nptl/elide.h:
5785 Cleanup ENABLE_LOCK_ELISION check.
5786 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
5787 * sysdeps/s390/configure: Regenerated.
5788 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
5789 * nptl/tst-mutex8.c:
5790 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
5791 * sysdeps/powerpc/powerpc32/sysdep.h:
5792 Deleted all ENABLE_LOCK_ELISION checks.
5793 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5794 * sysdeps/powerpc/sysdep.h: Likewise.
5795 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5796 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
5797 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5798 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5799 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5800 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
5801 enable-lock-elision.
5803 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5805 * stdlib/strtod.c: Include <bits/floatn.h>.
5806 (BUILD_DOUBLE): New macro.
5807 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5808 (strtof64): Define and later undefine as macro. Define as weak
5809 alias if [!USE_WIDE_CHAR].
5810 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5811 (wcstof64): Define and later undefine as macro. Define as weak
5812 alias if [USE_WIDE_CHAR].
5813 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5814 (strtof32x): Define and later undefine as macro. Define as weak
5815 alias if [!USE_WIDE_CHAR].
5816 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5817 (wcstof32x): Define and later undefine as macro. Define as weak
5818 alias if [USE_WIDE_CHAR].
5819 * stdlib/strtod_l.c: Include <bits/floatn.h>.
5820 (BUILD_DOUBLE): New macro.
5821 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5822 (strtof64_l): Define and later undefine as macro. Define as weak
5823 alias if [!USE_WIDE_CHAR].
5824 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5825 (wcstof64_l): Define and later undefine as macro. Define as weak
5826 alias if [USE_WIDE_CHAR].
5827 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5828 (strtof32x_l): Define and later undefine as macro. Define as weak
5829 alias if [!USE_WIDE_CHAR].
5830 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5831 (wcstof32x_l): Define and later undefine as macro. Define as weak
5832 alias if [USE_WIDE_CHAR].
5834 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5836 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
5837 (reduced): Use ones as double instead of integer.
5839 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5841 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
5843 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5845 * stdlib/strfromd.c: Include <bits/floatn.h>.
5846 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
5847 and later undefine as macro and define as weak alias.
5848 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
5851 * math/test-float32x.h: New file.
5852 * math/test-float64.h: Likewise.
5854 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
5855 (libm_alias_double_other_r_f64): New macro.
5856 (libm_alias_double_other_r_f32x): Likewise.
5857 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
5858 libm_alias_double_other_r_f32x.
5859 (libm_alias_double_r): Use semicolon before call to
5860 libm_alias_double_other_r.
5861 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
5863 (libm_alias_double_other_r_f64): New macro.
5864 (libm_alias_double_other_r_f32x): Likewise.
5865 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
5866 libm_alias_double_other_r_f32x.
5868 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
5870 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
5872 (SINF_FUNC): Likewise. Replace floor with simple casts.
5874 2017-12-05 Mike FABIAN <mfabian@redhat.com>
5877 * localedata/Makefile: Add et_EE.UTF-8 to test-input
5878 and to the list of locales to be built for testing.
5879 * localedata/et_EE.UTF-8.in: New file for testing the collation.
5880 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
5881 and build the collation rules upon that.
5883 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
5885 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
5886 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
5887 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
5888 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
5889 instead of __insn__xxx.
5890 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
5891 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
5892 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
5893 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
5894 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
5895 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
5897 2017-12-05 Florian Weimer <fweimer@redhat.com>
5899 Linux: Implement interfaces for memory protection keys
5900 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
5902 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
5903 * support/xunistd.h (xsysconf): Declare.
5904 * support/xraise.c: New file.
5905 * support/xsigaction.c: Likewise.
5906 * support/xsignal.c: Likewise.
5907 * support/xsysconf.c: Likewise.
5908 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
5909 pkey_set, pkey_get, pkey_mprotect.
5910 [misc] (tests): Add tst-pkey.
5911 (tst-pkey): Link with -lpthread.
5912 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
5913 pkey_free, pkey_set, pkey_get, pkey_mprotect.
5914 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
5915 (PKEY_DISABLE_WRITE): Define.
5916 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
5918 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
5920 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
5921 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
5922 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
5923 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
5925 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
5926 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
5927 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
5928 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
5929 * sysdeps/unix/sysv/linux/**.abilist: Update.
5931 2017-12-05 Florian Weimer <fweimer@redhat.com>
5933 * support/tst-test_compare.c (subprocess): Use long long instead
5934 of long argument for consistent type width across 32-bit and
5935 64-bit architectures.
5936 (do_test): Adjust expected output.
5938 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5940 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
5941 (cosf): Define using libm_alias_float.
5942 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
5943 (fabsf): Define using libm_alias_float.
5944 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
5945 (fmaf): Define using libm_alias_float.
5946 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
5947 (rintf): Define using libm_alias_float.
5948 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
5949 (sinf): Define using libm_alias_float.
5950 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
5951 <libm-alias-float.h>.
5952 (modff): Define using libm_alias_float.
5953 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
5954 <libm-alias-float.h>.
5955 (logbf): Define using libm_alias_float.
5956 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
5957 <libm-alias-float.h>.
5958 (ceilf): Define using libm_alias_float.
5959 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
5960 <libm-alias-float.h>.
5961 (copysignf): Define using libm_alias_float.
5962 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
5963 <libm-alias-float.h>.
5964 (floorf): Define using libm_alias_float.
5965 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5966 <libm-alias-float.h>.
5967 (llrintf): Define using libm_alias_float.
5968 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5969 <libm-alias-float.h>.
5970 (llroundf): Define using libm_alias_float.
5971 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
5972 <libm-alias-float.h>.
5973 (lrintf): Define using libm_alias_float.
5974 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
5975 <libm-alias-float.h>.
5976 (lroundf): Define using libm_alias_float.
5977 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
5978 <libm-alias-float.h>.
5979 (nearbyintf): Define using libm_alias_float.
5980 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
5981 <libm-alias-float.h>.
5982 (rintf): Define using libm_alias_float.
5983 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
5984 <libm-alias-float.h>.
5985 (roundf): Define using libm_alias_float.
5986 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
5987 <libm-alias-float.h>.
5988 (truncf): Define using libm_alias_float.
5989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
5990 Include <libm-alias-float.h>.
5991 (ceilf): Define using libm_alias_float.
5992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5993 Include <libm-alias-float.h>.
5994 (copysignf): Define using libm_alias_float.
5995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
5996 Include <libm-alias-float.h>.
5997 (floorf): Define using libm_alias_float.
5998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
5999 Include <libm-alias-float.h>.
6000 (llrintf): Define using libm_alias_float.
6001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
6002 Include <libm-alias-float.h>.
6003 (llroundf): Define using libm_alias_float.
6004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
6005 Include <libm-alias-float.h>.
6006 (logbf): Define using libm_alias_float.
6007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
6008 Include <libm-alias-float.h>.
6009 (lrintf): Define using libm_alias_float.
6010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
6011 Include <libm-alias-float.h>.
6012 (lroundf): Define using libm_alias_float.
6013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
6014 Include <libm-alias-float.h>.
6015 (modff): Define using libm_alias_float.
6016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
6017 Include <libm-alias-float.h>.
6018 (roundf): Define using libm_alias_float.
6019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
6020 Include <libm-alias-float.h>.
6021 (truncf): Define using libm_alias_float.
6022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
6023 <libm-alias-float.h>.
6024 (llrintf): Define using libm_alias_float.
6025 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
6026 <libm-alias-float.h>.
6027 (llroundf): Define using libm_alias_float.
6028 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
6029 <libm-alias-float.h>.
6030 (ceilf): Define using libm_alias_float.
6031 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
6032 <libm-alias-float.h>.
6033 (floorf): Define using libm_alias_float.
6034 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
6035 <libm-alias-float.h>.
6036 (llroundf): Define using libm_alias_float.
6037 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
6038 <libm-alias-float.h>.
6039 (lroundf): Define using libm_alias_float.
6040 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
6041 <libm-alias-float.h>.
6042 (roundf): Define using libm_alias_float.
6043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
6044 <libm-alias-float.h>.
6045 (truncf): Define using libm_alias_float.
6046 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
6047 <libm-alias-float.h>.
6048 (copysignf): Define using libm_alias_float.
6049 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
6050 <libm-alias-float.h>.
6051 (llrintf): Define using libm_alias_float.
6052 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
6053 <libm-alias-float.h>.
6054 (llroundf): Define using libm_alias_float.
6055 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
6056 <libm-alias-float.h>.
6057 (lrintf): Define using libm_alias_float.
6058 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
6059 <libm-alias-float.h>.
6060 (lroundf): Define using libm_alias_float.
6061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
6062 <libm-alias-float.h>.
6063 (ceilf): Define using libm_alias_float.
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
6065 <libm-alias-float.h>.
6066 (copysignf): Define using libm_alias_float.
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
6068 <libm-alias-float.h>.
6069 (cosf): Define using libm_alias_float.
6070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
6071 <libm-alias-float.h>.
6072 (floorf): Define using libm_alias_float.
6073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
6074 <libm-alias-float.h>.
6075 (llrintf): Define using libm_alias_float.
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
6077 <libm-alias-float.h>.
6078 (llroundf): Define using libm_alias_float.
6079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
6080 <libm-alias-float.h>.
6081 (logbf): Define using libm_alias_float.
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
6083 <libm-alias-float.h>.
6084 (modff): Define using libm_alias_float.
6085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
6086 <libm-alias-float.h>.
6087 (roundf): Define using libm_alias_float.
6088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
6089 <libm-alias-float.h>.
6090 (sinf): Define using libm_alias_float.
6091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
6092 <libm-alias-float.h>.
6093 (truncf): Define using libm_alias_float.
6094 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
6095 <libm-alias-float.h>.
6096 (ceilf): Define using libm_alias_float.
6097 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
6098 <libm-alias-float.h>.
6099 (copysignf): Define using libm_alias_float.
6100 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
6101 <libm-alias-float.h>.
6102 (floorf): Define using libm_alias_float.
6103 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
6104 <libm-alias-float.h>.
6105 (llrintf): Define using libm_alias_float.
6106 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
6107 <libm-alias-float.h>.
6108 (llroundf): Define using libm_alias_float.
6109 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
6110 <libm-alias-float.h>.
6111 (nearbyintf): Define using libm_alias_float.
6112 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
6113 <libm-alias-float.h>.
6114 (rintf): Define using libm_alias_float.
6115 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
6116 <libm-alias-float.h>.
6117 (roundf): Define using libm_alias_float.
6118 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
6119 <libm-alias-float.h>.
6120 (truncf): Define using libm_alias_float.
6121 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
6122 <libm-alias-float.h>.
6123 (ceilf): Define using libm_alias_float.
6124 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
6125 <libm-alias-float.h>.
6126 (floorf): Define using libm_alias_float.
6127 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
6128 <libm-alias-float.h>.
6129 (llroundf): Define using libm_alias_float.
6130 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
6131 <libm-alias-float.h>.
6132 (roundf): Define using libm_alias_float.
6133 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
6134 <libm-alias-float.h>.
6135 (truncf): Define using libm_alias_float.
6136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
6137 <libm-alias-float.h>.
6138 (copysignf): Define using libm_alias_float.
6139 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
6140 <libm-alias-float.h>.
6141 (llrintf): Define using libm_alias_float.
6142 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
6143 <libm-alias-float.h>.
6144 (llroundf): Define using libm_alias_float.
6145 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
6146 <libm-alias-float.h>.
6147 (cosf): Define using libm_alias_float.
6148 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
6149 <libm-alias-float.h>.
6150 (llrintf): Define using libm_alias_float.
6151 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
6152 <libm-alias-float.h>.
6153 (llroundf): Define using libm_alias_float.
6154 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
6155 <libm-alias-float.h>.
6156 (sinf): Define using libm_alias_float.
6158 2017-12-04 Florian Weimer <fweimer@redhat.com>
6160 * support/check.h (TEST_COMPARE): Define.
6161 (support_test_compare_failure): Declare.
6162 * support/Makefile (libsupport-routines): Add
6163 support_test_compare_failure.
6164 (tests): Add tst-test_compare.
6165 * support /support_test_compare_failure.c: New file.
6166 * support/tst-test_compare.c: Likewise.
6168 2017-12-04 Mike FABIAN <mfabian@redhat.com>
6171 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
6172 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
6173 available, this rewrite of the collation rules does reproduce
6174 the test file in the same order.
6176 2017-12-04 Mike FABIAN <mfabian@redhat.com>
6179 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
6180 digraphs in the month and day names. Using single code points for
6181 digraphs is deprecated. While there are dedicated Unicode
6182 codepoints, for the digraphs, these are included for backwards
6183 compatibility and modern texts use a sequence of Basic Latin
6184 characters. See: https://www.unicode.org/faq/ligature_digraph.html
6185 This makes the month and day names agree exactly with CLDR now,
6186 CLDR does not use the single code points for the digraphs either.
6188 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
6190 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
6192 2017-12-04 Joseph Myers <joseph@codesourcery.com>
6194 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
6197 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
6199 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
6200 Define only for libc.so.
6202 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6205 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6206 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
6207 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
6208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6210 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6213 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
6215 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
6218 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
6219 PREINIT_FUNCTION_WEAK is nonzero.
6220 (gmon_initializer): New function. Put procedure label for it in
6221 .init_array section.
6222 (_init): Don't call PREINIT_FUNCTION.
6223 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
6224 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
6225 value when map argument is null.
6227 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
6228 depi instruction from PIC pc-relative sequence.
6229 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
6230 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
6231 (elf_machine_load_address): Likewise.
6232 (elf_machine_runtime_setup): Likewise.
6234 2017-12-02 Joseph Myers <joseph@codesourcery.com>
6236 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
6237 <libm-alias-double.h>.
6238 (logb): Define using libm_alias_double.
6239 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
6240 <libm-alias-double.h>.
6241 (copysign): Define using libm_alias_double.
6242 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
6243 <libm-alias-double.h>.
6244 (llrint): Define using libm_alias_double.
6245 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
6246 <libm-alias-double.h>.
6247 (llround): Define using libm_alias_double.
6248 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
6249 <libm-alias-double.h>.
6250 (lrint): Define using libm_alias_double.
6251 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
6252 <libm-alias-double.h>.
6253 (lround): Define using libm_alias_double.
6254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6255 Include <libm-alias-double.h>.
6256 (copysign): Define using libm_alias_double.
6257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
6258 Include <libm-alias-double.h>.
6259 (llrint): Define using libm_alias_double.
6260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
6261 Include <libm-alias-double.h>.
6262 (llround): Define using libm_alias_double.
6263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
6264 <libm-alias-double.h>.
6265 (logb): Define using libm_alias_double.
6266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
6267 Include <libm-alias-double.h>.
6268 (lrint): Define using libm_alias_double.
6269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
6270 Include <libm-alias-double.h>.
6271 (lround): Define using libm_alias_double.
6272 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
6273 <libm-alias-double.h>.
6274 (llrint): Define using libm_alias_double.
6275 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
6276 <libm-alias-double.h>.
6277 (llround): Define using libm_alias_double.
6278 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
6279 <libm-alias-double.h>.
6280 (llround): Define using libm_alias_double.
6281 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
6282 <libm-alias-double.h>.
6283 (lround): Define using libm_alias_double.
6284 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
6285 <libm-alias-double.h>.
6286 (copysign): Define using libm_alias_double.
6287 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
6288 <libm-alias-double.h>.
6289 (llrint): Define using libm_alias_double.
6290 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
6291 <libm-alias-double.h>.
6292 (llround): Define using libm_alias_double.
6293 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
6294 <libm-alias-double.h>.
6295 (lrint): Define using libm_alias_double.
6296 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
6297 <libm-alias-double.h>.
6298 (lround): Define using libm_alias_double.
6299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
6300 <libm-alias-double.h>.
6301 (copysign): Define using libm_alias_double.
6302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
6303 <libm-alias-double.h>.
6304 (llrint): Define using libm_alias_double.
6306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
6307 <libm-alias-double.h>.
6308 (llround): Define using libm_alias_double.
6310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
6311 <libm-alias-double.h>.
6312 (logb): Define using libm_alias_double.
6313 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
6314 <libm-alias-double.h>.
6315 (copysign): Define using libm_alias_double.
6316 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
6317 <libm-alias-double.h>.
6318 (llrint): Define using libm_alias_double.
6320 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
6321 <libm-alias-double.h>.
6322 (llround): Define using libm_alias_double.
6324 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
6325 <libm-alias-double.h>.
6326 (llround): Define using libm_alias_double.
6328 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
6329 <libm-alias-double.h>.
6330 (copysign): Define using libm_alias_double.
6331 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
6332 <libm-alias-double.h>.
6333 (llrint): Define using libm_alias_double.
6335 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
6336 <libm-alias-double.h>.
6337 (llround): Define using libm_alias_double.
6339 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
6340 <libm-alias-double.h>.
6341 (llrint): Define using libm_alias_double.
6343 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
6344 <libm-alias-double.h>.
6345 (llround): Define using libm_alias_double.
6348 2017-12-01 Joseph Myers <joseph@codesourcery.com>
6350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6351 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
6352 compat symbol based on llround.
6354 * sysdeps/powerpc/power7/fpu/s_logb.c
6355 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
6356 symbol based on __logb, not on logb.
6357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
6358 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
6359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
6360 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
6362 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
6363 (rint): Define using libm_alias_double.
6364 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
6365 <libm-alias-double.h>.
6366 (modf): Define using libm_alias_double.
6367 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
6368 <libm-alias-double.h>.
6369 (ceil): Define using libm_alias_double.
6370 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
6371 <libm-alias-double.h>.
6372 (floor): Define using libm_alias_double.
6373 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
6374 <libm-alias-double.h>.
6375 (nearbyint): Define using libm_alias_double.
6376 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
6377 <libm-alias-double.h>.
6378 (rint): Define using libm_alias_double.
6379 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
6380 <libm-alias-double.h>.
6381 (round): Define using libm_alias_double.
6382 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
6383 <libm-alias-double.h>.
6384 (trunc): Define using libm_alias_double.
6385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
6386 <libm-alias-double.h>.
6387 (ceil): Define using libm_alias_double.
6388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
6389 Include <libm-alias-double.h>.
6390 (floor): Define using libm_alias_double.
6391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
6392 <libm-alias-double.h>.
6393 (modf): Define using libm_alias_double.
6394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
6395 Include <libm-alias-double.h>.
6396 (round): Define using libm_alias_double.
6397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
6398 Include <libm-alias-double.h>.
6399 (trunc): Define using libm_alias_double.
6400 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
6401 <libm-alias-double.h>.
6402 (ceil): Define using libm_alias_double.
6403 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
6404 <libm-alias-double.h>.
6405 (floor): Define using libm_alias_double.
6406 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
6407 <libm-alias-double.h>.
6408 (round): Define using libm_alias_double.
6409 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
6410 <libm-alias-double.h>.
6411 (trunc): Define using libm_alias_double.
6412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
6413 <libm-alias-double.h>.
6414 (ceil): Define using libm_alias_double.
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
6416 <libm-alias-double.h>.
6417 (floor): Define using libm_alias_double.
6418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
6419 <libm-alias-double.h>.
6420 (modf): Define using libm_alias_double.
6421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
6422 <libm-alias-double.h>.
6423 (round): Define using libm_alias_double.
6424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
6425 <libm-alias-double.h>.
6426 (trunc): Define using libm_alias_double.
6427 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
6428 <libm-alias-double.h>.
6429 (ceil): Define using libm_alias_double.
6430 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
6431 <libm-alias-double.h>.
6432 (floor): Define using libm_alias_double.
6433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
6434 <libm-alias-double.h>.
6435 (nearbyint): Define using libm_alias_double.
6436 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
6437 <libm-alias-double.h>.
6438 (rint): Define using libm_alias_double.
6439 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
6440 <libm-alias-double.h>.
6441 (round): Define using libm_alias_double.
6442 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
6443 <libm-alias-double.h>.
6444 (trunc): Define using libm_alias_double.
6445 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
6446 <libm-alias-double.h>.
6447 (ceil): Define using libm_alias_double.
6448 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
6449 <libm-alias-double.h>.
6450 (floor): Define using libm_alias_double.
6451 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
6452 <libm-alias-double.h>.
6453 (round): Define using libm_alias_double.
6454 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
6455 <libm-alias-double.h>.
6456 (trunc): Define using libm_alias_double.
6458 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
6459 (fabs): Define using libm_alias_double.
6460 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
6461 (fma): Define using libm_alias_double.
6462 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
6463 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
6464 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
6465 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
6467 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6469 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
6471 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
6472 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
6473 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
6475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
6478 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
6480 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
6482 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6484 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
6485 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
6486 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
6487 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
6489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6490 (libm-sysdep_routines): Add s_nearbyintf-generic and
6491 s_nearbyint-generic.
6492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
6495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
6497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
6499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
6501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
6504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6505 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
6506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
6508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
6511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
6513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6516 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
6517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
6519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
6520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
6522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
6523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
6524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
6526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6527 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
6528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
6531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
6534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
6535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6538 (sysdep_calls): New rule.
6539 (sysdep_routines): Use sysdep_calls as base.
6540 (libm-sysdep_routines): Add generic rule for symbols shared with
6541 libc. Add s_copysign-generic and s_copysign-generic objects.
6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
6544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
6547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
6548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
6549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
6551 2017-12-01 Mike FABIAN <mfabian@redhat.com>
6554 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
6555 the list of locales to be built for testing.
6556 * localedata/is_IS.UTF-8.in: New file.
6557 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
6560 2017-12-01 Joseph Myers <joseph@codesourcery.com>
6562 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
6563 <libm-alias-float.h>.
6564 (fabsf): Define using libm_alias_float.
6566 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
6568 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
6570 2017-11-30 Joseph Myers <joseph@codesourcery.com>
6572 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
6573 <libm-alias-float.h>.
6574 (fabsf): Define using libm_alias_float.
6575 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
6576 <libm-alias-float.h>.
6577 (lrintf): Define using libm_alias_float.
6578 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
6579 <libm-alias-float.h>.
6580 (rintf): Define using libm_alias_float.
6582 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
6583 <libm-alias-double.h>.
6584 (fabs): Define using libm_alias_double.
6585 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
6586 <libm-alias-double.h>.
6587 (lrint): Define using libm_alias_double.
6588 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
6589 <libm-alias-double.h>.
6590 (rint): Define using libm_alias_double.
6592 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
6593 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6594 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
6595 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
6596 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
6597 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6598 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
6599 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
6600 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
6601 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
6602 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
6603 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
6604 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
6605 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
6606 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
6607 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
6608 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6609 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
6611 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
6612 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
6613 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
6615 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
6616 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
6617 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
6619 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
6620 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
6621 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
6623 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
6624 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
6625 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
6627 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
6628 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
6629 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
6631 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
6632 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
6633 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
6635 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
6636 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
6638 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
6639 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
6640 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
6642 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
6643 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
6644 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
6645 s_nearbyint_template.c.
6646 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
6647 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
6648 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
6649 s_remquo_template.c.
6650 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
6651 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
6652 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
6654 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6655 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6656 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
6658 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
6659 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
6660 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
6661 s_sincos_template.c.
6662 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
6663 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
6664 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
6666 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
6667 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
6668 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
6670 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
6671 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
6672 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
6674 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
6675 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
6676 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
6677 s_atan.c instead of including s_atan.c.
6678 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
6679 s_atanf.c instead of including s_atanf.c.
6680 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
6681 s_atanl.c instead of including s_atanl.c.
6682 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
6683 instead of s_atan.c.
6684 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
6685 instead of s_atanf.c.
6686 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
6687 instead of s_atanl.c.
6689 * scripts/update-copyrights: Do not handle intl/plural.c
6692 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
6695 * configure.ac (BISON): Require to be present.
6696 * configure: Regenerated.
6697 * intl/Makefile (generated): Add plural.c.
6698 [$(BISON) != no]: Make code unconditional.
6699 (plural.c): Change rule to $(objpfx)plural.c.
6700 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
6701 * intl/plural.c: Remove.
6702 * manual/install.texi (Tools for Compilation): Document bison as
6704 * INSTALL: Regenerated.
6706 2017-11-30 Joseph Myers <joseph@codesourcery.com>
6708 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
6709 <libm-alias-double.h>.
6710 (llrint): Define using libm_alias_double.
6711 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
6712 <libm-alias-float.h>.
6713 (llrintf): Define using libm_alias_float.
6714 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
6715 <libm-alias-ldouble.h>.
6716 (llrintl): Define using libm_alias_ldouble.
6718 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
6719 declare_mgen_alias instead of weak_alias.
6720 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
6721 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
6722 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
6724 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6726 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6728 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
6729 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
6730 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
6732 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6733 Add submul_1-generic.
6734 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
6735 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
6736 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
6738 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6739 Add addmul_1-generic.
6740 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
6741 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
6742 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
6744 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6746 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
6747 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
6748 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
6750 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6752 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
6753 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
6754 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
6756 2017-11-30 Mike FABIAN <mfabian@redhat.com>
6758 According to CLDR, collation rules for Serbian and Bosnian
6759 should be the same as for Croatian.
6762 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
6763 and to the list of locales to be built for testing.
6764 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
6765 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
6766 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
6767 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
6769 2017-11-30 Mike FABIAN <mfabian@redhat.com>
6771 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
6772 to make test case pass.
6773 * localedata/hr_HR.UTF-8.in: Add more test strings.
6775 2017-11-30 Mike FABIAN <mfabian@redhat.com>
6777 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
6779 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
6781 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
6782 the list of locales to built for testing.
6783 * localedata/hr_HR.UTF-8.in: New file.
6785 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
6788 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
6790 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
6791 CLDR (except use ligatures for the digraphs, CLDR does not use
6792 the ligatures), add first_workday, some fixes in the date and time
6794 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
6796 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
6797 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
6798 Add int_p_cs_precedes and int_n_cs_precedes.
6799 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
6800 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
6802 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
6803 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
6805 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
6806 and lang_lib. Change postal_fmt.
6808 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
6810 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
6812 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
6813 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
6814 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
6815 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
6816 * sysdeps/generic/setjmpP.h: New file.
6817 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
6818 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
6819 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
6820 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
6821 Add jmp_buf-ssp.sym.
6822 (tests): Add tst-saved_mask-1.
6824 2017-11-30 Arjun Shankar <arjun@redhat.com>
6828 * malloc/malloc.c (__libc_malloc): Use checked_request2size
6829 instead of request2size.
6831 2017-11-30 Joseph Myers <joseph@codesourcery.com>
6833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
6834 (__lllrint): Remove alias.
6835 (lllrint): Likewise.
6836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
6837 (__lllrintf): Likewise.
6838 (lllrintf): Likewise.
6840 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
6841 <libm-alias-float.h>.
6842 (copysignf): Define using libm_alias_float.
6843 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
6844 <libm-alias-float.h>.
6845 (fabsf): Define using libm_alias_float.
6846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6847 Include <libm-alias-float.h>.
6848 (copysignf): Define using libm_alias_float.
6849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
6850 <libm-alias-float.h>.
6851 (fabsf): Define using libm_alias_float.
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
6853 <libm-alias-float.h>.
6854 (fdimf): Define using libm_alias_float.
6855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
6856 <libm-alias-float.h>.
6857 (fmaf): Define using libm_alias_float.
6858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
6859 <libm-alias-float.h>.
6860 (llrintf): Define using libm_alias_float.
6861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
6862 Include <libm-alias-float.h>.
6863 (nearbyintf): Define using libm_alias_float.
6864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
6865 <libm-alias-float.h>.
6866 (rintf): Define using libm_alias_float.
6867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
6868 <libm-alias-float.h>.
6869 (llrintf): Define using libm_alias_float.
6870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
6871 <libm-alias-float.h>.
6872 (lrintf): Define using libm_alias_float.
6873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
6874 <libm-alias-float.h>.
6875 (nearbyintf): Define using libm_alias_float.
6876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
6877 <libm-alias-float.h>.
6878 (rintf): Define using libm_alias_float.
6879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
6880 <libm-alias-float.h>.
6881 (ceilf): Define using libm_alias_float.
6882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
6883 <libm-alias-float.h>.
6884 (floorf): Define using libm_alias_float.
6885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
6886 <libm-alias-float.h>.
6887 (fmaf): Define using libm_alias_float.
6888 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
6889 <libm-alias-float.h>.
6890 (lrintf): Define using libm_alias_float.
6891 (llrintf): Likewise.
6892 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
6893 <libm-alias-float.h>.
6894 (nearbyintf): Define using libm_alias_float.
6895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
6896 <libm-alias-float.h>.
6897 (rintf): Define using libm_alias_float.
6898 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
6899 <libm-alias-float.h>.
6900 (truncf): Define using libm_alias_float.
6901 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
6902 <libm-alias-float.h>.
6903 (copysignf): Define using libm_alias_float.
6904 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
6905 <libm-alias-float.h>.
6906 (fabsf): Define using libm_alias_float.
6907 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
6908 <libm-alias-float.h>.
6909 (lrintf): Define using libm_alias_float.
6910 (llrintf): Likewise.
6911 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
6912 <libm-alias-float.h>.
6913 (nearbyintf): Define using libm_alias_float.
6914 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
6915 <libm-alias-float.h>.
6916 (rintf): Define using libm_alias_float.
6918 2017-11-29 Joseph Myers <joseph@codesourcery.com>
6920 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
6921 <libm-alias-double.h>.
6922 (copysign): Define using libm_alias_double.
6923 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
6924 <libm-alias-double.h>.
6925 (fabs): Define using libm_alias_double.
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6927 Include <libm-alias-double.h>.
6928 (copysign): Define using libm_alias_double.
6929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
6930 <libm-alias-double.h>.
6931 (fabs): Define using libm_alias_double.
6932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
6933 <libm-alias-double.h>.
6934 (fdim): Define using libm_alias_double.
6935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
6936 <libm-alias-double.h>.
6937 (fma): Define using libm_alias_double.
6938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
6939 <libm-alias-double.h>.
6940 (llrint): Define using libm_alias_double.
6941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
6942 Include <libm-alias-double.h>.
6943 (nearbyint): Define using libm_alias_double.
6944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
6945 <libm-alias-double.h>.
6946 (rint): Define using libm_alias_double.
6947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
6948 <libm-alias-double.h>.
6949 (fabs): Define using libm_alias_double.
6950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
6951 <libm-alias-double.h>.
6952 (llrint): Define using libm_alias_double.
6953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
6954 <libm-alias-double.h>.
6955 (nearbyint): Define using libm_alias_double.
6956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
6957 <libm-alias-double.h>.
6958 (rint): Define using libm_alias_double.
6959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
6960 <libm-alias-double.h>.
6961 (ceil): Define using libm_alias_double.
6962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
6963 <libm-alias-double.h>.
6964 (floor): Define using libm_alias_double.
6965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
6966 <libm-alias-double.h>.
6967 (fma): Define using libm_alias_double.
6968 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
6969 <libm-alias-double.h>.
6970 (lrint): Define using libm_alias_double.
6972 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
6973 <libm-alias-double.h>.
6974 (nearbyint): Define using libm_alias_double.
6975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
6976 <libm-alias-double.h>.
6977 (rint): Define using libm_alias_double.
6978 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
6979 <libm-alias-double.h>.
6980 (trunc): Define using libm_alias_double.
6981 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
6982 <libm-alias-double.h>.
6983 (copysign): Define using libm_alias_double.
6984 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
6985 <libm-alias-double.h>.
6986 (fabs): Define using libm_alias_double.
6987 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
6988 <libm-alias-double.h>.
6989 (lrint): Define using libm_alias_double.
6991 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
6992 <libm-alias-double.h>.
6993 (nearbyint): Define using libm_alias_double.
6994 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
6995 <libm-alias-double.h>.
6996 (rint): Define using libm_alias_double.
6999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
7001 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
7003 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7004 SPARC --disable-multi-arch glibc variants.
7006 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
7007 <libm-alias-float.h>.
7008 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7010 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
7011 <libm-alias-float.h>.
7012 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7014 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
7015 <libm-alias-float.h>.
7016 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7018 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
7019 <libm-alias-float.h>.
7020 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7022 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
7023 <libm-alias-float.h>.
7024 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7026 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
7027 <libm-alias-float.h>.
7028 (ceilf): Define using libm_alias_float.
7029 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
7030 <libm-alias-float.h>.
7031 (floorf): Define using libm_alias_float.
7032 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
7033 <libm-alias-float.h>.
7034 (fmaf): Define using libm_alias_float.
7035 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
7036 <libm-alias-float.h>.
7037 (nearbyintf): Define using libm_alias_float.
7038 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
7039 <libm-alias-float.h>.
7040 (rintf): Define using libm_alias_float.
7041 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
7042 <libm-alias-float.h>.
7043 (truncf): Define using libm_alias_float.
7044 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
7045 (copysignf): Define using libm_alias_float.
7046 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
7047 (cosf): Define using libm_alias_float.
7048 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
7049 (fabsf): Define using libm_alias_float.
7050 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7051 (fmaxf): Define using libm_alias_float.
7052 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
7053 (fminf): Define using libm_alias_float.
7054 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
7055 (llrintf): Define using libm_alias_float.
7056 [!__ILP32__] (lrintf): Likewise.
7057 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
7058 (sincosf): Define using libm_alias_float.
7059 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
7060 (sinf): Define using libm_alias_float.
7061 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
7062 (lrintf): Define using libm_alias_float.
7064 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
7065 <libm-alias-double.h>.
7066 (atan): Define using libm_alias_double.
7067 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
7068 <libm-alias-double.h>.
7069 (ceil): Define using libm_alias_double.
7070 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
7071 <libm-alias-double.h>.
7072 (floor): Define using libm_alias_double.
7073 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
7074 <libm-alias-double.h>.
7075 (fma): Define using libm_alias_double.
7076 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
7077 <libm-alias-double.h>.
7078 (nearbyint): Define using libm_alias_double.
7079 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
7080 <libm-alias-double.h>.
7081 (rint): Define using libm_alias_double.
7082 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
7083 <libm-alias-double.h>.
7084 (sin): Define using libm_alias_double.
7086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
7087 <libm-alias-double.h>.
7088 (tan): Define using libm_alias_double.
7089 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
7090 <libm-alias-double.h>.
7091 (trunc): Define using libm_alias_double.
7092 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
7093 (copysign): Define using libm_alias_double.
7094 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
7095 (fabs): Define using libm_alias_double.
7096 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
7097 (fmax): Define using libm_alias_double.
7098 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
7099 (fmin): Define using libm_alias_double.
7100 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
7101 (llrint): Define using libm_alias_double.
7102 [!__ILP32__] (lrint): Likewise.
7103 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
7104 (lrint): Define using libm_alias_double.
7106 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7109 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
7111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
7112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
7114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
7116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7118 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7119 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
7121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
7122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
7123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
7124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
7125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
7126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7129 (libm-sysdep_routines): Add s_nearbyint-generic and
7130 s_nearbyintf-generic objects.
7131 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
7132 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
7133 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
7134 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
7135 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
7136 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
7138 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
7139 Add s_finitef-generic and s_finite-generic objects.
7140 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
7141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
7142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
7143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
7144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
7145 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
7147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
7148 Add s_isinff-generic and s_isinf-generic objects.
7149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
7150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
7151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
7152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
7153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
7154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
7157 Add s_isnanf-generic and s_isnan-generic objects.
7158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
7159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
7160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
7161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
7162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
7163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7165 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
7167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
7169 (sysdep_routines): Use sysdep_calls as base.
7170 (libm-sysdep_routines): Add generic rule for symbols shared with
7171 libc. Add s_signbit-generic and s_signbitf-generic objects.
7172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
7173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
7174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
7175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
7176 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
7177 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7179 2017-11-29 Joseph Myers <joseph@codesourcery.com>
7181 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
7182 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
7183 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
7184 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
7185 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
7186 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
7187 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
7188 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
7189 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
7190 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
7191 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
7192 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
7193 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
7195 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
7196 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
7198 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
7199 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
7200 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
7201 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
7202 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
7203 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
7204 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
7205 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
7206 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
7207 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
7209 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
7211 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
7212 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
7213 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
7214 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
7215 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
7216 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
7217 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
7218 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
7219 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
7220 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
7221 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
7222 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
7223 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
7224 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
7225 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
7226 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
7227 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
7228 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
7229 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
7231 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
7232 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
7233 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
7234 * sysdeps/ia64/fpu/w_lgammaf_main.c
7235 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
7236 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
7238 2017-11-28 Mike FABIAN <mfabian@redhat.com>
7239 Alexandre Oliva <aoliva@redhat.com>
7242 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
7243 * localedata/fr_CA.UTF-8.in: New file with test data for backward
7245 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
7247 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
7248 * localedata/locales/de_DE (LC_COLLATE): Likewise.
7249 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
7250 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
7251 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
7252 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
7253 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
7254 instead of “ifdef DIACRIT_BACKWARD”.
7256 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7258 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
7259 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
7260 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7261 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
7262 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
7263 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
7269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
7270 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7271 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7272 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
7273 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
7274 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
7275 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
7276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7277 ($(have-as-vis3) == yes): Remove conditional.
7278 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
7280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
7282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
7284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
7286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
7288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
7289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
7290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
7291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
7292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
7293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
7294 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
7295 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
7297 2017-11-29 Joseph Myers <joseph@codesourcery.com>
7299 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
7300 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
7301 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
7302 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
7303 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
7304 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
7305 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
7306 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
7307 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
7308 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
7309 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
7310 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
7311 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
7312 libm_alias_double_r.
7313 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
7315 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
7316 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
7317 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
7318 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
7319 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
7320 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
7321 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
7322 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
7323 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
7324 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
7325 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
7327 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
7329 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
7330 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
7331 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
7332 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
7333 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
7334 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
7335 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
7336 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
7337 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
7338 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
7339 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
7340 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
7341 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
7342 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
7343 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
7344 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
7345 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
7346 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
7348 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
7349 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
7350 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
7351 * sysdeps/ia64/fpu/w_lgamma_main.c
7352 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
7353 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
7355 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
7357 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
7358 address of $global$ into %dp register earlier. Use pc-relative
7359 instruction sequence for PIC case.
7361 2017-11-28 Joseph Myers <joseph@codesourcery.com>
7363 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
7364 (asinhf): Define using libm_alias_float.
7365 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
7366 (atanf): Define using libm_alias_float.
7367 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
7368 (cbrtf): Define using libm_alias_float.
7369 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
7370 (ceilf): Define using libm_alias_float.
7371 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
7372 (copysignf): Define using libm_alias_float.
7373 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
7374 (expm1f): Define using libm_alias_float.
7375 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
7376 (fabsf): Define using libm_alias_float.
7377 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
7378 (floorf): Define using libm_alias_float.
7379 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7380 (fmaxf): Define using libm_alias_float.
7381 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
7382 (fminf): Define using libm_alias_float.
7383 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
7384 (frexpf): Define using libm_alias_float.
7385 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
7386 (llrintf): Define using libm_alias_float.
7387 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
7388 (logbf): Define using libm_alias_float.
7389 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
7390 (lrintf): Define using libm_alias_float.
7391 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
7392 (nearbyintf): Define using libm_alias_float.
7393 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
7394 (remquof): Define using libm_alias_float.
7395 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
7396 (rintf): Define using libm_alias_float.
7397 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
7398 (truncf): Define using libm_alias_float.
7399 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
7400 <libm-alias-float.h>.
7401 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7403 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
7404 <libm-alias-float.h>.
7405 (expf): Define using libm_alias_float, or libm_alias_float_other
7407 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
7408 <libm-alias-float.h>.
7409 (log2f): Define using libm_alias_float, or libm_alias_float_other
7411 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
7412 <libm-alias-float.h>.
7413 (logf): Define using libm_alias_float, or libm_alias_float_other
7415 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
7416 <libm-alias-float.h>.
7417 (powf): Define using libm_alias_float, or libm_alias_float_other
7419 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
7420 <libm-alias-float.h>.
7421 (cosf): Define using libm_alias_float.
7422 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
7423 <libm-alias-float.h>.
7424 (sincosf): Define using libm_alias_float.
7425 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
7426 <libm-alias-float.h>.
7427 (sinf): Define using libm_alias_float.
7428 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7429 (fmaxf): Define using libm_alias_float.
7430 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
7431 (fminf): Define using libm_alias_float.
7432 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7433 <libm-alias-float.h>.
7434 (fmaf): Define using libm_alias_float.
7436 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
7437 (asinh): Define using libm_alias_double.
7438 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
7439 (atan): Define using libm_alias_double.
7440 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
7441 (cbrt): Define using libm_alias_double.
7442 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
7443 (ceil): Define using libm_alias_double.
7444 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
7445 (copysign): Define using libm_alias_double.
7446 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
7447 (expm1): Define using libm_alias_double.
7448 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
7449 (fabs): Define using libm_alias_double.
7450 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
7451 (fdim): Define using libm_alias_double.
7452 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
7453 (floor): Define using libm_alias_double.
7454 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
7455 (fmax): Define using libm_alias_double.
7456 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
7457 (fmin): Define using libm_alias_double.
7458 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
7459 (frexp): Define using libm_alias_double.
7460 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
7461 (llrint): Define using libm_alias_double.
7462 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
7463 (logb): Define using libm_alias_double.
7464 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
7465 (lrint): Define using libm_alias_double.
7466 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
7467 (nearbyint): Define using libm_alias_double.
7468 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
7469 (remquo): Define using libm_alias_double.
7470 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
7471 (rint): Define using libm_alias_double.
7472 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
7473 (trunc): Define using libm_alias_double.
7474 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
7475 (fmax): Define using libm_alias_double.
7476 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
7477 (fmin): Define using libm_alias_double.
7478 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
7479 (fma): Define using libm_alias_double.
7481 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
7484 * elf/dl-hwcaps.c (ROUND): Removed.
7485 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
7486 and ELF_NOTE_NEXT_OFFSET.
7487 * elf/dl-load.c (ROUND): Removed.
7488 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
7489 * elf/readelflib.c (ROUND): Removed.
7490 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
7491 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
7492 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
7493 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
7495 2017-11-28 Joseph Myers <joseph@codesourcery.com>
7497 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
7498 [!__fmaf] (fmaf): Define using libm_alias_float.
7500 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
7501 [!__fma] (fma): Define using libm_alias_double.
7502 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
7504 2017-11-28 Mike FABIAN <mfabian@redhat.com>
7507 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
7508 and implement the collation rules for cs from CLDR on top of that.
7509 * Makefile: Add cs_CZ.UTF-8 to test-input.
7510 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
7512 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
7514 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
7516 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
7517 Icarus Sparry <icarus.w.sparry@intel.com>
7519 * benchtests/Makefile:Add BENCHSET to allow subsets of
7520 benchmarks to be run.
7521 * benchtests/README: Add documentation for: Running subsets of
7524 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
7526 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
7527 range of tests names.
7529 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
7530 result from property and remove "max", min" and "mean" from
7531 required properties based on benchtests/bench-skeleton.c.
7533 2017-11-28 Florian Weimer <fweimer@redhat.com>
7536 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
7537 due to Internet requirement.
7538 * posix/Makefile (tests): Remove tst-getaddrinfo4,
7540 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
7542 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7544 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
7545 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
7546 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
7547 (sysdep_routines): Add memset-ultra1.
7548 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
7550 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
7551 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
7552 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
7553 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
7554 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
7555 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
7556 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
7557 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7559 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
7561 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
7562 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
7563 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
7564 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
7565 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
7566 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
7567 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
7569 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
7570 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
7571 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
7572 (sysdep_routines): Add memcpy-ultra1.
7573 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
7574 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
7576 2017-11-28 Joseph Myers <joseph@codesourcery.com>
7578 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
7579 (cfloat_versions): Take function argument without trailing 'f'.
7580 Call libm_alias_float_other.
7581 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
7582 * sysdeps/alpha/fpu/cargf.c: Likewise.
7583 * sysdeps/alpha/fpu/cimagf.c: Likewise.
7584 * sysdeps/alpha/fpu/conjf.c: Likewise.
7585 * sysdeps/alpha/fpu/crealf.c: Likewise.
7586 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
7587 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7588 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
7589 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7590 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
7591 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7592 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7593 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7594 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
7595 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
7596 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
7597 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
7598 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7599 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7600 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
7601 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7602 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7603 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
7604 (clog10f): Use libm_alias_float_other.
7605 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
7606 (ceilf): Define using libm_alias_float.
7607 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
7608 (copysignf): Define using libm_alias_float.
7609 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
7610 (fabsf): Define using libm_alias_float.
7611 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
7612 (floorf): Define using libm_alias_float.
7613 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
7614 (fmaxf): Define using libm_alias_float.
7615 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
7616 (fminf): Define using libm_alias_float.
7617 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
7618 (lrintf): Define using libm_alias_float.
7619 (llrintf): Likewise.
7620 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
7621 (lroundf): Define using libm_alias_float.
7622 (llroundf): Likewise.
7623 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
7624 (rintf): Define using libm_alias_float.
7625 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
7626 (truncf): Define using libm_alias_float.
7628 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
7629 (ceilf): Define using libm_alias_float.
7630 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
7631 (floorf): Define using libm_alias_float.
7632 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
7633 (fmaf): Define using libm_alias_float.
7634 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
7635 (fmaxf): Define using libm_alias_float.
7636 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
7637 (fminf): Define using libm_alias_float.
7638 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
7639 (llrintf): Define using libm_alias_float.
7640 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
7641 (llroundf): Define using libm_alias_float.
7642 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
7643 (lrintf): Define using libm_alias_float.
7644 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
7645 (lroundf): Define using libm_alias_float.
7646 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
7647 <libm-alias-float.h>.
7648 (nearbyintf): Define using libm_alias_float.
7649 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
7650 (rintf): Define using libm_alias_float.
7651 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
7652 (roundf): Define using libm_alias_float.
7653 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
7654 (truncf): Define using libm_alias_float.
7656 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
7657 (ceil): Define using libm_alias_double.
7658 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
7659 (copysign): Define using libm_alias_double.
7660 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
7661 (fabs): Define using libm_alias_double.
7662 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
7663 (floor): Define using libm_alias_double.
7664 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
7665 (fmax): Define using libm_alias_double.
7666 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
7667 (fmin): Define using libm_alias_double.
7668 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
7669 (lrint): Define using libm_alias_double.
7671 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
7672 (lround): Define using libm_alias_double.
7673 (llround): Likewise.
7674 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
7675 (rint): Define using libm_alias_double.
7676 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
7677 (trunc): Define using libm_alias_double.
7679 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
7680 (libm_alias_double_r): Add semicolon after weak_alias call.
7682 2017-11-27 Joseph Myers <joseph@codesourcery.com>
7684 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
7685 (ceil): Define using libm_alias_double.
7686 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
7687 (floor): Define using libm_alias_double.
7688 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
7689 (fma): Define using libm_alias_double.
7690 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
7691 (fmax): Define using libm_alias_double.
7692 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
7693 (fmin): Define using libm_alias_double.
7694 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
7695 (llrint): Define using libm_alias_double.
7696 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
7697 (llround): Define using libm_alias_double.
7698 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
7699 (lrint): Define using libm_alias_double.
7700 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
7701 (lround): Define using libm_alias_double.
7702 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
7703 (nearbyint): Define using libm_alias_double.
7704 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
7705 (rint): Define using libm_alias_double.
7706 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
7707 (round): Define using libm_alias_double.
7708 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
7709 (trunc): Define using libm_alias_double.
7711 2017-11-27 Florian Weimer <fweimer@redhat.com>
7713 * sysdeps/unix/sysv/linux/mlock2.c: New file.
7714 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
7715 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
7716 (tests): Add tst-mlock2.
7717 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
7718 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
7719 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
7720 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
7721 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
7722 for mlock. Document mlock2.
7724 2017-11-27 Joseph Myers <joseph@codesourcery.com>
7726 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
7727 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
7729 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
7731 * sysdeps/x86/Makeconfig: New file.
7732 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
7733 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7734 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
7735 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7736 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7737 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7738 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
7740 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7741 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7742 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7743 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7744 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7745 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7746 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7747 * manual/math.texi (Mathematics): Document support for _Float64x.
7748 * math/Versions (GLIBC_2.27): Add _Float64x functions.
7749 * stdlib/Versions (GLIBC_2.27): Likewise.
7750 * wcsmbs/Versions (GLIBC_2.27): Likewise.
7751 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
7752 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7753 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7754 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7755 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7756 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7757 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7758 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7759 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7760 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7761 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7766 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7767 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7768 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7769 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7770 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7771 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7772 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7776 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7777 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7778 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7779 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7781 2017-11-27 Andreas Schwab <schwab@suse.de>
7783 * elf/Makefile (dl-routines): Add dl-sort-maps.
7784 * elf/dl-sort-maps.c: New file.
7785 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
7786 (_dl_sort_maps): Declare.
7787 * elf/dl-fini.c (_dl_sort_fini): Remove.
7788 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
7789 * elf/dl-close.c (_dl_close_worker): Likewise.
7790 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
7792 * elf/dl-open.c (dl_open_worker): Likewise.
7794 2017-11-24 Joseph Myers <joseph@codesourcery.com>
7796 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
7797 using libm_alias_float128.
7798 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
7800 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
7802 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
7803 (setpayloadsigf128): Likewise.
7804 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
7806 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
7809 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
7810 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
7811 -mfloat128 to CFLAGS.
7813 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
7815 (CFLAGS-libm-test-support-float64x.c): New variable.
7816 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
7817 $(f128-loader-link) to gnulib-tests.
7819 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
7820 (libm_alias_float128_other_r): If
7821 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
7823 (libm_alias_float128_r): Add semicolon after weak_alias call.
7824 * sysdeps/generic/libm-alias-ldouble.h
7825 (libm_alias_ldouble_other_r_f128): New macro.
7826 (libm_alias_ldouble_other_r_f64x): Likewise.
7827 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
7828 and libm_alias_ldouble_other_r_f64x.
7829 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
7830 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
7831 (libm_alias_ldouble_other_r_f128): New macro.
7832 (libm_alias_ldouble_other_r_f64x): Likewise.
7833 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
7834 and libm_alias_ldouble_other_r_f64x.
7836 * stdlib/strfroml.c: Always include <stdlib.h>.
7837 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
7838 undefine as macro and define as weak alias.
7839 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
7840 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
7842 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
7843 Define and later undefine as macro and define as weak alias.
7845 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
7846 Define and later undefine as macro. Define as weak alias if
7848 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
7849 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7850 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
7851 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
7852 Define and later undefine as macro. Define as weak alias if
7854 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
7855 Define and later undefine as macro. Define as weak alias if
7857 * sysdeps/ieee754/float128/strtof128_l.c
7858 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
7859 Define and later undefine as macro. Define as weak alias if
7861 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
7862 Define and later undefine as macro. Define as weak alias if
7864 * sysdeps/ieee754/ldbl-128/strtold_l.c
7865 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
7866 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7867 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
7868 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7869 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
7870 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
7871 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7872 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
7873 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7874 * sysdeps/ieee754/ldbl-96/strtold_l.c
7875 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
7876 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7877 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
7878 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7880 * math/test-float64x.h: New file.
7881 * math/Makefile (type-float64x-yes): New variable.
7882 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
7884 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
7885 function-like macro.
7886 (min_of_type_): Likewise.
7887 (min_of_type_l): Likewise.
7888 (min_of_type_f128): Likewise.
7889 (min_of_type): Pass () as last argument of __MATH_TG.
7891 * stdlib/tst-strtod-round-skeleton.c
7892 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
7895 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
7896 for combinations of long double with _Float64 and _Float64x.
7898 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
7899 (__DECL_SIMD_cosf32): Likewise.
7900 (__DECL_SIMD_cosf64): Likewise.
7901 (__DECL_SIMD_cosf32x): Likewise.
7902 (__DECL_SIMD_cosf64x): Likewise.
7903 (__DECL_SIMD_cosf128x): Likewise.
7904 (__DECL_SIMD_sinf16): Likewise.
7905 (__DECL_SIMD_sinf32): Likewise.
7906 (__DECL_SIMD_sinf64): Likewise.
7907 (__DECL_SIMD_sinf32x): Likewise.
7908 (__DECL_SIMD_sinf64x): Likewise.
7909 (__DECL_SIMD_sinf128x): Likewise.
7910 (__DECL_SIMD_sincosf16): Likewise.
7911 (__DECL_SIMD_sincosf32): Likewise.
7912 (__DECL_SIMD_sincosf64): Likewise.
7913 (__DECL_SIMD_sincosf32x): Likewise.
7914 (__DECL_SIMD_sincosf64x): Likewise.
7915 (__DECL_SIMD_sincosf128x): Likewise.
7916 (__DECL_SIMD_logf16): Likewise.
7917 (__DECL_SIMD_logf32): Likewise.
7918 (__DECL_SIMD_logf64): Likewise.
7919 (__DECL_SIMD_logf32x): Likewise.
7920 (__DECL_SIMD_logf64x): Likewise.
7921 (__DECL_SIMD_logf128x): Likewise.
7922 (__DECL_SIMD_expf16): Likewise.
7923 (__DECL_SIMD_expf32): Likewise.
7924 (__DECL_SIMD_expf64): Likewise.
7925 (__DECL_SIMD_expf32x): Likewise.
7926 (__DECL_SIMD_expf64x): Likewise.
7927 (__DECL_SIMD_expf128x): Likewise.
7928 (__DECL_SIMD_powf16): Likewise.
7929 (__DECL_SIMD_powf32): Likewise.
7930 (__DECL_SIMD_powf64): Likewise.
7931 (__DECL_SIMD_powf32x): Likewise.
7932 (__DECL_SIMD_powf64x): Likewise.
7933 (__DECL_SIMD_powf128x): Likewise.
7935 * stdlib/Versions (libc): Move entries for wcstof128 and
7937 * wcsmbs/Versions (libc): ... here.
7938 Include <float128-abi.h>.
7940 2017-11-24 Florian Weimer <fweimer@redhat.com>
7942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7944 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
7945 <bits/mman-shared.h>.
7946 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
7948 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
7949 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
7950 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7951 <bits/mman-shared.h>.
7953 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7956 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
7957 posix_memalign/free.
7958 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
7960 2017-11-22 Mike FABIAN <mfabian@redhat.com>
7963 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
7964 and implement the collation rules for pl from CLDR on top of that.
7965 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
7966 of locales to be built for testing.
7967 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
7969 2017-11-23 Joseph Myers <joseph@codesourcery.com>
7971 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
7972 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
7973 libm_alias_ldouble_other.
7974 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
7975 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
7976 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
7977 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
7978 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
7979 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
7980 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
7981 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
7982 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
7983 libm_alias_ldouble_r.
7984 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
7985 libm_alias_ldouble_other.
7986 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
7988 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
7989 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
7990 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
7991 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
7992 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
7993 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
7994 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
7996 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
7997 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
7998 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
8000 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
8002 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
8003 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
8004 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
8006 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
8007 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
8008 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
8009 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
8010 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
8011 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
8012 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
8013 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
8014 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
8015 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
8016 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
8018 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
8019 libm_alias_ldouble_other.
8020 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
8021 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
8022 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
8024 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
8025 libm_alias_ldouble_other.
8026 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
8027 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
8028 * sysdeps/ia64/fpu/w_lgammal_main.c
8029 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
8030 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
8032 2017-11-23 Florian Weimer <fweimer@redhat.com>
8034 * malloc/malloc.c (tcache_thread_shutdown): Rename from
8035 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
8036 alike. Remove freeres marker.
8037 * malloc/arena.c (arena_thread_freeres): Call
8038 tcache_thread_shutdown.
8040 2017-11-23 Florian Weimer <fweimer@redhat.com>
8043 Export nscd hash function as __nss_hash.
8044 * include/nss.h (__nss_hash): Declare.
8045 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
8047 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
8048 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
8050 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
8051 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
8052 * nss/Makefiles (routines): Add nss_hash.
8053 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
8054 * nss/nss_hash.c: Rename from nis/nis_hash.c.
8055 (__nss_hash): Rename from __nis_hash. Define hidden alias.
8056 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
8058 2017-11-23 Florian Weimer <fweimer@redhat.com>
8061 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
8062 Return error code, not -1.
8063 * signal/tst-sigwait-eintr.c: New file.
8064 * signal/Makefile (tests): Add tst-sigwait-eintr.
8066 2017-11-23 Florian Weimer <fweimer@redhat.com>
8068 Linux: Add memfd_create system call wrapper
8069 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
8071 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8072 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
8073 [__USE_GNU] (memfd_create): Declare.
8074 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
8075 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
8076 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
8077 * sysdeps/unix/sysv/linux/**.abilist: Update.
8078 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
8080 2017-11-22 Joseph Myers <joseph@codesourcery.com>
8082 * localedata/gen-locale.sh: Fix typo in variable name.
8084 * resolv/res_debug.c (p_secstodate): Condition definition on
8085 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
8086 directly as __p_secstodate, and as a compat symbol. Do not use
8087 libresolv_hidden_def.
8088 * resolv/resolv.h (p_secstodate): Remove macro and function
8090 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
8092 * include/resolv.h (__p_secstodate): Do not use
8093 libresolv_hidden_proto.
8094 * resolv/Makefile (tests): Move tst-p_secstodate to ....
8095 (tests-internal): ... here.
8096 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
8097 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
8098 and declare and use __p_secstodate and use compat_symbol_reference
8100 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
8101 implementation returning 77.
8104 * resolv/res_debug.c: Include <libc-diag.h>.
8105 (p_secstodate): Assert time_t at least as wide as u_long. On
8106 overflow, use integer seconds since the epoch as output, or use
8107 "<overflow>" as output and set errno to EOVERFLOW if integer
8108 seconds since the epoch would be 14 or more characters.
8109 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
8111 * resolv/tst-p_secstodate.c: New file.
8112 * resolv/Makefile (tests): Add tst-p_secstodate.
8113 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
8115 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
8116 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8117 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
8119 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
8121 * posix/regcomp.c (init_word_char): Add comments.
8123 2017-11-22 Joseph Myers <joseph@codesourcery.com>
8126 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
8127 strlen to compute length of ut_user and set trailing NUL byte of
8130 2017-11-21 Mike FABIAN <mfabian@redhat.com>
8133 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
8134 using “copy "iso14651_t1"” and then implementing the
8135 collation rules for lv from CLDR on top of that.
8136 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
8137 of locales to be built for testing.
8138 * lv_LV.UTF-8.in: New file with test data to test the Latvian
8141 2017-11-21 Joseph Myers <joseph@codesourcery.com>
8143 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
8144 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
8145 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
8146 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
8147 [__USE_MISC] (MADV_HWPOISON): New macro.
8148 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
8150 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8152 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
8153 -Wmissing-braces on GCC 4.9.
8155 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
8157 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
8158 * sysdeps/s390/s390-32/start.S (_start): Likewise
8159 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
8160 (thread_start): Likewise.
8161 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
8162 (thread_start): Likewise.
8163 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
8164 (__makecontext_ret): Likewise.
8165 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
8166 (__makecontext_ret): Likewise.
8168 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
8170 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
8171 __wcschrnul): Remove attribute_hidden.
8173 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
8175 regex: don't assume uint64_t or uint32_t
8176 This avoids -Werror=overflow errors for 32-bit systems in
8177 the 64-bit case. Problem reported by Joseph Myers in:
8178 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
8179 Also, when this code is used in Gnulib it ports to platforms
8180 that lack uint64_t and uint32_t. The C standard doesn't guarantee
8181 them, and on some 32-bit compilers there is no uint64_t.
8182 Problem reported by Gianluigi Tiesi in:
8183 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
8184 * posix/regcomp.c (init_word_char): Don't assume that the types
8185 uint64_t and uint32_t exist. Adapted from Gnulib patch
8186 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
8187 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
8189 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
8191 * sysdeps/aarch64/memset-reg.h: New file.
8192 * sysdeps/aarch64/memset.S: Use it.
8193 (__memset): Rename to MEMSET macro.
8194 [ZVA_MACRO]: Use zva_macro.
8195 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
8196 Add memset_generic and memset_falkor.
8197 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8198 (__libc_ifunc_impl_list): Add memset ifuncs.
8199 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
8200 local variable zva_size.
8201 * sysdeps/aarch64/multiarch/memset.c: New file.
8202 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
8203 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
8204 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
8205 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8206 (DCZID_DZP_MASK): New macro.
8207 (DCZID_BS_MASK): Likewise.
8208 (init_cpu_features): Read and set zva_size.
8209 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
8210 (struct cpu_features): New member zva_size.
8212 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
8213 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
8214 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
8216 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
8217 backwards. Fix timing computation.
8218 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
8219 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
8220 on memset by N at a time. Fix timing computation.
8222 2017-11-20 Florian Weimer <fweimer@redhat.com>
8224 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
8225 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
8227 2017-11-19 Florian Weimer <fweimer@redhat.com>
8229 manual: Document mprotect
8230 * manual/memory.texi (Memory Protection): New section.
8231 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
8232 documentation of PROT_* flags and reference the Memory Protection
8235 2017-11-19 Florian Weimer <fweimer@redhat.com>
8237 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
8238 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
8239 (Scatter-Gather): ... to here. Remove misleading comment.
8241 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
8243 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
8246 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
8247 when /proc/<pid>/setgroups does not exist.
8249 2017-11-18 Florian Weimer <fweimer@redhat.com>
8251 * sysdeps/unix/sysv/linux/tst-ttyname.c
8252 (become_root_in_mount_ns): Remove.
8253 (do_in_chroot_1): Call support_enter_mount_namespace.
8254 (do_in_chroot_2): Likewise.
8255 (do_test): Call support_become_root early.
8257 2017-11-18 Florian Weimer <fweimer@redhat.com>
8259 * support/namespace.h (support_enter_mount_namespace): Declare.
8260 * support/support_enter_mount_namespace.c: New file.
8261 * support/Makefile (libsupport-routines): Add
8262 support_enter_mount_namespace.
8264 2017-11-18 Florian Weimer <fweimer@redhat.com>
8266 * support/temp_file.c (support_create_temp_directory): Use
8267 test_dir and do not rely on the presence of the XXXXXX suffix.
8268 * support/temp_file.h (support_create_temp_directory): Update
8270 * support/tst-xreadlink.c (do_test): Adjust.
8271 * support/support_chroot.c (support_chroot_create): Likewise.
8273 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8275 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
8277 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
8280 2017-11-17 Joseph Myers <joseph@codesourcery.com>
8282 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
8283 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
8284 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
8285 (ceill): Define using libm_alias_ldouble.
8286 * sysdeps/x86_64/fpu/s_copysignl.S: Include
8287 <libm-alias-ldouble.h>.
8288 (copysignl): Define using libm_alias_ldouble.
8289 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
8290 (fabsl): Define using libm_alias_ldouble.
8291 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
8292 (floorl): Define using libm_alias_ldouble.
8293 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
8294 (fmaxl): Define using libm_alias_ldouble.
8295 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
8296 (fminl): Define using libm_alias_ldouble.
8297 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
8298 (llrintl): Define using libm_alias_ldouble.
8300 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
8301 <libm-alias-ldouble.h>.
8302 (nearbyintl): Define using libm_alias_ldouble.
8303 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
8304 (truncl): Define using libm_alias_ldouble.
8305 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
8306 <libm-alias-ldouble.h>.
8307 (lrintl): Define using libm_alias_ldouble.
8309 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
8310 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
8311 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
8312 (asinhl): Define using libm_alias_ldouble.
8313 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
8314 (atanl): Define using libm_alias_ldouble.
8315 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
8316 (cbrtl): Define using libm_alias_ldouble.
8317 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
8318 (ceill): Define using libm_alias_ldouble.
8319 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
8320 (copysignl): Define using libm_alias_ldouble.
8321 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
8322 (fabsl): Define using libm_alias_ldouble.
8323 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
8324 (floorl): Define using libm_alias_ldouble.
8325 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
8326 (fmaxl): Define using libm_alias_ldouble.
8327 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
8328 (fminl): Define using libm_alias_ldouble.
8329 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
8330 (frexpl): Define using libm_alias_ldouble.
8331 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
8332 (llrintl): Define using libm_alias_ldouble.
8333 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
8334 (logbl): Define using libm_alias_ldouble.
8335 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
8336 (lrintl): Define using libm_alias_ldouble.
8337 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
8338 (nearbyintl): Define using libm_alias_ldouble.
8339 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
8340 (nextafterl): Define using libm_alias_ldouble.
8341 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
8342 (remquol): Define using libm_alias_ldouble.
8343 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
8344 (rintl): Define using libm_alias_ldouble.
8345 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
8346 (truncl): Define using libm_alias_ldouble.
8347 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
8348 (fmaxl): Define using libm_alias_ldouble.
8349 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
8350 (fminl): Define using libm_alias_ldouble.
8352 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
8353 to C syntax instead of availability and properties of types.
8354 * bits/floatn.h [!__ASSEMBLER]: Likewise.
8355 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
8356 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
8357 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
8358 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
8359 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
8361 2017-11-17 Florian Weimer <fweimer@redhat.com>
8363 support_become_root: Enable file creation in namespaces.
8364 * support/support_become_root.c (setup_mapping): New function.
8365 (support_become_root): Call it.
8367 2017-11-17 Joseph Myers <joseph@codesourcery.com>
8369 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
8372 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8374 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
8375 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
8377 2017-11-16 Joseph Myers <joseph@codesourcery.com>
8379 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
8381 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8384 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8386 * INSTALL: Fix botched up regeneration.
8388 * NEWS: Update sourceare link to https.
8389 * configure.ac: Likewise.
8390 * crypt/md5test-giant.c: Likewise.
8391 * dlfcn/bug-atexit1.c: Likewise.
8392 * dlfcn/bug-atexit2.c: Likewise.
8393 * localedata/README: Likewise.
8394 * malloc/tst-mallocfork.c: Likewise.
8395 * manual/install.texi: Likewise.
8396 * nptl/tst-pthread-getattr.c: Likewise.
8397 * stdio-common/tst-fgets.c: Likewise.
8398 * stdio-common/tst-fwrite.c: Likewise.
8399 * sunrpc/Makefile: Likewise.
8400 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
8401 * wcsmbs/tst-mbrtowc2.c: Likewise.
8402 * configure: Regenerate.
8403 * INSTALL: Regenerate.
8405 2017-11-15 Martin Sebor <msebor@redhat.com>
8407 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
8408 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
8409 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
8411 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
8414 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
8415 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
8418 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
8419 Defer is_pty check until end of the function.
8420 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8423 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
8424 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
8425 (ttyname): Likewise.
8426 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
8427 (__ttyname_r): Likewise.
8429 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
8432 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
8434 * manual/terminal.texi (Is It a Terminal):
8435 Mention ENODEV for ttyname and ttyname_r.
8437 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8439 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
8442 * sysdeps/unix/sysv/linux/bits/mman-linux.h
8443 [__USE_MISC] (MADV_WIPEONFORK): New macro.
8444 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8445 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
8446 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8447 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8449 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8451 * signal/sigrelse.c (sigrelse): Optimize implementation.
8453 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
8454 (__sigpause): Rely on __sigsuspend to implement single thread
8455 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
8457 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8459 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8460 kernel version to 4.14.
8462 2017-11-15 Steve Ellcey <sellcey@cavium.com>
8465 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
8466 Check if ifname is too long.
8468 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
8470 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
8472 2017-11-15 Mike FABIAN <mfabian@redhat.com>
8474 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
8475 was accidentally lost.
8477 2017-11-15 Mike FABIAN <mfabian@redhat.com>
8479 * localedata/locales/az_IR: Add standard copyright header.
8481 2017-11-15 Florian Weimer <fweimer@redhat.com>
8484 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
8485 not just the top one. Output a new "subheaps" statistic.
8487 2017-11-15 Florian Weimer <fweimer@redhat.com>
8490 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
8491 under the per-arena lock.
8492 * malloc/Makefile (tests): Add tst-malloc_info.
8493 (tst-malloc_info): Link with libpthread.
8494 * malloc/tst-malloc_info.c: New file.
8496 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8499 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
8500 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
8501 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
8502 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
8503 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
8504 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
8505 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
8506 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
8507 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
8508 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
8509 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
8510 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
8511 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
8512 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
8513 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
8514 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
8515 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
8516 (__floating_type): Likewise.
8517 (__real_integer_type): Likewise.
8518 (__complex_integer_type): Likewise.
8519 (__expr_is_real): Likewise.
8520 (__tgmath_real_type_sub): Likewise.
8521 (__tgmath_real_type): Likewise.
8522 (__tgmath_complex_type_sub): Likewise.
8523 (__tgmath_complex_type): Likewise.
8524 (__TGMATH_F128): Likewise.
8525 (__TGMATH_CF128): Likewise.
8526 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
8528 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8529 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
8531 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
8533 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
8534 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8535 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8536 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
8538 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8539 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
8541 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
8542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
8543 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
8545 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
8546 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
8547 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
8551 2017-11-14 Joseph Myers <joseph@codesourcery.com>
8553 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
8554 for stpncpy calls for GCC 8.
8555 (test_strncat): Disable -Wstringop-truncation warning for strncat
8556 calls for GCC 8. Disable -Wstringop-overflow= warning for one
8557 strncat call for GCC 7.
8558 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
8560 (test_memcmp): Use memcpy instead of strncpy for calls not copying
8563 * string/bug-strncat1.c: Include <libc-diag.h>.
8564 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
8566 2017-11-13 Claude Paroz <claude@2xlibre.net>
8569 * localedata/locales/aa_DJ: Improved readibility by replacing
8570 <Uxxxx> sequences in the ASCII printable range by their ASCII
8571 character equivalents.
8572 * localedata/locales/aa_ER: Likewise.
8573 * localedata/locales/aa_ER@saaho: Likewise.
8574 * localedata/locales/aa_ET: Likewise.
8575 * localedata/locales/af_ZA: Likewise.
8576 * localedata/locales/agr_PE: Likewise.
8577 * localedata/locales/ak_GH: Likewise.
8578 * localedata/locales/am_ET: Likewise.
8579 * localedata/locales/anp_IN: Likewise.
8580 * localedata/locales/ar_AE: Likewise.
8581 * localedata/locales/ar_BH: Likewise.
8582 * localedata/locales/ar_DZ: Likewise.
8583 * localedata/locales/ar_EG: Likewise.
8584 * localedata/locales/ar_IN: Likewise.
8585 * localedata/locales/ar_IQ: Likewise.
8586 * localedata/locales/ar_JO: Likewise.
8587 * localedata/locales/ar_KW: Likewise.
8588 * localedata/locales/ar_LB: Likewise.
8589 * localedata/locales/ar_LY: Likewise.
8590 * localedata/locales/ar_MA: Likewise.
8591 * localedata/locales/ar_OM: Likewise.
8592 * localedata/locales/ar_QA: Likewise.
8593 * localedata/locales/ar_SA: Likewise.
8594 * localedata/locales/ar_SD: Likewise.
8595 * localedata/locales/ar_SS: Likewise.
8596 * localedata/locales/ar_SY: Likewise.
8597 * localedata/locales/ar_TN: Likewise.
8598 * localedata/locales/ar_YE: Likewise.
8599 * localedata/locales/as_IN: Likewise.
8600 * localedata/locales/ast_ES: Likewise.
8601 * localedata/locales/ayc_PE: Likewise.
8602 * localedata/locales/az_AZ: Likewise.
8603 * localedata/locales/az_IR: Likewise.
8604 * localedata/locales/be_BY: Likewise.
8605 * localedata/locales/be_BY@latin: Likewise.
8606 * localedata/locales/bem_ZM: Likewise.
8607 * localedata/locales/ber_DZ: Likewise.
8608 * localedata/locales/ber_MA: Likewise.
8609 * localedata/locales/bg_BG: Likewise.
8610 * localedata/locales/bhb_IN: Likewise.
8611 * localedata/locales/bho_IN: Likewise.
8612 * localedata/locales/bi_VU: Likewise.
8613 * localedata/locales/bn_BD: Likewise.
8614 * localedata/locales/bn_IN: Likewise.
8615 * localedata/locales/bo_CN: Likewise.
8616 * localedata/locales/bo_IN: Likewise.
8617 * localedata/locales/br_FR: Likewise.
8618 * localedata/locales/brx_IN: Likewise.
8619 * localedata/locales/bs_BA: Likewise.
8620 * localedata/locales/byn_ER: Likewise.
8621 * localedata/locales/ca_AD: Likewise.
8622 * localedata/locales/ca_ES: Likewise.
8623 * localedata/locales/ca_FR: Likewise.
8624 * localedata/locales/ca_IT: Likewise.
8625 * localedata/locales/ce_RU: Likewise.
8626 * localedata/locales/chr_US: Likewise.
8627 * localedata/locales/cmn_TW: Likewise.
8628 * localedata/locales/crh_UA: Likewise.
8629 * localedata/locales/cs_CZ: Likewise.
8630 * localedata/locales/csb_PL: Likewise.
8631 * localedata/locales/cv_RU: Likewise.
8632 * localedata/locales/cy_GB: Likewise.
8633 * localedata/locales/da_DK: Likewise.
8634 * localedata/locales/de_AT: Likewise.
8635 * localedata/locales/de_BE: Likewise.
8636 * localedata/locales/de_CH: Likewise.
8637 * localedata/locales/de_DE: Likewise.
8638 * localedata/locales/de_IT: Likewise.
8639 * localedata/locales/de_LI: Likewise.
8640 * localedata/locales/de_LU: Likewise.
8641 * localedata/locales/doi_IN: Likewise.
8642 * localedata/locales/dv_MV: Likewise.
8643 * localedata/locales/dz_BT: Likewise.
8644 * localedata/locales/el_CY: Likewise.
8645 * localedata/locales/el_GR: Likewise.
8646 * localedata/locales/en_AG: Likewise.
8647 * localedata/locales/en_AU: Likewise.
8648 * localedata/locales/en_BW: Likewise.
8649 * localedata/locales/en_CA: Likewise.
8650 * localedata/locales/en_DK: Likewise.
8651 * localedata/locales/en_GB: Likewise.
8652 * localedata/locales/en_HK: Likewise.
8653 * localedata/locales/en_IE: Likewise.
8654 * localedata/locales/en_IL: Likewise.
8655 * localedata/locales/en_IN: Likewise.
8656 * localedata/locales/en_NG: Likewise.
8657 * localedata/locales/en_NZ: Likewise.
8658 * localedata/locales/en_PH: Likewise.
8659 * localedata/locales/en_SG: Likewise.
8660 * localedata/locales/en_US: Likewise.
8661 * localedata/locales/en_ZA: Likewise.
8662 * localedata/locales/en_ZM: Likewise.
8663 * localedata/locales/en_ZW: Likewise.
8664 * localedata/locales/eo: Likewise.
8665 * localedata/locales/es_AR: Likewise.
8666 * localedata/locales/es_BO: Likewise.
8667 * localedata/locales/es_CL: Likewise.
8668 * localedata/locales/es_CO: Likewise.
8669 * localedata/locales/es_CR: Likewise.
8670 * localedata/locales/es_CU: Likewise.
8671 * localedata/locales/es_DO: Likewise.
8672 * localedata/locales/es_EC: Likewise.
8673 * localedata/locales/es_ES: Likewise.
8674 * localedata/locales/es_GT: Likewise.
8675 * localedata/locales/es_HN: Likewise.
8676 * localedata/locales/es_MX: Likewise.
8677 * localedata/locales/es_NI: Likewise.
8678 * localedata/locales/es_PA: Likewise.
8679 * localedata/locales/es_PE: Likewise.
8680 * localedata/locales/es_PR: Likewise.
8681 * localedata/locales/es_PY: Likewise.
8682 * localedata/locales/es_SV: Likewise.
8683 * localedata/locales/es_US: Likewise.
8684 * localedata/locales/es_UY: Likewise.
8685 * localedata/locales/es_VE: Likewise.
8686 * localedata/locales/et_EE: Likewise.
8687 * localedata/locales/eu_ES: Likewise.
8688 * localedata/locales/eu_ES@euro: Likewise.
8689 * localedata/locales/fa_IR: Likewise.
8690 * localedata/locales/ff_SN: Likewise.
8691 * localedata/locales/fi_FI: Likewise.
8692 * localedata/locales/fil_PH: Likewise.
8693 * localedata/locales/fo_FO: Likewise.
8694 * localedata/locales/fr_BE: Likewise.
8695 * localedata/locales/fr_CA: Likewise.
8696 * localedata/locales/fr_CH: Likewise.
8697 * localedata/locales/fr_FR: Likewise.
8698 * localedata/locales/fr_LU: Likewise.
8699 * localedata/locales/fur_IT: Likewise.
8700 * localedata/locales/fy_DE: Likewise.
8701 * localedata/locales/fy_NL: Likewise.
8702 * localedata/locales/ga_IE: Likewise.
8703 * localedata/locales/gd_GB: Likewise.
8704 * localedata/locales/gez_ER: Likewise.
8705 * localedata/locales/gez_ET: Likewise.
8706 * localedata/locales/gl_ES: Likewise.
8707 * localedata/locales/gu_IN: Likewise.
8708 * localedata/locales/gv_GB: Likewise.
8709 * localedata/locales/ha_NG: Likewise.
8710 * localedata/locales/hak_TW: Likewise.
8711 * localedata/locales/he_IL: Likewise.
8712 * localedata/locales/hi_IN: Likewise.
8713 * localedata/locales/hif_FJ: Likewise.
8714 * localedata/locales/hne_IN: Likewise.
8715 * localedata/locales/hr_HR: Likewise.
8716 * localedata/locales/hsb_DE: Likewise.
8717 * localedata/locales/ht_HT: Likewise.
8718 * localedata/locales/hu_HU: Likewise.
8719 * localedata/locales/hy_AM: Likewise.
8720 * localedata/locales/i18n: Likewise.
8721 * localedata/locales/ia_FR: Likewise.
8722 * localedata/locales/id_ID: Likewise.
8723 * localedata/locales/ig_NG: Likewise.
8724 * localedata/locales/ik_CA: Likewise.
8725 * localedata/locales/is_IS: Likewise.
8726 * localedata/locales/it_CH: Likewise.
8727 * localedata/locales/it_IT: Likewise.
8728 * localedata/locales/iu_CA: Likewise.
8729 * localedata/locales/ja_JP: Likewise.
8730 * localedata/locales/ka_GE: Likewise.
8731 * localedata/locales/kk_KZ: Likewise.
8732 * localedata/locales/kl_GL: Likewise.
8733 * localedata/locales/kn_IN: Likewise.
8734 * localedata/locales/ko_KR: Likewise.
8735 * localedata/locales/kok_IN: Likewise.
8736 * localedata/locales/ks_IN: Likewise.
8737 * localedata/locales/ks_IN@devanagari: Likewise.
8738 * localedata/locales/ku_TR: Likewise.
8739 * localedata/locales/kw_GB: Likewise.
8740 * localedata/locales/ky_KG: Likewise.
8741 * localedata/locales/lb_LU: Likewise.
8742 * localedata/locales/lg_UG: Likewise.
8743 * localedata/locales/li_BE: Likewise.
8744 * localedata/locales/li_NL: Likewise.
8745 * localedata/locales/lij_IT: Likewise.
8746 * localedata/locales/ln_CD: Likewise.
8747 * localedata/locales/lo_LA: Likewise.
8748 * localedata/locales/lt_LT: Likewise.
8749 * localedata/locales/lv_LV: Likewise.
8750 * localedata/locales/lzh_TW: Likewise.
8751 * localedata/locales/mag_IN: Likewise.
8752 * localedata/locales/mai_IN: Likewise.
8753 * localedata/locales/mg_MG: Likewise.
8754 * localedata/locales/mhr_RU: Likewise.
8755 * localedata/locales/mi_NZ: Likewise.
8756 * localedata/locales/mk_MK: Likewise.
8757 * localedata/locales/ml_IN: Likewise.
8758 * localedata/locales/mn_MN: Likewise.
8759 * localedata/locales/mni_IN: Likewise.
8760 * localedata/locales/mr_IN: Likewise.
8761 * localedata/locales/ms_MY: Likewise.
8762 * localedata/locales/mt_MT: Likewise.
8763 * localedata/locales/my_MM: Likewise.
8764 * localedata/locales/nan_TW: Likewise.
8765 * localedata/locales/nan_TW@latin: Likewise.
8766 * localedata/locales/nb_NO: Likewise.
8767 * localedata/locales/nds_DE: Likewise.
8768 * localedata/locales/nds_NL: Likewise.
8769 * localedata/locales/ne_NP: Likewise.
8770 * localedata/locales/nhn_MX: Likewise.
8771 * localedata/locales/niu_NU: Likewise.
8772 * localedata/locales/niu_NZ: Likewise.
8773 * localedata/locales/nl_AW: Likewise.
8774 * localedata/locales/nl_BE: Likewise.
8775 * localedata/locales/nl_NL: Likewise.
8776 * localedata/locales/nn_NO: Likewise.
8777 * localedata/locales/nr_ZA: Likewise.
8778 * localedata/locales/nso_ZA: Likewise.
8779 * localedata/locales/oc_FR: Likewise.
8780 * localedata/locales/om_ET: Likewise.
8781 * localedata/locales/om_KE: Likewise.
8782 * localedata/locales/or_IN: Likewise.
8783 * localedata/locales/os_RU: Likewise.
8784 * localedata/locales/pa_IN: Likewise.
8785 * localedata/locales/pa_PK: Likewise.
8786 * localedata/locales/pap_AW: Likewise.
8787 * localedata/locales/pap_CW: Likewise.
8788 * localedata/locales/pl_PL: Likewise.
8789 * localedata/locales/ps_AF: Likewise.
8790 * localedata/locales/pt_BR: Likewise.
8791 * localedata/locales/pt_PT: Likewise.
8792 * localedata/locales/quz_PE: Likewise.
8793 * localedata/locales/raj_IN: Likewise.
8794 * localedata/locales/ro_RO: Likewise.
8795 * localedata/locales/ru_RU: Likewise.
8796 * localedata/locales/ru_UA: Likewise.
8797 * localedata/locales/rw_RW: Likewise.
8798 * localedata/locales/sa_IN: Likewise.
8799 * localedata/locales/sat_IN: Likewise.
8800 * localedata/locales/sc_IT: Likewise.
8801 * localedata/locales/sd_IN: Likewise.
8802 * localedata/locales/sd_IN@devanagari: Likewise.
8803 * localedata/locales/se_NO: Likewise.
8804 * localedata/locales/sgs_LT: Likewise.
8805 * localedata/locales/shs_CA: Likewise.
8806 * localedata/locales/si_LK: Likewise.
8807 * localedata/locales/sid_ET: Likewise.
8808 * localedata/locales/sk_SK: Likewise.
8809 * localedata/locales/sl_SI: Likewise.
8810 * localedata/locales/sm_WS: Likewise.
8811 * localedata/locales/so_DJ: Likewise.
8812 * localedata/locales/so_ET: Likewise.
8813 * localedata/locales/so_KE: Likewise.
8814 * localedata/locales/so_SO: Likewise.
8815 * localedata/locales/sq_AL: Likewise.
8816 * localedata/locales/sq_MK: Likewise.
8817 * localedata/locales/sr_ME: Likewise.
8818 * localedata/locales/sr_RS: Likewise.
8819 * localedata/locales/sr_RS@latin: Likewise.
8820 * localedata/locales/ss_ZA: Likewise.
8821 * localedata/locales/st_ZA: Likewise.
8822 * localedata/locales/sv_FI: Likewise.
8823 * localedata/locales/sv_SE: Likewise.
8824 * localedata/locales/sw_KE: Likewise.
8825 * localedata/locales/sw_TZ: Likewise.
8826 * localedata/locales/szl_PL: Likewise.
8827 * localedata/locales/ta_IN: Likewise.
8828 * localedata/locales/ta_LK: Likewise.
8829 * localedata/locales/tcy_IN: Likewise.
8830 * localedata/locales/te_IN: Likewise.
8831 * localedata/locales/tg_TJ: Likewise.
8832 * localedata/locales/th_TH: Likewise.
8833 * localedata/locales/the_NP: Likewise.
8834 * localedata/locales/ti_ER: Likewise.
8835 * localedata/locales/ti_ET: Likewise.
8836 * localedata/locales/tig_ER: Likewise.
8837 * localedata/locales/tk_TM: Likewise.
8838 * localedata/locales/tl_PH: Likewise.
8839 * localedata/locales/tn_ZA: Likewise.
8840 * localedata/locales/to_TO: Likewise.
8841 * localedata/locales/tpi_PG: Likewise.
8842 * localedata/locales/tr_CY: Likewise.
8843 * localedata/locales/tr_TR: Likewise.
8844 * localedata/locales/ts_ZA: Likewise.
8845 * localedata/locales/tt_RU: Likewise.
8846 * localedata/locales/tt_RU@iqtelif: Likewise.
8847 * localedata/locales/ug_CN: Likewise.
8848 * localedata/locales/uk_UA: Likewise.
8849 * localedata/locales/unm_US: Likewise.
8850 * localedata/locales/ur_IN: Likewise.
8851 * localedata/locales/ur_PK: Likewise.
8852 * localedata/locales/uz_UZ: Likewise.
8853 * localedata/locales/uz_UZ@cyrillic: Likewise.
8854 * localedata/locales/ve_ZA: Likewise.
8855 * localedata/locales/vi_VN: Likewise.
8856 * localedata/locales/wa_BE: Likewise.
8857 * localedata/locales/wae_CH: Likewise.
8858 * localedata/locales/wal_ET: Likewise.
8859 * localedata/locales/wo_SN: Likewise.
8860 * localedata/locales/xh_ZA: Likewise.
8861 * localedata/locales/yi_US: Likewise.
8862 * localedata/locales/yo_NG: Likewise.
8863 * localedata/locales/yue_HK: Likewise.
8864 * localedata/locales/yuw_PG: Likewise.
8865 * localedata/locales/zh_CN: Likewise.
8866 * localedata/locales/zh_HK: Likewise.
8867 * localedata/locales/zh_SG: Likewise.
8868 * localedata/locales/zh_TW: Likewise.
8869 * localedata/locales/zu_ZA: Likewise.
8871 2017-11-13 Florian Weimer <fweimer@redhat.com>
8873 * support/next_to_fault.h, support/next_to_fault.c: New files.
8874 * support/Makefile (libsupport-routines): Add next_to_fault.
8875 * resolv/tst-inet_pton.c (struct next_to_fault)
8876 (next_to_fault_allocate, next_to_fault_free): Remove.
8877 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
8879 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
8881 * elf/dl-support.c: Include <dl-procruntime.c>.
8882 * include/link.h: Include <link_map.h>.
8883 * sysdeps/generic/dl-procruntime.c: New file.
8884 * sysdeps/generic/link_map.h: Likewise.
8885 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
8886 the writable ld.so namespace.
8888 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
8890 timezone: pacify GCC -Wstringop-truncation
8891 Problem reported by Martin Sebor in:
8892 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
8893 * timezone/zic.c (writezone): Use memcpy, not strncpy.
8895 2017-11-12 Florian Weimer <fweimer@redhat.com>
8897 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
8899 (tests): Add tst-xreadlink.
8900 * support/support.h (xstrndup): Declare.
8901 * support/xunistd.h (xunlink, xreadlink): Declare.
8902 * support/temp_file.h (support_create_temp_directory): Declare.
8903 * support/temp_file.c (support_create_temp_directory): New function.
8904 * support/support_chroot.c (support_chroot_create): Use it.
8905 * support/xreadlink.c: New file.
8906 * support/xstrndup.c: Likewise.
8907 * support/xunlink.c: Likewise.
8908 * support/tst-xreadlink.c: Likewise.
8910 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
8912 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
8914 2017-11-11 Florian Weimer <fweimer@redhat.com>
8918 * resolv/res_comp.c (printable_string, binary_hnok)
8919 (binary_leading_dash): New functions.
8920 (res_hnok): Reimplement using these functions and ns_name_pton.
8921 (res_ownok): Likewise.
8922 (res_mailok): Reimplement using printable_string, ns_name_pton and
8924 (res_dnok): Reimplement using printable_string and ns_name_pton.
8925 * resolv/tst-res_hnok.c (tests): Add additional tests.
8926 (LETTERDIGITS, PRINTABLE): Define.
8927 (do_test): Adjust one_char results.
8929 2017-11-11 Florian Weimer <fweimer@redhat.com>
8932 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
8933 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
8935 2017-11-11 Florian Weimer <fweimer@redhat.com>
8937 * resolv/tst-ns_name_pton.c: New file.
8938 * resolv/Makefile (tests): Add tst-ns_name_pton.
8939 (tst-ns_name_pton): Link against libresolv.
8941 2017-11-11 Florian Weimer <fweimer@redhat.com>
8943 * resolv/tst-res_hnok.c: New file.
8944 * resolv/Makefile (tests): Add tst-res_hnok.
8945 (tst-res_hnok): Link against libresolv.
8947 2017-11-11 Florian Weimer <fweimer@redhat.com>
8949 * resolv/tst-resolv-network.c: Use test framework instead explicit
8952 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
8954 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
8956 [!_ISOMAC] (STR_HELPER): New.
8957 [!_ISOMAC] (STR): Likewise.
8958 [!_ISOMAC] (TEST_SIZE): Likewise.
8959 [!_ISOMAC] (TEST_ALIGN): Likewise.
8960 [!_ISOMAC] (TEST_OFFSET): Likewise.
8961 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
8962 field offsets of jmp_buf as well as sigjmp_buf.
8963 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
8964 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
8965 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
8966 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
8967 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
8968 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
8969 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
8970 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
8971 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
8972 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
8974 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
8976 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
8981 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
8982 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
8983 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
8984 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
8985 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
8986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
8988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
8990 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
8991 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
8994 2017-11-07 Joseph Myers <joseph@codesourcery.com>
8997 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8998 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
8999 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9000 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
9001 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9002 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
9003 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9004 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
9005 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9006 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
9007 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9008 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
9009 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9010 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
9011 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9012 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
9013 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9014 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
9015 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9016 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
9017 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9018 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
9019 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9020 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
9021 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9022 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
9023 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9024 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
9025 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9026 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
9027 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9028 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
9029 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9030 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
9031 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9032 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
9033 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9034 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
9035 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9036 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
9037 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9038 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
9039 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9040 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
9041 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9042 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
9043 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9044 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
9045 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9046 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
9047 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9048 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
9049 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9050 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
9051 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9052 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
9053 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9054 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
9055 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9056 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
9057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9058 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
9059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9060 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
9061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9062 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
9063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9064 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
9065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9066 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
9067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9068 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
9069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9070 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
9071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9072 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
9073 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9074 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
9075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9076 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
9077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9078 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
9079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9080 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
9081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9082 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
9083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9084 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
9086 * stdlib/tst-strtod.h (F16): New macro.
9092 (IF_FLOAT16): Likewise.
9093 (IF_FLOAT32): Likewise.
9094 (IF_FLOAT64): Likewise.
9095 (IF_FLOAT32X): Likewise.
9096 (IF_FLOAT64X): Likewise.
9097 (IF_FLOAT128X): Likewise.
9098 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
9099 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
9100 (STRTOD_TEST_FOREACH): Likewise.
9101 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
9102 (CHOOSE_f64): Likewise.
9103 (CHOOSE_f32x): Likewise.
9104 (CHOOSE_f64x): Likewise.
9106 2017-11-07 Andreas Schwab <schwab@suse.de>
9108 * nptl/Makefile (tests-internal): Remove tst-typesizes.
9110 2017-11-07 Mike FABIAN <mfabian@redhat.com>
9113 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
9115 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
9118 2017-11-07 Claude Paroz <claude@2xlibre.net>
9121 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
9123 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
9125 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
9128 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9131 * nptl/allocatestack.c (allocate_stack): Check if
9132 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
9133 __PTHREAD_MUTEX_HAVE_PREV is defined.
9134 * nptl/descr.h (pthread): Likewise.
9135 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9137 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9138 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9139 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
9140 * sysdeps/nptl/bits/thread-shared-types.h
9141 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
9143 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
9144 of __WORDSIZE for internal layout.
9145 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
9146 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
9147 instead of __WORDSIZE whether to use an union for __spins and __list
9149 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
9151 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
9152 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
9154 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
9155 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9157 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
9158 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9160 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
9161 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9163 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
9164 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9166 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
9167 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9169 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
9170 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9172 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
9173 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9175 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
9176 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9178 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
9179 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9181 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
9182 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9184 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
9185 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9187 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
9188 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9190 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
9191 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9193 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
9194 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9197 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
9199 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
9200 checks for expected input type size.
9201 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9202 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9204 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9205 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
9206 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9207 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
9208 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9209 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
9210 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
9211 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
9212 superflous runtime assert check.
9213 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
9215 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
9217 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9219 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
9221 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
9223 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
9225 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
9226 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
9227 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9229 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9231 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9233 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
9235 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9237 * nptl/pthread_attr_setinheritsched.c
9238 (__pthread_attr_setinheritsched): Likewise.
9239 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
9241 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
9243 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
9244 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
9245 __old_pthread_attr_setstack): Likewise.
9246 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9248 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9250 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
9252 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9253 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9255 * nptl/tst-typesizes.c: Remove file.
9257 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
9258 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
9259 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
9260 checks for internal pthread_mutex_t offsets.
9261 * sysdeps/aarch64/nptl/pthread-offsets.h
9262 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
9263 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
9264 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
9265 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
9266 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
9267 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
9268 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
9269 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
9270 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
9271 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
9272 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
9273 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
9274 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
9275 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
9276 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
9277 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
9278 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
9279 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
9281 2017-11-07 Florian Weimer <fweimer@redhat.com>
9283 * bits/mman-linux.h: Move ...
9284 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
9286 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
9289 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9291 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
9292 Redefine STRNLEN as __strnlen_power8.
9294 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9296 * signal/sighold.c (sighold): Optimize implementation.
9298 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
9299 __NR_rt_sigqueueinfo.
9301 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9303 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
9304 assume __NR_rt_sigtimedwait.
9305 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
9306 and add LIBC_CANCEL_HANDLED for cancellation marking.
9307 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9309 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
9310 (sysdeps_routines): Add memchr_noneon.
9311 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
9312 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
9313 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
9314 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
9315 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
9316 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
9317 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
9319 * sysdeps/arm/arm-ifunc.h: New file.
9320 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
9321 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
9322 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
9323 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
9324 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
9325 (__memcpy_neon): Avoid create hidden alias.
9326 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
9327 (__memcpy_vfp): Likewise.
9328 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
9329 (sysdep_routines): Add memcpy_arm.
9330 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
9332 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
9335 * Makerules (make-link-multidir): New.
9336 * config.make.in (multidir): New.
9337 * configure.ac (libc_cv_multidir): New. AC_SUBST.
9338 * configure: Regenerated.
9339 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
9340 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
9341 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
9344 2017-11-06 Joseph Myers <joseph@codesourcery.com>
9347 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
9348 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
9350 2017-11-04 Mike FABIAN <mfabian@redhat.com>
9352 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
9355 2017-11-04 Florian Weimer <fweimer@redhat.com>
9357 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
9359 2017-11-03 Joseph Myers <joseph@codesourcery.com>
9361 * math/math.h [__HAVE_DISTINCT_FLOAT16
9362 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
9363 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
9364 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
9365 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
9366 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
9367 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
9368 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9369 (__MATH_TG_F32): New macro.
9370 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9371 (__MATH_TG_F64X): Likewise.
9372 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9373 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
9375 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
9377 * po/de.po: Update translations.
9378 * po/ru.po: Likewise.
9380 2017-11-03 Florian Weimer <fweimer@redhat.com>
9382 * manual/filesys.texi (Hard Links): Document linkat.
9384 2017-11-03 Joseph Myers <joseph@codesourcery.com>
9386 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
9387 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
9388 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
9389 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
9390 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
9391 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
9392 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
9393 the same as _Float128.
9394 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
9395 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
9396 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
9399 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
9401 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
9403 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
9405 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9406 (strtof32x): Likewise.
9407 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9408 (strtof64x): Likewise.
9409 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9410 (strtof128x): Likewise.
9411 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9412 (strfromf16): Likewise.
9413 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9414 (strfromf32): Likewise.
9415 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9416 (strfromf64): Likewise.
9417 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9418 (strfromf32x): Likewise.
9419 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9420 (strfromf64x): Likewise.
9421 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9422 (strfromf128x): Likewise.
9423 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
9424 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
9425 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
9426 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
9427 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
9428 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
9430 2017-11-03 Richard Henderson <rth@twiddle.net>
9432 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
9434 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9436 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
9438 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9440 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
9441 DT_TLSDESC_GOT initialization.
9442 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
9443 (_dl_tlsdesc_resolve_hold): Likewise.
9444 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
9445 (_dl_tlsdesc_resolve_hold): Likewise.
9446 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
9447 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
9449 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9451 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
9453 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9456 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
9457 non-lazily for R_ARM_TLS_DESC.
9459 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9462 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
9463 R_ARM_TLS_DESC case.
9464 (elf_machine_lazy_rel): Remove the prelink check.
9466 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9468 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
9469 DT_TLSDESC_GOT initialization.
9470 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
9471 (_dl_tlsdesc_resolve_rela): Likewise.
9472 (_dl_tlsdesc_resolve_hold): Likewise.
9473 (_dl_tlsdesc_undefweak): Remove ldar.
9474 (_dl_tlsdesc_dynamic): Likewise.
9475 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
9476 (_dl_tlsdesc_resolve_rela): Likewise.
9477 (_dl_tlsdesc_resolve_hold): Likewise.
9478 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
9479 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
9480 (_dl_tlsdesc_resolve_rela): Likewise.
9481 (_dl_tlsdesc_resolve_hold): Likewise.
9483 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9485 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
9486 binding and initialization non-lazily for R_AARCH64_TLSDESC.
9488 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9490 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
9491 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9493 2017-11-02 Joseph Myers <joseph@codesourcery.com>
9495 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
9497 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
9498 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
9499 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
9500 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
9501 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
9502 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
9503 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
9504 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
9505 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
9506 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
9507 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
9509 2017-11-02 Mike FABIAN <mfabian@redhat.com>
9512 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
9513 * localedata/locales/tpi_PG: Add standard header.
9515 2017-11-02 Florian Weimer <fweimer@redhat.com>
9517 test-errno-linux: quotactl can fail with EPERM in containers.
9518 * sysdeps/unix/sysv/linux/test-errno-linux.c
9519 (LIST, LIST_FORWARD): New macros.
9520 (check_error_in_list): New function.
9521 (test_wrp_rv): Accept list of permitted error codes.
9522 (test_wrp_rv2): Remove.
9523 (test_wrp): Call test_wrp_rv with list of error codes.
9524 (test_wrp2): Accept list of error codes.
9525 (do_test): Adjust. Allow EPERM for quotactl.
9527 2017-11-02 Florian Weimer <fweimer@redhat.com>
9529 * stdio-common/bug16.c (do_test): Use array_length.
9530 * stdio-common/errlist.c (_sys_nerr): Likewise.
9531 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
9532 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
9533 * stdio-common/psiginfo.c (psiginfo): Use array_length.
9534 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
9535 (do_test): Use array_length.
9536 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
9537 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
9538 * stdio-common/tst-printf-round.c (do_test): Likewise.
9539 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
9540 (CHECK): Use array_length.
9541 * stdio-common/tstdiomisc.c (t3, F): Likewise.
9542 * stdio-common/tstscanf.c (main): Likewise.
9543 * stdio-common/vfprintf.c (process_string_arg): Likewise.
9545 2017-11-02 Florian Weimer <fweimer@redhat.com>
9547 Add array_length and array_end macros.
9548 * include/array_length.h: New file.
9550 2017-11-02 Florian Weimer <fweimer@redhat.com>
9553 * posix/tst-glob-tilde.c (do_noescape): New variable.
9554 (one_test): Process it.
9555 (do_test): Set do_noescape. Add unescaping test case.
9557 2017-11-01 Joseph Myers <joseph@codesourcery.com>
9560 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
9561 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
9562 with appropriate macros defined and undefined.
9563 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
9564 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9565 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
9566 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9567 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
9568 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9569 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
9570 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9571 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
9572 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9575 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
9576 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
9577 that for long double. Do not condition define and undefine of
9578 _Mdouble_complex_ on [__CFLOAT128].
9580 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
9582 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
9583 of <sysdeps/generic/sysdep.h>.
9584 (ALIGNARG): Removed.
9585 (ASM_SIZE_DIRECTIVE): Likewise.
9588 (ENTRY_CHK): Likewise.
9589 (END_CHK): Likewise.
9590 (syscall_error): Likewise.
9592 (PSEUDO_END): Likewise.
9594 (atom_text_section): Likewise.
9595 * sysdeps/x86/sysdep.h: New file.
9596 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
9597 of <sysdeps/generic/sysdep.h>.
9598 (ALIGNARG): Removed.
9599 (ASM_SIZE_DIRECTIVE): Likewise.
9602 (ENTRY_CHK): Likewise.
9603 (END_CHK): Likewise.
9604 (syscall_error): Likewise.
9606 (PSEUDO_END): Likewise.
9608 (atom_text_section): Likewise.
9610 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
9612 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
9613 category of LC_CTYPE set to "i18n:2012".
9614 * localedata/locales/i18n_ctype: Regenerate.
9616 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
9618 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
9619 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9620 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9621 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9623 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
9624 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
9625 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
9626 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
9628 2017-10-31 Joseph Myers <joseph@codesourcery.com>
9631 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
9633 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
9635 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
9637 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9638 (CMPLXF32X): Likewise.
9639 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9640 (CMPLXF64X): Likewise.
9641 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9642 (CMPLXF128X): Likewise.
9645 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
9646 (__MATH_EVAL_FMT2): Define to add 0.0f.
9648 2017-10-31 Alan Modra <amodra@gmail.com>
9650 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
9652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
9653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
9654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
9657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
9658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
9659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
9660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
9661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
9662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
9665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
9666 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
9667 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
9668 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
9669 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
9670 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
9671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
9672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
9673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
9674 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
9675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
9676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9677 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
9678 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
9679 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
9680 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
9681 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
9682 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9683 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9684 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
9685 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
9686 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
9687 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
9688 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
9689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
9690 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
9691 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9692 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
9693 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
9694 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
9695 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
9696 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
9697 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
9698 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
9699 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
9700 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
9701 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9702 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
9703 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
9704 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
9705 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
9706 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9707 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9708 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
9709 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
9710 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
9711 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
9712 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9713 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
9714 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
9715 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9716 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
9717 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
9718 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
9719 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
9720 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
9722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
9723 include sysdep.h and math_ldbl_opt.h.
9725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
9726 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
9727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
9728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
9729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
9730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
9731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
9732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
9733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
9734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
9735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
9736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
9737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
9738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
9739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
9740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
9741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
9742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
9743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
9744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
9745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
9746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
9747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
9748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
9752 2017-10-31 Alan Modra <amodra@gmail.com>
9754 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
9755 string/strncase_l.c, not string/strncase.c.
9756 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
9757 (libc_hidden_def): Redefine.
9759 2017-10-31 Alan Modra <amodra@gmail.com>
9761 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
9762 (__STRCMP, STRCMP, __strcasecmp_l): Define.
9763 (__strcasecmp): Don't define.
9765 2017-10-31 Alan Modra <amodra@gmail.com>
9767 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
9769 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
9770 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
9771 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
9773 2017-10-31 Alan Modra <amodra@gmail.com>
9775 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
9778 2017-10-31 Alan Modra <amodra@gmail.com>
9780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
9781 Redefine only when SHARED.
9783 2017-10-30 Joseph Myers <joseph@codesourcery.com>
9785 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
9786 Include <bits/math-finite.h> with appropriate macros defined and
9788 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
9789 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
9790 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
9791 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
9792 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
9794 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
9795 [!_Mlong_double_] (_Mlong_double_): Likewise.
9796 [!_Mfloat16_] (_Mfloat16_): Likewise.
9797 [!_Mfloat32_] (_Mfloat32_): Likewise.
9798 [!_Mfloat64_] (_Mfloat64_): Likewise.
9799 [!_Mfloat128_] (_Mfloat128_): Likewise.
9800 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
9801 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
9802 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
9803 (_Mdouble_): Define without indirection through those macros.
9804 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
9805 [!_Mfloat128_] (_Mfloat128_): Likewise.
9806 [_Mlong_double_] (_Mlong_double_): Likewise.
9807 (_Mdouble_): Define without indirection through those macros.
9808 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
9809 not add -D_Mlong_double_=double.
9810 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
9811 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
9813 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
9815 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
9817 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
9819 * sysdeps/x86/libc-start.c: Reformat.
9821 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
9824 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
9828 (L(Src2)): Likewise.
9829 (L(1)): Renamed to ...
9832 2017-10-30 Joseph Myers <joseph@codesourcery.com>
9834 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
9835 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
9836 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
9837 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
9838 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
9839 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
9840 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
9841 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
9842 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
9843 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
9844 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
9845 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
9846 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
9847 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
9848 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
9849 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
9850 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
9851 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
9852 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
9853 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
9854 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
9855 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
9856 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
9857 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
9858 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
9859 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
9860 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
9861 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
9862 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
9863 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
9864 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
9865 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
9866 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
9867 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
9868 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
9869 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
9870 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
9871 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
9872 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
9873 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
9874 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
9875 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
9876 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
9877 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
9878 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
9879 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
9880 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
9881 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
9882 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
9883 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
9884 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
9885 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
9886 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
9887 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
9888 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
9889 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
9890 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
9891 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
9892 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
9893 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
9894 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
9895 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
9896 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
9897 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
9898 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
9899 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
9901 2017-10-30 Florian Weimer <fweimer@redhat.com>
9903 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
9905 * io/tst-mkdirat.c (do_test): Likewise.
9906 * io/tst-mkfifoat.c (do_test): Likewise.
9907 * io/tst-mknodat.c (do_test): Likewise.
9908 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
9909 * locale/programs/locale.c (select_dirs): Likewise.
9910 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
9911 * posix/bug-glob2.c (my_readdir): Likewise.
9912 * posix/tst-dir.c (main): Likewise.
9913 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
9914 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
9916 2017-10-30 Florian Weimer <fweimer@redhat.com>
9918 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
9921 2017-10-30 Florian Weimer <fweimer@redhat.com>
9923 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
9924 Convert to support/test-driver.c.
9925 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
9926 New macro parameters.
9927 (PRINTF): Remove macro. Use test_verbose conditionals instead.
9928 * posix/tst-gnuglob.c: New file.
9929 * posix/tst-gnuglob64.c: Likewise.
9930 * posix/Makefile (tests): Add tst-gnuglob64.
9932 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
9935 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
9936 and use a better translation for March in “mon”.
9937 * localedata/locales/csb_PL: Use more ASCII to improve the
9938 readability of the source.
9940 2017-10-30 Mike FABIAN <mfabian@redhat.com>
9943 * localedata/locales/km_KH: Use ASCII as much
9944 as possible for better readability of the source and
9945 remove useless comments.
9946 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
9947 was commented out and apparently wrong anyway because it was
9948 using Lao characters. If Buddhist era should be used
9949 for km_KH, a native speaker should write the correct formaat
9951 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
9952 (According to CLDR, the first weekday for Cambodia is Sunday).
9953 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
9954 (These were using Lao characters which must be wrong. If we get
9955 the correct data from a native speaker, we could add it back, until
9956 then it is better not to have name_mr and name_mrs at all than
9959 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
9961 * locale/loadlocale.c: Correct size of
9962 _nl_value_type_LC_<category> arrays.
9964 2017-10-27 Joseph Myers <joseph@codesourcery.com>
9966 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
9967 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
9968 with appropriate macros defined and undefined.
9969 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
9970 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
9971 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
9972 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
9973 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
9975 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
9977 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
9980 2017-10-27 Mike FABIAN <mfabian@redhat.com>
9982 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
9983 with lowercase letters to make it agree with CLDR.
9985 2017-10-27 Mike FABIAN <mfabian@redhat.com>
9988 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
9989 first letters of yesstr and nostr in yesexpr and noexpr,
9990 not for the full words.
9991 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
9992 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
9993 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
9994 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
9995 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
9996 first letters of yesstr and nostr in yesexpr and noexpr,
9997 until now only English was matched in yesexpr and noexpr.
9998 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
9999 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
10000 fil but not for tl. As tl and fil are very similar, using fil
10001 is probably better than using English.
10003 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
10006 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
10007 in yesstr and nostr.
10009 2017-10-26 Joseph Myers <joseph@codesourcery.com>
10011 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
10012 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
10013 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
10015 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
10017 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
10019 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
10021 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10022 (SNANF128X): Likewise.
10024 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
10025 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
10026 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10027 (HUGE_VAL_F32): Likewise.
10028 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10029 (HUGE_VAL_F64): Likewise.
10030 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10031 (HUGE_VAL_F32X): Likewise.
10032 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10033 (HUGE_VAL_F64X): Likewise.
10034 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10035 (HUGE_VAL_F128X): Likewise.
10037 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
10039 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
10040 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
10041 for the br_FR locale.
10043 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
10046 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
10048 2017-10-25 Carlos O'Donell <carlos@redhat.com>
10050 * locale/programs/record-status.h: Define globals, and function
10051 prototypes. Move function bodies...
10052 * locale/programs/record-status.c: ... to here. New file.
10053 * iconv/Makefile (iconv_prog-modules): Add record-status.
10054 * locale/Makefile (lib-modules): Likewise.
10055 * iconv/iconv_prog.c: Remove verbose.
10056 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
10057 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
10058 record a warning about ASCII compatibility.
10059 * locale/programs/ld-monetary.c (monetary_finish): If
10060 warn_int_curr_symbol is true then record a warning about the symbol
10061 not being in our ISO 4217 list.
10062 * locale/programs/locale.c: Include record-status.h. Remove verbose.
10063 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
10064 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
10065 (OPT_NO_WARN): Define.
10066 (OPT_WARN): Define.
10067 (options): Add entry for --no-warnings, and --warnings.
10068 (set_warnings): New function to enable/disable warnings.
10069 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
10070 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
10071 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
10072 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
10073 Pass flags to generate_locale.
10074 (generate_locale): Accept new flag argument and pass it to localedef
10076 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
10077 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
10079 * localedata/Makefile (test-input-data): Use full file name.
10080 * localedata/da_DK.in: Rename to...
10081 * localedata/da_DK.ISO-8859-1.in: ...this.
10082 * localedata/de_DE.in: Rename to...
10083 * localedata/de_DE.ISO-8859-1.in: ...this.
10084 * localedata/en_US.in: Rename to...
10085 * localedata/en_US.ISO-8859-1.in: ...this.
10086 * localedata/fr_FR.in: Rename to...
10087 * localedata/fr_FR.UTF-8.in: ... this.
10088 * localedata/hr_HR.in: Rename to...
10089 * localedata/hr_HR.ISO-8859-2.in: ...this.
10090 * localedata/hu_HU.in: Rename to...
10091 * localedata/hu_HU.UTF-8.in: ...this.
10092 * localedata/si_LK.in: Rename to...
10093 * localedata/si_LK.UTF-8.in: ...this.
10094 * localedata/sv_SE.in: Rename to...
10095 * localedata/sv_SE.ISO-8859-1.in: ...this.
10096 * localedata/tr_TR.in: Rename to...
10097 * localedata/tr_TR.UTF-8.in: ...this.
10098 * localedata/uk_UA.in: Rename to...
10099 * localedata/uk_UA.UTF-8.in: ...this.
10100 * localedata/sort-test.sh: Test file is locale name with the
10103 * localedata/unicode-gen/Makefile (check_i18n): Rename to
10104 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
10106 * localedata/locales/i18n_ctype: Regenerate.
10107 * localedata/locales/tr_TR: Likewise.
10108 * localedata/locales/translit_circle: Likewise.
10109 * localedata/locales/translit_cjk_compat: Likewise.
10110 * localedata/locales/translit_combining: Likewise.
10111 * localedata/locales/translit_compat: Likewise.
10112 * localedata/locales/translit_font: Likewise.
10113 * localedata/locales/translit_fraction: Likewise.
10115 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10117 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
10118 lxvd2x/stxvd2x with lvx/stvx.
10119 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
10121 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
10123 * include/alloc_buffer.h: Replace "if if " with "if " in
10125 * sysdeps/mips/memcpy.S: Likkewise.
10126 * sysdeps/mips/memset.S: Likewise.
10127 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10129 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
10131 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
10134 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10137 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
10138 yesexpr and noexpr.
10139 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
10140 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
10141 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
10142 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
10143 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
10144 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
10145 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
10147 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10149 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
10150 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
10151 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
10152 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
10153 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
10154 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
10155 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
10156 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
10157 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
10158 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
10159 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
10160 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
10162 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10164 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
10165 as possible for better readability of the source.
10166 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
10167 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
10168 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
10169 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
10170 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
10171 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
10172 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
10173 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
10174 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
10175 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
10176 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
10177 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
10178 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
10179 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
10180 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
10181 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
10182 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
10183 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
10184 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
10185 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
10186 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
10187 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
10188 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
10189 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
10190 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
10191 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
10192 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
10193 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
10194 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
10195 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
10196 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
10197 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
10198 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
10199 * localedata/locales/en_US (LC_MESSAGES): Likewise.
10200 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
10201 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
10202 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
10203 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
10204 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
10205 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
10206 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
10207 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
10208 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
10209 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
10210 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
10211 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
10212 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
10213 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
10214 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
10215 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
10216 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
10217 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
10218 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
10219 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
10220 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
10221 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
10222 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
10223 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
10224 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
10225 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
10226 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
10227 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
10228 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
10229 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
10230 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
10231 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
10232 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
10233 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
10234 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
10235 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
10236 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
10237 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
10238 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
10239 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
10240 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
10241 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
10242 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
10243 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
10244 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
10245 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
10246 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
10247 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
10248 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
10249 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
10250 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
10251 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
10252 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
10253 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
10254 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
10255 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
10256 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
10257 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
10258 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
10259 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
10260 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
10261 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
10262 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
10263 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
10264 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
10265 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
10266 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
10267 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
10268 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
10269 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
10270 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
10271 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
10272 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
10273 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
10274 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
10275 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
10276 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
10277 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
10278 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
10279 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
10280 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
10281 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
10282 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
10283 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
10284 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
10285 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
10286 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
10287 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
10288 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
10289 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
10290 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
10291 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
10292 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
10293 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
10294 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
10295 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
10296 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
10297 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
10298 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
10299 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
10300 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
10301 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
10302 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
10303 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
10304 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
10305 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
10306 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
10307 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
10308 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
10309 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
10310 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
10311 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
10312 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
10313 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
10314 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
10315 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
10316 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
10317 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
10318 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
10319 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
10320 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
10321 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
10322 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
10323 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
10324 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
10325 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
10326 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
10327 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
10328 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
10329 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
10330 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
10331 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
10332 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
10333 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
10334 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
10335 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
10336 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
10337 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
10338 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
10339 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
10341 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10343 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
10344 (Use first letters of yesstr and nostr correctly instead of using
10347 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10349 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
10350 (Use first letters of yesstr and nostr correctly).
10352 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10354 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
10355 also check for the first characters of yesstr and nostr.
10356 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
10357 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
10359 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10361 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
10362 also check for Chinese characters.
10364 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10366 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
10367 match also for the contents of yesstr and nostr. As the first letter
10368 of yesstr and nostr is equal, checking only for the first letter
10371 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10373 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
10374 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
10376 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10378 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
10379 of main contributor.
10381 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10383 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
10384 instead of using English.
10386 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10388 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
10389 by including the first letters of nostr and yesexpr in the regexp.
10390 Also make it more readable by using ASCII where possible.
10392 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10394 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
10395 the first letter of nostr in the regexp. It agrees with CLDR now.
10396 Also make it more readable by using ASCII where possible.
10398 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10400 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
10401 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
10402 these strings contain a U+17D6 (which somewhat looks like a colon)
10403 instead of a real colon to separate the full words for “yes”
10404 and “no” from the single letter responses.
10406 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10408 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
10409 it agree with CLDR (include the first letter of yesstr).
10410 Also make it more readable by using ASCII where possible.
10412 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10414 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
10415 and improve yesexpr and noexpr. The yesstr and nostr apparently
10416 came from CLDR. And CLDR has a bug there: these strings contain
10417 a U+0903 (which looks like a colon) instead of a real colon
10418 to separate the full words for “yes” and “no” from the single
10421 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10423 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
10424 letters of the full yesstr and nostr in yesexpr and noexpr.
10426 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10428 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
10429 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
10430 * localedata/locales/an_ES: Make source more readable by using ASCII
10433 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10436 * localedata/locales/yuw_PG: New file.
10437 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
10438 * locale/iso-639.def: Add Yau (Uruwa).
10440 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10442 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
10444 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10446 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
10447 (__libc_realloc): Likewise.
10448 (_mid_memalign): Likewise.
10449 (__libc_calloc): Likewise.
10451 2017-10-23 Mike FABIAN <mfabian@redhat.com>
10453 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
10454 by adding the generic +1 and -0 as in all other locales.
10455 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
10456 day names and make it more readable by using ASCII where possible.
10458 2017-10-24 Joseph Myers <joseph@codesourcery.com>
10460 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
10461 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
10463 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10465 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
10466 WNOHANG in waitpid call.
10468 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
10470 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
10471 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
10473 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
10474 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
10475 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
10476 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
10477 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
10478 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
10479 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
10480 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
10483 2017-10-23 Michael Collison <michael.collison@arm.com>
10485 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
10486 with __builtin_sqrt.
10487 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
10488 with __builtin_sqrtf.
10489 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
10490 with __builtin_ceil.
10491 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
10492 with __builtin_ceilf.
10493 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
10494 with __builtin_floor.
10495 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
10496 with __builtin_floorf.
10497 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
10498 with __builtin_fma.
10499 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
10500 with __builtin_fmaf.
10501 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
10502 with __builtin_fmax.
10503 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
10504 with __builtin_fmaxf.
10505 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
10506 with __builtin_fmin.
10507 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
10508 with __builtin_fminf.
10509 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
10510 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
10511 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
10512 with builtin_rint and conversion to int.
10513 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
10514 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
10515 with builtin_llround.
10516 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
10517 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
10518 with builtin_rint and conversion to long int.
10519 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
10520 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
10521 with builtin_lround.
10522 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
10523 with builtin_lroundf.
10524 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
10525 statements with __builtin_nearbyint.
10526 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
10527 statements with __builtin_nearbyintf.
10528 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
10529 with __builtin_rint.
10530 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
10531 with __builtin_rintf.
10532 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
10533 with __builtin_round.
10534 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
10535 with __builtin_roundf.
10536 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
10537 with __builtin_trunc.
10538 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
10539 with __builtin_truncf.
10540 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
10541 and s_l[l]round[f].c too.
10543 2017-10-23 Alan Modra <amodra@gmail.com>
10545 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
10546 Adjust stack after restoring regs. Add missing LR cfi_restore.
10548 2017-10-23 Alan Modra <amodra@gmail.com>
10550 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
10551 Move LR save and frame setup/teardown and LR restore to
10552 immediately around memset call. Provide cfi.
10554 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10556 * sysdeps/i386/fpu/e_powf.S: Removed.
10557 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
10558 * sysdeps/i386/fpu/w_powf.c: Likewise.
10559 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
10560 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10561 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10563 (CFLAGS-e_powf-sse2.c): New.
10564 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
10565 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
10567 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10569 * sysdeps/i386/fpu/e_log2f.S: Removed.
10570 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
10571 * sysdeps/i386/fpu/w_log2f.c: Likewise.
10572 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
10573 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10574 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10576 (CFLAGS-e_log2f-sse2.c): New.
10577 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
10578 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
10580 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10582 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10584 (CFLAGS-e_powf-fma.c): New.
10585 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
10586 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
10588 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10590 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10592 (CFLAGS-e_log2f-fma.c): New.
10593 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
10594 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
10596 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10598 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10600 (CFLAGS-e_logf-fma.c): New.
10601 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
10602 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
10604 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10606 * sysdeps/i386/fpu/e_logf.S: Removed.
10607 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
10608 * sysdeps/i386/fpu/w_logf.c: Likewise.
10609 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
10610 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
10611 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10612 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10614 (CFLAGS-e_logf-sse2.c): New.
10615 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
10616 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
10618 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10620 * sysdeps/i386/fpu/e_exp2f.S: Removed.
10621 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
10622 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
10623 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10624 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10626 (CFLAGS-e_exp2f-sse2.c): New.
10627 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
10628 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
10630 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10632 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10634 (CFLAGS-e_exp2f-fma.c): New.
10635 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
10636 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
10638 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10640 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
10641 * sysdeps/i386/fpu/e_expf.S: Likewise.
10642 * sysdeps/i386/fpu/math_errf.c: Likewise.
10643 * sysdeps/i386/fpu/w_expf.c: Likewise.
10644 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
10645 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10646 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
10647 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
10648 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10649 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10650 Remove e_expf-ia32.
10651 (CFLAGS-e_expf-sse2.c): New.
10652 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
10653 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
10655 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10657 * sysdeps/x86_64/fpu/e_expf.S: Removed.
10658 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
10659 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
10660 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
10662 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
10664 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
10665 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
10667 (__redirect_expf): This.
10668 (SYMBOL_NAME): Changed to expf.
10669 (__ieee754_expf): Renamed to ...
10671 (__GI___expf): This.
10672 (__ieee754_expf): Add strong_alias.
10673 (__expf_finite): Likewise.
10675 Include <sysdeps/ieee754/flt-32/e_expf.c>.
10677 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
10680 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
10683 2017-10-21 Florian Weimer <fweimer@redhat.com>
10685 * posix/Makefile (tests): Add tst-glob-tilde.
10686 (tests-special): Add tst-glob-tilde-mem.out
10687 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
10688 (tst-glob-tilde-mem.out): Add mtrace check.
10689 * posix/tst-glob-tilde.c: New file.
10691 2017-10-20 Joseph Myers <joseph@codesourcery.com>
10693 * bits/floatn-common.h: New file.
10694 * math/Makefile (headers): Add bits/floatn-common.h.
10695 * bits/floatn.h: Include <bits/floatn-common.h>.
10696 * sysdeps/ia64/bits/floatn.h: Likewise.
10697 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
10698 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
10699 * sysdeps/powerpc/bits/floatn.h: Likewise.
10700 * sysdeps/x86/bits/floatn.h: Likewise.
10702 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10704 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
10705 indicates whether compiler emits an warning for alias for
10706 functions with incompatible types.
10709 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
10710 the auxiliary process is terminated by a signal before calling _exit
10713 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
10716 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
10718 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
10719 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
10720 and bit_arch_XSAVEC_Usable if needed.
10721 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
10722 and bit_arch_Use_dl_runtime_resolve_opt.
10723 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10725 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10726 (bit_arch_Prefer_No_AVX512): Updated.
10727 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
10728 (bit_arch_XSAVEC_Usable): New.
10729 (STATE_SAVE_OFFSET): Likewise.
10730 (STATE_SAVE_MASK): Likewise.
10731 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
10732 (cpu_features): Add xsave_state_size and xsave_state_full_size.
10733 (index_arch_Use_dl_runtime_resolve_opt): Removed.
10734 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10735 (index_arch_XSAVEC_Usable): New.
10736 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10737 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
10738 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
10740 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
10741 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
10742 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
10743 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
10744 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
10745 _dl_runtime_resolve_xsavec.
10746 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
10748 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
10749 instead of VEC_SIZE.
10750 (REGISTER_SAVE_BND0): Removed.
10751 (REGISTER_SAVE_BND1): Likewise.
10752 (REGISTER_SAVE_BND3): Likewise.
10753 (REGISTER_SAVE_RAX): Always defined to 0.
10755 (_dl_runtime_resolve_avx): Likewise.
10756 (_dl_runtime_resolve_avx_slow): Likewise.
10757 (_dl_runtime_resolve_avx_opt): Likewise.
10758 (_dl_runtime_resolve_avx512): Likewise.
10759 (_dl_runtime_resolve_avx512_opt): Likewise.
10760 (_dl_runtime_resolve_sse): Likewise.
10761 (_dl_runtime_resolve_sse_vex): Likewise.
10763 (_dl_runtime_resolve_fxsave): Likewise.
10764 (USE_XSAVE): Likewise.
10765 (_dl_runtime_resolve_xsave): Likewise.
10766 (USE_XSAVEC): Likewise.
10767 (_dl_runtime_resolve_xsavec): Likewise.
10768 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
10770 (_dl_runtime_resolve_avx512_opt): Likewise.
10771 (_dl_runtime_resolve_avx): Likewise.
10772 (_dl_runtime_resolve_avx_opt): Likewise.
10773 (_dl_runtime_resolve_sse): Likewise.
10774 (_dl_runtime_resolve_sse_vex): Likewise.
10775 (_dl_runtime_resolve_fxsave): New.
10776 (_dl_runtime_resolve_xsave): Likewise.
10777 (_dl_runtime_resolve_xsavec): Likewise.
10779 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
10783 * posix/glob.c (__glob): Fix one-byte overflow.
10785 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
10787 * malloc/malloc.c (sysdep-cancel.h): Add include.
10789 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
10791 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
10793 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
10795 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
10796 (tests): Remove $(objpfx)ga_test depdendency.
10797 * resolv/ga_test.c: Remove file.
10799 2017-10-20 Mike FABIAN <mfabian@redhat.com>
10802 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
10803 * localedata/locales/kab_DZ: New file.
10805 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
10807 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
10808 _dl_relocate_static_pie instead of _dl_start to compute load
10809 address in static PIE.
10811 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
10813 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
10815 2017-10-20 Mike FABIAN <mfabian@redhat.com>
10818 * localedata/SUPPORTED: Add shn_MM/UTF-8.
10819 * localedata/locales/shn_MM: New file.
10821 2017-10-20 Florian Weimer <fweimer@redhat.com>
10824 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
10825 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
10826 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
10827 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
10828 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
10829 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
10831 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
10833 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10835 2017-10-19 Joseph Myers <joseph@codesourcery.com>
10837 * sysdeps/mips/ieee754/bits/floatn.h: New file.
10840 * sysdeps/mips/bits/long-double.h: Move to ....
10841 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
10843 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
10845 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
10847 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
10848 H.J. Lu <hongjiu.lu@intel.com>
10851 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10852 GLRO(dl_platform) to NULL.
10853 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
10854 (modules-names): Add tst-platformmod-1 and
10855 x86_64/tst-platformmod-2.
10856 (CFLAGS-tst-platform-1.c): New.
10857 (CFLAGS-tst-platformmod-1.c): Likewise.
10858 (CFLAGS-tst-platformmod-2.c): Likewise.
10859 (LDFLAGS-tst-platformmod-2.so): Likewise.
10860 ($(objpfx)tst-platform-1): Likewise.
10861 ($(objpfx)tst-platform-1.out): Likewise.
10862 (tst-platform-1-ENV): Likewise.
10863 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
10864 * sysdeps/x86_64/tst-platform-1.c: New file.
10865 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
10866 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
10868 2017-10-19 Mike FABIAN <mfabian@redhat.com>
10871 * locale/iso-639.def: Add Karbi.
10872 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
10873 * localedata/locales/mjw_IN: New file.
10875 2017-10-18 Joseph Myers <joseph@codesourcery.com>
10877 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
10878 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
10879 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
10880 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
10881 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
10882 (libm_alias_ldouble_other_r): Also create _Float128 alias.
10883 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
10885 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
10886 (libm_alias_ldouble_other_r): Also create _Float128 alias.
10887 * manual/math.texi (Mathematics): Document additional architecture
10888 support for _Float128.
10889 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
10890 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10891 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10895 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10899 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10905 2017-10-18 Renlin Li <renlin.li@arm.com>
10907 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
10908 _DYNAMIC symbol to calculate load address.
10910 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
10912 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
10913 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
10915 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
10916 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
10918 2017-10-18 Mike FABIAN <mfabian@redhat.com>
10921 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
10922 and improve readability by using more ASCII.
10923 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
10924 and improve readability by using more ASCII.
10926 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
10928 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
10929 not all targets support atomics on bool.
10931 2017-10-17 Joseph Myers <joseph@codesourcery.com>
10933 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
10934 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
10936 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10937 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
10938 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10939 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
10940 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10941 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
10943 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10945 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
10948 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10951 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
10952 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
10953 (do_check_remalloced_chunk): Fix build bug.
10954 (do_check_malloc_state): Add assert that checks arena->top.
10955 (malloc_consolidate): Remove initialization.
10956 (int_mallinfo): Remove call to malloc_consolidate.
10957 (__libc_mallopt): Clarify why malloc_consolidate is needed.
10959 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10961 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
10962 (have_fastchunks): Remove.
10963 (clear_fastchunks): Remove.
10964 (set_fastchunks): Remove.
10965 (malloc_state): Add have_fastchunks.
10966 (malloc_init_state): Use have_fastchunks.
10967 (do_check_malloc_state): Remove incorrect invariant checks.
10968 (_int_malloc): Use have_fastchunks.
10969 (_int_free): Likewise.
10970 (malloc_consolidate): Likewise.
10972 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10974 * malloc/malloc.c (tcache_put): Inline.
10975 (tcache_get): Inline.
10977 2017-10-17 Jordi Mallach <jordi@gnu.org>
10979 Aurelien Jarno <aurelien@aurel32.net>
10981 * localedata/locales/ca_ES@valencia: New file.
10982 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
10984 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
10987 * math/math.h: Let signbit use the builtin in C++ mode with gcc
10990 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10992 * scripts/build-many-glibcs.py (Context.add_all_configs):
10993 Add arm-linux-gnueabihf multiarch extra_glibcs.
10995 * sysdeps/generic/ifunc-init.h: New file.
10996 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
10998 2017-10-17 Mike FABIAN <mfabian@redhat.com>
11001 * localedata/locales/el_GR: Set n_cs_precedes to 0.
11002 * localedata/locales/el_CY: copy "el_GR" because it is identical.
11003 * stdlib/tst-strfmon_l.c: adapt test case.
11005 2017-10-16 Joseph Myers <joseph@codesourcery.com>
11007 * sysdeps/generic/float128-abi.h: New file.
11008 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
11009 non-__prefixed symbols to ....
11010 * math/Versions: ... here. Include <float128-abi.h>.
11011 * stdlib/Versions ... and here. Include <float128-abi.h>
11013 2017-10-16 Florian Weimer <fweimer@redhat.com>
11015 * version.h (VERSION): Switch to ".9000" as the development
11018 2017-10-16 Florian Weimer <fweimer@redhat.com>
11021 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
11022 compat_symbol_reference to access non-default version.
11024 2017-10-16 Florian Weimer <fweimer@redhat.com>
11026 * malloc/Makefile (others-extras): Set to mcheck-init.o.
11028 2017-10-16 Carlos O'Donell <carlos@redhat.com>
11030 * include/shlib-compat.h (compat_symbol_reference): Update
11033 2017-10-16 Joseph Myers <joseph@codesourcery.com>
11035 * math/Makefile (test-types): Add
11036 $(type-float128-$(float128-alias-fcts)).
11037 * math/test-float128.h (TYPE_STR): Define conditional on
11038 [FLT128_MANT_DIG == LDBL_MANT_DIG].
11039 (ULP_IDX): Likewise.
11040 (ULP_I_IDX): Likewise.
11042 * stdlib/strtold.c: Include <bits/floatn.h>
11043 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
11044 and later undefine as macro. Define as weak alias if
11046 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
11047 and later undefine as macro. Define as weak alias if
11049 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
11050 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
11051 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
11052 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
11053 Define and later undefine as macro. Define as weak alias if
11055 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
11057 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
11058 Define and later undefine as macro. Define as weak alias if
11060 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
11061 Define and later undefine as macro. Define as weak alias if
11064 2017-10-15 Carlos O'Donell <carlos@redhat.com>
11066 * localedata/collate-test.c (allocate_arrays): Don't use \n in
11067 record_verbose messages.
11069 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
11072 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
11073 to silence -O3 -Wall warning with GCC 7.
11075 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
11077 * Makeconfig (+link-static-before-libc): Use the first of
11078 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
11079 * gmon/Makefile (tests): Add tst-gmon-static.
11080 (tests-static): Likewise.
11081 (CFLAGS-tst-gmon-static.c): New.
11082 (CRT-tst-gmon-static): Likewise.
11083 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
11084 (tst-gmon-static-ENV): Likewise.
11085 (tests-special): Likewise.
11086 ($(objpfx)tst-gmon-static.out): Likewise.
11087 (clean-tst-gmon-static-data): Likewise.
11088 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
11089 * gmon/tst-gmon-static-gprof.sh: New file.
11090 * gmon/tst-gmon-static.c: Likewise.
11092 2017-10-13 Carlos O'Donell <carlos@redhat.com>
11095 * locale/programs/linereader.c (get_string): Don't warn on
11096 non-symbolic character.
11099 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
11103 * locale/programs/record-status.h: New file
11104 * locale/programs/locale.c: Add comment.
11105 * locale/programs/charmap-dir.c: Don't include error.h.
11106 (charmap_opendir): Use record_error.
11107 * locale/programs/charmap.c: Don't include error.h.
11108 (charmap_read): Use record_error, and record_warning.
11109 (parse_charmap): Likewise.
11110 * locale/programs/ld-address.c: Don't include error.h.
11111 (address_finish): Use record_error, and record_warning.
11112 * locale/programs/ld-collate.c: Don't include error.h.
11113 (collate_finish): Use record_error, and record_error_at_line.
11114 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
11115 (ctype_class_new): Likewise.
11116 (ctype_map_new): Likewise.
11117 (set_one_default): Likewise.
11118 (set_class_defaults): Likewise.
11119 (translit_flatten): Likewise.
11120 (allocate_arrays): Use record_error, and record_verbose.
11121 * locale/programs/ld-identification.c: Don't include error.h.
11122 (indentation_finish): Use record_error and record_warning.
11123 * locale/programs/ld-measurement.c: Don't include error.h.
11124 (measurement_finish): Use record_error.
11125 * locale/programs/ld-messages.c
11126 (message_finish): Likewise.
11127 * locale/programs/ld-monetary.c
11128 (monetary_finish): Likewise.
11129 * locale/programs/ld-name.c (name_finish): Use record_error
11130 and record_warning.
11131 * locale/programs/ld-numeric.c
11132 (numeric_finish): Use record_error.
11133 * locale/programs/ld-paper.c: Don't include error.h.
11134 (paper_finish): Use record_error.
11135 * locale/programs/ld-telephone.c: Don't include error.h.
11136 (telephone_finish): Use record_error.
11137 * locale/programs/ld-time.c (time_finish): Likewise.
11138 * locale/programs/linereader.h (lr_error): Make inline func.
11139 * locale/programs/localedef.c: Define recorded_warning_count,
11140 and recorded_error_count.
11141 (main): Use record_error. Use recorded_error_count and
11142 recorded_warning_count to issue correct error returns.
11143 (add_to_readlist): Use record_error.
11144 (find_locale): Likewise.
11145 (load_locale): Likewise.
11146 * locale/programs/localedef.h: Remove be_quiet
11147 and WITH_CUR_LOCALE.
11148 * locale/programs/locarchive.c (compare_from_file): Use
11150 * locale/programs/locfile.c (write_locale_data): Use
11152 * locale/programs/repertoire.c: Dont include error.h.
11153 (repertoire_complain): Use record_error.
11154 * localedata/tst-fmon.sh: Expect failures from localedef.
11155 * localedata/tst-locale.sh: Likewise.
11156 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
11158 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
11159 (REPORTS): Likewise.
11161 (i18n): Rename to...
11162 (i18n_ctype): ...this.
11163 (i18n-report): Rename to...
11164 (i18n_ctype-report): ...this.
11165 * localedata/locales/i18n_ctype: Regenerate.
11166 * localedata/locales/i18n: copy i18n_ctype.
11168 2017-10-13 Joseph Myers <joseph@codesourcery.com>
11170 * stdlib/strfroml.c: Include <bits/floatn.h>.
11171 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
11172 Define before include of <stdlib.h> and undefine afterwards, then
11173 define as weak alias.
11175 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
11176 Undefine and restore default definition. Use
11177 libm_alias_ldouble_other.
11179 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
11182 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
11185 2017-10-13 James Clarke <jrtc27@jrtc27.com>
11187 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11188 Assign sym_map to be map for local symbols, as TLS relocations
11189 use sym_map to determine whether the symbol is defined and to
11190 extract the TLS information.
11191 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11192 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11194 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11197 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
11198 (math_force_eval): Add powerpc version.
11201 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
11203 (do_test): Likewise.
11204 * stdio-common/tst-printf.sh: Likewise.
11205 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
11206 ifdef clause in order to set the carry bit right. Replace r0 by
11207 0 without changing the behavior.
11209 2017-10-13 Joseph Myers <joseph@codesourcery.com>
11211 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
11212 <libm-alias-ldouble.h>.
11213 (fabsl): Define using libm_alias_ldouble.
11214 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
11215 <libm-alias-ldouble.h>.
11216 (fabsl): Define using libm_alias_ldouble.
11218 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
11219 Remove conditional code.
11221 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
11222 Rename to __clog10_internal_l.
11223 (__clog10_internal_l): Define aliases using
11224 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
11227 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11229 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
11230 * benchtests/sincosf-inputs: New file.
11231 * benchtests/cosf-inputs: New file.
11232 * benchtests/sinf-inputs: New file.
11234 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11236 * posix/tst-spawn.c (do_test): Wait for both children.
11238 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
11241 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
11242 tests-pie): Add tst-gmon-pie.
11243 (CFLAGS-tst-gmon-pie.c): New.
11244 (CRT-tst-gmon-pie): Likewise.
11245 (tst-gmon-pie-ENV): Likewise.
11246 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
11247 ($(objpfx)tst-gmon-pie.out): Likewise.
11248 (clean-tst-gmon-pie-data): Likewise.
11249 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
11250 * gmon/gmon.c [PIC]: Include <link.h>.
11251 [PIC] (callback): New function.
11252 (write_hist): Add an argument for load address. Subtract load
11254 (write_call_graph): Likewise.
11255 (write_gmon): Call __dl_iterate_phdr to get load address, pass
11256 it to write_hist and write_call_graph.
11257 * gmon/tst-gmon-pie.c: New file.
11259 2017-10-11 Joseph Myers <joseph@codesourcery.com>
11261 * math/Makefile (test-types-basic): New variable.
11262 (test-types): Likewise.
11263 (libm-test-support): Use $(test-types) instead of $(types).
11264 (libm-tests-base-normal): Likewise.
11265 (libm-tests-base-finite): Likewise.
11266 (libm-tests-base-inline): Likewise.
11267 (generated): Likewise.
11268 ($(objpfx)libm-test-support-$(t).c): Likewise.
11269 (libm-tests-for-type iterator): Likewise.
11270 (libm-test-support iterator): Likewise.
11271 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
11272 (ulp_idx): Use ULP_IDX.
11273 * math/test-ldouble.h: Include <float.h>.
11274 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
11275 (ULP_IDX): New macro.
11276 (ULP_I_IDX): Likewise.
11277 * math/test-double.h (ULP_IDX): Likewise.
11278 (ULP_I_IDX): Likewise.
11279 * math/test-float.h (ULP_IDX): Likewise.
11280 (ULP_I_IDX): Likewise.
11281 * math/test-float128.h (ULP_IDX): Likewise.
11282 (ULP_I_IDX): Likewise.
11284 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11286 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
11287 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11288 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11289 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
11290 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11291 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
11292 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
11293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11295 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11296 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
11297 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11298 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11300 (SINGLE_THREAD_BY_GLOBAL): Define.
11301 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11303 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11305 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11307 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11309 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
11310 (SINGLE_THREAD_BY_GLOBAL): Likewise.
11311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11314 2017-10-11 Andreas Schwab <schwab@suse.de>
11316 * nis/Makefile (aux): Remove.
11317 * nscd/Makefile (aux): Add nscd_hash.
11318 (nscd-modules): Likewise.
11319 ($(objpfx)nscd): Don't depend on libnsl.
11320 * nscd/nscd_hash.c: New file.
11321 * nscd/nscd_hash.h: Likewise.
11322 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
11323 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
11324 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
11325 instead of <nis/rpcsvc/nis.h>.
11326 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
11328 2017-10-11 Florian Weimer <fweimer@redhat.com>
11331 Avoid large NSS buffers with many addresses, aliases.
11332 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
11333 using dynarrays and struct alloc_buffer.
11334 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
11335 (tst-nss-files-hosts-multi): Link with -ldl.
11336 * nss/tst-nss-files-hosts-multi.c: New file.
11338 2017-10-11 Florian Weimer <fweimer@redhat.com>
11341 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
11342 scratch_buffer. Eliminate gotos.
11344 2017-10-11 Joseph Myers <joseph@codesourcery.com>
11346 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
11347 libm_alias_ldouble_other.
11348 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
11349 undefine and redefine.
11350 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
11351 (exp10l): Do not define here.
11352 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
11353 (weak_alias): Undefine and redefine.
11354 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
11355 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
11356 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
11357 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
11359 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
11360 [!__fma] (fma): Define using libm_alias_double.
11361 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
11362 [!__fmaf] (fmaf): Define using libm_alias_float.
11363 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
11364 (fmal): Define using libm_alias_ldouble.
11366 2017-10-10 Joseph Myers <joseph@codesourcery.com>
11368 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
11370 (libm_alias_double_other): Likewise.
11371 (libm_alias_double_r): Use libm_alias_double_other_r.
11372 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
11374 (libm_alias_float_other): Likewise.
11375 (libm_alias_float_r): Use libm_alias_float_other_r.
11376 * sysdeps/generic/libm-alias-float128.h
11377 (libm_alias_float128_other_r): New macro.
11378 (libm_alias_float128_other): Likewise.
11379 (libm_alias_float128_r): Use libm_alias_float128_other_r.
11380 * sysdeps/generic/libm-alias-ldouble.h
11381 (libm_alias_ldouble_other_r): New macro.
11382 (libm_alias_ldouble_other): Likewise.
11383 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
11384 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
11385 (libm_alias_double_other_r): New macro.
11386 (libm_alias_double_other): Likewise.
11387 (libm_alias_double_r): Use libm_alias_double_other_r.
11388 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
11389 (libm_alias_ldouble_other_r): New macro.
11390 (libm_alias_ldouble_other): Likewise.
11391 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
11392 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
11393 [!USE_AS_COMPAT]: Use libm_alias_double_other.
11394 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
11395 [!USE_AS_COMPAT]: Use libm_alias_float_other.
11396 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
11397 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
11398 * math/w_exp2f.c: Use libm_alias_float_other.
11399 * math/w_expf.c: Likewise.
11400 * math/w_log2f.c: Likewise.
11401 * math/w_logf.c: Likewise.
11402 * math/w_powf.c: Likewise.
11403 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
11404 [!__exp2f]: Use libm_alias_float_other.
11405 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
11406 [!__expf]: Use libm_alias_float_other.
11407 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
11408 [!__log2f]: Use libm_alias_float_other.
11409 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
11410 [!__logf]: Use libm_alias_float_other.
11411 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
11412 [!__powf]: Use libm_alias_float_other.
11414 2017-10-10 Florian Weimer <fweimer@redhat.com>
11416 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
11418 (_nss_files_gethostbyname3_r): Call it.
11420 2017-10-09 Joseph Myers <joseph@codesourcery.com>
11422 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
11423 error. Remove default definition of declare_mgen_alias.
11424 [!declare_mgen_alias_r]: Likewise.
11425 * sysdeps/generic/math-type-macros-double.h
11426 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
11427 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
11428 (declare_mgen_alias_r): Likewise.
11429 * sysdeps/generic/math-type-macros-float128.h
11430 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
11431 * sysdeps/generic/math-type-macros-ldouble.h
11432 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
11433 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
11435 (declare_mgen_alias_r_s): Likewise.
11436 (declare_mgen_alias_r): Likewise.
11437 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
11438 (lgamma_r): Define using libm_alias_double_r.
11439 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
11440 (lgammaf_r): Define using libm_alias_float_r.
11441 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
11442 (lgammal_r): Define using libm_alias_ldouble_r.
11443 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
11444 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
11446 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11448 * lib/glob.c (__glob_pattern_type): Remove now-spurious
11449 extern declaration.
11451 2017-10-09 Joseph Myers <joseph@codesourcery.com>
11453 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
11455 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
11458 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
11459 [__cplusplus >= 201103] (__USE_ISOC99): Define.
11460 * math/Makefile (test-math-cxx11): New test.
11461 * math/test-math-cxx11.cc: New file.
11463 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
11465 * login/openpty.c (openpty): Close slave pty file descriptor on error.
11467 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
11468 call to allocate the slave pty file descriptor.
11470 2017-10-06 Joseph Myers <joseph@codesourcery.com>
11472 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
11473 [!__fma] (fma): Define using libm_alias_double.
11474 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
11475 [!__fma] (fma): Define using libm_alias_double.
11477 * sysdeps/ieee754/float128/float128_private.h: Include
11478 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
11479 (libm_alias_ldouble_r): Undefine and redefine.
11480 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
11481 <libm-alias-ldouble.h>.
11482 (asinhl): Define using libm_alias_ldouble.
11483 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
11484 <libm-alias-ldouble.h>.
11485 (atanl): Define using libm_alias_ldouble.
11486 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
11487 <libm-alias-ldouble.h>.
11488 (cbrtl): Define using libm_alias_ldouble.
11489 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
11490 <libm-alias-ldouble.h>.
11491 (ceill): Define using libm_alias_ldouble.
11492 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
11493 <libm-alias-ldouble.h>.
11494 (copysignl): Define using libm_alias_ldouble.
11495 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
11496 <libm-alias-ldouble.h>.
11497 (cosl): Define using libm_alias_ldouble.
11498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
11499 <libm-alias-ldouble.h>.
11500 (erfl): Define using libm_alias_ldouble.
11502 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
11503 <libm-alias-ldouble.h>.
11504 (expm1l): Define using libm_alias_ldouble.
11505 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
11506 <libm-alias-ldouble.h>.
11507 (fabsl): Define using libm_alias_ldouble.
11508 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
11509 <libm-alias-ldouble.h>.
11510 (floorl): Define using libm_alias_ldouble.
11511 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
11512 <libm-alias-ldouble.h>.
11513 (fmal): Define using libm_alias_ldouble.
11514 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
11515 <libm-alias-ldouble.h>.
11516 (frexpl): Define using libm_alias_ldouble.
11517 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
11518 libm_alias_ldouble.
11519 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
11520 <libm-alias-ldouble.h>.
11521 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
11522 libm_alias_ldouble.
11523 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
11524 <libm-alias-ldouble.h>.
11525 (getpayloadl): Define using libm_alias_ldouble.
11526 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
11527 <libm-alias-ldouble.h>.
11528 (llrintl): Define using libm_alias_ldouble.
11529 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
11530 <libm-alias-ldouble.h>.
11531 (llroundl): Define using libm_alias_ldouble.
11532 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
11533 <libm-alias-ldouble.h>.
11534 (logbl): Define using libm_alias_ldouble.
11535 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
11536 <libm-alias-ldouble.h>.
11537 (lrintl): Define using libm_alias_ldouble.
11538 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
11539 <libm-alias-ldouble.h>.
11540 (lroundl): Define using libm_alias_ldouble.
11541 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
11542 <libm-alias-ldouble.h>.
11543 (modfl): Define using libm_alias_ldouble.
11544 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
11545 <libm-alias-ldouble.h>.
11546 (nearbyintl): Define using libm_alias_ldouble.
11547 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
11548 <libm-alias-ldouble.h>.
11549 (nextafterl): Define using libm_alias_ldouble.
11550 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
11551 <libm-alias-ldouble.h>.
11552 (nextupl): Define using libm_alias_ldouble.
11553 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
11554 <libm-alias-ldouble.h>.
11555 (remquol): Define using libm_alias_ldouble.
11556 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
11557 <libm-alias-ldouble.h>.
11558 (rintl): Define using libm_alias_ldouble.
11559 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
11560 <libm-alias-ldouble.h>.
11561 (roundevenl): Define using libm_alias_ldouble.
11562 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
11563 <libm-alias-ldouble.h>.
11564 (roundl): Define using libm_alias_ldouble.
11565 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
11566 using libm_alias_ldouble.
11567 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
11568 <libm-alias-ldouble.h>.
11569 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
11570 Define using libm_alias_ldouble.
11571 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
11572 <libm-alias-ldouble.h>.
11573 (sincosl): Define using libm_alias_ldouble.
11574 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
11575 <libm-alias-ldouble.h>.
11576 (sinl): Define using libm_alias_ldouble.
11577 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
11578 <libm-alias-ldouble.h>.
11579 (tanhl): Define using libm_alias_ldouble.
11580 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
11581 <libm-alias-ldouble.h>.
11582 (tanl): Define using libm_alias_ldouble.
11583 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11584 <libm-alias-ldouble.h>.
11585 (totalorderl): Define using libm_alias_ldouble.
11586 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11587 <libm-alias-ldouble.h>.
11588 (totalordermagl): Define using libm_alias_ldouble.
11589 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
11590 <libm-alias-ldouble.h>.
11591 (truncl): Define using libm_alias_ldouble.
11592 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
11593 libm_alias_ldouble.
11594 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
11595 libm_alias_ldouble.
11596 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
11597 <libm-alias-ldouble.h>.
11598 (weak_alias): Do not undefine and redefine.
11599 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
11600 (copysignl): Define with long_double_symbol only if [IS_IN
11602 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
11603 <libm-alias-ldouble.h>.
11604 (weak_alias): Do not undefine and redefine.
11605 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
11606 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
11607 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
11608 <libm-alias-ldouble.h>.
11609 (weak_alias): Do not undefine and redefine.
11610 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
11611 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
11612 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
11613 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
11616 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
11619 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
11622 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
11629 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
11637 2017-10-06 Carlos O'Donell <carlos@redhat.com>
11640 * malloc/malloc.c (tcache_shutting_down): Use bool type.
11641 (tcache_thread_freeres): Set tcache_shutting_down before
11642 freeing the tcache.
11643 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
11644 * malloc/tst-malloc-tcache-leak.c: New file.
11646 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11648 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
11649 back to powerpc32 file.
11650 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
11651 (memrchr): Add __memrchr_power8 to ifunc list.
11652 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
11653 extra bytes for unaligned inputs.
11655 2017-10-06 Joseph Myers <joseph@codesourcery.com>
11657 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
11658 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11663 2017-10-05 Joseph Myers <joseph@codesourcery.com>
11665 * sysdeps/arm/libm-test-ulps: Update.
11667 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
11668 <libm-alias-ldouble.h>.
11669 (asinhl): Define using libm_alias_ldouble.
11670 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
11671 <libm-alias-ldouble.h>.
11672 (cbrtl): Define using libm_alias_ldouble.
11673 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
11674 <libm-alias-ldouble.h>.
11675 (copysignl): Define using libm_alias_ldouble.
11676 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
11677 <libm-alias-ldouble.h>.
11678 (cosl): Define using libm_alias_ldouble.
11679 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
11680 <libm-alias-ldouble.h>.
11681 (erfl): Define using libm_alias_ldouble.
11683 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
11684 <libm-alias-ldouble.h>.
11685 (fmal): Define using libm_alias_ldouble.
11686 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
11687 <libm-alias-ldouble.h>.
11688 (frexpl): Define using libm_alias_ldouble.
11689 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
11690 libm_alias_ldouble.
11691 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
11692 <libm-alias-ldouble.h>.
11693 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
11694 libm_alias_ldouble.
11695 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
11696 <libm-alias-ldouble.h>.
11697 (getpayloadl): Define using libm_alias_ldouble.
11698 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
11699 <libm-alias-ldouble.h>.
11700 (llrintl): Define using libm_alias_ldouble.
11701 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
11702 <libm-alias-ldouble.h>.
11703 (llroundl): Define using libm_alias_ldouble.
11704 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
11705 <libm-alias-ldouble.h>.
11706 (lrintl): Define using libm_alias_ldouble.
11707 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
11708 <libm-alias-ldouble.h>.
11709 (lroundl): Define using libm_alias_ldouble.
11710 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
11711 <libm-alias-ldouble.h>.
11712 (modfl): Define using libm_alias_ldouble.
11713 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
11714 <libm-alias-ldouble.h>.
11715 (nextupl): Define using libm_alias_ldouble.
11716 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
11717 <libm-alias-ldouble.h>.
11718 (remquol): Define using libm_alias_ldouble.
11719 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
11720 <libm-alias-ldouble.h>.
11721 (roundevenl): Define using libm_alias_ldouble.
11722 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
11723 <libm-alias-ldouble.h>.
11724 (roundl): Define using libm_alias_ldouble.
11725 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
11726 using libm_alias_ldouble.
11727 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
11728 <libm-alias-ldouble.h>.
11729 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
11730 <libm-alias-ldouble.h>.
11731 (setpayloadsigl): Define using libm_alias_ldouble.
11732 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
11733 <libm-alias-ldouble.h>.
11734 (sincosl): Define using libm_alias_ldouble.
11735 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
11736 <libm-alias-ldouble.h>.
11737 (sinl): Define using libm_alias_ldouble.
11738 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
11739 <libm-alias-ldouble.h>.
11740 (tanhl): Define using libm_alias_ldouble.
11741 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
11742 <libm-alias-ldouble.h>.
11743 (tanl): Define using libm_alias_ldouble.
11744 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11745 <libm-alias-ldouble.h>.
11746 (totalorderl): Define using libm_alias_ldouble.
11747 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11748 <libm-alias-ldouble.h>.
11749 (totalordermagl): Define using libm_alias_ldouble.
11750 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
11751 libm_alias_ldouble.
11752 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
11753 libm_alias_ldouble.
11755 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
11757 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11759 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11760 (__libc_ifunc_impl_list): Likewise.
11761 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
11762 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
11764 * benchtests/bench-memmove-walk.c: New file.
11765 * benchtests/Makefile (string-benchset): Add it.
11767 * benchtests/bench-memset-walk.c: New file.
11768 * benchtests/Makefile (string-benchset): Add it.
11770 * benchtests/bench-memcpy-walk.c: New file.
11771 * benchtests/Makefile (string-benchset): Add it.
11773 2017-10-05 Florian Weimer <fweimer@redhat.com>
11775 nscd: Eliminate compilation time dependency in the build output.
11776 * nscd/nscd_stat.c (STATDATA_VERSION)
11777 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
11778 (STATDATA_VERSION_FULL): New macro definitions.
11779 (compilation): Remove.
11780 (struct statdata): Adjust version member.
11781 (send_stats): Set version from STATDATA_VERSION_FULL.
11782 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
11784 2017-10-05 Joseph Myers <joseph@codesourcery.com>
11786 * configure.ac (--enable-add-ons): Remove option.
11787 (machine): Do not mention add-ons in comment.
11788 (LIBC_PRECONFIGURE): Likewise.
11789 (add_ons): Remove variable and sanity checks and logic to locate
11791 (add_ons_automatic): Remove variable.
11792 (configured_add_ons): Likewise.
11793 (add_ons_sfx): Likewise.
11794 (add_ons_pfx): Likewise.
11795 (add_on_subdirs): Likewise.
11796 (sysnames_add_ons): Likewise. Remove loop over add-ons and
11797 consideration of add-ons in Implies handling.
11798 (sysdeps_add_ons): Likewise.
11799 * configure: Regenerated.
11800 * libidn/configure.ac: Remove.
11801 * libidn/configure: Likewise.
11802 * sysdeps/unix/inet/configure.ac: New file.
11803 * sysdeps/unix/inet/configure: New generated file.
11804 * sysdeps/unix/inet/Subdirs: Add libidn.
11805 * Makeconfig (sysdeps-srcdirs): Remove variable.
11806 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
11807 ($(common-objpfx)config.status): Do not depend on add-on files.
11808 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
11810 (all-subdirs): Do not include $(add-on-subdirs).
11811 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
11812 * config.make.in (add-ons): Remove variable.
11813 (add-on-subdirs): Likewise.
11814 (sysdeps-add-ons): Likewise.
11815 * manual/Makefile (add-chapters): Remove.
11816 ($(objpfx)texis): Do not depend on $(add-chapters).
11817 (nonexamples): Do not handle $(add-chapters).
11818 (examples): Do not handle $(add-ons).
11819 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
11821 * manual/install.texi (Installation): Do not mention add-ons.
11822 (--enable-add-ons): Do not document configure option.
11823 * INSTALL: Regenerated.
11824 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
11825 * manual/maint.texi (Hierarchy Conventions): Do not mention
11827 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
11829 * scripts/gen-sorted.awk: Do not handle Subdirs files from
11831 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
11832 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
11834 2017-10-05 Andreas Schwab <schwab@suse.de>
11837 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
11838 (_IO_flush_all_lockp): Always lock list_all_lock.
11839 (_IO_flush_all_linebuffered): Likewise.
11840 (_IO_unbuffer_all): Likewise.
11842 2017-10-05 Florian Weimer <fweimer@redhat.com>
11845 Do not flush stdio streams on abort.
11846 * stdlib/abort.c (fflush): Remove macro definition.
11847 (abort): Remove stages related to stdio flushing.
11849 2017-10-05 Florian Weimer <fweimer@redhat.com>
11851 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
11853 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11855 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11857 2017-10-05 Florian Weimer <fweimer@redhat.com>
11859 * support/support_format_hostent.c (support_format_hostent): Add
11860 more error information for NETDB_INTERNAL.
11862 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11864 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
11865 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
11866 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
11867 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
11868 AC_DEFINE if multi-arch is enabled.
11869 * sysdeps/i386/configure: Regenerated.
11871 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11873 * Makeconfig (+link-static-before-libc): Use
11874 $(DEFAULT-LDFLAGS-$(@F)).
11875 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
11876 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
11877 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
11879 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11881 * elf/Makefile (tests): Add tst-main1.
11882 (modules-names): Add tst-main1mod.
11883 ($(objpfx)tst-main1): New.
11884 (CRT-tst-main1): Likewise.
11885 (LDFLAGS-tst-main1): Likewise.
11886 (LDLIBS-tst-main1): Likewise.
11887 (tst-main1mod.so-no-z-defs): Likewise.
11888 * elf/tst-main1.c: New file.
11889 * elf/tst-main1mod.c: Likewise.
11891 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11893 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
11895 2017-10-04 Joseph Myers <joseph@codesourcery.com>
11897 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
11898 (fma): Define using libm_alias_double.
11899 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
11900 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
11902 (fmal): Do not define as compat symbol here.
11903 * sysdeps/alpha/fpu/s_fma.c: New file.
11905 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11907 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
11909 2017-10-04 Joseph Myers <joseph@codesourcery.com>
11912 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
11914 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
11916 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
11917 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
11918 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
11919 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
11920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11921 Include <math_ldbl_opt.h>
11922 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
11924 (compat_symbol): Undefine and redefine.
11925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
11927 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
11928 (compat_symbol): Undefine and redefine.
11929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
11930 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
11931 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
11932 GLIBC_2_1 for libm.
11933 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
11934 GLIBC_2.0 copysignl symbol.
11935 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11936 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
11938 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
11940 2017-10-04 Florian Weimer <fweimer@redhat.com>
11942 * scripts/check-local-headers.sh: Ignore nspr4 header file
11943 directory in addition to nspr.
11945 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
11948 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
11949 * configure: Regenerate.
11950 * crypt/Makefile (nss-cpp-flags): New variable.
11951 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
11952 (CPPFLAGS-md5-crypt.c): Use it.
11953 * scripts/check-local-headers.sh: Ignore nspr header file
11956 2017-10-04 Andreas Schwab <schwab@suse.de>
11958 * nis/Makefile (services): Remove compat.
11959 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
11960 ($(objpfx)libnss_compat.so): Remove rule.
11961 * nis/Versions (libnss_compat): Remove.
11962 * nss/Makefile (services): Add compat.
11963 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
11964 * nss/Versions (libnss_compat): Define.
11965 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
11966 Don't include <rpc/types.h>. Replace bool_t by bool.
11967 * nss/nss_compat/compat-initgroups.c: Likewise.
11968 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
11969 instead of <rpcsrv/ypclnt.h>.
11970 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
11971 yp_get_default_domain.
11972 * nss/nss_compat/compat-pwd.c: Likewise.
11973 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
11974 yp_get_default_domain.
11975 * nss/nss_compat/nisdomain.c: New file.
11976 * nss/nss_compat/nisdomain.h: Likewise.
11978 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11981 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
11982 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11984 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11987 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
11988 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
11990 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11992 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
11993 "movl main@GOTOFF(%ebx), %eax".
11995 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11997 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
11998 allow undefined _DYNAMIC in PIE libc.a.
11999 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
12002 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12004 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
12007 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12009 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
12012 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12014 * math/test-math-iscanonical.cc (error): Replace bool with int.
12016 2017-10-03 Joseph Myers <joseph@codesourcery.com>
12018 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
12019 (modf): Define using libm_alias_double, only if [!__modf].
12020 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
12021 <libm-alias-double.h>.
12022 (modf): Define using libm_alias_double, only if [!__modf].
12023 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
12024 compat symbol here.
12025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
12026 (weak_alias): Do not undefine and redefine.
12027 (strong_alias): Likewise.
12028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
12029 (weak_alias): Likewise.
12030 (strong_alias): Likewise.
12032 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
12033 (logb): Define using libm_alias_double, only if [!__logb].
12034 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
12035 <libm-alias-double.h>.
12036 (logb): Define using libm_alias_double, only if [!__logb].
12037 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
12038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
12039 (weak_alias): Do not undefine and redefine.
12040 (strong_alias): Likewise.
12041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
12042 (weak_alias): Likewise.
12043 (strong_alias): Likewise.
12045 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12047 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
12048 Check SHARED instead PIC.
12050 2017-10-03 Joseph Myers <joseph@codesourcery.com>
12052 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
12053 [!__fmaf] (fmaf): Define using libm_alias_float.
12055 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
12056 (frexp): Define using libm_alias_double.
12057 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
12058 <libm-alias-double.h>.
12059 (frexp): Define using libm_alias_double.
12060 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
12061 compat symbol here.
12063 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12066 * math/math.h: Trivial fix for unbalanced parentheses in comment.
12067 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
12068 (CFLAGS-test-math-iscanonical.cc): New variable.
12069 * math/test-math-iscanonical.cc: New file.
12070 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
12071 Provide a C++ implementation based on function overloading,
12072 rather than using __MATH_TG, which uses C-only builtins.
12073 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
12075 * sysdeps/powerpc/powerpc64le/Makefile
12076 (CFLAGS-test-math-iscanonical.cc): New variable.
12078 2017-10-03 Joseph Myers <joseph@codesourcery.com>
12080 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
12081 (ceil): Define using libm_alias_double.
12082 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
12083 (floor): Define using libm_alias_double.
12084 * sysdeps/ieee754/dbl-64/s_llround.c: Include
12085 <libm-alias-double.h>.
12086 (llround): Define using libm_alias_double.
12087 * sysdeps/ieee754/dbl-64/s_lround.c: Include
12088 <libm-alias-double.h>.
12089 (lround): Define using libm_alias_double.
12090 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
12091 <libm-alias-double.h>.
12092 (nearbyint): Define using libm_alias_double.
12093 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
12094 <libm-alias-double.h>.
12095 (remquo): Define using libm_alias_double.
12096 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
12097 (rint): Define using libm_alias_double.
12098 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
12099 (round): Define using libm_alias_double.
12100 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
12101 (trunc): Define using libm_alias_double.
12102 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
12103 <libm-alias-double.h>.
12104 (ceil): Define using libm_alias_double.
12105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
12106 <libm-alias-double.h>.
12107 (floor): Define using libm_alias_double.
12108 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
12109 <libm-alias-double.h>.
12110 (llround): Define using libm_alias_double.
12111 [_LP64] (lround): Likewise.
12112 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
12113 <libm-alias-double.h>.
12114 [!_LP64] (lround): Define using libm_alias_double.
12115 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
12116 <libm-alias-double.h>.
12117 (nearbyint): Define using libm_alias_double.
12118 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
12119 <libm-alias-double.h>.
12120 (remquo): Define using libm_alias_double.
12121 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
12122 <libm-alias-double.h>.
12123 (rint): Define using libm_alias_double.
12124 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
12125 <libm-alias-double.h>.
12126 (round): Define using libm_alias_double.
12127 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
12128 <libm-alias-double.h>.
12129 (trunc): Define using libm_alias_double.
12130 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
12131 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
12132 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
12133 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
12134 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
12135 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
12136 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
12137 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
12138 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
12140 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
12142 * math/w_remainder.c: New file.
12143 * math/w_remainderf.c: New file.
12144 * math/w_remainderl.c: New file.
12146 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12148 * elf/rtld.c (BOOTSTRAP_MAP): New.
12149 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
12150 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12152 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12154 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12157 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12159 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
12160 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
12161 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
12162 rtld_hidden_data_ver): Define to empty.
12163 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
12164 __assert_perror_fail): Likewise.
12165 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12166 (__rewinddir): Likewise.
12167 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12168 (__profile_frequency): Likewise.
12169 * include/setjmp.h (__sigsetjmp): Likewise.
12170 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
12171 __libc_sigaction): Likewise.
12172 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
12173 not set hidden attribute.
12174 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
12175 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
12176 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
12177 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
12178 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
12179 __fxstatat64): Likewise.
12180 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12181 (__uname): Likewise.
12182 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12183 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
12184 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
12185 (NO_RTLD_HIDDEN): Set.
12186 * sysdeps/mach/hurd/configure: Refresh.
12187 * config.h.in: Refresh.
12189 2017-10-02 Joseph Myers <joseph@codesourcery.com>
12191 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
12192 (atan): Define using libm_alias_double.
12193 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
12194 (tan): Define using libm_alias_double.
12195 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
12196 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
12198 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
12199 define as weak alias of __atan. Do not define any aliases if
12201 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
12202 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
12203 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
12204 as weak alias of __tan. Do not define any aliases if [__tan].
12205 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
12206 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
12207 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
12209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
12210 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
12211 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
12212 and define as weak alias of __atan.
12213 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
12215 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
12216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
12217 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
12218 define as weak alias of __tan.
12220 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12222 * math/w_lgamma.c: New file.
12223 * math/w_lgammaf.c: New file.
12224 * math/w_lgammal.c: New file.
12226 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12228 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
12229 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
12230 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
12231 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
12232 * sysdeps/ieee754/flt-32/w_logf.c: New file.
12233 * sysdeps/ieee754/flt-32/w_powf.c: New file.
12234 * sysdeps/i386/fpu/w_log2f.c: New file.
12235 * sysdeps/i386/fpu/w_logf.c: New file.
12236 * sysdeps/i386/fpu/w_powf.c: New file.
12237 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
12238 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
12239 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
12241 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12242 H.J. Lu <hongjiu.lu@intel.com>
12244 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
12245 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
12246 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
12247 * sysdeps/ieee754/flt-32/w_expf.c: New file.
12248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
12250 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
12251 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
12252 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
12253 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
12254 * sysdeps/i386/fpu/w_exp2f.c: New file.
12255 * sysdeps/i386/fpu/w_expf.c: New file.
12256 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
12257 * sysdeps/x86_64/fpu/w_expf.c: New file.
12259 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12261 * math/Versions (logf): New libm symbol at GLIBC_2.27.
12264 * math/w_log2f.c: New file.
12265 * math/w_logf.c: New file.
12266 * math/w_powf.c: New file.
12267 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
12268 * math/w_logf_compat.c (__logf_compat): Likewise.
12269 * math/w_powf_compat.c (__powf_compat): Likewise.
12270 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
12271 * sysdeps/ia64/fpu/e_logf.S: Likewise.
12272 * sysdeps/ia64/fpu/e_powf.S: Likewise.
12273 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
12274 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12280 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12293 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12302 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12306 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12308 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12309 (sysdep_routines): Add memrchr_power8.
12310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12311 (memrchr): Add __memrchr_power8 to list of memrchr functions.
12312 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
12314 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
12315 (memrchr): Add __memrchr_power8 to ifunc list.
12316 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
12318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12321 * sysdeps/unix/sysv/linux/posix_fadvise64.c
12322 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
12324 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12325 (__posix_fallocate64_l64): Likewise.
12327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12330 * sysdeps/unix/sysv/linux/sched_setaffinity.c
12331 (__sched_setaffinity_new): Add libc_hidden_proto and
12334 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12337 * include/glob.h (__glob64): Add libc_hidden_proto.
12338 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
12341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12344 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
12347 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12350 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
12352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12355 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
12358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12361 * csu/version.c (__libc_print_version): Add attribute_hidden.
12363 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12366 * include/libc-internal.h (__init_misc): Add attribute_hidden.
12368 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12371 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
12373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12376 * nscd/nscd_helper.c (__nis_hash): New prototype.
12378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12381 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
12382 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
12384 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12385 * termios/tcgetattr.c (__tcgetattr): Likewise.
12387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12390 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
12391 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
12392 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
12393 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
12394 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
12396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12399 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
12401 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12404 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
12405 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
12407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12410 * intl/hash-string.h (__hash_string): Add attribute_hidden.
12412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12415 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
12416 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
12418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12421 * include/ifreq.h: New file.
12422 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
12423 (__ifreq): Likewise.
12424 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
12425 (__ifreq): Likewise.
12427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12430 * include/idna.h: New file.
12431 * inet/getnameinfo.c: Include <idna.h> instead of
12433 (__idna_to_unicode_lzlz): Removed.
12434 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
12436 (__idna_to_ascii_lz): Removed.
12437 (__idna_to_unicode_lzlz): Likewise.
12439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12442 * include/plural-exp.h: New file.
12443 * intl/plural-exp.c: Include <plural-exp.h> instead of
12446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12449 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
12450 "getsourcefilter.h".
12451 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
12452 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
12453 "getsourcefilter.h".
12454 (__get_sol): Removed.
12456 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12459 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
12461 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
12463 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12466 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
12469 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12472 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
12474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12477 * include/search.h (__tdestroy): Add libc_hidden_proto.
12478 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
12480 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12483 * include/assert.h (__assert_fail_base): Add attribute_hidden.
12485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12488 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
12491 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12494 * include/signal.h (__kill): Add libc_hidden_proto.
12495 (__sigblock): Likewise.
12496 (__sigprocmask): Likewise.
12497 (__sigaltstack): Likewise.
12498 * signal/kill.c (__kill): Add libc_hidden_def.
12499 * signal/sigblock.c (__sigblock): Likewise.
12500 * signal/sigprocmask.c (__sigprocmask): Likewise.
12501 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
12502 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12503 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12504 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12505 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
12507 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12509 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12510 (__sigprocmask): Likewise.
12511 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
12513 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12514 (__sigprocmask): Likewise.
12515 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12518 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12521 * include/string.h (__strsep): Add libc_hidden_proto.
12522 * string/strsep.c (__strsep): Add libc_hidden_def.
12524 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12527 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
12529 (__spawni): Likewise.
12531 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12534 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
12535 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
12538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12541 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
12543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12546 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
12547 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
12548 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
12549 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
12550 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
12552 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
12553 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
12555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12558 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
12559 (__dcigettext): Likewise.
12561 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12564 * include/sys/sysinfo.h (__get_nprocs_conf): Add
12566 (__get_nprocs): Likewise.
12567 (__get_phys_pages): Likewise.
12568 (__get_avphys_pages): Likewise.
12569 (__get_child_max): Add attribute_hidden.
12570 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
12571 (__get_nprocs): Likewise.
12572 (__get_phys_pages): Likewise.
12573 (__get_avphys_pages): Likewise.
12574 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
12576 (__get_nprocs): Likewise.
12577 (__get_phys_pages): Likewise.
12578 (__get_avphys_pages): Likewise.
12579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
12581 (__get_nprocs_conf): Likewise.
12582 (__get_phys_pages): Likewise.
12583 (__get_avphys_pages): Likewise.
12585 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12588 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
12590 (__netlink_close): Likewise.
12591 (__netlink_free_handle): Likewise.
12592 (__netlink_request): Likewise.
12594 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12597 * include/rpc/rpc.h (__rpc_thread_variables): Add
12599 (__rpc_thread_svc_cleanup): Likewise.
12600 (__rpc_thread_clnt_cleanup): Likewise.
12601 (__rpc_thread_key_cleanup): Likewise.
12603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12606 * include/sys/uio.h (__readv): Add libc_hidden_proto.
12607 (__writev): Likewise.
12608 * misc/readv.c (__readv): Add libc_hidden_def.
12609 * misc/writev.c (__writev): Likewise.
12610 * sysdeps/posix/readv.c (__readv): Likewise.
12611 * sysdeps/posix/writev.c (__writev): Likewise.
12612 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
12613 (__readv): Likewise.
12614 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
12615 (__writev): Likewise.
12617 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12620 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
12621 (__regcomp): Add libc_hidden_proto.
12622 (__regexec): Likewise.
12623 (__regfree): Likewise.
12624 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
12625 (__regfree): Likewise.
12626 * posix/regexec.c (__regexec): Likewise.
12628 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12631 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
12632 (__getutent): Likewise.
12633 (__getutid): Likewise.
12634 (__getutline): Likewise.
12635 (__pututline): Likewise.
12636 (__getutent_r): Likewise.
12637 (__getutid_r): Likewise.
12638 (__getutline_r): Likewise.
12639 (__utmpname): Add attribute_hidden.
12640 (__setutent): Likewise.
12641 (__endutent): Likewise.
12642 * login/getutent.c (__getutent): Add libc_hidden_def.
12643 * login/getutent_r.c (__getutent_r): Likewise.
12644 (__pututline): Likewise.
12645 * login/getutid.c (__getutid): Likewise.
12646 * login/getutid_r.c (__getutid_r): Likewise.
12647 * login/getutline.c (__getutline): Likewise.
12648 * login/getutline_r.c (__getutline_r): Likewise.
12649 * login/updwtmp.c (__updwtmp): Likewise.
12651 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12654 * include/dirent.h (__opendir): Always add attribute_hidden.
12655 (__fdopendir): Likewise.
12656 (__closedir): Likewise.
12657 (__readdir): Likewise.
12658 (__readdir64): Add libc_hidden_proto.
12659 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
12660 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
12661 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
12662 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
12665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12668 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
12669 * include/netdb.h (__gethostbyaddr_r): Likewise.
12670 (__gethostbyname_r): Likewise.
12671 (__gethostbyname2_r): Likewise.
12672 (__getnetbyaddr_r): Likewise.
12673 (__getnetbyname_r): Likewise.
12674 (__getservbyname_r): Likewise.
12675 (__getservbyport_r): Likewise.
12676 (__getprotobyname_r): Likewise.
12677 (__getprotobynumber_r): Likewise.
12678 (__getnetgrent_r): Likewise.
12679 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
12680 (__getrpcbynumber_r): Likewise.
12681 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
12683 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12686 * include/stdio.h (__fcloseall): Add attribute_hidden.
12687 (__getline): Likewise.
12688 (__path_search): Likewise.
12689 (__gen_tempname): Likewise.
12690 (__libc_message): Likewise.
12691 (__flockfile): Likewise.
12692 (__funlockfile): Likewise.
12693 (__fxprintf): Likewise.
12694 (__fxprintf_nocancel): Likewise.
12696 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12699 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
12700 (__sgetsgent_r): Likewise.
12702 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12705 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
12706 (__statfs64): Likewise.
12707 (__fstatfs64): Likewise.
12708 * include/sys/statvfs.h (__statvfs64): Likewise.
12709 (__fstatvfs64): Likewise.
12710 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
12711 (__statfs_filesize_max): Likewise.
12712 (__statfs_symlinks): Likewise.
12713 (__statfs_chown_restricted): Likewise.
12715 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12718 * include/time.h (__tzstring): Add attribute_hidden.
12719 (__tzfile_read): Likewise.
12720 (__tzfile_compute): Likewise.
12721 (__tzfile_default): Likewise.
12722 (__tzset_parse_tz): Likewise.
12723 (__offtime): Likewise.
12724 (__asctime_r): Likewise.
12725 (__tzset): Likewise.
12726 (__tz_convert): Likewise.
12727 (__getdate_r): Likewise.
12728 (__getclktck): Likewise.
12730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12733 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
12734 (__nscd_unmap): Likewise.
12735 (__nscd_cache_search): Likewise.
12736 (__nscd_get_nl_timestamp): Likewise.
12737 (__nscd_getpwnam_r): Likewise.
12738 (__nscd_getpwuid_r): Likewise.
12739 (__nscd_getgrnam_r): Likewise.
12740 (__nscd_getgrgid_r): Likewise.
12741 (__nscd_gethostbyname_r): Likewise.
12742 (__nscd_gethostbyname2_r): Likewise.
12743 (__nscd_gethostbyaddr_r): Likewise.
12744 (__nscd_getai): Likewise.
12745 (__nscd_getgrouplist): Likewise.
12746 (__nscd_getservbyname_r): Likewise.
12747 (__nscd_getservbyport_r): Likewise.
12748 (__nscd_innetgr): Likewise.
12749 (__nscd_setnetgrent): Likewise.
12751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12754 * include/gmp.h: Declare internal functions only if _ISOMAC is
12756 (__mpn_extract_double): Add attribute_hidden.
12757 (__mpn_extract_long_double): Likewise.
12758 (__mpn_extract_float128): Likewise.
12759 (__mpn_construct_float): Likewise.
12760 (__mpn_construct_double): Likewise.
12761 (__mpn_construct_long_double): Likewise.
12762 (__mpn_construct_float128): Likewise.
12763 (mpn_add_1): Likewise.
12764 (mpn_addmul_1): Likewise.
12765 (mpn_add_n): Likewise.
12766 (mpn_cmp): Likewise.
12767 (mpn_divrem): Likewise.
12768 (mpn_lshift): Likewise.
12769 (mpn_mul): Likewise.
12770 (mpn_mul_1): Likewise.
12771 (mpn_rshift): Likewise.
12772 (mpn_sub_1): Likewise.
12773 (mpn_submul_1): Likewise.
12774 (mpn_sub_n): Likewise.
12776 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12779 * include/wchar.h (__wcsnlen): Add attribute_hidden.
12780 (__wcscat): Likewise.
12781 (__btowc): Likewise.
12782 (__wcrtomb): Likewise.
12783 (__mbsrtowcs): Likewise.
12784 (__wcsrtombs): Likewise.
12785 (__mbsnrtowcs): Likewise.
12786 (__wcsnrtombs): Likewise.
12787 (__wcsncpy): Likewise.
12788 (__wcpncpy): Likewise.
12789 (__wmemcpy): Likewise.
12790 (__wmempcpy): Likewise.
12791 (__wmemmove): Likewise.
12792 (__wcschrnul): Likewise.
12793 (__vfwscanf): Likewise.
12794 (__vswprintf): Likewise.
12795 (__fwprintf): Likewise.
12796 (__vfwprintf): Likewise.
12798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12801 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
12802 (__getgrgid_r): Likewise.
12803 (__getgrnam_r): Likewise.
12804 * include/pwd.h (__getpwuid_r): Likewise.
12805 (__getpwnam_r): Likewise.
12806 (__fgetpwent_r): Likewise.
12807 * include/shadow.h (__getspnam_r): Likewise.
12808 (__sgetspent_r): Likewise.
12809 (__fgetspent_r): Likewise.
12811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12814 * include/unistd.h (__access): Add attribute_hidden.
12815 (__lseek64): Likewise.
12816 (__libc_pread64): Likewise.
12817 (__pipe2): Likewise.
12818 (__sleep): Likewise.
12819 (__chdir): Likewise.
12820 (__fchdir): Likewise.
12821 (__getcwd): Likewise.
12822 (__rmdir): Likewise.
12823 (__execvpe): Likewise.
12824 (__execve): Likewise.
12825 (__setsid): Likewise.
12826 (__getuid): Likewise.
12827 (__geteuid): Likewise.
12828 (__getgid): Likewise.
12829 (__getegid): Likewise.
12830 (__getgroups): Likewise.
12831 (__group_member): Likewise.
12832 (__ttyname_r): Likewise.
12833 (__isatty): Likewise.
12834 (__readlink): Likewise.
12835 (__unlink): Likewise.
12836 (__gethostname): Likewise.
12837 (__profil): Likewise.
12838 (__getdtablesize): Likewise.
12840 (__ftruncate): Likewise.
12841 (__ftruncate64): Likewise.
12843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12846 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
12847 * argp/argp-fs-xinl.c: Likewise.
12848 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
12849 * argp/argp-parse.c: Include <argp.h>.
12850 * argp/argp-xinl.c: Likewise.
12851 * include/argp-fmtstream.h: New file.
12852 * include/argp.h (__argp_error): Add attribute_hidden.
12853 (__argp_failure): Likewise.
12854 (__argp_input): Likewise.
12855 (__argp_state_help): Likewise.
12857 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12860 * include/wchar.h (____wcstof_l_internal): New prototype.
12861 (____wcstod_l_internal): Likewise.
12862 (____wcstold_l_internal): Likewise.
12863 (____wcstol_l_internal): Likewise.
12864 (____wcstoul_l_internal): Likewise.
12865 (____wcstoll_l_internal): Likewise.
12866 (____wcstoull_l_internal): Likewise.
12867 (____wcstof128_l_internal): Likewise.
12868 * sysdeps/ieee754/float128/wcstof128.c
12869 (____wcstof128_l_internal): Removed.
12870 * sysdeps/ieee754/float128/wcstof128_l.c
12871 (____wcstof128_l_internal): Likewise.
12872 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
12873 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
12874 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
12875 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
12876 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
12877 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
12878 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
12879 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
12880 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
12881 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
12883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12886 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
12887 instead of <sys/statvfs.h>.
12888 (__internal_statvfs): Removed.
12889 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
12890 instead of <sys/statvfs.h>.
12891 (__internal_statvfs64): Removed.
12892 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
12893 "internal_statvfs.h" instead of <sys/statvfs.h>.
12894 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
12895 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
12896 instead of <sys/statvfs.h>.
12897 (__internal_statvfs): Removed.
12898 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
12899 instead of <sys/statvfs.h>.
12900 (__internal_statvfs64): Removed.
12902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12905 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
12906 (__gconv_close): Likewise.
12907 (__gconv): Likewise.
12908 (__gconv_find_transform): Likewise.
12909 (__gconv_lookup_cache): Likewise.
12910 (__gconv_compare_alias_cache): Likewise.
12911 (__gconv_load_cache): Likewise.
12912 (__gconv_get_path): Likewise.
12913 (__gconv_close_transform): Likewise.
12914 (__gconv_release_cache): Likewise.
12915 (__gconv_find_shlib): Likewise.
12916 (__gconv_release_shlib): Likewise.
12917 (__gconv_get_builtin_trans): Likewise.
12918 (__gconv_compare_alias): Likewise.
12919 * include/dlfcn.h (_dlerror_run): Likewise.
12920 * include/stdio.h (__fortify_fail_abort): Likewise.
12921 * include/time.h (__tz_compute): Likewise.
12922 (__strptime_internal): Likewise.
12923 * intl/gettextP.h (_nl_find_domain): Likewise.
12924 (_nl_load_domain): Likewise.
12925 (_nl_find_msg): Likewise.
12926 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
12927 (EXTRACT_PLURAL_EXPRESSION): Likewise.
12928 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
12929 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
12930 (__gai_find_request): Likewise.
12931 (__gai_remove_request): Likewise.
12932 (__gai_notify): Likewise.
12933 (__gai_notify_only): Likewise.
12934 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
12935 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
12936 (_dl_non_dynamic_init): Likewise.
12937 (_dl_aux_init): Likewise.
12938 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
12939 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
12941 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
12942 (__wcsmbs_clone_conv): Likewise.
12943 (__wcsmbs_named_conv): Likewise.
12945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12948 * include/stdlib.h (__random): Add attribute_hidden.
12949 (__random_r): Likewise.
12950 (__srandom_r): Likewise.
12951 (__initstate_r): Likewise.
12952 (__setstate_r): Likewise.
12953 (__erand48_r): Likewise.
12954 (__nrand48_r): Likewise.
12955 (__jrand48_r): Likewise.
12956 (__srand48_r): Likewise.
12957 (__seed48_r): Likewise.
12958 (__lcong48_r): Likewise.
12959 (__drand48_iterate): Likewise.
12960 (__setenv): Likewise.
12961 (__unsetenv): Likewise.
12962 (__clearenv): Likewise.
12963 (__ptsname_r): Likewise.
12964 (__posix_openpt): Likewise.
12965 (__add_to_environ): Likewise.
12966 (__realpath): Add libc_hidden_proto.
12967 (__ecvt_r): Likewise.
12968 (__fcvt_r): Likewise.
12969 (__qecvt_r): Likewise.
12970 (__qfcvt_r): Likewise.
12971 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
12972 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
12974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12977 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
12978 * include/time.h (__mktime_internal): Likewise.
12979 * libio/iolibio.h (__fopen_internal): Likewise.
12981 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
12983 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
12985 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
12986 Correct offset used to restore PIC register.
12988 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
12991 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
12992 code to load address of __getcontext_ret when generating PIC code.
12994 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
12996 * elf/Makefile (tests-static-internal): Add
12997 tst-tls1-static-non-pie.
12998 (LDFLAGS-tst-tls1-static-non-pie): New.
12999 * elf/tst-tls1-static-non-pie.c: New file.
13001 2017-09-29 Joseph Myers <joseph@codesourcery.com>
13003 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
13004 (asinh): Define using libm_alias_double.
13005 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
13006 (cbrt): Define using libm_alias_double.
13007 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
13008 <libm-alias-double.h>.
13009 (copysign): Define using libm_alias_double.
13010 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
13011 (erf): Define using libm_alias_double.
13013 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
13014 (expm1): Define using libm_alias_double.
13015 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
13016 (fabs): Define using libm_alias_double.
13017 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
13019 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
13020 <libm-alias-double.h>.
13021 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
13023 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
13024 <libm-alias-double.h>.
13025 (getpayload): Define using libm_alias_double.
13026 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
13027 <libm-alias-double.h>.
13028 (llrint): Define using libm_alias_double.
13029 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
13030 (lrint): Define using libm_alias_double.
13031 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
13032 <libm-alias-double.h>.
13033 (nextup): Define using libm_alias_double.
13034 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
13035 <libm-alias-double.h>.
13036 (roundeven): Define using libm_alias_double.
13037 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
13039 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
13040 <libm-alias-double.h>.
13041 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
13042 using libm_alias_double.
13043 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
13044 (cos): Define using libm_alias_double.
13046 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
13047 <libm-alias-double.h>.
13048 (sincos): Define using libm_alias_double.
13049 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
13050 (tanh): Define using libm_alias_double.
13051 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13052 <libm-alias-double.h>.
13053 (totalorder): Define using libm_alias_double.
13054 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13055 <libm-alias-double.h>.
13056 (totalordermag): Define using libm_alias_double.
13057 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
13059 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
13061 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
13062 <libm-alias-double.h>.
13063 (getpayload): Define using libm_alias_double.
13064 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
13065 <libm-alias-double.h>.
13066 (roundeven): Define using libm_alias_double.
13067 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
13068 <libm-alias-double.h>.
13069 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13070 <libm-alias-double.h>.
13071 (totalorder): Define using libm_alias_double.
13072 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13073 <libm-alias-double.h>.
13074 (totalordermag): Define using libm_alias_double.
13075 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
13076 libc compat symbol here.
13077 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
13078 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
13079 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
13080 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
13081 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
13082 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
13083 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
13084 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
13085 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
13086 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
13088 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
13090 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
13091 _dl_relocate_static_pie instead of _dl_start to compute load
13092 address in static PIE. Return 0 if _DYNAMIC is undefined for
13095 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
13097 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
13098 _DYNAMIC is undefined for static executable.
13100 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
13102 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
13104 2017-09-29 Joseph Myers <joseph@codesourcery.com>
13106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13108 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
13110 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13111 (__ieee754_lgamma_r): Use fabs rather than __fabs.
13112 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13113 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13115 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
13116 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
13117 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
13118 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
13119 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
13120 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
13121 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
13123 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
13124 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13126 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
13128 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
13130 * math/bits/cmathcalls.h (cimag): Remove inline.
13131 (creal): Remove inline.
13132 (conj): Remove inline.
13134 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13136 * math/Makefile (type-float-routines): Add e_powf_log2_data.
13137 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
13138 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
13139 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
13140 (issignalingf_inline): Likewise.
13141 (POWF_LOG2_TABLE_BITS): Likewise.
13142 (POWF_LOG2_POLY_ORDER): Likewise.
13143 (POWF_SCALE_BITS): Likewise.
13144 (POWF_SCALE): Likewise.
13145 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
13146 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
13147 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
13149 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13151 * math/Makefile (type-float-routines): Add e_log2f_data.
13152 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
13153 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
13154 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
13155 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
13156 * sysdeps/i386/fpu/e_log2f_data.c: New file.
13157 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
13158 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
13160 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13162 * math/Makefile (type-float-routines): Add e_logf_data.
13163 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
13164 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
13165 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
13166 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
13167 * sysdeps/i386/fpu/e_logf_data.c: New file.
13168 * sysdeps/ia64/fpu/e_logf_data.c: New file.
13169 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
13171 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
13173 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
13174 undefined _DYNAMIC in PIE libc.a.
13175 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
13178 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
13180 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
13181 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
13182 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
13183 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
13184 (__signbit): Remove.
13185 (__signbitl): Remove.
13186 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
13187 (__signbit): Remove.
13188 (__signbitl): Remove.
13189 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
13190 (__signbit): Remove.
13191 (__signbitl): Remove.
13192 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
13193 (__signbit): Remove.
13194 (__signbitl): Remove.
13195 * sysdeps/tile/bits/mathinline.h: Delete file.
13196 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
13197 (__signbit): Remove.
13198 (__signbitl): Remove.
13200 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
13202 * math/math.h: Improve handling of C99 isgreater macros.
13203 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
13204 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
13205 * sysdeps/powerpc/bits/mathinline.h: Likewise.
13206 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13207 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
13209 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13211 * sysdeps/aarch64/libm-test-ulps: Update.
13213 2017-09-28 Joseph Myers <joseph@codesourcery.com>
13216 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13217 math_opt_barrier on argument when doing arithmetic on it.
13218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13219 Likewise. Use math_force_eval not math_opt_barrier after
13221 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
13222 math_opt_barrier on argument when doing arithmetic on it.
13223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13226 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
13228 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
13230 (__freeifaddrs): Likewise.
13232 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13234 * include/dirent.h (__dirfd): New declaration.
13235 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
13237 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
13238 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
13239 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
13240 * include/unistd.h (__revoke): New declaration.
13241 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
13243 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13244 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
13246 * include/dirent.h (__seekdir): New declaration.
13247 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
13248 redefine as weak alias.
13249 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
13251 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
13252 and use libc_hidden_def on them.
13253 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
13255 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
13256 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
13257 instead of getifaddrs and freeifaddrs.
13259 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
13262 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
13263 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
13264 (__dso_handle): Remove declaration.
13265 * dlfcn/tstatexit.c (__dso_handle): Removed.
13266 (main): Don't check __dso_handle.
13267 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
13268 (main): Don't check __dso_handle.
13269 * include/dso_handle.h: New file.
13270 * malloc/mtrace.c: Include <dso_handle.h>.
13271 (mtrace): Pass __dso_handle directly.
13272 * nptl/pthread_atfork.c: Include <dso_handle.h>.
13273 (__dso_handle): Remove declaration.
13274 (__pthread_atfork): Pass __dso_handle directly.
13275 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
13276 (__dso_handle): Removed.
13277 * posix/wordexp-test.c: Include <dso_handle.h>.
13278 (__dso_handle): Remove declaration.
13279 (__app_register_atfork): Pass __dso_handle directly.
13280 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
13281 (__dso_handle): Remove declaration.
13282 (at_quick_exit): Pass __dso_handle directly.
13283 * stdlib/atexit.c: Include <dso_handle.h>.
13284 (__dso_handle): Remove declaration.
13285 (atexit): Pass __dso_handle directly.
13286 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
13287 (__dso_handle): Removed.
13289 2017-09-26 Joseph Myers <joseph@codesourcery.com>
13291 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
13294 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
13296 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
13297 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
13298 values to correct default value for given type.
13300 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
13303 * elf/Makefile (tests): Add tst-debug1.
13304 ($(objpfx)tst-debug1): New.
13305 ($(objpfx)tst-debug1.out): Likewise.
13306 ($(objpfx)tst-debug1mod1.so): Likewise.
13307 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
13308 with p_filesz == 0.
13309 * elf/tst-debug1.c: New file.
13311 2017-09-26 Joseph Myers <joseph@codesourcery.com>
13313 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
13314 Define using __ifunc.
13316 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13318 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
13321 2017-09-26 Joseph Myers <joseph@codesourcery.com>
13324 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
13326 2017-09-26 Florian Weimer <fweimer@redhat.com>
13328 * resolv/Makefile (tests-internal): Fix typo in comment.
13330 2017-09-26 Florian Weimer <fweimer@redhat.com>
13332 * resolv/nss_dns/dns-host.c: Fix typo in comment.
13334 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13336 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
13337 Use an union instead of a max_align_t array for __space,
13338 so that __space is the same size on all platforms.
13339 * malloc/scratch_buffer_grow_preserve.c
13340 (__libc_scratch_buffer_grow_preserve): Likewise.
13343 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
13345 * posix/Makefile (routines): Add glob-lstat-compat and
13346 glob64-lstat-compat.
13347 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
13348 * posix/glob-lstat-compat.c: New file.
13349 * posix/glob64-lstat-compat.c: Likewise.
13350 * posix/tst-glob_lstat_compat.c: Likewise.
13351 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
13352 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
13353 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
13354 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
13356 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
13357 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
13358 * posix/glob.c (glob_lstat): New function.
13359 (glob): Rename to __glob and add versioned symbol to 2.27.
13360 (glob_in_dir): Use glob_lstat.
13361 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
13362 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
13365 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
13366 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
13367 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
13368 gl_lstat on glob call.
13369 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
13370 and glob64 symbols.
13371 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13375 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13380 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13385 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13388 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13389 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13390 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13391 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13394 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13398 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
13400 * configure.ac (AS): Require binutils 2.25 or later.
13401 * configure: Regenerated.
13403 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
13406 * stdlib/test-atexit-race-common.c (do_test): Minimize required
13409 2017-09-25 DJ Delorie <dj@redhat.com>
13412 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
13415 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13417 * sysdeps/ieee754/dbl-64/sincos32.h
13418 [SINCCOS32_H]: Remove define.
13419 [SINCOS32_H]: Define.
13421 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13423 * math/Versions (expf): New libm symbol at GLIBC_2.27.
13425 * math/w_exp2f.c: New file.
13426 * math/w_expf.c: New file.
13427 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
13428 * math/w_expf_compat.c (__expf_compat): Likewise.
13429 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
13430 * sysdeps/ia64/fpu/e_expf.S: Likewise.
13431 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
13432 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13434 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13435 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13436 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13438 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13439 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13440 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13441 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13442 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13451 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13460 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13464 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13466 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
13467 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
13468 (roundtoint, converttoint): Likewise.
13469 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
13470 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
13471 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
13472 * sysdeps/ieee754/flt-32/math_config.h: New file.
13473 * sysdeps/ieee754/flt-32/math_errf.c: New file.
13474 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
13475 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
13476 * sysdeps/i386/fpu/math_errf.c: New file.
13477 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
13478 * sysdeps/ia64/fpu/math_errf.c: New file.
13479 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
13480 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
13482 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
13484 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
13485 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
13486 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
13487 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
13488 to make sure that these symbols are defined.
13489 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
13491 (__need_NULL): Do not define.
13492 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
13494 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
13495 CMGROUP_MAX, cmsgcred): Do not define.
13496 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
13498 * bits/socket.h: Likewise.
13499 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
13500 __gettimeofday instead of gettimeofday.
13501 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
13502 instead of settimeofday.
13504 2017-09-22 Joseph Myers <joseph@codesourcery.com>
13506 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
13507 (asinhf): Define using libm_alias_float.
13508 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
13509 (atanf): Define using libm_alias_float.
13510 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
13511 (cbrtf): Define using libm_alias_float.
13512 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
13513 (ceilf): Define using libm_alias_float.
13514 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
13515 <libm-alias-float.h>.
13516 (copysignf): Define using libm_alias_float.
13517 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
13518 (cosf): Define using libm_alias_float.
13519 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
13520 (erff): Define using libm_alias_float.
13522 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
13523 (expm1f): Define using libm_alias_float.
13524 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
13525 (fabsf): Define using libm_alias_float.
13526 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
13527 (floorf): Define using libm_alias_float.
13528 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
13529 (frexpf): Define using libm_alias_float.
13530 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
13532 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
13533 <libm-alias-float.h>.
13534 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
13536 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
13537 <libm-alias-float.h>.
13538 (getpayloadf): Define using libm_alias_float.
13539 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
13540 <libm-alias-float.h>.
13541 (llrintf): Define using libm_alias_float.
13542 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
13543 <libm-alias-float.h>.
13544 (llroundf): Define using libm_alias_float.
13545 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
13546 (logbf): Define using libm_alias_float.
13547 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
13548 (lrintf): Define using libm_alias_float.
13549 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
13550 (lroundf): Define using libm_alias_float.
13551 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
13552 (modff): Define using libm_alias_float.
13553 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
13554 <libm-alias-float.h>.
13555 (nearbyintf): Define using libm_alias_float.
13556 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
13557 <libm-alias-float.h>.
13558 (nextafterf): Define using libm_alias_float.
13559 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
13560 <libm-alias-float.h>.
13561 (nextupf): Define using libm_alias_float.
13562 * sysdeps/ieee754/flt-32/s_remquof.c: Include
13563 <libm-alias-float.h>.
13564 (remquof): Define using libm_alias_float.
13565 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
13566 (rintf): Define using libm_alias_float.
13567 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
13568 <libm-alias-float.h>.
13569 (roundevenf): Define using libm_alias_float.
13570 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
13571 (roundf): Define using libm_alias_float.
13572 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
13573 using libm_alias_float.
13574 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
13575 <libm-alias-float.h>.
13576 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
13577 Define using libm_alias_float.
13578 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
13579 <libm-alias-float.h>.
13580 (sincosf): Define using libm_alias_float.
13581 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
13582 (sinf): Define using libm_alias_float.
13583 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
13584 (tanf): Define using libm_alias_float.
13585 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
13586 (tanhf): Define using libm_alias_float.
13587 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13588 <libm-alias-float.h>.
13589 (totalorderf): Define using libm_alias_float.
13590 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13591 <libm-alias-float.h>.
13592 (totalordermagf): Define using libm_alias_float.
13593 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
13594 (truncf): Define using libm_alias_float.
13595 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
13597 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
13600 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13603 math/math.h: Let fpclassify use the builtin in C++ mode, even
13604 when optimazing for size.
13606 2017-09-22 Joseph Myers <joseph@codesourcery.com>
13608 * csu/Makefile (generated): Do not add version-info.h.
13609 (before-compile): Likewise.
13610 (all-Banner-files): Remove variable.
13611 ($(objpfx)version-info.h): Remove rule.
13612 * csu/version.c (banner): Do not include "version-info.h".
13613 * libidn/Banner: Remove.
13614 * manual/contrib.texi (Simon Josefsson): New entry.
13616 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13618 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13619 Remove conditionals on LDBL_MANT_DIG.
13620 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
13621 (__ieee754_lgammal_r): Likewise.
13623 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13625 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
13627 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
13628 _Float128 and L(). Replace _Float128 with long double and L(x)
13629 with xL, throughout the file.
13630 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
13635 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
13638 sysdeps/ieee754/ldbl-128ibm.
13639 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
13640 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
13641 of including it. Keep _Float128 and L() intact. These will be
13642 reviewed by a separate patch.
13643 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
13648 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
13651 (__finitef128): Define to __redirect___finitef128.
13652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
13653 (__isinff128): Define to __redirect___isinff128.
13654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
13655 (__isnanf128): Define to __redirect___isnanf128.
13657 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13659 * sysdeps/powerpc/powerpc64le/Makefile
13660 (CFLAGS-tst-strtod-nan-locale.c): New variable.
13661 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
13663 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13664 Carlos O'Donell <carlos@redhat.com>
13667 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
13668 * stdlib/test-dlclose-exit-race.c: New file.
13669 * stdlib/test-dlclose-exit-race-helper.c: New file.
13670 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
13672 2017-09-21 Joseph Myers <joseph@codesourcery.com>
13674 * crypt/Banner: Remove file.
13675 * nptl/Banner: Likewise.
13676 * resolv/Banner: Likewise.
13677 * soft-fp/Banner: Likewise.
13678 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
13679 ($(objpfx)version.d): Remove dependency on banner.h.
13680 ($(objpfx)version.os): Likewise.
13681 * nptl/version.c (banner): Do not include banner.h.
13682 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
13683 Jelinek and BIND code.
13685 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13686 Carlos O'Donell <carlos@redhat.com>
13688 * support/xdlfcn.h: New file.
13689 * support/xdlfcn.c: New file.
13690 * support/Makefile (libsupport-routines): Add xdlfcn.
13691 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
13693 2017-09-20 Joseph Myers <joseph@codesourcery.com>
13696 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13697 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
13698 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
13699 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
13700 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
13701 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
13702 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
13703 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
13705 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13706 Ricky Zhou <rickyz@google.com>
13707 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
13710 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
13712 (__new_exitfn): Fail registration when we finished at_exit processing.
13713 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13714 * stdlib/on_exit.c (__on_exit): Likewise.
13715 * stdlib/exit.c (__exit_funcs_done): New variable.
13716 (__run_exit_handlers): Use __exit_funcs_lock.
13717 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
13719 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
13720 (test-cxa_atexit-race, test-on_exit-race): New tests.
13721 * stdlib/test-atexit-race-common.c: New file.
13722 * stdlib/test-atexit-race.c: New file.
13723 * stdlib/test-at_quick_exit-race.c: New file.
13724 * stdlib/test-cxa_atexit-race.c: New file.
13725 * stdlib/test-on_exit-race.c: New file.
13727 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
13729 * benchtests/Makefile: Add exp2f and log2f benchmarks.
13730 * benchtests/exp2f-inputs: Copy of expf-inputs.
13731 * benchtests/log2f-inputs: Copy of logf-inputs.
13733 2017-09-19 Joseph Myers <joseph@codesourcery.com>
13735 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
13736 Explicitly take address of first element of array arguments in
13737 call to INLINE_SYSCALL.
13739 2017-09-19 Andreas Schwab <schwab@suse.de>
13742 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
13744 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
13746 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
13747 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
13748 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13749 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
13750 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13751 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
13752 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13753 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
13754 * posix/Makefile (tests): Add tst-fexecve.
13755 * posix/tst-fexecve.c: New file.
13757 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13759 * benchtests/Makefile: Add logf benchmark.
13760 * benchtests/logf-inputs: Add reduced trace from wrf_r.
13762 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13764 * benchtests/Makefile: Add expf benchmark.
13765 * benchtests/expf-inputs: Add reduced trace from wrf_r.
13767 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13769 * csu/Makefile: Add -funwind-tables to libc-start.c.
13770 * debug/Makefile: Add -funwind-tables to backtrace.c.
13771 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
13772 * sysdeps/arm/Makefile: Likewise.
13773 * sysdeps/i386/Makefile: Likewise.
13774 * sysdeps/m68k/Makefile: Likewise.
13775 * sysdeps/mips/Makefile: Likewise.
13776 * sysdeps/nios2/Makefile: Likewise.
13777 * sysdeps/sh/Makefile: Likewise.
13778 * sysdeps/sparc/Makefile: Likewise.
13780 2017-09-19 Joseph Myers <joseph@codesourcery.com>
13782 * benchtests/Makefile (bench-math): Add trunc and truncf.
13783 (CFLAGS-bench-trunc.c): New variable.
13784 (CFLAGS-bench-truncf.c): Likewise.
13785 * benchtests/trunc-inputs: New file.
13786 * benchtests/truncf-inputs: Likewise.
13788 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13790 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
13792 2017-09-18 Joseph Myers <joseph@codesourcery.com>
13794 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
13795 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
13797 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
13798 (exp10l): Define as weak alias.
13799 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
13800 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
13802 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
13803 (remainderl): Define as weak alias.
13805 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
13806 (fmal): Define using libm_alias_ldouble.
13807 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
13808 (acoshl): Define using libm_alias_ldouble.
13809 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
13810 (acosl): Define using libm_alias_ldouble.
13811 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
13812 (asinl): Define using libm_alias_ldouble.
13813 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
13814 (atan2l): Define using libm_alias_ldouble.
13815 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
13816 (atanhl): Define using libm_alias_ldouble.
13817 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
13818 (coshl): Define using libm_alias_ldouble.
13819 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
13820 (exp10l): Define using libm_alias_ldouble.
13821 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
13822 (exp2l): Define using libm_alias_ldouble.
13823 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
13824 (expl): Define using libm_alias_ldouble.
13825 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
13826 (fmodl): Define using libm_alias_ldouble.
13827 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
13828 (hypotl): Define using libm_alias_ldouble.
13829 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
13830 (j0l): Define using libm_alias_ldouble.
13832 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
13833 (j1l): Define using libm_alias_ldouble.
13835 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
13836 (jnl): Define using libm_alias_ldouble.
13838 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
13839 (log10l): Define using libm_alias_ldouble.
13840 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
13841 (log2l): Define using libm_alias_ldouble.
13842 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
13843 (logl): Define using libm_alias_ldouble.
13844 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
13845 (powl): Define using libm_alias_ldouble.
13846 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
13847 (remainderl): Define using libm_alias_ldouble.
13848 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
13849 (sinhl): Define using libm_alias_ldouble.
13850 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
13851 (sqrtl): Define using libm_alias_ldouble.
13852 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
13853 (tgammal): Define using libm_alias_ldouble.
13854 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
13855 (exp10l): Do not use long_double_symbol here.
13856 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
13857 [LIBM_SVID_COMPAT] (remainderl): Likewise.
13858 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
13859 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
13860 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
13861 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
13862 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
13863 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
13864 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
13865 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
13866 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
13867 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
13868 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
13869 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
13870 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
13871 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
13872 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
13873 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
13874 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
13875 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
13876 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
13877 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
13879 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
13881 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
13882 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
13884 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13886 * io/read.c (read): Add libc_hidden_weak.
13887 * sysdeps/mach/hurd/read.c (read): Likewise.
13888 * io/write.c (write): Likewise.
13889 * sysdeps/mach/hurd/write.c (write): Likewise.
13890 * io/pread64.c (__pread64): Likewise.
13891 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
13892 * posix/pread64.c (__pread64): Add libc_hidden_def.
13894 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13896 * benchtests/scripts/compare_strings.py: New option -g.
13897 (draw_graph): Print a message that a graph is being generated.
13898 (process_results): Generate graph only if -g is passed.
13899 (main): Process option -g.
13901 * benchtests/scripts/compare_strings.py (process_results):
13902 Better spacing for output.
13904 * benchtests/scripts/compare_strings.py: Use argparse.
13905 * benchtests/README: Document existence of compare_strings.py.
13907 2017-09-15 Joseph Myers <joseph@codesourcery.com>
13909 * math/s_fma.c: Include <libm-alias-double.h>.
13910 (fma): Define using libm_alias_double.
13911 * math/s_nextafter.c: Include <libm-alias-double.h>.
13912 (nextafter): Define using libm_alias_double.
13913 * math/w_acos_compat.c: Include <libm-alias-double.h>.
13914 (acos): Define using libm_alias_double.
13915 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
13916 (aocsh): Define using libm_alias_double.
13917 * math/w_asin_compat.c: Include <libm-alias-double.h>.
13918 (asin): Define using libm_alias_double.
13919 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
13920 (atan2): Define using libm_alias_double.
13921 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
13922 (atanh): Define using libm_alias_double.
13923 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
13924 (cosh): Define using libm_alias_double.
13925 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
13926 (exp10): Define using libm_alias_double.
13927 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
13928 (exp2): Define using libm_alias_double.
13929 * math/w_exp_compat.c: Include <libm-alias-double.h>.
13930 (exp): Define using libm_alias_double.
13931 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
13932 (fmod): Define using libm_alias_double.
13933 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
13934 (hypot): Define using libm_alias_double.
13935 * math/w_j0_compat.c: Include <libm-alias-double.h>.
13936 (j0): Define using libm_alias_double.
13938 * math/w_j1_compat.c: Include <libm-alias-double.h>.
13939 (j1): Define using libm_alias_double.
13941 * math/w_jn_compat.c: Include <libm-alias-double.h>.
13942 (jn): Define using libm_alias_double.
13944 * math/w_log10_compat.c: Include <libm-alias-double.h>.
13945 (log10): Define using libm_alias_double.
13946 * math/w_log2_compat.c: Include <libm-alias-double.h>.
13947 (log2): Define using libm_alias_double.
13948 * math/w_log_compat.c: Include <libm-alias-double.h>.
13949 (log): Define using libm_alias_double.
13950 * math/w_pow_compat.c: Include <libm-alias-double.h>.
13951 (pow): Define using libm_alias_double.
13952 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
13953 (remainder): Define using libm_alias_double.
13954 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
13955 (sinh): Define using libm_alias_double.
13956 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
13957 (sqrt): Define using libm_alias_double.
13958 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
13959 (tgamma): Define using libm_alias_double.
13960 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
13961 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
13962 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
13963 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
13964 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
13965 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
13966 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
13967 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
13968 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
13969 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
13970 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
13971 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
13972 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
13973 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
13974 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
13975 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
13976 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
13977 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
13978 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
13979 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
13980 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
13981 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
13982 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
13983 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
13984 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
13986 * math/e_acoshl.c: Remove.
13987 * math/e_acosl.c: Likewise.
13988 * math/e_asinl.c: Likewise.
13989 * math/e_atan2l.c: Likewise.
13990 * math/e_atanhl.c: Likewise.
13991 * math/e_coshl.c: Likewise.
13992 * math/e_expl.c: Likewise.
13993 * math/e_fmodl.c: Likewise.
13994 * math/e_gammal_r.c: Likewise.
13995 * math/e_hypotl.c: Likewise.
13996 * math/e_j0l.c: Likewise.
13997 * math/e_j1l.c: Likewise.
13998 * math/e_jnl.c: Likewise.
13999 * math/e_lgammal_r.c: Likewise.
14000 * math/e_log10l.c: Likewise.
14001 * math/e_log2l.c: Likewise.
14002 * math/e_logl.c: Likewise.
14003 * math/e_powl.c: Likewise.
14004 * math/e_rem_pio2l.c: Likewise.
14005 * math/e_sinhl.c: Likewise.
14006 * math/e_sqrtf128.c: Likewise.
14007 * math/e_sqrtl.c: Likewise.
14008 * math/k_cosl.c: Likewise.
14009 * math/k_sinl.c: Likewise.
14010 * math/k_tanl.c: Likewise.
14011 * math/s_asinhl.c: Likewise.
14012 * math/s_atanl.c: Likewise.
14013 * math/s_cbrtl.c: Likewise.
14014 * math/s_erfl.c: Likewise.
14015 * math/s_expm1l.c: Likewise.
14016 * math/s_log1pl.c: Likewise.
14017 * math/s_tanhl.c: Likewise.
14019 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14022 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
14023 [$(subdir) = math] (sysdep_calls): New variable. Has the
14024 previous contents of sysdep_routines, but re-sorted..
14025 [$(subdir) = math] (sysdep_routines): Re-use the contents from
14027 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
14028 defined in sysdep_calls and replace by the respective m_* names.
14029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
14030 (compat_symbol): Undefine to avoid duplicated compat symbols in
14033 2017-09-15 Joseph Myers <joseph@codesourcery.com>
14035 * math/s_fmaf.c: Include <libm-alias-float.h>.
14036 (fmaf): Define using libm_alias_float.
14037 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
14038 (acosf): Define using libm_alias_float.
14039 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
14040 (acoshf): Define using libm_alias_float.
14041 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
14042 (asinf): Define using libm_alias_float.
14043 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
14044 (atan2f): Define using libm_alias_float.
14045 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
14046 (atanhf): Define using libm_alias_float.
14047 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
14048 (coshf): Define using libm_alias_float.
14049 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
14050 (exp10f): Define using libm_alias_float.
14051 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
14052 (fmodf): Define using libm_alias_float.
14053 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
14054 (hypotf): Define using libm_alias_float.
14055 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
14056 (j0f): Define using libm_alias_float.
14058 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
14059 (j1f): Define using libm_alias_float.
14061 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
14062 (jnf): Define using libm_alias_float.
14064 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
14065 (log10f): Define using libm_alias_float.
14066 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
14067 (log2f): Define using libm_alias_float.
14068 * math/w_logf_compat.c: Include <libm-alias-float.h>.
14069 (logf): Define using libm_alias_float.
14070 * math/w_powf_compat.c: Include <libm-alias-float.h>.
14071 (powf): Define using libm_alias_float.
14072 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
14073 (remainderf): Define using libm_alias_float.
14074 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
14075 (sinhf): Define using libm_alias_float.
14076 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
14077 (sqrtf): Define using libm_alias_float.
14078 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
14079 (tgammaf): Define using libm_alias_float.
14081 2017-09-14 Joseph Myers <joseph@codesourcery.com>
14083 * include/math.h (roundeven): Change hidden_proto call to
14085 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
14087 [NO_LONG_DOUBLE] (__j0l): New strong alias.
14088 (y0): Rename to __y0 and define as weak alias.
14089 [NO_LONG_DOUBLE] (__y0l): New strong alias.
14090 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
14092 (y0f): Rename to __y0f and define as weak alias.
14093 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
14095 [NO_LONG_DOUBLE] (__j1l): New strong alias.
14096 (y1): Rename to __y1 and define as weak alias.
14097 [NO_LONG_DOUBLE] (__y1l): New strong alias.
14098 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
14100 (y1f): Rename to __y1f and define as weak alias.
14101 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
14103 [NO_LONG_DOUBLE] (__jnl): New strong alias.
14104 (yn): Rename to __yn and define as weak alias.
14105 [NO_LONG_DOUBLE] (__ynl): New strong alias.
14106 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
14108 (ynf): Rename to __ynf and define as weak alias.
14109 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
14110 (fromfp): Define as weak alias.
14111 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
14112 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
14113 (fromfpx): Define as weak alias.
14114 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
14115 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
14116 __getpayload and define as weak alias.
14117 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
14118 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
14119 __roundeven and define as weak alias.
14120 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
14121 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
14123 (setpayload): Define as weak alias.
14124 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
14125 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
14127 (setpayloadsig): Define as weak alias.
14128 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
14129 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
14130 __totalorder and define as weak alias.
14131 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
14132 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
14133 to __totalordermag and define as weak alias.
14134 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
14135 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
14136 (ufromfp): Define as weak alias.
14137 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
14138 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
14140 (ufromfpx): Define as weak alias.
14141 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
14142 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
14143 Rename to __getpayload and define as weak alias.
14144 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
14145 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
14146 Rename to __roundeven and define as weak alias.
14147 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
14148 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
14149 Rename to __totalorder and define as weak alias.
14150 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
14151 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
14152 (totalordermag): Rename to __totalordermag and define as weak
14154 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
14155 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
14157 (__roundevenl): Likewise.
14158 (__totalorderl): Likewise.
14159 (__totalordermagl): Likewise
14160 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
14162 (fromfpf128): Define as weak alias.
14163 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
14165 (fromfpxf128): Define as weak alias.
14166 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
14168 (setpayloadf128): Define as weak alias.
14169 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
14170 __setpayloadsigf128.
14171 (setpayloadsigf128): Define as weak alias.
14172 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
14174 (ufromfpf128): Define as weak alias.
14175 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
14177 (ufromfpxf128): Define as weak alias.
14178 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
14179 (fromfpf): Define as weak alias.
14180 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
14182 (fromfpxf): Define as weak alias.
14183 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
14184 __getpayloadf and define as weak alias.
14185 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
14186 __roundevenf and define as weak alias.
14187 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
14189 (setpayloadf): Define as weak alias.
14190 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
14192 (setpayloadsigf): Define as weak alias.
14193 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
14194 __totalorderf and define as weak alias.
14195 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
14196 Rename to __totalordermagf and define as weak alias.
14197 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
14199 (ufromfpf): Define as weak alias.
14200 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
14202 (ufromfpxf): Define as weak alias.
14203 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
14205 (fromfpl): Define as weak alias.
14206 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
14208 (fromfpxl): Define as weak alias.
14209 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
14210 to __getpayloadl and define as weak alias.
14211 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
14212 __roundevenl and define as weak alias.
14213 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
14215 (setpayloadl): Define as weak alias.
14216 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
14218 (setpayloadsigl): Define as weak alias.
14219 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
14220 to __totalorderl and define as weak alias.
14221 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
14222 Rename to __totalordermagl and define as weak alias.
14223 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
14225 (ufromfpl): Define as weak alias.
14226 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
14228 (ufromfpxl): Define as weak alias.
14229 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
14231 (fromfpl): Define as weak alias.
14232 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
14234 (fromfpxl): Define as weak alias.
14235 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
14236 Rename to __getpayloadl and define as weak alias.
14237 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
14238 to __roundevenl and define as weak alias. Call __roundeven
14239 instead of roundeven.
14240 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
14242 (setpayloadl): Define as weak alias.
14243 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
14245 (setpayloadsigl): Define as weak alias.
14246 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
14247 Rename to __totalorderl and define as weak alias.
14248 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
14249 Rename to __totalordermagl and define as weak alias.
14250 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
14252 (ufromfpl): Define as weak alias.
14253 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
14255 (ufromfpxl): Define as weak alias.
14256 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
14258 (fromfpl): Define as weak alias.
14259 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
14261 (fromfpxl): Define as weak alias.
14262 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
14263 __getpayloadl and define as weak alias.
14264 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
14265 __roundevenl and define as weak alias.
14266 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
14268 (setpayloadl): Define as weak alias.
14269 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
14271 (setpayloadsigl): Define as weak alias.
14272 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
14273 __totalorderl and define as weak alias.
14274 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
14275 Rename to __totalordermagl and define as weak alias.
14276 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
14278 (ufromfpl): Define as weak alias.
14279 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
14281 (ufromfpxl): Define as weak alias.
14283 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14285 * benchtests/bench-string.h (realloc_bufs): New function.
14286 (test_init): Call it.
14287 * benchtests/bench-memset-large.c (do_test): Likewise.
14288 * benchtests/bench-memset.c (do_test): Likewise.
14290 * benchtests/bench-memset-large.c: Print output in JSON
14292 * benchtests/bench-memset.c: Likewise.
14294 2017-09-14 Mike FABIAN <mfabian@redhat.com>
14297 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
14298 * iconvdata/Makefile: Add IBM858.
14299 * iconvdata/gconv-modules: Likewise.
14300 * iconvdata/tst-tables.sh: Likewise.
14301 * iconvdata/ibm858.c: New file.
14302 * localedata/charmaps/IBM858: Likewise.
14304 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
14307 * locales/niu_NZ (LC_TIME): copy "niu_NU".
14308 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
14310 2017-09-14 Mike FABIAN <mfabian@redhat.com>
14313 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
14314 and add tel_int_fmt.
14316 2017-09-14 Joseph Myers <joseph@codesourcery.com>
14318 * sysdeps/generic/libm-alias-float128.h: New file.
14319 * sysdeps/generic/math-type-macros-float128.h: Include
14320 <libm-alias-float128.h>.
14321 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
14323 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14325 * sysdeps/generic/libm-alias-ldouble.h: New file.
14326 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
14327 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
14328 * sysdeps/generic/math-type-macros-ldouble.h: Include
14329 <libm-alias-ldouble.h>.
14330 [!declare_mgen_alias] (declare_mgen_alias): Define to use
14331 libm_alias_ldouble.
14333 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
14335 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
14336 * math/w_exp_compat.c: ... here.
14337 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
14338 * math/w_expf_compat.c: ... here.
14339 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
14340 * math/w_expl_compat.c: ... here.
14341 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
14342 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
14343 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
14344 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
14346 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14348 * math/w_scalbln_template.c (strong_alias): Do not undefine and
14350 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
14352 (ldexpl): Only define as compat symbol for libc, not libm.
14353 (scalbnl): Define as compat symbol for libc here.
14354 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
14355 define for [IS_IN (libc)].
14356 (__ldexpl_2): Remove alias.
14357 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
14358 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
14359 name in long_double_symbol call.
14360 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
14361 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
14362 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
14363 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
14364 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
14366 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
14367 Define as compat symbol.
14369 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14371 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
14372 * sysdeps/unix/sysv/linux/alpha/Makefile
14373 [$(subdir) = csu] (sysdep_routines): Remove rule.
14375 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14377 * sysdeps/generic/libm-alias-double.h: New file.
14378 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
14379 * sysdeps/generic/math-type-macros-double.h: Include
14380 <libm-alias-double.h>.
14381 [declare_mgen_alias] (declare_mgen_alias): Define to use
14383 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
14384 (M_LIBM_NEED_COMPAT): Remove macro.
14385 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
14386 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
14387 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
14389 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14390 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14391 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14392 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14393 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14394 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14395 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14396 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14397 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14398 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14399 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14400 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14401 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14402 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14403 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14404 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14405 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14406 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14407 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14408 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14409 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14410 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14411 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14412 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14413 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14414 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14415 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14416 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
14417 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
14419 (declare_mgen_alias): New macro.
14420 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
14421 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
14422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
14423 (M_LIBM_NEED_COMPAT): Remove macro.
14424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
14425 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
14426 <first-versions.h>.
14427 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
14428 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
14430 2017-09-12 Joseph Myers <joseph@codesourcery.com>
14432 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
14433 (declare_mgen_alias_2): Remove.
14434 * sysdeps/generic/math-type-macros-double.h
14435 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
14437 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
14439 (ldexp): Define with declare_mgen_alias.
14440 (scalbn): Likewise.
14442 2017-09-12 Steve Ellcey <sellcey@cavium.com>
14444 * grp/initgroups.c: Include config.h.
14445 (DEFAULT_CONFIG): New macro.
14446 (internal_getgrouplist): Use DEFAULT_CONFIG.
14447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14448 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
14449 (DEFAULT_DEFCONFIG): New macro.
14450 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
14451 * nss/grp-lookup.c: Include config.h
14452 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
14453 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
14454 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
14455 * manual/nss.texi: Update default values section.
14457 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
14460 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
14462 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
14463 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14464 Handle MathVec_Prefer_No_AVX512.
14465 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
14466 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
14469 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
14471 * posix/sched_primax.c (__sched_get_priority_max): Add
14473 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
14474 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
14475 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
14476 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
14477 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
14478 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
14479 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
14480 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
14483 2017-09-11 Joseph Myers <joseph@codesourcery.com>
14485 * sysdeps/generic/libm-alias-float.h: New file.
14486 * sysdeps/generic/math-type-macros-float.h: Include
14487 <libm-alias-float.h>.
14488 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
14490 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
14493 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
14494 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
14495 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
14496 (HWCAP_IMPORTANT): Likewise.
14497 (HWCAP_X86_64): New enum.
14498 (HWCAP_X86_AVX512_1): Updated.
14499 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
14500 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
14501 (modules-names): Add x86_64/tst-x86_64mod-1.
14502 (LDFLAGS-tst-x86_64mod-1.so): New.
14503 ($(objpfx)tst-x86_64-1): Likewise.
14504 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
14505 (tst-x86_64-1-clean): Likewise.
14506 * sysdeps/x86_64/tst-x86_64-1.c: New file.
14507 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
14509 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14511 * po/sv.po: Update translations.
14512 * po/fr.po: Likewise.
14514 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14516 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
14518 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
14520 * elf/rtld-Rules: Fix $(error) use.
14522 2017-09-09 Mike FABIAN <mfabian@redhat.com>
14525 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
14526 * locale/iso-639.def: Change “Bengali” to “Bangla”.
14527 * localedata/locales/bn_BD: “Bengali” was still used in some
14528 comments. Change it to “Bangla”.
14530 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
14532 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
14534 2017-09-08 Steve Ellcey <sellcey@cavium.com>
14536 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
14537 thunderx2t99p1 to list of cpu names.
14538 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
14539 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
14541 2017-09-08 Steve Ellcey <sellcey@cavium.com>
14543 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
14544 Use strcmp instead of tunable_is_name.
14546 2017-09-08 Joseph Myers <joseph@codesourcery.com>
14548 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14549 (F_GET_RW_HINT): New macro.
14550 [__USE_GNU] (F_SET_RW_HINT): Likewise.
14551 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
14552 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
14553 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
14554 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
14555 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
14556 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
14557 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
14558 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
14560 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14561 (F_ADD_SEALS): New macro.
14562 [__USE_GNU] (F_GET_SEALS): Likewise.
14563 [__USE_GNU] (F_SEAL_SEAL): Likewise.
14564 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
14565 [__USE_GNU] (F_SEAL_GROW): Likewise.
14566 [__USE_GNU] (F_SEAL_WRITE): Likewise.
14568 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14570 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
14571 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
14572 * posix/glob_internal.h (__glob_pattern_type):
14573 * posix/glob.c (glob):
14574 * posix/glob_pattern_p.c (__glob_pattern_p):
14577 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
14578 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14579 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
14580 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
14581 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
14582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
14583 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
14584 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
14585 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
14586 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14587 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
14588 * sysdeps/wordsize-64/glob.c: Likewise.
14589 * sysdeps/wordsize-64/glob64.c: Likewise.
14590 * sysdeps/wordsize-64/globfree.c: Likewise.
14591 * sysdeps/wordsize-64/globfree64.c: Likewise.
14592 * sysdeps/unix/sysv/linux/glob.c: New file.
14593 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
14594 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
14595 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
14596 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
14597 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
14598 adds !GLOB_NO_OLD_VERSION as an extra condition.
14599 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
14600 using relative path instead of absolute one.
14601 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14602 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14603 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14604 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14605 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
14606 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
14609 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
14610 (glob): Use the same scratch buffer for both getlogin_r and
14611 getpwnam_r. Don’t require preallocation of the login name. This
14612 simplifies storage allocation, and corrects the handling of
14616 * posix/glob.c (glob): Port recent patches to platforms
14617 lacking getpwnam_r.
14618 (glob): Fix longstanding misuse of errno after getpwnam_r, which
14619 returns an error number rather than setting errno.
14621 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
14622 instead of GCC extension.
14623 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
14624 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
14625 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
14629 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
14630 * posix/bug-glob1.c: Remove file.
14631 * posix/tst-glob_symlinks.c: New file.
14632 * posix/glob.c (__lstat64): New macro.
14633 (is_dir): New function.
14634 (glob, glob_in_dir): Match symlinks even if they are dangling.
14635 (link_stat, link_exists_p): Remove. All uses removed.
14639 * posix/glob.c (struct readdir_result): Remove skip_entry member.
14640 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
14645 * posix/Makefile (routines): Add globfree, globfree64, and
14647 * posix/flexmember.h: New file.
14648 * posix/glob_internal.h: Likewise.
14649 * posix/glob_pattern_p.c: Likewise.
14650 * posix/globfree.c: Likewise.
14651 * posix/globfree64.c: Likewise.
14652 * sysdeps/gnu/globfree64.c: Likewise.
14653 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
14654 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
14655 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
14656 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
14657 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
14658 * sysdeps/wordsize-64/globfree.c: Likewise.
14659 * sysdeps/wordsize-64/globfree64.c: Likewise.
14660 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
14661 [NDEBUG): Remove comments.
14662 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
14663 (dirent_type): New type. Use uint_fast8_t not
14664 uint8_t, as C99 does not require uint8_t.
14665 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
14666 (struct readdir_result): Use dirent_type. Do not define skip_entry
14667 unless it is needed; this saves a byte on platforms lacking d_ino.
14668 (readdir_result_type, readdir_result_skip_entry):
14669 New functions, replacing ...
14670 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
14671 these functions, which were removed. This makes the callers
14672 easier to read. All callers changed.
14673 (D_INO_TO_RESULT): Now empty if there is no d_ino.
14674 (size_add_wrapv, glob_use_alloca): New static functions.
14675 (glob, glob_in_dir): Check for size_t overflow in several places,
14676 and fix some size_t checks that were not quite right.
14677 Remove old code using SHELL since Bash no longer
14679 (glob, prefix_array): Separate MS code better.
14680 (glob_in_dir): Remove old Amiga and VMS code.
14681 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
14683 (glob_in_dir): Do not rely on undefined behavior in accessing
14684 struct members beyond their bounds. Use a flexible array member
14686 (link_stat): Rename from link_exists2_p and return -1/0 instead of
14687 0/1. Caller changed.
14688 (glob): Fix memory leaks.
14689 * posix/glob64 (globfree64): Move to separate file.
14690 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
14691 (globfree64): Remove hidden alias.
14692 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
14694 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
14696 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
14698 Move compat code to separate file.
14699 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
14702 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
14704 * resolv/tst-resolv-qtypes.c (domain): Changed to
14705 "const char domain[] =".
14707 2017-09-07 Joseph Myers <joseph@codesourcery.com>
14709 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14712 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
14713 (TCP_MD5SIG_EXT): Likewise.
14714 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
14715 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
14716 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
14718 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
14720 2017-09-07 Mike FABIAN <mfabian@redhat.com>
14722 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
14724 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
14727 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
14729 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14731 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
14732 before assuming that the file is empty. Avoid testing buffer content
14735 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14738 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
14740 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
14742 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
14744 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
14746 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
14748 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
14750 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
14753 2017-09-06 Florian Weimer <fweimer@redhat.com>
14755 * malloc/dynarray_emplace_enlarge.c
14756 (__libc_dynarray_emplace_enlarge): Add missing else.
14758 2017-09-06 Florian Weimer <fweimer@redhat.com>
14761 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
14762 case of failure to obtain the global conf object.
14764 2017-09-06 Florian Weimer <fweimer@redhat.com>
14767 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
14768 dynarray allocation failure.
14770 2017-09-06 Florian Weimer <fweimer@redhat.com>
14772 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
14773 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
14774 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
14776 (response): Call them. Add 'p', '6' flag processing.
14777 (test_reverse): New function.
14778 (test_get2_any): Call it.
14779 (test_no_inet6): Add 'p' test.
14780 (test_inet6): Likewise.
14782 2017-09-06 Florian Weimer <fweimer@redhat.com>
14784 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
14785 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
14787 (test_gai): Adjust query names. Add additional tests.
14788 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
14789 test_get2. Adjust query names. Add additional tests.
14790 (test_no_inet6): New function, extracted from threadfunc.
14791 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
14792 Add additional tests.
14794 2017-09-06 Mike FABIAN <mfabian@redhat.com>
14797 * localedata/unicode-gen/utf8_gen.py: Set the width for
14798 characters with Prepended_Concatenation_Mark property to 1
14799 * localedata/charmaps/UTF-8: Updated using the improved script.
14801 2017-09-06 Mike FABIAN <mfabian@redhat.com>
14804 * localedata/unicode-gen/utf8_gen.py: Improve the script to
14805 use the range notation for all ranges of neighbouring characters
14806 with the same width.
14808 2017-09-05 Joseph Myers <joseph@codesourcery.com>
14810 * sysdeps/generic/math-type-macros-double.h: Include
14811 <math-svid-compat.h>.
14812 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
14813 * sysdeps/generic/math-type-macros-float.h: Include
14814 <math-svid-compat.h>.
14815 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
14816 * sysdeps/generic/math-type-macros-ldouble.h: Include
14817 <math-svid-compat.h>.
14818 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
14819 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
14821 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
14822 * math/w_acosf_compat.c: Likewise.
14823 * math/w_acosh_compat.c: Likewise.
14824 * math/w_acoshf_compat.c: Likewise.
14825 * math/w_acoshl_compat.c: Likewise.
14826 * math/w_acosl_compat.c: Likewise.
14827 * math/w_asin_compat.c: Likewise.
14828 * math/w_asinf_compat.c: Likewise.
14829 * math/w_asinl_compat.c: Likewise.
14830 * math/w_atan2_compat.c: Likewise.
14831 * math/w_atan2f_compat.c: Likewise.
14832 * math/w_atan2l_compat.c: Likewise.
14833 * math/w_atanh_compat.c: Likewise.
14834 * math/w_atanhf_compat.c: Likewise.
14835 * math/w_atanhl_compat.c: Likewise.
14836 * math/w_cosh_compat.c: Likewise.
14837 * math/w_coshf_compat.c: Likewise.
14838 * math/w_coshl_compat.c: Likewise.
14839 * math/w_exp10_compat.c: Likewise.
14840 * math/w_exp10f_compat.c: Likewise.
14841 * math/w_exp10l_compat.c: Likewise.
14842 * math/w_exp2_compat.c: Likewise.
14843 * math/w_exp2f_compat.c: Likewise.
14844 * math/w_exp2l_compat.c: Likewise.
14845 * math/w_fmod_compat.c: Likewise.
14846 * math/w_fmodf_compat.c: Likewise.
14847 * math/w_fmodl_compat.c: Likewise.
14848 * math/w_hypot_compat.c: Likewise.
14849 * math/w_hypotf_compat.c: Likewise.
14850 * math/w_hypotl_compat.c: Likewise.
14851 * math/w_j0_compat.c: Likewise.
14852 * math/w_j0f_compat.c: Likewise.
14853 * math/w_j0l_compat.c: Likewise.
14854 * math/w_j1_compat.c: Likewise.
14855 * math/w_j1f_compat.c: Likewise.
14856 * math/w_j1l_compat.c: Likewise.
14857 * math/w_jn_compat.c: Likewise.
14858 * math/w_jnf_compat.c: Likewise.
14859 * math/w_jnl_compat.c: Likewise.
14860 * math/w_lgamma_r_compat.c: Likewise.
14861 * math/w_lgammaf_r_compat.c: Likewise.
14862 * math/w_lgammal_r_compat.c: Likewise.
14863 * math/w_log10_compat.c: Likewise.
14864 * math/w_log10f_compat.c: Likewise.
14865 * math/w_log10l_compat.c: Likewise.
14866 * math/w_log2_compat.c: Likewise.
14867 * math/w_log2f_compat.c: Likewise.
14868 * math/w_log2l_compat.c: Likewise.
14869 * math/w_log_compat.c: Likewise.
14870 * math/w_logf_compat.c: Likewise.
14871 * math/w_logl_compat.c: Likewise.
14872 * math/w_pow_compat.c: Likewise.
14873 * math/w_powf_compat.c: Likewise.
14874 * math/w_powl_compat.c: Likewise.
14875 * math/w_remainder_compat.c: Likewise.
14876 * math/w_remainderf_compat.c: Likewise.
14877 * math/w_remainderl_compat.c: Likewise.
14878 * math/w_sinh_compat.c: Likewise.
14879 * math/w_sinhf_compat.c: Likewise.
14880 * math/w_sinhl_compat.c: Likewise.
14881 * math/w_sqrt_compat.c: Likewise.
14882 * math/w_sqrtf_compat.c: Likewise.
14883 * math/w_sqrtl_compat.c: Likewise.
14884 * math/w_tgamma_compat.c: Likewise.
14885 * math/w_tgammaf_compat.c: Likewise.
14886 * math/w_tgammal_compat.c: Likewise.
14887 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
14888 [LIBM_SVID_COMPAT].
14889 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
14890 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
14891 [LIBM_SVID_COMPAT].
14892 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
14893 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
14894 [LIBM_SVID_COMPAT].
14895 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
14896 * sysdeps/i386/fpu/w_sqrt.c: New file.
14897 * sysdeps/ia64/fpu/w_acos.c: Likewise.
14898 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
14899 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
14900 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
14901 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
14902 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
14903 * sysdeps/ia64/fpu/w_asin.c: Likewise.
14904 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
14905 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
14906 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
14907 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
14908 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
14909 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
14910 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
14911 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
14912 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
14913 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
14914 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
14915 * sysdeps/ia64/fpu/w_exp.c: Likewise.
14916 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
14917 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
14918 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
14919 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
14920 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
14921 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
14922 * sysdeps/ia64/fpu/w_expf.c: Likewise.
14923 * sysdeps/ia64/fpu/w_expl.c: Likewise.
14924 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
14925 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
14926 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
14927 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
14928 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
14929 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
14930 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
14931 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
14932 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
14933 * sysdeps/ia64/fpu/w_log.c: Likewise.
14934 * sysdeps/ia64/fpu/w_log10.c: Likewise.
14935 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
14936 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
14937 * sysdeps/ia64/fpu/w_log2.c: Likewise.
14938 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
14939 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
14940 * sysdeps/ia64/fpu/w_logf.c: Likewise.
14941 * sysdeps/ia64/fpu/w_logl.c: Likewise.
14942 * sysdeps/ia64/fpu/w_pow.c: Likewise.
14943 * sysdeps/ia64/fpu/w_powf.c: Likewise.
14944 * sysdeps/ia64/fpu/w_powl.c: Likewise.
14945 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
14946 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
14947 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
14948 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
14949 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
14950 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
14951 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
14952 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
14953 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
14954 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
14955 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
14956 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
14957 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
14958 [LIBM_SVID_COMPAT].
14959 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
14960 * sysdeps/ieee754/k_standard.c: Likewise.
14961 * sysdeps/ieee754/k_standardf.c: Likewise.
14962 * sysdeps/ieee754/k_standardl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
14965 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
14966 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
14967 long_double_symbol call on [LIBM_SVID_COMPAT].
14968 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
14969 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
14970 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
14971 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
14972 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
14973 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
14974 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
14975 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
14976 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
14977 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
14978 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
14979 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
14980 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
14981 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
14982 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
14983 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
14984 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
14985 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
14986 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
14987 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
14988 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
14989 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
14991 2017-09-05 Steve Ellcey <sellcey@cavium.com>
14993 * include/shlib-compat.h (TEST_COMPAT): New Macro.
14994 * malloc/tst-mallocstate.c: Convert from test-skeleton
14995 to test-driver. Ifdef code using TEST_COMPAT macro.
14996 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
14997 * math/test-matherr.c: Likewise.
14999 2017-09-05 Joseph Myers <joseph@codesourcery.com>
15002 * debug/pcprofiledump.c (main): Use byte-swapped mask when
15003 comparing word with byte-swapped constant.
15005 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
15008 * locale/iso-639.def: add Miskito.
15009 * localedata/SUPPORTED: Add miq_NI/UTF-8.
15010 * localedata/locales/miq_NI: New file.
15012 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
15015 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
15016 (__mkdir): Likewise.
15017 * io/chmod.c (__chmod): Add libc_hidden_def.
15018 * io/mkdir.c (__mkdir): Likewise.
15019 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15020 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15021 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
15022 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
15024 2017-09-04 Joseph Myers <joseph@codesourcery.com>
15026 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15030 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
15031 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15033 2017-09-04 Florian Weimer <fweimer@redhat.com>
15035 * math/math.h: Issue warning if log is defined.
15037 2017-09-04 Joseph Myers <joseph@codesourcery.com>
15039 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15040 kernel version to 4.13.
15042 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15044 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
15045 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
15047 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
15048 just <bits/types.h>.
15049 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
15050 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
15051 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
15052 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
15053 * misc/preadv2.c: Include <errno.h>.
15054 * misc/preadv64v2.c: Include <errno.h>.
15055 * misc/pwritev2.c: Include <errno.h>.
15056 * misc/pwritev64v2.c: Include <errno.h>.
15057 * sysdeps/posix/preadv2.c: Include <errno.h>.
15058 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
15059 Fix <unistd.h> inclusion.
15060 * sysdeps/posix/pwritev2.c: Include <errno.h>.
15061 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
15062 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
15063 __strtoul_internal): New functions.
15064 * sysdeps/posix/pause.c: Include <sigsetops.h>.
15065 * sysdeps/posix/system.c: Include <sigsetops.h>.
15066 * sysdeps/mach/hurd/i386/Makefile
15067 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
15068 [$(subdir) = csu] (sysdep-only-routines): Likewise.
15069 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
15070 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
15071 __feraiseexcept_renamed to feraiseexcept instead of
15072 __GI_feraiseexcept.
15073 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
15074 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
15075 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
15076 RWF_NOWAIT): Define to 0 if undefined already.
15077 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
15079 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
15080 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
15082 2017-09-01 Joseph Myers <joseph@codesourcery.com>
15084 * manual/math.texi (pow10): Do not document.
15085 (pow10f): Likewise.
15086 (pow10l): Likewise.
15087 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
15088 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
15089 * math/libm-test-exp10.inc (pow10_test): Remove.
15090 (do_test): Do not call pow10.
15091 * math/w_exp10_compat.c (pow10): Make into compat symbol.
15092 [NO_LONG_DOUBLE] (pow10l): Likewise.
15093 * math/w_exp10f_compat.c (pow10f): Likewise.
15094 * math/w_exp10l_compat.c (pow10l): Likewise.
15095 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
15096 (pow10): Make into compat symbol.
15097 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
15098 (pow10f): Make into compat symbol.
15099 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
15100 (pow10l): Make into compat symbol.
15101 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
15103 (CFLAGS-nldbl-pow10.c): Remove variable..
15104 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
15105 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
15106 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
15107 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
15108 Undefine and redefine.
15109 (pow10l): Make into compat symbol.
15110 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
15111 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15112 * sysdeps/arm/libm-test-ulps: Likewise.
15113 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
15114 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15115 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15116 * sysdeps/microblaze/libm-test-ulps: Likewise.
15117 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15118 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15119 * sysdeps/nios2/libm-test-ulps: Likewise.
15120 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15121 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15122 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15123 * sysdeps/sh/libm-test-ulps: Likewise.
15124 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15125 * sysdeps/tile/libm-test-ulps: Likewise.
15126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15128 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
15130 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
15132 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
15134 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
15135 "../ChangeLog.old/ChangeLog.8".
15136 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
15137 "../ChangeLog.old/ChangeLog.14".
15139 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
15141 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
15144 2017-09-01 Joseph Myers <joseph@codesourcery.com>
15146 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
15148 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
15150 * csu/version.c (banner): Remove "by Roland McGrath et al.".
15151 * nptl/Banner: Remove "by Ulrich Drepper et al.".
15153 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
15155 * stdlib/tst-atexit-common.c (do_test): Test support for at least
15156 32 atexit handlers.
15158 2017-09-01 Zack Weinberg <zackw@panix.com>
15160 * math/math.h (HUGE_VAL): Improve commentary.
15162 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15163 Andreas Schwab <schwab@suse.de>
15166 * include/stdio.h (__gen_tempfd): New function.
15167 * stdio-common/Makefile (routines): Add gentempfd.
15168 * stdio-common/gentempfd.c: New file.
15169 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
15170 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
15171 unnamed file first.
15173 2017-09-01 Florian Weimer <fweimer@redhat.com>
15177 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
15178 result to determine success or failure, not the errno value.
15179 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
15180 (tst-nss-files-hosts-erange): Link with -ldl.
15181 * nss/tst-nss-files-hosts-erange.c: New file.
15182 * nss/tst-resolv-basic.c (response): Handle nodata.example.
15183 (do_test): Add NO_DATA tests.
15184 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
15185 (do_test): Call it.
15187 2017-09-01 Florian Weimer <fweimer@redhat.com>
15190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
15191 coming from gethostbyname2_r.
15193 2017-09-01 Florian Weimer <fweimer@redhat.com>
15195 * support/namespace.h (struct support_chroot_configuration): Add
15197 (struct support_chroot): Add path_hosts, path_host_conf.
15198 * support/support_chroot.c (write_file): New function.
15199 (support_chroot_create): Call it to process /etc/resolv.conf,
15200 /etc/hosts, /etc/host.conf.
15201 (support_chroot_free): Update.
15203 2017-09-01 Florian Weimer <fweimer@redhat.com>
15205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
15206 status indicates it is set.
15208 2017-09-01 Florian Weimer <fweimer@redhat.com>
15211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
15212 function lookup failures more reliable.
15214 2017-09-01 Florian Weimer <fweimer@redhat.com>
15216 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
15217 (getcanonname): Likewise.
15218 (gaih_inet): Likewise.
15220 2017-09-01 Florian Weimer <fweimer@redhat.com>
15222 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
15223 (getcanonname): Likewise.
15224 (gaih_inet): Likewise.
15226 2017-08-31 Steve Ellcey <sellcey@cavium.com>
15227 Richard Henderson <rth@twiddle.net>
15229 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
15230 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
15231 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
15232 (IREG_SIZE, OREG_SIZE): New macros.
15233 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
15234 (IREG_SIZE, OREG_SIZE): New macros.
15235 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
15236 (IREG_SIZE): New macro.
15237 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
15238 (IREG_SIZE): New macro.
15239 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
15241 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
15242 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
15243 (__CONCATX): Handle exceptions correctly on large values that may
15245 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
15246 Initialize if not already set.
15247 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
15249 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15251 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
15252 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
15254 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
15256 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
15258 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
15260 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
15262 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
15264 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
15266 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
15267 (NO_CANCELLATION): Likewise.
15268 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
15270 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
15272 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
15274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
15275 (NO_CANCELLATION): Likewise.
15276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
15277 (NO_CANCELLATION): Likewise.
15278 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
15280 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
15282 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
15284 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
15286 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
15288 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
15289 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
15291 2017-08-31 Steve Ellcey <sellcey@cavium.com>
15293 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
15296 2017-08-31 Florian Weimer <fweimer@redhat.com>
15298 * include/libc-symbols.h (internal_function): Remove.
15300 2017-08-31 Florian Weimer <fweimer@redhat.com>
15302 * stdlib/fmtmsg.c (internal_addseverity): Remove
15305 2017-08-31 Florian Weimer <fweimer@redhat.com>
15307 * stdio-common/printf_fp.c (group_number): Remove
15309 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
15311 2017-08-31 Florian Weimer <fweimer@redhat.com>
15313 * posix/fnmatch.c (internal_function): Remove definition.
15314 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
15315 * posix/regcomp.c (peek_token, init_word_char)
15316 (duplicate_node_closure, fetch_token, peek_token)
15317 (peek_token_bracket, build_range_exp, build_collating_symbol):
15319 * posix/regex_internal.c (re_string_construct_common)
15320 (create_ci_newstate, create_cd_newstate, re_string_allocate)
15321 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
15322 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
15323 (re_string_translate_buffer, re_string_reconstruct)
15324 (re_string_peek_byte_case, re_string_fetch_byte_case)
15325 (re_string_destruct, re_string_context_at, re_node_set_alloc)
15326 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
15327 (re_node_set_add_intersect, re_node_set_init_union)
15328 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
15329 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
15330 (re_dfa_add_node, calc_state_hash, re_acquire_state)
15331 (re_acquire_state_context): Likewise.
15332 * posix/regex_internal.h (internal_function): Remove definition.
15333 (re_string_realloc_buffers, build_wcs_buffer)
15334 (build_wcs_upper_buffer, build_upper_buffer)
15335 (re_string_translate_buffer, re_string_context_at)
15336 (re_string_char_size_at, re_string_wchar_at)
15337 (re_string_elem_size_at): Likewise.
15338 * posix/regexec.c (match_ctx_init, match_ctx_clean)
15339 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
15340 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
15341 (re_search_internal, re_search_2_stub, re_search_stub)
15342 (re_copy_regs, prune_impossible_nodes, check_matching)
15343 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
15344 (free_fail_stack_return, sift_states_iter_mb)
15345 (sift_states_backward, build_sifted_states)
15346 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
15347 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
15348 (check_subexp_limits, sift_states_bkref, merge_state_array)
15349 (find_recover_state, transit_state, merge_state_with_log)
15350 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
15351 (transit_state_mb, transit_state_bkref, get_subexp)
15352 (get_subexp_sub, find_subexp_node, check_arrival)
15353 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
15354 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
15355 (check_node_accept_bytes, find_collation_sequence_value)
15356 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
15357 (acquire_init_state_context, check_halt_node_context)
15358 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
15359 (sub_epsilon_src_nodes): Likewise.
15360 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
15361 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
15362 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
15363 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
15364 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
15365 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
15366 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
15367 * sysdeps/posix/ttyname.c (getttyname): Likewise.
15368 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
15369 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
15370 (PREADV): Likewise.
15371 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
15372 (PREADV): Likewise.
15373 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
15374 (PWRITEV): Likewise.
15375 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
15376 (PWRITEV): Likewise.
15377 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
15378 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
15380 2017-08-31 Florian Weimer <fweimer@redhat.com>
15382 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
15383 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
15384 Remove internal_function.
15385 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15386 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
15387 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
15388 (__deallocate_stack, __libc_pthread_init)
15389 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
15390 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
15391 (__libc_disable_asynccancel, __librt_disable_asynccancel):
15393 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
15394 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
15395 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
15397 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
15398 (__pthread_mutex_unlock_usercnt): Likewise.
15400 2017-08-31 Florian Weimer <fweimer@redhat.com>
15402 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
15403 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
15404 (fts_safe_changedir): Remove internal_function.
15405 * io/ftw.c (internal_function): Remove definition.
15406 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
15408 2017-08-31 Florian Weimer <fweimer@redhat.com>
15410 * inet/deadline.c (__deadline_current_time)
15411 (__deadline_from_timeval, __deadline_to_ms): Remove
15413 * inet/getnameinfo.c (nrl_domainname): Likewise.
15414 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
15415 * inet/inet6_option.c (add_pad): Likewise.
15416 * inet/net-internal.h (__deadline_current_time)
15417 (__deadline_from_timeval, __deadline_to_ms): Likewise.
15418 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
15419 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
15420 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
15422 2017-08-31 Joseph Myers <joseph@codesourcery.com>
15424 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
15425 include <bits/nan.h>.
15426 * math/Makefile (headers): Remove bits/nan.h.
15427 * bits/nan.h: Remove.
15428 * sysdeps/ieee754/bits/nan.h: Likewise.
15429 * sysdeps/mips/bits/nan.h: Likewise.
15431 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
15432 not include <bits/inf.h>.
15433 * math/Makefile (headers): Remove bits/inf.h.
15434 * bits/inf.h: Remove.
15435 * sysdeps/ieee754/bits/inf.h: Likewise.
15437 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
15438 bits/huge_vall.h or bits/huge_val_flt128.h.
15439 (HUGE_VAL): Define directly here.
15440 [__USE_ISOC99] (HUGE_VALF): Likewise.
15441 [__USE_ISOC99] (HUGE_VALL): Likewise.
15442 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15443 (HUGE_VAL_F128): Likewise.
15444 * math/Makefile (headers): Remove bits/huge_val.h,
15445 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
15446 * bits/huge_val.h: Remove.
15447 * bits/huge_val_flt128.h: Likewise.
15448 * bits/huge_valf.h: Likewise.
15449 * bits/huge_vall.h: Likewise.
15450 * sysdeps/ia64/bits/huge_vall.h: Likewise.
15451 * sysdeps/ieee754/bits/huge_val.h: Likewise.
15452 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
15453 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
15454 * sysdeps/sh/bits/huge_val.h: Likewise.
15455 * sysdeps/sparc/bits/huge_vall.h: Likewise.
15456 * sysdeps/x86/bits/huge_vall.h: Likewise.
15458 2017-08-31 Florian Weimer <fweimer@redhat.com>
15460 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
15462 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
15464 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
15465 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15466 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
15467 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
15468 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15469 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15470 * elf/dl-libc.c (dlerror_run): Likewise.
15471 * elf/dl-load.c (add_name_to_object, decompose_rpath)
15472 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
15473 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
15474 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
15476 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
15477 (_dl_higher_prime_number, _dl_strtoul): Likewise.
15478 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
15479 * elf/dl-profile.c (_dl_start_profile): Likewise.
15480 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
15481 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
15483 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
15484 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
15485 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
15486 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
15487 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
15488 (_dl_allocate_tls_storage): Likewise.
15489 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
15490 (_dl_check_all_versions): Likewise.
15491 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15492 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
15493 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
15494 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
15495 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
15496 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
15497 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
15498 internal_function from __dl_start.
15499 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
15500 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15501 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
15502 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
15503 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
15504 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
15505 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
15506 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
15507 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
15508 (_dl_next_ld_env_entry, _dl_important_hwcaps)
15509 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
15510 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
15511 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
15512 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
15513 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
15515 (struct rtld_global_ro): Remove internal_function from the
15516 _dl_lookup_symbol_x member.
15517 (_dl_symbol_value): Remove. No longer defined anywhere.
15518 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
15520 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
15521 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15522 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
15523 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
15524 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
15525 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
15526 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
15527 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
15528 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
15529 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15530 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
15531 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15533 2017-08-31 Florian Weimer <fweimer@redhat.com>
15535 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
15536 Remove internal_function.
15537 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
15539 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
15542 2017-08-31 Florian Weimer <fweimer@redhat.com>
15544 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
15545 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
15546 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
15548 2017-08-31 Florian Weimer <fweimer@redhat.com>
15550 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
15551 (__gai_enqueue_request): Remove internal_function.
15552 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
15553 (__gai_remove_request, __gai_notify, __gai_notify_only)
15554 (__gai_sigqueue): Likewise.
15555 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
15556 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15557 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
15558 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15561 2017-08-31 Florian Weimer <fweimer@redhat.com>
15563 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
15564 * include/dirent.h (__opendirat, __getdents, __getdents64)
15565 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
15566 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
15567 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
15568 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
15570 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
15572 2017-08-31 Florian Weimer <fweimer@redhat.com>
15574 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
15576 (GETCWD_RETURN_TYPE): Likewise.
15578 2017-08-31 Florian Weimer <fweimer@redhat.com>
15580 * include/time.h (__tz_compute, __strptime_internal): Remove
15582 * time/strptime_l.c (__strptime_internal): Likewise.
15583 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
15585 2017-08-31 Florian Weimer <fweimer@redhat.com>
15587 * iconv/gconv.c (__gconv): Remove internal_function.
15588 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
15589 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
15590 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
15591 (__gconv_release_cache): Likewise.
15592 * iconv/gconv_close.c (__gconv_close): Likewise.
15593 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
15594 (read_conf_file, __gconv_get_path): Likewise.
15595 * iconv/gconv_db.c (derivation_lookup, add_derivation)
15596 (__gconv_release_step, gen_steps, increment_counter)
15597 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
15598 (__gconv_close_transform, free_modules_db): Likewise.
15599 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
15601 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
15602 (__gconv_find_transform, __gconv_lookup_cache)
15603 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
15604 (__gconv_close_transform, __gconv_release_cache)
15605 (__gconv_loaded_object, __gconv_release_shlib)
15606 (__gconv_compare_alias): Likewise.
15607 * iconv/gconv_open.c (__gconv_open): Likewise.
15608 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
15609 * iconv/iconvconfig.c (add_module): Likewise.
15610 * intl/dcigettext.c (plural_lookup, guess_category_value)
15611 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
15612 * intl/eval-plural.h (plural_eval): Likewise.
15613 * intl/finddomain.c (_nl_find_domain): Likewise.
15614 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
15615 (_nl_load_domain, _nl_find_msg): Likewise.
15616 (internal_function): Remove definition.
15617 * intl/loadinfo.h (internal_function): Likewise.
15618 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
15620 * intl/localealias.c (internal_function): Remove definition.
15621 (read_alias_file): Remove internal_function.
15622 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
15623 * intl/plural-exp.h (internal_function): Remove definition.
15624 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
15626 * intl/plural.c: Regenerate.
15627 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
15628 * locale/coll-lookup.c (__collidx_table_lookup)
15629 (__collseq_table_lookup): Likewise.
15630 * locale/coll-lookup.h (__collidx_table_lookup)
15631 (__collseq_table_lookup): Likewise.
15632 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
15633 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15634 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
15635 (_nl_unload_locale): Likewise.
15636 * locale/localeinfo.h (struct __locale_data): Remove
15637 internal_function from cleanup member.
15638 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
15639 (_nl_remove_locale, _nl_load_locale_from_archive)
15640 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
15641 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
15642 (_nl_cleanup_time): Remove internal_function.
15643 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
15644 (_nl_parse_alt_digit): Likewise.
15645 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
15646 (_nl_select_era_entry): Likewise.
15647 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
15648 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
15649 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
15650 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
15651 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
15653 2017-08-31 Florian Weimer <fweimer@redhat.com>
15655 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
15656 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
15657 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
15658 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
15660 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
15661 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
15662 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
15663 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
15665 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
15667 2017-08-31 Florian Weimer <fweimer@redhat.com>
15669 * misc/getttyent.c (skip, value): Remove internal_function.
15670 * misc/syslog.c (openlog_internal): Likewise.
15671 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
15673 2017-08-31 Florian Weimer <fweimer@redhat.com>
15675 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
15676 (__nss_rewrite_field): Remove internal_function.
15677 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15678 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
15679 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15680 * nss/nsswitch.c (nss_parse_file, nss_getline)
15681 (nss_parse_service_list, nss_new_service): Likewise.
15682 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
15683 * nss/valid_field.c (__nss_valid_field): Likewise.
15684 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15686 2017-08-31 Florian Weimer <fweimer@redhat.com>
15688 * malloc/arena.c (__malloc_fork_lock_parent)
15689 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
15690 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
15691 internal_function from defintions.
15692 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
15693 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
15694 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
15695 internal_function from declarations.
15696 * malloc/malloc.c (internal_function): Do not define.
15697 (mem2mem_check): Remove internal_function from declaration.
15698 (munmap_chunk, mremap_chunk): Remove internal_function.
15699 * malloc/mtrace.c (tr_where): Likewise.
15701 2017-08-31 Florian Weimer <fweimer@redhat.com>
15703 * include/rpc/pmap_clnt.h (__get_socket): Remove
15705 * sunrpc/auth_des.c (synchronize): Likewise.
15706 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
15707 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
15708 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
15709 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
15710 (key_call): Likewise.
15711 * sunrpc/pm_getport.c (__get_socket): Likewise.
15712 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
15713 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
15714 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
15715 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
15716 (invalidate): Likewise.
15717 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
15718 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
15719 (set_input_fragment, get_input_bytes): Likewise.
15721 2017-08-31 Florian Weimer <fweimer@redhat.com>
15723 * malloc/malloc.c (_int_free): Remove locked variable and related
15726 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
15729 * Makerules (build-module-helper-objlist): Filter out
15730 $(elf-objpfx)sofini.os.
15731 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
15734 2017-08-31 Florian Weimer <fweimer@redhat.com>
15736 * libio/fcloseall.c: Assume weak_alias is defined.
15737 * libio/feof.c: Likewise.
15738 * libio/fileno.c: Likewise.
15739 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
15740 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
15742 (_IO_file_open): Call __open directly.
15743 (_IO_new_file_sync): Assume ESPIPE is defined.
15744 (_IO_file_seekoff_maybe_mmap): Call __read directly.
15745 (_IO_new_file_write): Call __write directly.
15746 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
15747 * libio/ftello64.c (__ftello64): Assume EIO is defined.
15748 * libio/genops.c: Assume _LIBC is defined.
15749 (save_for_backup): Remove internal_function.
15750 * libio/getc.c: Assume weak_alias is defined.
15751 * libio/getwc.c: Likewise.
15752 * libio/iofclose.c: Assume _LIBC is defined.
15753 * libio/iofdopen.c: Likewise.
15754 (_IO_fcntl): Remove macro definition.
15755 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
15756 Call __fcntl directly.
15757 * libio/iofflush.c: Assume weak_alias is defined.
15758 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
15760 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
15761 * libio/iofgets.c: Likewise.
15762 * libio/iofopen.c: Assume _LIBC is defined.
15763 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
15764 * libio/iofputs.c: Assume weak_alias is defined.
15765 * libio/iofread.c: Likewise.
15766 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
15767 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15768 * libio/ioftell.c: Assume weak_alias is defined.
15769 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
15770 * libio/iofwide.c: Assume _LIBC is defined.
15771 (_IO_fwide): Drop SHARED conditional because it is implied by
15773 * libio/iofwrite.c: Assume weak_alias is defined.
15774 * libio/iogetdelim.c: Likewise.
15775 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
15776 * libio/iogetwline.c (wmemcpy): Remove macro definition.
15777 (_IO_getwline): Call __wmemcpy directly.
15778 * libio/iopopen.c: Assume _LIBC is defined.
15779 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
15780 (_IO_close): Remove macro definitions.
15781 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
15783 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
15785 * libio/ioputs.c: Assume weak_alias is defined.
15786 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
15787 * libio/iosetbuffer.c: Assume weak_alias is defined.
15788 * libio/iosetvbuf.c: Likewise.
15789 * libio/ioungetc.c: Likewise.
15790 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
15791 libc_hidden_def, libc_hidden_weak, NULL are defined.
15792 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
15793 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
15795 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
15797 (_IO_old_file_init_internal): Drop SHARED conditional because it
15798 is implied by SHLIB_COMPAT.
15799 (_IO_old_file_fopen): Call __open directly.
15800 (_IO_old_file_sync): Assume ESPIPE is defined.
15801 (_IO_old_file_write): Call __write directly.
15802 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
15803 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
15804 Call __fcntl directly.
15805 * libio/oldiofgetpos.c: Assume weak_alias is defined.
15806 (_IO_old_fgetpos): Assume EIO is defined.
15807 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
15808 (_IO_old_fgetpos64): Assume EIO is defined.
15809 * libio/oldiofsetpos.c: Assume weak_alias is defined.
15810 (_IO_old_fsetpos): Assume EIO is defined.
15811 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
15812 (_IO_old_fsetpos64): Assume EIO is defined.
15813 * libio/oldiopopen.c: Assume _LIBC is defined.
15814 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
15815 (_IO_close): Remove macro definitions.
15816 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
15818 (_IO_old_proc_close): Call __close, __waitpid directly.
15819 * libio/put.c: Assume weak_alias is defined.
15820 * libio/stdfiles.c: Assume _LIBC is defined.
15821 * libio/stdio.c: Likewise.
15822 * libio/wfileops.c: Likewise.
15823 (_IO_wfile_sync): Assume ESPIPE is defined.
15824 * libio/wgenops.c: Assume _LIBC is defined.
15825 (save_for_wbackup): Remove internal_function.
15827 2017-08-31 Florian Weimer <fweimer@redhat.com>
15829 * malloc/malloc.c (top_check): Change return type to void. Remove
15831 * malloc/hooks.c (top_check): Likewise.
15832 (malloc_check, realloc_check, memalign_check): Adjust.
15834 2017-08-30 Joseph Myers <joseph@codesourcery.com>
15837 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
15838 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
15839 sigcontext and namespace requirements.
15840 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
15841 * sysdeps/m68k/sys/ucontext.h: Likewise.
15842 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
15843 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
15844 <bits/sigcontext.h>.
15845 (__ctx): Define earlier.
15846 (mcontext_t): Define structure contents rather than using struct
15848 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
15849 __glibc_reserved1 instead of __reserved.
15850 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
15851 <bits/sigcontext.h>.
15852 (__ctx): Define earlier.
15853 (mcontext_t): Define structure contents rather than using struct
15855 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
15856 mcontext_t instead of struct sigcontext.
15857 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
15858 <bits/sigcontext.h>.
15859 (__ctx): Define earlier.
15860 (mcontext_t): Define structure contents rather than using struct
15862 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
15863 <bits/sigcontext.h>.
15864 (__ctx): Define earlier.
15865 (mcontext_t): Define structure contents rather than using struct
15867 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
15868 mcontext_t instead of struct sigcontext.
15869 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
15870 mcontext_t instead of struct sigcontext.
15871 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
15872 <bits/sigcontext.h>.
15873 (__ctx): New macro.
15874 (struct __ia64_fpreg_mcontext): New type.
15875 (mcontext_t): Define structure contents rather than using struct
15877 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
15878 (uc_sigmask): Define using __ctx.
15879 (uc_stack): Likewise.
15880 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
15881 <bits/sigcontext.h>.
15882 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15883 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
15884 <bits/sigcontext.h>.
15885 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
15886 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
15887 <bits/sigcontext.h>.
15888 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
15889 <bits/sigcontext.h>.
15890 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
15891 <bits/sigcontext.h>.
15892 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
15893 <bits/sigcontext.h>.
15894 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
15895 <bits/sigcontext.h>.
15896 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
15897 <bits/sigcontext.h>.
15898 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
15899 <bits/sigcontext.h>.
15900 (__ctx): Define earlier.
15901 (mcontext_t): Define structure contents rather than using struct
15903 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
15904 <bits/sigcontext.h>. Include <bits/types.h>.
15905 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
15906 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
15907 (test-xfail-XPG42/ucontext.h/conform): Likewise.
15908 (test-xfail-UNIX98/signal.h/conform): Likewise.
15909 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15910 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15911 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15912 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15913 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15914 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15915 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15916 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15917 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15919 2017-08-30 Florian Weimer <fweimer@redhat.com>
15921 * malloc/dynarray_emplace_enlarge.c
15922 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
15923 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
15924 * malloc/tst-dynarray.c (test_long_overflow): New function.
15925 (do_test): Call it.
15927 2017-08-30 Florian Weimer <fweimer@redhat.com>
15929 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
15930 (set_arena_corrupt): Remove definitions.
15931 (mtrim): Do not check for corrupt arena.
15932 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
15935 2017-08-30 Florian Weimer <fweimer@redhat.com>
15938 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
15940 (ptmalloc_init): Do not set or use check_action.
15941 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
15942 call to malloc_printerr. Remove return statement.
15943 (free_check): Likewise. Remove arena unlock.
15944 (top_check): Update comment. Adjust call to malloc_printerr.
15945 Remove heap repair code.
15946 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
15947 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
15948 (sysmalloc): Adjust call to malloc_printerr.
15949 (munmap_chunk, __libc_realloc): Likewise. Remove return
15951 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
15952 Remove errout label and corresponding gotos.
15953 (_int_free): Likewise. Remove arena unlock.
15954 (do_set_mallopt_check): Do not set check_action.
15955 (malloc_printerr): Adjust parameter list. Do not mark arena as
15957 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
15959 * manual/probes.texi (Memory Allocation Probes): Remove
15960 memory_mallopt_check_action.
15962 2017-08-30 Steve Ellcey <sellcey@cavium.com>
15964 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
15965 Use pointer to uint64_t instead of long int for sp.
15967 2017-08-30 Florian Weimer <fweimer@redhat.com>
15970 * malloc/malloc.c (malloc_printerr): Always terminate the process,
15971 without printing a backtrace. Do not leak any information in the
15973 * manual/memory.texi (Heap Consistency Checking): Update.
15974 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
15976 2017-08-30 Florian Weimer <fweimer@redhat.com>
15978 Do not scale NPTL tests with available number of CPUs.
15979 * nptl/tst-cond16.c (count): Set to constant value of 8.
15980 * nptl/tst-cond18.c (count): Likewise.
15982 2017-08-29 Joseph Myers <joseph@codesourcery.com>
15985 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
15986 Define to take a second argument that is a macro that
15987 concatentates a suffix, not the suffix itself.
15988 (__CONCAT_d): New macro.
15989 (__CONCAT_f): Likewise.
15990 (__CONCAT_l): Likewise.
15992 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
15994 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
15997 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15998 Aurelien Jarno <aurelien@aurel32.net>
15999 Maciej W. Rozycki <macro@imgtec.com>
16002 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
16003 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
16004 `mips16-syscall6' and `mips16-syscall7'.
16005 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
16006 (CFLAGS-mips16-syscall7.c): Remove.
16007 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
16008 Remove `__mips16_syscall5', `__mips16_syscall6' and
16009 `__mips16_syscall7'.
16010 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
16011 (__mips16_syscall0): Rename `__mips16_syscall_return' to
16012 `__mips_syscall_return'.
16013 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
16014 (__mips16_syscall1): Likewise.
16015 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
16016 (__mips16_syscall2): Likewise.
16017 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
16018 (__mips16_syscall3): Likewise.
16019 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
16020 (__mips16_syscall4): Likewise.
16021 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
16023 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
16025 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
16027 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
16028 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
16029 `__mips16_syscall5'. Remove prototype.
16030 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
16031 `__mips16_syscall6'. Remove prototype.
16032 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
16033 `__mips16_syscall7'. Remove prototype.
16034 (__nomips16, __mips16_syscall_return): Move to...
16035 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
16036 (__nomips16, __mips_syscall_return): ... here.
16037 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
16038 `__mips16_syscall_return' to `__mips_syscall_return'.
16039 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
16040 `internal_syscall##nr'.
16041 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
16042 `internal_syscall##nr'.
16043 (FORCE_FRAME_POINTER): Remove.
16044 (__mips_syscall5): New prototype.
16045 (internal_syscall5): Rewrite to call `__mips_syscall5'.
16046 (__mips_syscall6): New prototype.
16047 (internal_syscall6): Rewrite to call `__mips_syscall6'.
16048 (__mips_syscall7): New prototype.
16049 (internal_syscall7): Rewrite to call `__mips_syscall7'.
16050 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
16051 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
16052 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
16053 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
16054 (sysdep_routines): Add libc-do-syscall.
16055 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
16056 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
16058 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16061 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
16062 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
16063 (advise_stack_range): New function.
16064 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
16065 stack non required to advise_stack_range at allocatestack.c
16067 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
16069 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
16071 2017-08-29 Florian Weimer <fweimer@redhat.com>
16074 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
16075 __end_fct. Mangle __end_fct after setting it to NULL.
16076 * iconv/Makefile (tests): Add tst-gconv-init-failure.
16077 (modules-names, modules-names-tests): Add
16078 tst-gconv-init-failure-mod.
16079 (gconv-modules): New target.
16080 (tst-gconv-init-failure-mod.so): Link against libsupport.
16081 (tst-gconv-init-failure): Depend on gconv-modules,
16082 tst-gconv-init-failure-mod.so.
16083 * iconv/tst-gconv-init-failure-mod.c: New file.
16084 * iconv/tst-gconv-init-failure.c: Likewise.
16085 * iconv/test-gconv-modules: Likewise.
16087 2017-08-29 Florian Weimer <fweimer@redhat.com>
16090 * iconv/gconv_db.c (free_derivation): Remove redundant
16092 (gen_steps): Unconditionally mangle __btowc_fct after
16094 (increment_counter): Likewise. Do not call init_fct for internal
16097 2017-08-29 Joseph Myers <joseph@codesourcery.com>
16100 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
16101 (_MSUF_): Remove macro.
16102 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
16104 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
16105 (__REDIRFROM_X): New macro.
16106 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
16108 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
16109 (__REDIRTO_X): Likewise.
16110 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
16112 (__MATH_REDIRCALL_2): Likewise.
16113 (__MATH_REDIRCALL_INTERNAL): Likewise.
16114 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
16115 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
16116 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
16117 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
16118 * math/test-finite-macros.c: New file.
16119 * math/Makefile (tests): Add test-finite-macros.
16120 (CFLAGS-test-finite-macros.c): New variable.
16122 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
16123 Jeff Law <law@redhat.com>
16126 Mangle NULL pointers in iconv/gconv.
16127 * iconv/gconv_cache.c (find_module): Demangle init_fct before
16128 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
16129 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
16130 is non-NULL before demangling the end_fct. Check for NULL
16131 end_fct after demangling.
16132 (__gconv_release_step): Demangle the end_fct before checking
16133 it for NULL. Remove assert on __shlibc_handle != NULL.
16134 (gen_steps): Don't check btowc_fct for NULL before mangling.
16135 Demangle init_fct before checking for NULL.
16136 (increment_counter): Likewise.
16137 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
16138 end_fct for NULL before mangling.
16139 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
16142 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
16145 * locale/iso-639.def: add Morisyen.
16147 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16150 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
16151 (iszero): New C++ implementation that does not use
16152 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
16153 signaling nans are enabled, since __builtin_types_compatible_p
16154 is a C-only feature.
16155 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
16156 defined, include ieee754_float128.h for access to the union and
16157 member ieee854_float128.ieee.
16158 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
16159 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
16160 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
16161 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
16162 options of test-math-zero on powerpc64le.
16164 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
16166 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
16167 Change double to float.
16169 2017-08-28 Joseph Myers <joseph@codesourcery.com>
16171 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
16173 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
16174 conditional code; define contents only for [LIBM_SVID_COMPAT].
16176 2017-08-28 Florian Weimer <fweimer@redhat.com>
16178 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
16179 (abi-lp64_be-options): Remove.
16180 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
16181 (abi-hard-options): Likewise.
16182 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
16183 (abi-o32_hard-options, abi-o32_soft_2008-options)
16184 (abi-o32_hard_2008-options, abi-n32_soft-options)
16185 (abi-n32_hard-options, abi-n32_soft_2008-options)
16186 (abi-n32_hard_2008-options, abi-n64_soft-options)
16187 (abi-n64_hard-options, abi-n64_soft_2008-options)
16188 (abi-n64_hard_2008-options): Likewise.
16189 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
16190 (abi-64-v1-options, abi-64-v2-options): Likewise.
16191 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
16192 (abi-64-options): Likewise.
16193 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
16194 (abi-64-options): Likewise.
16195 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
16196 (abi-64-options): Likewise.
16197 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
16198 (abi-64-options, abi-x32-options): Likewise.
16200 2017-08-28 Florian Weimer <fweimer@redhat.com>
16202 Store supported list of SYS_* system calls in the source tree.
16203 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
16204 (bits/syscall.h): Generate from list file.
16205 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
16206 [$(subdir) = misc] (tests): Add tst-syscall-list.
16207 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
16208 [$(subdir) = misc] (tst-syscall-list-macros.list)
16209 [$(subdir) = misc] (tst-syscall-list-nr.list)
16210 (tst-syscall-list-sys.list): Helper targets for new
16211 tst-syscall-list test.
16212 [$(subdir) = misc] (tst-syscall-list.out): Run test script
16213 tst-syscall-list.sh.
16214 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
16215 target. Do not include bits/syscall.d.
16216 [$(subdir) = misc] (generated): Do not update.
16217 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
16218 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
16219 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
16220 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
16222 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
16224 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
16225 (tst-cxa_atexit, tst-on_exit): Likewise.
16226 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
16227 tst-cxa_atexit, and tst-on_exit.
16228 * stdlib/tst-atexit-common.c: New file.
16229 * stdlib/tst-atexit.c: New file.
16230 * stdlib/tst-at_quick_exit.c: New file.
16231 * stdlib/tst-cxa_atexit.c: New file.
16232 * stdlib/tst-on_exit.c: New file.
16234 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16236 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
16237 * mach/stack_chk_fail_local.c: New file.
16238 * hurd/stack_chk_fail_local.c: New file.
16239 * mach/Machrules ($(interface-library)-routines): Add
16240 stack_chk_fail_local.
16241 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
16242 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
16243 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
16244 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
16245 * hurd/Makefile (CFLAGS-hurdstartup.o,
16246 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
16248 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
16250 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
16251 (index_cpu_*, index_arch_*): Removed.
16253 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
16255 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
16256 Use uint64_t instead of unsigned long.
16258 2017-08-25 Joseph Myers <joseph@codesourcery.com>
16260 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
16261 [__HAVE_DISTINCT_FLOAT128].
16263 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
16264 of <bits/math-finite.h>.
16265 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
16266 inclusion of <bits/math-finite.h>.
16267 * math/bits/math-finite.h (__REDIRTO_X): Do not define
16268 conditionally on [__MATH_DECLARING_LDOUBLE && defined
16269 __NO_LONG_DOUBLE_MATH].
16270 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
16271 (__MATH_REDIRCALL_2): Likewise.
16272 (__MATH_REDIRCALL_INTERNAL): Likewise.
16273 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
16274 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
16275 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
16277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
16279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
16281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
16283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
16285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
16287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
16289 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
16290 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
16291 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
16292 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
16293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16294 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
16295 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
16296 w_sqrtf_compat-ppc32.
16298 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16300 * math/math.h [defined __cplusplus] (issignaling): In the long
16301 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
16302 is not defined. Call __issignaling, otherwise.
16304 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16306 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
16307 syscall definitions and replace __builtin_expect with __glibc_likely.
16308 * sysdeps/unix/syscall-template.S: Update comment about cancellable
16310 (SYSCALL_CANCELLABLE): Removedefinition
16311 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
16313 (PSEUDO_END): Likewise.
16314 [IS_IN (libpthread)] (CENABLE): Likewise.
16315 [IS_IN (libpthread)] (CDISABLE): Likewise.
16316 [IS_IN (libc)] (CENABLE): Likewise.
16317 [IS_IN (libc)] (CENABLE): Likewise.
16318 [IS_IN (librt)] (CDISABLE): Likewise.
16319 [IS_IN (librt)] (CDISABLE): Likewise.
16320 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16321 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
16323 (PSEUDO_END): Likewise.
16324 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
16325 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
16326 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
16327 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
16328 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
16329 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
16330 (CENABLE): Likewise.
16331 (CDISABLE): Likewise.
16332 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16333 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
16335 (PSEUDO_END): Likewise.
16336 [IS_IN (libpthread)] (CENABLE): Likewise.
16337 [IS_IN (libpthread)] (CDISABLE): Likewise.
16338 [IS_IN (libc)] (CENABLE): Likewise.
16339 [IS_IN (libc)] (CENABLE): Likewise.
16340 [IS_IN (librt)] (CDISABLE): Likewise.
16341 [IS_IN (librt)] (CDISABLE): Likewise.
16342 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16343 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
16345 (PSEUDO_END): Likewise.
16346 [IS_IN (libpthread)] (CENABLE): Likewise.
16347 [IS_IN (libpthread)] (CDISABLE): Likewise.
16348 [IS_IN (libc)] (CENABLE): Likewise.
16349 [IS_IN (libc)] (CENABLE): Likewise.
16350 [IS_IN (librt)] (CDISABLE): Likewise.
16351 [IS_IN (librt)] (CDISABLE): Likewise.
16352 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16353 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
16355 (PSEUDO_END): Likewise.
16356 [IS_IN (libpthread)] (CENABLE): Likewise.
16357 [IS_IN (libpthread)] (CDISABLE): Likewise.
16358 [IS_IN (libc)] (CENABLE): Likewise.
16359 [IS_IN (libc)] (CENABLE): Likewise.
16360 [IS_IN (librt)] (CDISABLE): Likewise.
16361 [IS_IN (librt)] (CDISABLE): Likewise.
16362 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16363 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
16365 (PSEUDO_END): Likewise.
16366 [IS_IN (libpthread)] (CENABLE): Likewise.
16367 [IS_IN (libpthread)] (CDISABLE): Likewise.
16368 [IS_IN (libc)] (CENABLE): Likewise.
16369 [IS_IN (libc)] (CENABLE): Likewise.
16370 [IS_IN (librt)] (CDISABLE): Likewise.
16371 [IS_IN (librt)] (CDISABLE): Likewise.
16372 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16373 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
16375 (PSEUDO_END): Likewise.
16376 [IS_IN (libpthread)] (CENABLE): Likewise.
16377 [IS_IN (libpthread)] (CDISABLE): Likewise.
16378 [IS_IN (libc)] (CENABLE): Likewise.
16379 [IS_IN (libc)] (CENABLE): Likewise.
16380 [IS_IN (librt)] (CDISABLE): Likewise.
16381 [IS_IN (librt)] (CDISABLE): Likewise.
16382 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16383 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
16385 (PSEUDO_END): Likewise.
16386 [IS_IN (libpthread)] (CENABLE): Likewise.
16387 [IS_IN (libpthread)] (CDISABLE): Likewise.
16388 [IS_IN (libc)] (CENABLE): Likewise.
16389 [IS_IN (libc)] (CENABLE): Likewise.
16390 [IS_IN (librt)] (CDISABLE): Likewise.
16391 [IS_IN (librt)] (CDISABLE): Likewise.
16392 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16393 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
16395 (PSEUDO_END): Likewise.
16396 [IS_IN (libpthread)] (CENABLE): Likewise.
16397 [IS_IN (libpthread)] (CDISABLE): Likewise.
16398 [IS_IN (libc)] (CENABLE): Likewise.
16399 [IS_IN (libc)] (CENABLE): Likewise.
16400 [IS_IN (librt)] (CDISABLE): Likewise.
16401 [IS_IN (librt)] (CDISABLE): Likewise.
16402 (SINGLE_THREAD_P): Likewise.
16403 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
16405 (PSEUDO_END): Likewise.
16406 [IS_IN (libpthread)] (CENABLE): Likewise.
16407 [IS_IN (libpthread)] (CDISABLE): Likewise.
16408 [IS_IN (libc)] (CENABLE): Likewise.
16409 [IS_IN (libc)] (CENABLE): Likewise.
16410 [IS_IN (librt)] (CDISABLE): Likewise.
16411 [IS_IN (librt)] (CDISABLE): Likewise.
16412 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16413 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
16415 (PSEUDO_END): Likewise.
16416 [IS_IN (libpthread)] (CENABLE): Likewise.
16417 [IS_IN (libpthread)] (CDISABLE): Likewise.
16418 [IS_IN (libc)] (CENABLE): Likewise.
16419 [IS_IN (libc)] (CENABLE): Likewise.
16420 [IS_IN (librt)] (CDISABLE): Likewise.
16421 [IS_IN (librt)] (CDISABLE): Likewise.
16422 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16423 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
16424 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16425 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
16426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
16428 (PSEUDO_END): Likewise.
16429 [IS_IN (libpthread)] (CENABLE): Likewise.
16430 [IS_IN (libpthread)] (CDISABLE): Likewise.
16431 [IS_IN (libc)] (CENABLE): Likewise.
16432 [IS_IN (libc)] (CENABLE): Likewise.
16433 [IS_IN (librt)] (CDISABLE): Likewise.
16434 [IS_IN (librt)] (CDISABLE): Likewise.
16435 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16436 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
16438 (PSEUDO_END): Likewise.
16439 [IS_IN (libpthread)] (CENABLE): Likewise.
16440 [IS_IN (libpthread)] (CDISABLE): Likewise.
16441 [IS_IN (libc)] (CENABLE): Likewise.
16442 [IS_IN (libc)] (CENABLE): Likewise.
16443 [IS_IN (librt)] (CDISABLE): Likewise.
16444 [IS_IN (librt)] (CDISABLE): Likewise.
16445 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16446 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
16448 (PSEUDO_END): Likewise.
16449 [IS_IN (libpthread)] (CENABLE): Likewise.
16450 [IS_IN (libpthread)] (CDISABLE): Likewise.
16451 [IS_IN (libc)] (CENABLE): Likewise.
16452 [IS_IN (libc)] (CENABLE): Likewise.
16453 [IS_IN (librt)] (CDISABLE): Likewise.
16454 [IS_IN (librt)] (CDISABLE): Likewise.
16455 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
16457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16458 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
16459 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
16461 (PSEUDO_END): Likewise.
16462 [IS_IN (libpthread)] (CENABLE): Likewise.
16463 [IS_IN (libpthread)] (CDISABLE): Likewise.
16464 [IS_IN (libc)] (CENABLE): Likewise.
16465 [IS_IN (libc)] (CENABLE): Likewise.
16466 [IS_IN (librt)] (CDISABLE): Likewise.
16467 [IS_IN (librt)] (CDISABLE): Likewise.
16468 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16469 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
16471 (PSEUDO_END): Likewise.
16472 [IS_IN (libpthread)] (CENABLE): Likewise.
16473 [IS_IN (libpthread)] (CDISABLE): Likewise.
16474 [IS_IN (libc)] (CENABLE): Likewise.
16475 [IS_IN (libc)] (CENABLE): Likewise.
16476 [IS_IN (librt)] (CDISABLE): Likewise.
16477 [IS_IN (librt)] (CDISABLE): Likewise.
16478 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16480 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16482 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
16484 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
16486 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16488 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
16491 * string/stratcliff.c (do_test): Declare size, nchars, inner,
16492 middle and outer with size_t instead of int. Repleace %d and
16493 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
16494 "MAX (outer, nchars - 64)" to support unsigned outer and
16495 nchars. Also exit loop when outer == 0.
16497 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16499 * include/fcntl.h (__fcntl_nocancel): Remove definition.
16500 * include/signal.h (__sigsuspend_nocancel): Likewise.
16501 * include/time.h (__nanosleep_nocancel): Likewise.
16502 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
16503 * login/utmp_file.c: Include non cancellable syscall header.
16504 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
16507 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
16509 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
16510 .byte sequences with AVX512F instructions.
16511 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
16512 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16513 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16514 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
16516 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16519 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
16520 Steve Ellcey <sellcey@cavium.com>
16522 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
16523 Use PTR_REG macro in cmp instruction.
16525 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16527 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
16528 Change the return type of the ifunc resolver to match the return
16529 type of the target function.
16531 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16533 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
16534 (preadv64): Likewise.
16535 (pwrite64(: Likewise.
16536 (pwritev64): Likewise.
16538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16539 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
16540 (LOAD_ARGS_0): Likewise.
16541 (LOAD_ARGS_1): Likewise.
16542 (LOAD_ARGS_2): Likewise.
16543 (LOAD_ARGS_3): Likewise.
16544 (LOAD_ARGS_4): Likewise.
16545 (LOAD_ARGS_5): Likewise.
16546 (LOAD_ARGS_6): Likewise.
16547 (LOAD_REGS_0): Likewise.
16548 (LOAD_REGS_1): Likewise.
16549 (LOAD_REGS_2): Likewise.
16550 (LOAD_REGS_3): Likewise.
16551 (LOAD_REGS_4): Likewise.
16552 (LOAD_REGS_5): Likewise.
16553 (LOAD_REGS_6): Likewise.
16554 (ASM_ARGS_0): Likewise.
16555 (ASM_ARGS_1): Likewise.
16556 (ASM_ARGS_2): Likewise.
16557 (ASM_ARGS_3): Likewise.
16558 (ASM_ARGS_4): Likewise.
16559 (ASM_ARGS_5): Likewise.
16560 (ASM_ARGS_6): Likewise.
16561 (LOAD_ARGS_TYPES_1): Likewise.
16562 (LOAD_ARGS_TYPES_2): Likewise.
16563 (LOAD_ARGS_TYPES_3): Likewise.
16564 (LOAD_ARGS_TYPES_4): Likewise.
16565 (LOAD_ARGS_TYPES_5): Likewise.
16566 (LOAD_ARGS_TYPES_6): Likewise.
16567 (LOAD_REGS_TYPES_1): Likewise.
16568 (LOAD_REGS_TYPES_2): Likewise.
16569 (LOAD_REGS_TYPES_3): Likewise.
16570 (LOAD_REGS_TYPES_4): Likewise.
16571 (LOAD_REGS_TYPES_5): Likewise.
16572 (LOAD_REGS_TYPES_6): Likewise.
16573 (TYPEFY): New define.
16574 (ARGIFY): Likewise.
16575 (internal_syscall0): Likewise.
16576 (internal_syscall1): Likewise.
16577 (internal_syscall2): Likewise.
16578 (internal_syscall3): Likewise.
16579 (internal_syscall4): Likewise.
16580 (internal_syscall5): Likewise.
16581 (internal_syscall6): Likewise.
16582 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
16583 (INTERNAL_SYSCALL_NCS): Remove define.
16584 (internal_syscall1): Add define.
16586 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16588 * math/w_remainder_compat.c: Remove duplicate inclusion of
16589 math-svid-compat.h.
16590 * math/w_remainderf_compat.c: Likewise.
16591 * math/w_remainderl_compat.c: Likewise.
16593 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16597 2017-08-22 Joseph Myers <joseph@codesourcery.com>
16600 * math/tgmath.h (__floating_type): Simplify definitions.
16601 (__real_integer_type): New macro.
16602 (__complex_integer_type): Likewise.
16603 (__expr_is_real): Likewise.
16604 (__tgmath_real_type_sub): Update comment to describe handling of
16606 (__tgmath_complex_type_sub): New macro.
16607 (__tgmath_complex_type): Likewise.
16608 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16609 (__TGMATH_CF128): Use __expr_is_real.
16610 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
16612 (__TGMATH_BINARY_REAL_IMAG): Likewise.
16613 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
16614 * math/gen-tgmath-tests.py (Type.create_type): Create complex
16617 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16619 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
16621 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
16623 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
16626 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
16627 nanosleep_not_cancel with __nanosleep_nocancel.
16628 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
16629 (__nanosleep_nocancel): New macro.
16630 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
16632 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
16634 (__nanosleep_nocancel): New prototype.
16636 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
16637 pause_not_cancel with __pause_nocancel.
16638 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
16639 (__pause_nocancel): New macro.
16640 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
16642 (__pause_nocancel): New prototype.
16643 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
16645 2017-08-22 Martin Sebor <msebor@redhat.com>
16647 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
16648 to return a pointer to the same type as the target function.
16650 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
16654 * include/printf.h (__printf_fphex): Add attribute_hidden.
16655 (__guess_grouping): New prototype.
16656 * stdio-common/printf_fp.c (__guess_grouping): Removed.
16657 * stdio-common/reg-printf.c (__register_printf_specifier): Add
16658 libc_hidden_proto and libc_hidden_def.
16659 * stdlib/strfmon_l.c (__guess_grouping): Removed.
16660 (__vstrfmon_l): Remove the third argument passed to
16663 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16665 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
16666 definition for issignaling that does not rely on __MATH_TG,
16667 since __MATH_TG uses __builtin_types_compatible_p, which is only
16668 available in C mode.
16669 (CFLAGS-test-math-issignaling.cc): New variable.
16670 * math/Makefile [CXX] (tests): Add test-math-issignaling.
16671 * math/test-math-issignaling.cc: New test for C++ implementation
16672 of type-generic issignaling.
16673 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
16674 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
16675 options of test-math-issignaling on powerpc64le.
16677 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
16679 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16681 (hidden_proto): Likewise.
16682 (hidden_tls_proto): Likewise.
16683 (__hidden_proto): Likewise.
16685 2017-08-22 Florian Weimer <fweimer@redhat.com>
16687 math: Statically link tests of internal functionality.
16688 * math/Makefile (tests): Remove atest-exp, atest-sincos,
16690 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
16691 (gmp-objs): Remove assignment.
16692 (atest-exp, atest-sincos, atest-exp2): Remove targets.
16694 2017-08-22 Joseph Myers <joseph@codesourcery.com>
16697 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
16699 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
16701 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
16704 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
16705 variable definitions above inclusion of ../Rules.
16707 2017-08-21 Joseph Myers <joseph@codesourcery.com>
16709 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
16710 case calling __builtin_unreachable.
16712 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16714 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
16715 __waitpid_nocancel.
16716 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
16717 (__waitpid_nocancel): New macro.
16718 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
16720 (__waitpid_nocancel): Replace macro with a function.
16721 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
16724 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
16726 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
16727 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
16729 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
16730 __writev_nocancel_nostatus.
16731 (write_call_graph): Likewise.
16732 (write_bb_counts): Likewise.
16733 * resolv/herror.c (herror): Likewise.
16734 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
16736 (__writev_nocancel_nostatus): New macro.
16737 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
16739 (__writev_nocancel_nostatus): New function.
16741 2017-08-21 Joseph Myers <joseph@codesourcery.com>
16744 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16746 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16748 (hidden_proto): Likewise.
16749 (hidden_tls_proto): Likewise.
16750 (__hidden_proto): Likewise.
16753 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
16754 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
16755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
16757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
16759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
16761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
16763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
16764 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
16765 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
16766 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
16767 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16768 GLIBC_2.0 sqrtl symbol.
16770 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
16771 [__USE_MISC] (_LIB_VERSION): Likewise.
16772 [__USE_MISC] (struct exception): Likewise.
16773 [__USE_MISC] (matherr): Likewise.
16774 [__USE_MISC] (DOMAIN): Likewise.
16775 [__USE_MISC] (SING): Likewise.
16776 [__USE_MISC] (OVERFLOW): Likewise.
16777 [__USE_MISC] (UNDERFLOW): Likewise.
16778 [__USE_MISC] (TLOSS): Likewise.
16779 [__USE_MISC] (PLOSS): Likewise.
16780 [__USE_MISC] (HUGE): Likewise.
16781 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
16782 * math/math-svid-compat.h: New file.
16783 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
16785 * include/math.h [!_ISOMAC] (__matherr): Remove.
16786 * manual/arith.texi (FP Exceptions): Do not document matherr.
16787 * math/Makefile (tests): Change test-matherr to test-matherr-3.
16788 (tests-internal): New variable.
16789 (install-lib): Do not add libieee.a.
16790 (non-lib.a): Likewise.
16791 (extra-objs): Do not add libieee.a and ieee-math.o.
16792 (CPPFLAGS-s_lib_version.c): Remove variable.
16793 ($(objpfx)libieee.a): Remove rule.
16794 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
16795 * math/ieee-math.c: Remove.
16796 * math/libm-test-support.c (matherr): Remove.
16797 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
16798 and license notices. Include <math-svid-compat.h> and
16800 (matherr): Undefine as macro. Use compat_symbol_reference.
16801 (_LIB_VERSION): Likewise.
16802 * math/test-matherr-2.c: New file.
16803 * math/test-matherr-3.c: Likewise.
16804 * sysdeps/generic/math_private.h (__kernel_standard): Remove
16806 (__kernel_standard_f): Likewise.
16807 (__kernel_standard_l): Likewise.
16808 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
16809 <math_private.h>. Include <math-svid-compat.h>.
16810 (_LIB_VERSION): Undefine as macro.
16811 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
16812 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
16813 [LIBM_SVID_COMPAT], use compat_symbol.
16814 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
16815 <math_private.h>. Include <math-svid-compat.h>.
16816 (matherr): Undefine as macro.
16817 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
16819 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
16820 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
16821 compat_symbol_reference.
16822 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
16823 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
16824 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
16825 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
16826 (MATHERR_D): Remove declaration.
16827 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
16828 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
16829 [LIBM_BUILD] (pmatherrf): Likewise.
16830 [LIBM_BUILD] (pmatherr): Likewise.
16831 [LIBM_BUILD] (pmatherrl): Likewise.
16832 (DOMAIN): Likewise.
16834 (OVERFLOW): Likewise.
16835 (UNDERFLOW): Likewise.
16838 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
16839 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
16841 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
16842 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
16844 * math/lgamma-compat.h: Include <math-svid-compat.h>.
16845 * math/w_acos_compat.c: Likewise.
16846 * math/w_acosf_compat.c: Likewise.
16847 * math/w_acosh_compat.c: Likewise.
16848 * math/w_acoshf_compat.c: Likewise.
16849 * math/w_acoshl_compat.c: Likewise.
16850 * math/w_acosl_compat.c: Likewise.
16851 * math/w_asin_compat.c: Likewise.
16852 * math/w_asinf_compat.c: Likewise.
16853 * math/w_asinl_compat.c: Likewise.
16854 * math/w_atan2_compat.c: Likewise.
16855 * math/w_atan2f_compat.c: Likewise.
16856 * math/w_atan2l_compat.c: Likewise.
16857 * math/w_atanh_compat.c: Likewise.
16858 * math/w_atanhf_compat.c: Likewise.
16859 * math/w_atanhl_compat.c: Likewise.
16860 * math/w_cosh_compat.c: Likewise.
16861 * math/w_coshf_compat.c: Likewise.
16862 * math/w_coshl_compat.c: Likewise.
16863 * math/w_exp10_compat.c: Likewise.
16864 * math/w_exp10f_compat.c: Likewise.
16865 * math/w_exp10l_compat.c: Likewise.
16866 * math/w_exp2_compat.c: Likewise.
16867 * math/w_exp2f_compat.c: Likewise.
16868 * math/w_exp2l_compat.c: Likewise.
16869 * math/w_fmod_compat.c: Likewise.
16870 * math/w_fmodf_compat.c: Likewise.
16871 * math/w_fmodl_compat.c: Likewise.
16872 * math/w_hypot_compat.c: Likewise.
16873 * math/w_hypotf_compat.c: Likewise.
16874 * math/w_hypotl_compat.c: Likewise.
16875 * math/w_j0_compat.c: Likewise.
16876 * math/w_j0f_compat.c: Likewise.
16877 * math/w_j0l_compat.c: Likewise.
16878 * math/w_j1_compat.c: Likewise.
16879 * math/w_j1f_compat.c: Likewise.
16880 * math/w_j1l_compat.c: Likewise.
16881 * math/w_jn_compat.c: Likewise.
16882 * math/w_jnf_compat.c: Likewise.
16883 * math/w_jnl_compat.c: Likewise.
16884 * math/w_lgamma_main.c: Likewise.
16885 * math/w_lgamma_r_compat.c: Likewise.
16886 * math/w_lgammaf_main.c: Likewise.
16887 * math/w_lgammaf_r_compat.c: Likewise.
16888 * math/w_lgammal_main.c: Likewise.
16889 * math/w_lgammal_r_compat.c: Likewise.
16890 * math/w_log10_compat.c: Likewise.
16891 * math/w_log10f_compat.c: Likewise.
16892 * math/w_log10l_compat.c: Likewise.
16893 * math/w_log2_compat.c: Likewise.
16894 * math/w_log2f_compat.c: Likewise.
16895 * math/w_log2l_compat.c: Likewise.
16896 * math/w_log_compat.c: Likewise.
16897 * math/w_logf_compat.c: Likewise.
16898 * math/w_logl_compat.c: Likewise.
16899 * math/w_pow_compat.c: Likewise.
16900 * math/w_powf_compat.c: Likewise.
16901 * math/w_powl_compat.c: Likewise.
16902 * math/w_remainder_compat.c: Likewise.
16903 * math/w_remainderf_compat.c: Likewise.
16904 * math/w_remainderl_compat.c: Likewise.
16905 * math/w_scalb_compat.c: Likewise.
16906 * math/w_scalbf_compat.c: Likewise.
16907 * math/w_scalbl_compat.c: Likewise.
16908 * math/w_sinh_compat.c: Likewise.
16909 * math/w_sinhf_compat.c: Likewise.
16910 * math/w_sinhl_compat.c: Likewise.
16911 * math/w_sqrt_compat.c: Likewise.
16912 * math/w_sqrtf_compat.c: Likewise.
16913 * math/w_sqrtl_compat.c: Likewise.
16914 * math/w_tgamma_compat.c: Likewise.
16915 * math/w_tgammaf_compat.c: Likewise.
16916 * math/w_tgammal_compat.c: Likewise.
16917 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
16918 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
16919 * sysdeps/ieee754/k_standard.c: Likewise.
16920 * sysdeps/ieee754/k_standardf.c: Likewise.
16921 * sysdeps/ieee754/k_standardl.c: Likewise.
16922 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
16923 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
16924 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
16925 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
16926 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
16927 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
16928 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
16929 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
16930 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
16931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
16933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
16935 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
16936 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
16937 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
16938 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
16940 2017-08-21 Florian Weimer <fweimer@redhat.com>
16943 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
16944 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
16945 Move before inclusion of ../Rules.
16947 2017-08-21 Florian Weimer <fweimer@redhat.com>
16950 * assert/assert.h (assert): Use static_cast (bool) for C++.
16951 Use the ternary operator in the warning branch for GNU C.
16952 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
16953 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
16954 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
16955 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
16956 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
16958 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16961 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16962 (__syscall_clock_gettime): Add attribute_hidden.
16963 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
16964 (__start_context): Likewise.
16966 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16968 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16970 (hidden_proto): Likewise.
16971 (hidden_tls_proto): Likewise.
16972 (__hidden_proto): Likewise.
16974 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16976 * include/libc-symbols.h (attribute_hidden): Enable hidden
16977 visibility in libc.a compiled with PIE.
16979 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16982 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
16983 Add attribute_hidden.
16985 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16988 * Makerules (all-nonlib): Add $(others-extras).
16989 * catgets/Makefile (others-extras): New.
16990 * elf/Makefile (others-extras): Likewise.
16991 * nss/Makefile (others-extras): Likewise.
16993 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16996 * csu/libc-start.c (__libc_multiple_libcs): Removed.
16997 * elf/dl-open.c: Include <libc-internal.h>.
16998 (__libc_multiple_libcs): Removed.
16999 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
17001 * include/libc-internal.h (__libc_multiple_libcs): New.
17002 * misc/sbrk.c: Include <libc-internal.h>.
17003 (__libc_multiple_libcs): Removed.
17005 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17008 * grp/initgroups.c (__nss_group_database): Removed.
17009 (__nss_initgroups_database): Likewise.
17010 * nscd/gai.c (__nss_hosts_database): Likewise.
17011 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
17012 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17013 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17014 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17015 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
17016 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
17018 * nss/nsswitch.c (__nss_database_custom): Define only if
17019 USE_NSCD is defined.
17020 (__nss_configure_lookup): Use __nss_database_custom only if
17021 USE_NSCD is defined.
17022 * nss/nsswitch.h (__nss_database_custom): Declare only if
17023 USE_NSCD is defined. Add attribute_hidden.
17024 (__nss_setent): Add attribute_hidden.
17025 (__nss_endent): Likewise.
17026 (__nss_getent_r): Likewise.
17027 (__nss_getent): Likewise.
17028 (DEFINE_DATABASE): Declare __nss_##arg##_database.
17030 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17033 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
17034 libc_hidden_proto and libc_hidden_def.
17036 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17039 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
17040 Add libc_hidden_proto.
17041 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
17042 Add libc_hidden_def.
17044 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17047 * gmon/Makefile (routines): Remove bb_init_func and
17049 (elide-routines.os): Removed.
17050 * gmon/bb_exit_func.c: Likewise.
17051 * gmon/bb_init_func.c: Likewise.
17052 * include/sys/gmon.h (__bb): Likewise.
17053 (__bb_init_func): Likewise.
17054 (__bb_exit_func): Likewise.
17055 * sysdeps/alpha/bb_init_func.S: Likewise.
17057 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17059 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
17060 * include/setjmp.h (____longjmp_chk): Here. Add
17063 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
17066 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
17068 (__strspn_sse2): Likewise.
17070 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17072 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
17073 (close_not_cancel_no_status): Likewise.
17074 (__close_nocancel): New macro.
17075 (__close_nocancel_nostatus): Likewise.
17076 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
17078 (close_not_cancel): Likewise.
17079 (close_not_cancel_no_status): Likewise.
17080 (__close_nocancel): New prototype.
17081 (__close_nocancel_nostatus): New function.
17082 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
17083 * catgets/open_catalog.c (__open_catalog): Replace
17084 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
17085 * gmon/gmon.c (write_gmon): Likewise.
17086 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17087 * intl/loadmsgcat.c (close): Likewise.
17088 * io/ftw.c (open_dir_stream): Likewise.
17089 (ftw_startup): Likewise.
17090 * libio/fileops.c (_IO_file_open): Likewise.
17091 (_IO_file_close_mmap): Likewise.
17092 (_IO_file_close): Likewise.
17093 * libio/iopopen.c (_IO_dup2): Likewise.
17094 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17095 * locale/loadlocale.c (_nl_load_locale): Likewise.
17096 * login/utmp_file.c (pututline_file): Likewise.
17097 (endutent_file): Likewise.
17098 * misc/daemon.c (daemon): Likewise.
17099 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17100 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17101 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
17102 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17103 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17104 * nscd/nscd_helper.c (open_socket): Likewise.
17105 (__nscd_open_socket): Likewise.
17106 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17107 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
17108 (__nscd_innetgr): Likewise.
17109 * nss/nss_db/db-open.c (internal_setent): Likewise.
17110 * resolv/res-close.c (__res_iclose): Likewise.
17111 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
17112 * sysdeps/posix/closedir.c (__closedir): Likewise.
17113 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
17114 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17115 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
17116 (opendir_tail): Likewise.
17117 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
17118 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
17119 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17120 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17121 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
17122 (gethostid): Likewise.
17123 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
17124 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17127 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
17128 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
17129 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
17131 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
17132 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
17133 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
17135 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
17136 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17138 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17140 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
17141 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
17142 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
17145 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
17146 (openat_not_cancel_3): Likewise.
17147 (openat64_not_cancel_3): Likewise).
17148 (openat_not_cancel_3): Likewise).
17149 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
17151 (openat_not_cancel_3): Likewise.
17152 (openat64_not_cancel): Likewise.
17153 (openat64_not_cancel_3): Likewise.
17154 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
17155 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
17156 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
17157 __open{64}_nocancel.
17158 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
17159 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17160 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17162 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
17165 * include/argz.h (__argz_create_sep): New function prototype.
17166 (__argz_append): Likewise.
17167 (__argz_add): Likewise.
17168 (__argz_add_sep): Likewise.
17169 (__argz_delete): Likewise.
17170 (__argz_insert): Likewise.
17171 (__argz_replace): Likewise.
17172 * string/argz.h (__argz_create_sep): Removed.
17173 (__argz_append): Likewise.
17174 (__argz_add): Likewise.
17175 (__argz_add_sep): Likewise.
17176 (__argz_delete): Likewise.
17177 (__argz_insert): Likewise.
17178 (__argz_replace): Likewise.
17180 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
17182 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
17183 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
17184 (GNU_PROPERTY_STACK_SIZE): Likewie.
17185 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
17186 (GNU_PROPERTY_LOPROC): Likewise.
17187 (GNU_PROPERTY_HIPROC): Likewise.
17188 (GNU_PROPERTY_LOUSER): Likewise.
17189 (GNU_PROPERTY_HIUSER): Likewise.
17190 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
17191 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
17192 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
17193 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
17194 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
17195 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
17196 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
17197 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
17198 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
17199 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
17200 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
17201 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
17202 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
17203 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
17204 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
17205 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
17206 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
17207 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
17208 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
17209 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
17210 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
17211 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
17212 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
17214 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17216 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
17219 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17222 * math/math.h (isinf): Check if in C or C++ mode before using
17223 __builtin_types_compatible_p, since this is a C mode feature.
17225 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17227 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
17228 (__write_nocancel): New macro.
17229 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
17230 Rewrite as a function prototype.
17231 (write_not_cancel): Remove macro.
17232 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
17233 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
17234 (write_gmon): Likewise.
17235 * libio/fileops.c (_IO_new_file_write): Likewise.
17236 * login/utmp_file.c (pututline_file): Likewise.
17237 (updwtmp_file): Likewise.
17238 * stdio-common/psiginfo.c (psiginfo): Likewise.
17239 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
17240 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
17241 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
17243 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17246 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
17247 (__read_nocancel): New macro.
17248 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
17250 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
17252 (__read_nocancel): New prototype.
17253 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
17254 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
17255 with __read_nocancel.
17256 * intl/loadmsgcat.c (read): Likewise.
17257 * libio/fileops.c (_IO_file_read): Likewise.
17258 * locale/loadlocale.c (_nl_load_locale): Likewise.
17259 * login/utmp_file.c (getutent_r_file): Likewise.
17260 (internal_getut_r): Likewise.
17261 (getutline_r_file): Likewise.
17262 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
17263 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17264 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
17265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17267 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
17268 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
17269 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
17271 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
17273 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
17275 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17277 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
17279 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
17282 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
17283 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
17286 2017-08-17 DJ Delorie <dj@redhat.com>
17288 * bug17079.c: Update to new test harness.
17289 * test-digits-dots.c: Likewise.
17290 * test-netdb.c: Likewise.
17291 * tst-field.c: Likewise.
17292 * tst-nss-getpwent.c: Likewise.
17293 * tst-nss-static.c: Likewise.
17294 * tst-nss-test1.c: Likewise.
17295 * tst-nss-test2.c: Likewise.
17296 * tst-nss-test3.c: Likewise.
17297 * tst-nss-test4.c: Likewise.
17298 * tst-nss-test5.c: Likewise.
17300 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17302 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
17303 (open_not_cancel_2): Likewise.
17304 (open_nocancel): New macro.
17305 (open64_nocancel): Likewise.
17306 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
17307 (open_not_cancel_2): Likewise.
17308 (__open_nocancel): New prototype.
17309 (__open64_nocancel): Likewise.
17310 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
17312 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
17313 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
17314 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
17315 with __open_nocancel.
17316 * csu/check_fds.c (check_one_fd): Likewise.
17317 * gmon/gmon.c (write_gmon): Likewise.
17318 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
17319 * intl/loadmsgcat.c (open): Likewise.
17320 * libio/fileops.c (_IO_file_open): Likewise.
17321 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17322 * locale/loadlocale.c (_nl_load_locale): Likewise.
17323 * login/utmp_file.c (setutent_file): Likewise.
17324 * misc/daemon.c (daemon): Likewise.
17325 * nss/nss_db/db-open.c (internal_setent): Likewise.
17326 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
17327 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
17328 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
17329 (__opendir): Likewise.
17330 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
17331 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
17332 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
17333 (gethostid): Likewise.
17334 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
17335 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17337 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17338 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
17339 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
17340 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
17342 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
17344 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
17346 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17348 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17350 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17352 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
17353 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
17355 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
17357 * benchtests/bench-skeleton.c (main): Add support for
17358 latency benchmarking.
17359 * benchtests/scripts/bench.py: Add support for latency benchmarking.
17361 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
17363 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
17364 the startup object.
17366 2017-08-17 Florian Weimer <fweimer@redhat.com>
17368 * include/sys/socket.h (__opensock): Remove internal_function.
17369 * socket/opensock.c (__opensock): Likewise.
17370 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
17372 2017-08-16 Joseph Myers <joseph@codesourcery.com>
17375 * signal/bits/types/__sigval_t.h: New file.
17376 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
17377 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
17378 and define sigval_t using __sigval_t.
17379 * include/bits/types/__sigval_t.h: New file.
17380 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
17381 instead of <bits/types/__sigval_t.h>.
17382 (struct sigevent): Use __sigval_t instead of sigval_t.
17383 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
17384 instead of <bits/types/__sigval_t.h>.
17385 (siginfo_t): Use __sigval_t instead of sigval_t.
17386 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
17387 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
17388 (struct sigevent): Use __sigval_t instead of sigval_t.
17389 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
17390 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
17391 (siginfo_t): Use __sigval_t instead of sigval_t.
17392 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
17394 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17396 * NEWS: Remove "[Add new features here]" for 2.27.
17398 2017-08-16 Joseph Myers <joseph@codesourcery.com>
17400 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
17403 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17405 * NEWS: Mention x86-64 FMA optimization.
17407 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17410 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17412 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
17413 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
17414 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
17416 2017-08-16 Andreas Schwab <schwab@suse.de>
17420 * elf/ldd.bash.in: Never run file directly.
17422 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
17425 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
17426 (L(SP_INF_0)): Likewise.
17428 2017-08-15 Florian Weimer <fweimer@redhat.com>
17430 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
17433 2017-08-15 Florian Weimer <fweimer@redhat.com>
17435 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
17436 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
17437 BROKEN_THREAD_SIGNALS code.
17438 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
17439 request_list): Remove caller_pid member used for
17440 BROKEN_THREAD_SIGNALS.
17441 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
17442 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
17443 Remove BROKEN_THREAD_SIGNALS support.
17444 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17445 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
17447 2017-08-15 Florian Weimer <fweimer@redhat.com>
17449 * gmon/Makefile (tests): Add tst-gmon.
17450 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
17452 (tests-special): Add tst-gmon-prof.out.
17453 (tst-gmon.out): Depend on clean-tst-gmon-data.
17454 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
17455 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
17456 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
17458 * aclocal.m4 (GPROF): Set and substitute.
17459 * config.amke.in (GPROF): Set.
17460 * configure: Regenerate.
17462 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
17464 * elf/elf.h A (NT_PPC_TAR): New macro.
17465 (NT_PPC_PPR): Likewise.
17466 (NT_PPC_DSCR): Likewise.
17467 (NT_PPC_EBB): Likewise.
17468 (NT_PPC_PMU): Likewise.
17469 (NT_PPC_TM_CGPR): Likewise.
17470 (NT_PPC_TM_CFPR): Likewise.
17471 (NT_PPC_TM_CVMX): Likewise.
17472 (NT_PPC_TM_CVSX): Likewise.
17473 (NT_PPC_TM_SPR): Likewise.
17474 (NT_PPC_TM_CTAR): Likewise.
17475 (NT_PPC_TM_CPPR): Likewise.
17476 (NT_PPC_TM_CDSCR): Likewise.
17478 2017-08-15 Florian Weimer <fweimer@redhat.com>
17480 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
17481 regparm (2) instead of internal_function.
17482 (_MCOUNT_DECL): Adjust.
17484 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17486 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
17487 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17489 2017-08-14 Joseph Myers <joseph@codesourcery.com>
17491 * conform/data/sys/wait.h-data (si_value): Do not expect for
17494 2017-08-14 Florian Weimer <fweimer@redhat.com>
17497 NSS: Create stubs for accidentally exported lookup functions.
17498 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
17499 Remove declaration.
17500 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
17501 (ether_hostton): Call __nss_ethers_lookup2 instead.
17502 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
17503 (ether_ntohost): Call __nss_ethers_lookup2 instead.
17504 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
17505 (setup): Call __nss_netgroup_lookup2 instead.
17506 * nss/Makefile (routines): Add compat-lookup.
17507 * nss/Versions (GLIBC_2.27): Add symbol version.
17508 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
17509 (DB_COMPAT_FCT): Remove.
17510 * nss/compat-lookup.c: New file.
17511 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
17512 from databases.def.
17513 * nss/service-lookup.c (NO_COMPAT): Remove definition.
17514 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
17515 (netname2user): Call __nss_publickey_lookup2 instead.
17516 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
17517 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
17520 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17521 Sergei Trofimovich <slyfox@inbox.ru>
17524 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
17525 Rename to MMAP2_PAGE_UNIT.
17526 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
17527 __OFF_T_MATCHES_OFF64_T is not defined.
17528 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
17530 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
17531 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
17533 2017-08-14 Florian Weimer <fweimer@redhat.com>
17535 i386: Do not set internal_function.
17536 * config.h.in (USE_REGPARMS, internal_function): Remove.
17537 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
17538 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
17540 2017-08-14 Florian Weimer <fweimer@redhat.com>
17542 * elf/dl-init.c (_dl_init): Remove internal_function.
17543 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
17544 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
17546 2017-08-14 Florian Weimer <fweimer@redhat.com>
17548 * elf/rtld.c (_dl_start): Remove internal_function.
17549 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
17552 2017-08-14 Florian Weimer <fweimer@redhat.com>
17554 * elf/dl-fini.c (_dl_fini): Remove internal_function
17555 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
17557 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
17559 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
17560 (bit_cpu_SHSTK): Likewise.
17561 (index_cpu_IBT): Likewise.
17562 (index_cpu_SHSTK): Likewise.
17563 (reg_IBT): Likewise.
17564 (reg_SHSTK): Likewise.
17565 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17566 Handle index_cpu_IBT and index_cpu_SHSTK.
17568 2017-08-14 Mike FABIAN <mfabian@redhat.com>
17571 * po/fr.po: Fix spelling mistake.
17573 2017-08-13 Florian Weimer <fweimer@redhat.com>
17575 * elf/dl-addr.c (_dl_addr): Remove internal_function.
17576 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
17577 (_dl_catch_error, _dl_receive_error): Likewise.
17578 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
17579 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
17580 (_dl_deallocate_tls): Likewise.
17581 * include/dlfcn.h (_dl_addr): Likewise.
17582 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
17583 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
17584 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
17587 2017-08-13 Florian Weimer <fweimer@redhat.com>
17589 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
17590 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
17592 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
17594 2017-08-13 Florian Weimer <fweimer@redhat.com>
17596 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
17598 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
17599 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
17600 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
17601 internal_function from _dl_make_stack_executable_hook member.
17602 (_dl_make_stack_executable): Remove internal_function.
17603 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
17605 * sysdeps/unix/sysv/linux/dl-execstack.c
17606 (_dl_make_stack_executable): Likewise.
17608 2017-08-13 Florian Weimer <fweimer@redhat.com>
17610 * sysdeps/unix/sysv/linux/netlinkaccess.h
17611 (__netlink_assert_response): Remove internal_function.
17612 * sysdeps/unix/sysv/linux/netlink_assert_response.c
17613 (__netlink_assert_response): Likewise.
17615 2017-08-13 Florian Weimer <fweimer@redhat.com>
17617 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
17619 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
17621 2017-08-13 Florian Weimer <fweimer@redhat.com>
17623 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
17625 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
17626 * inet/netgroup.h (__internal_setnetgrent)
17627 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
17628 * inet/getnetgrent_r.c (__internal_setnetgrent)
17629 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
17630 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
17631 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
17632 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
17633 * nss/nsswitch.h (db_lookup_function): Likewise.
17635 2017-08-13 Florian Weimer <fweimer@redhat.com>
17637 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
17638 Remove internal_function.
17639 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
17640 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
17641 message argument on the stack.
17642 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
17645 2017-08-12 Mike FABIAN <mfabian@redhat.com>
17647 Adapt test case data to the changes in the thousands
17651 * localedata/tst-langinfo.sh: Adapt test case data.
17652 * stdlib/tst-strfmon_l.c: Likewise.
17653 * stdlib/tst-strtod4.c: Likewise.
17654 * stdlib/tst-strtod5i.c: Likewise.
17656 2017-08-11 Florian Weimer <fweimer@redhat.com>
17659 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
17660 Suppress pedantic warning resulting from statement expression.
17661 (__ASSERT_FUNCTION): Add missing __extension__.
17663 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17665 * benchtests/bench-memmove-large.c: Print output in JSON
17667 * benchtests/bench-memmove.c: Likewise.
17669 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
17670 * benchtests/bench-memchr.c (do_one_test): Likewise.
17671 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
17672 * benchtests/bench-memcpy.c (do_one_test): Likewise.
17673 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
17674 * benchtests/bench-memmove.c (do_one_test): Likewise.
17675 * benchtests/bench-memset-large.c (do_one_test): Likewise.
17676 * benchtests/bench-memset.c (do_one_test): Likewise.
17677 * benchtests/bench-string.h (test_init): Remove memsets.
17679 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
17682 (Computing the Width of an Integer Data Type): Rename section to
17683 "Width of an Integer Type". Remove inaccurate statement regarding
17684 lack of C language facilities for determining width of integer
17685 types, and reorder content to improve flow and context of
17688 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
17690 * lang.texi (va_copy): Change standard from ISO to C99.
17691 (__va_copy): Add standard and header annotation.
17692 Update description for clarity of origins and current use.
17694 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17697 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
17698 xssqrtqp requires operands to be in Vector Registers
17699 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
17700 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
17701 (__ieee754_sqrtf128): Likewise.
17703 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
17705 * sysdeps/aarch64/memcmp.S (memcmp):
17706 Rewrite of optimized memcmp.
17708 2017-08-10 Florian Weimer <fweimer@redhat.com>
17710 Introduce ld.so exceptions.
17711 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
17712 (_dl_exception_create, _dl_exception_create_format)
17713 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
17714 (_dl_catch_exception): Declare.
17715 (_dl_catch_error): Update comment.
17716 * elf/dl-error-skeleton.c (struct catch): Replace objname,
17717 errstring, malloced members with exception member.
17718 (_dl_out_of_memory): Remove.
17719 (fatal_error): New function, extracted from _dl_signal_error.
17720 (_dl_signal_exception, _dl_signal_cexception): New functions.
17721 (_dl_signal_error): Call _dl_exception_create to allocate an
17723 (_dl_catch_exception): New function, based on _dl_catch_error.
17724 (_dl_catch_error): Implement using _dl_catch_exception.
17725 * elf/dl-exception.c: New file.
17726 * elf/Makefile (dl-routines): Add dl-exception.
17727 (elide-routines.os): Likewise.
17728 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
17729 _dl_exception_create_format, _dl_exception_free.
17730 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
17731 _dl_signal_exception.
17732 * elf/dl-lookup.c (make_string): Remove.
17733 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
17734 _dl_signal_cexception, _dl_exception_free.
17735 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
17736 _dl_signal_exception.
17737 * elf/dl-sym.c (do_sym): Likewise.
17738 * elf/dl-version.c (make_string): Remove.
17739 (match_symbol): Use _dl_exception_create_format,
17740 _dl_signal_cexception, _dl_exception_free.
17741 (_dl_check_map_versions): Likewise.
17742 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
17743 _dl_catch_exception.
17744 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
17745 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
17746 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
17747 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
17748 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
17749 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
17750 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
17751 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
17753 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
17760 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
17761 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
17762 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
17764 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
17766 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
17768 2017-08-10 Florian Weimer <fweimer@redhat.com>
17770 * inet/net-internal.h (__inet6_scopeid_pton): Remove
17771 attribute_hidden, internal_function.
17772 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
17775 2017-08-10 Florian Weimer <fweimer@redhat.com>
17777 * malloc/malloc.c (get_max_fast): Reimplement as an inline
17778 function which calls __builtin_unreachable.
17780 2017-08-10 Mike FABIAN <mfabian@redhat.com>
17782 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
17783 Indian monetary formatting
17784 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
17787 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
17789 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
17790 Fix typo in comment.
17793 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
17794 PTRACE_SEIZE_DEVEL): Remove.
17795 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17796 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17797 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17798 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17799 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17801 2017-08-09 Joseph Myers <joseph@codesourcery.com>
17803 * posix/bits/types.h (__qaddr_t): Remove.
17806 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
17807 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17809 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
17810 (ucontext_t): Use __ctx with uc_flags.
17811 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
17812 (__ctxt): Likewise.
17813 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17815 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
17816 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17818 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
17819 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17821 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
17823 (ucontext_t): Use __ctx with uc_flags.
17824 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
17825 (ucontext_t): Use __ctx with uc_flags.
17826 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
17827 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
17828 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
17829 (ucontext_t): Use __ctx with uc_flags.
17830 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
17831 undefine further down.
17832 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17834 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
17835 undefine further down.
17836 (ucontext_t): Use __ctx with uc_flags.
17837 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
17838 undefine further down.
17839 (ucontext_t): Use __ctx with uc_flags.
17840 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
17841 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
17842 Rename uc_pad to __glibc_reserved1.
17843 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
17844 undefine further down.
17845 (ucontext_t): Use __ctx with uc_flags.
17846 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
17848 (ucontext_t): Use __ctx with uc_flags.
17849 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
17850 __ctx with uc_flags.
17851 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
17852 (ucontext_t): Use __ctx with uc_flags.
17853 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
17854 __ctx with uc_flags.
17856 2017-08-09 Florian Weimer <fweimer@redhat.com>
17859 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
17860 before early return.
17862 2017-08-09 Andreas Schwab <schwab@suse.de>
17865 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
17869 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
17870 tst-compat-forwarder.
17871 (modules-names): Add tst-compat-forwarder-mod.
17872 ($(objpfx)tst-compat-forwarder): Depend on
17873 $(objpfx)tst-compat-forwarder-mod.so.
17874 * nptl/tst-compat-forwarder.c: New file.
17875 * nptl/tst-compat-forwarder-mod.c: New file.
17877 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
17879 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
17882 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
17883 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
17885 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17887 (__libc_ifunc_impl_list): Add __memcpy_falkor.
17888 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
17889 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
17890 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
17892 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
17895 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17898 * manual/setjmp.texi (getcontex): Document uc_stack value
17899 compatibility differences.
17901 2017-08-08 Joseph Myers <joseph@codesourcery.com>
17903 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
17904 (old_malloc_hook): Likewise.
17905 (old_memalign_hook): Likewise.
17906 (old_realloc_hook): Likewise.
17907 (struct hdr): Likewise.
17909 (freehook): Likewise.
17910 (mallochook): Likewise.
17911 (memalignhook): Likewise.
17912 (reallochook): Likewise.
17913 (mprobe): Likewise.
17914 * malloc/mtrace.c (mallwatch): Likewise.
17915 (tr_old_free_hook): Likewise.
17916 (tr_old_malloc_hook): Likewise.
17917 (tr_old_realloc_hook): Likewise.
17918 (tr_old_memalign_hook): Likewise.
17919 (tr_where): Likewise.
17920 (lock_and_info): Likewise.
17921 (tr_freehook): Likewise.
17922 (tr_mallochook): Likewise.
17923 (tr_reallochook): Likewise.
17924 (tr_memalignhook): Likewise.
17925 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
17926 * misc/mmap.c (__mmap): Likewise.
17927 * misc/mmap64.c (__mmap64): Likewise.
17928 * misc/mprotect.c (__mprotect): Likewise.
17929 * misc/msync.c (msync): Likewise.
17930 * misc/munmap.c (__munmap): Likewise.
17931 * posix/posix_madvise.c (posix_madvise): Likewise.
17932 * socket/send.c (__send): Likewise.
17933 * socket/sendto.c (__sendto): Likewise.
17934 * socket/setsockopt.c (__setsockopt): Likewise.
17935 * string/memcmp.c (__ptr_t): Remove macro.
17936 (MEMCMP): Use void * instead of ptr_t.
17937 * string/memrchr.c (__ptr_t): Remove macro.
17938 (__memrchr): Use void * instead of ptr_t.
17939 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
17940 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
17941 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
17942 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
17943 * sysdeps/mach/msync.c (msync): Likewise.
17944 * sysdeps/mach/munmap.c (__munmap): Likewise.
17945 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
17947 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17948 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
17949 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
17950 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
17951 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17952 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17953 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
17954 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
17956 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17957 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
17958 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
17959 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
17960 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
17961 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
17962 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
17963 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
17964 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
17966 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
17967 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
17968 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
17969 (MEMCMP): Use void * instead of ptr_t.
17970 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
17971 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
17973 2017-08-08 Florian Weimer <fweimer@redhat.com>
17975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
17978 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
17981 * csu/libc-tls.c: Include <startup.h> first.
17982 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
17983 * elf/dl-tunables.c: Include <startup.h> first.
17984 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
17985 * sysdeps/generic/startup.h: New file.
17986 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
17987 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
17988 (I386_USE_SYSENTER): New. Defined to 0.
17990 2017-08-08 Andreas Schwab <schwab@suse.de>
17993 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
17994 * nptl/pt-system.c (system): Likewise.
17996 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17999 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
18001 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18002 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18003 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
18004 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18005 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18006 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18007 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
18009 2017-08-07 Joseph Myers <joseph@codesourcery.com>
18012 * bits/sigaction.h (struct sigaction): Define sa_handler and
18013 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
18014 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18015 [__USE_XOPEN_EXTENDED].
18016 (SA_RESTART): Likewise.
18017 (SA_NODEFER): Likewise.
18018 (SA_RESETHAND): Likewise.
18019 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
18020 (struct sigaction): Define sa_handler and sa_sigaction using union
18021 also for [__USE_XOPEN_EXTENDED].
18022 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18023 [__USE_XOPEN_EXTENDED].
18024 (SA_RESTART): Likewise.
18025 (SA_NODEFER): Likewise.
18026 (SA_RESETHAND): Likewise.
18027 * sysdeps/unix/sysv/linux/bits/sigaction.h
18028 (struct sigaction): Define sa_handler and sa_sigaction using union
18029 also for [__USE_XOPEN_EXTENDED].
18030 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18031 [__USE_XOPEN_EXTENDED].
18032 (SA_RESTART): Likewise.
18033 (SA_NODEFER): Likewise.
18034 (SA_RESETHAND): Likewise.
18035 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
18036 (struct sigaction): Define sa_handler and sa_sigaction using union
18037 also for [__USE_XOPEN_EXTENDED].
18038 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18039 [__USE_XOPEN_EXTENDED].
18040 (SA_RESTART): Likewise.
18041 (SA_NODEFER): Likewise.
18042 (SA_RESETHAND): Likewise.
18043 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
18044 (struct sigaction): Define sa_handler and sa_sigaction using union
18045 also for [__USE_XOPEN_EXTENDED].
18046 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18047 [__USE_XOPEN_EXTENDED].
18048 (SA_RESTART): Likewise.
18049 (SA_NODEFER): Likewise.
18050 (SA_RESETHAND): Likewise.
18051 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18052 (struct sigaction): Define sa_handler and sa_sigaction using union
18053 also for [__USE_XOPEN_EXTENDED].
18054 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18055 [__USE_XOPEN_EXTENDED].
18056 (SA_RESTART): Likewise.
18057 (SA_NODEFER): Likewise.
18058 (SA_RESETHAND): Likewise.
18059 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18060 (struct sigaction): Define sa_handler and sa_sigaction using union
18061 also for [__USE_XOPEN_EXTENDED].
18062 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18063 [__USE_XOPEN_EXTENDED].
18064 (SA_RESTART): Likewise.
18065 (SA_NODEFER): Likewise.
18066 (SA_RESETHAND): Likewise.
18067 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18068 (struct sigaction): Define sa_handler and sa_sigaction using union
18069 also for [__USE_XOPEN_EXTENDED].
18070 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18071 [__USE_XOPEN_EXTENDED].
18072 (SA_RESTART): Likewise.
18073 (SA_NODEFER): Likewise. Define directly rather than as alias.
18074 (SA_RESETHAND): Likewise.
18075 (SA_INTERRUPT): Define only for [__USE_MISC].
18076 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
18077 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
18079 (SA_STACK): Define only for [__USE_MISC].
18080 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
18081 (struct sigaction): Define sa_handler and sa_sigaction using union
18082 also for [__USE_XOPEN_EXTENDED].
18083 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18084 [__USE_XOPEN_EXTENDED].
18085 (SA_RESTART): Likewise.
18086 (SA_NODEFER): Likewise.
18087 (SA_RESETHAND): Likewise.
18088 (SA_NOPTRACE): Define only for [__USE_MISC].
18090 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
18091 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
18092 (struct catalog_info): Likewise.
18093 * inet/htontest.c (lo): Likewise.
18095 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18096 * inet/inet_net.c (inet_network): Likewise.
18097 * inet/inet_netof.c (inet_netof): Likewise.
18098 * inet/rcmd.c (__ivaliduser): Likewise.
18099 (iruserok): Likewise.
18100 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
18101 * locale/programs/locale-spec.c (locale_special): Likewise.
18102 * nis/nis_findserv.c (struct findserv_req): Likewise.
18103 (__nis_findfastest_with_timeout): Likewise.
18104 * nss/test-netdb.c (test_network): Likewise.
18105 * resolv/inet_neta.c (inet_neta): Likewise.
18106 * resolv/ns_date.c (ns_datetosecs): Likewise.
18107 (SECS_PER_DAY): Likewise.
18108 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
18110 * resolv/res_comp.c (__putlong): Likewise.
18111 (__putshort): Likewise.
18112 (_getlong): Likewise.
18113 (_getshort): Likewise.
18114 * resolv/res_debug.c (p_time): Likewise.
18115 (precsize_ntoa): Likewise.
18116 (precsize_aton): Likewise.
18117 (latlon2ul): Likewise.
18118 (loc_aton): Likewise.
18119 (loc_ntoa): Likewise.
18120 * resolv/res_hconf.c (struct netaddr): Likewise.
18121 (_res_hconf_reorder_addrs): Likewise.
18122 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
18123 (clnttcp_control): Likewise.
18124 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18125 (clntudp_control): Likewise.
18126 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
18127 (clntunix_control): Likewise.
18128 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18129 * sunrpc/rpc/auth.h (union des_block): Likewise.
18130 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
18131 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
18132 (xdrrec_create): Likewise.
18133 (xdrrec_endofrecord): Likewise.
18134 (flush_out): Likewise.
18135 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
18136 (xdrstdio_putlong): Likewise.
18137 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
18140 * misc/sys/cdefs.h (__long_double_t): Remove.
18141 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
18142 instead of __long_double_t,
18143 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
18145 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18147 * benchtests/scripts/compare_strings.py: Avoid display error when
18148 running on a text terminal.
18150 * benchtests/scripts/compare_strings.py (main): Add an
18151 optional -base option.
18152 (process_results): New argument base_func.
18154 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
18156 * benchtests/bench-memcpy-large.c (test_name): Likewise.
18157 * benchtests/bench-memcpy-random.c (test_name): Likewise.
18159 2017-08-07 Andreas Schwab <schwab@suse.de>
18161 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
18162 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18163 * intl/Makefile ($(objpfx)tst-gettext.out)
18164 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
18165 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
18166 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18167 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18168 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
18169 * posix/Makefile ($(objpfx)globtest.out)
18170 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
18171 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
18172 ($(objpfx)tst-printf.out): Likewise.
18173 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
18174 ($(objpfx)tst-setcontext3.out): Likewise.
18176 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
18178 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18179 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
18180 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
18181 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
18182 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
18184 (CFLAGS-doasin-fma.c): New.
18185 (CFLAGS-dosincos-fma.c): Likewise.
18186 (CFLAGS-e_asin-fma.c): Likewise.
18187 (CFLAGS-e_atan2-fma.c): Likewise.
18188 (CFLAGS-e_exp-fma.c): Likewise.
18189 (CFLAGS-e_log-fma.c): Likewise.
18190 (CFLAGS-e_pow-fma.c): Likewise.
18191 (CFLAGS-halfulp-fma.c): Likewise.
18192 (CFLAGS-mpa-fma.c): Likewise.
18193 (CFLAGS-mpatan-fma.c): Likewise.
18194 (CFLAGS-mpatan2-fma.c): Likewise.
18195 (CFLAGS-mpexp-fma.c): Likewise.
18196 (CFLAGS-mplog-fma.c): Likewise.
18197 (CFLAGS-mpsqrt-fma.c): Likewise.
18198 (CFLAGS-mptan-fma.c): Likewise.
18199 (CFLAGS-s_atan-fma.c): Likewise.
18200 (CFLAGS-sincos32-fma.c): Likewise.
18201 (CFLAGS-slowexp-fma.c): Likewise.
18202 (CFLAGS-slowpow-fma.c): Likewise.
18203 (CFLAGS-s_sin-fma.c): Likewise.
18204 (CFLAGS-s_tan-fma.c): Likewise.
18205 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
18206 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
18207 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
18208 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
18209 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
18210 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18211 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
18212 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
18213 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
18214 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
18215 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
18216 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
18217 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
18218 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18219 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18220 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
18221 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
18222 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
18223 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
18224 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
18225 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
18226 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18227 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18228 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
18229 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18231 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18232 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18233 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18234 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18235 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18237 2017-08-04 Joseph Myers <joseph@codesourcery.com>
18239 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
18240 (min_of_type_f): New macro.
18241 (min_of_type_): Likewise.
18242 (min_of_type_l): Likewise.
18243 (min_of_type_f128): Likewise.
18244 (min_of_type): Define using __MATH_TG and taking an expression
18246 (math_check_force_underflow): Pass expression instead of type to
18248 (math_check_force_underflow_nonneg): Likewise.
18250 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18252 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
18253 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
18254 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
18256 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18259 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
18260 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
18261 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
18262 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
18263 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
18264 memcpy_chk-nonshared, mempcpy_chk-nonshared,
18265 memmove_chk-nonshared and memset_chk-nonshared
18266 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
18267 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
18268 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
18269 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
18270 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
18271 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
18272 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
18273 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
18274 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
18275 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
18276 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
18277 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
18278 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
18279 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
18280 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
18281 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
18282 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
18283 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
18284 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
18285 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
18286 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
18287 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
18288 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
18289 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
18290 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
18291 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
18292 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
18293 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
18294 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
18295 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
18296 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
18297 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
18298 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
18299 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
18300 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
18301 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
18302 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
18303 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
18304 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
18305 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
18306 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
18307 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
18308 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
18309 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
18310 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
18311 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
18312 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
18313 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
18314 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
18315 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
18316 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
18317 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
18318 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
18319 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
18320 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
18321 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
18322 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
18323 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
18324 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
18325 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
18326 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
18327 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
18328 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
18329 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
18330 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
18331 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
18332 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
18333 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
18334 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
18335 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
18336 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
18337 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18338 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18339 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18340 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18341 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18342 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18343 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18344 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18345 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18346 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18347 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18348 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18349 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18350 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18351 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18352 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18353 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18354 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18356 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18357 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18358 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18359 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18360 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18361 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18362 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18363 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18364 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18365 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18366 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18367 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18368 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18369 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18370 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18371 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18372 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18373 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18375 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18377 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
18378 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
18379 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
18380 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
18381 svml_d_log2_core-sse2, svml_d_log4_core-sse,
18382 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
18383 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
18384 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
18385 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
18386 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
18387 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
18388 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
18389 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
18390 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
18391 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
18392 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
18393 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
18394 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
18395 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
18396 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
18397 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
18398 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
18399 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
18400 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
18401 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
18402 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
18403 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
18404 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
18405 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
18406 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
18407 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
18408 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
18409 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
18410 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
18411 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
18412 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
18413 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
18414 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
18415 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
18416 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
18417 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
18418 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
18419 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
18420 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
18421 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
18422 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
18423 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
18424 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
18425 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
18426 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
18427 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
18428 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
18429 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
18430 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
18431 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
18432 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
18433 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
18434 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
18435 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
18437 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
18438 Don't include <sysdep.h> nor <init-arch.h>.
18439 (_ZGVbN2v_cos): Removed.
18440 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
18442 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
18443 Don't include <sysdep.h> nor <init-arch.h>.
18444 (_ZGVdN4v_cos): Removed.
18445 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
18447 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
18448 Don't include <sysdep.h> nor <init-arch.h>.
18449 (_ZGVeN8v_cos): Removed.
18450 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
18452 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
18453 Don't include <sysdep.h> nor <init-arch.h>.
18454 (_ZGVbN2v_exp): Removed.
18455 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
18457 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
18458 Don't include <sysdep.h> nor <init-arch.h>.
18459 (_ZGVdN4v_exp): Removed.
18460 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
18462 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
18463 Don't include <sysdep.h> nor <init-arch.h>.
18464 (_ZGVeN8v_exp): Removed.
18465 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
18467 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
18468 Don't include <sysdep.h> nor <init-arch.h>.
18469 (_ZGVbN2v_log): Removed.
18470 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
18472 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
18473 Don't include <sysdep.h> nor <init-arch.h>.
18474 (_ZGVdN4v_log): Removed.
18475 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
18477 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
18478 Don't include <sysdep.h> nor <init-arch.h>.
18479 (_ZGVeN8v_log): Removed.
18480 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
18482 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
18483 Don't include <sysdep.h> nor <init-arch.h>.
18484 (_ZGVbN2vv_pow): Removed.
18485 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
18487 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
18488 Don't include <sysdep.h> nor <init-arch.h>.
18489 (_ZGVdN4vv_pow): Removed.
18490 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
18492 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
18493 Don't include <sysdep.h> nor <init-arch.h>.
18494 (_ZGVeN8vv_pow): Removed.
18495 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
18497 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
18498 Don't include <sysdep.h> nor <init-arch.h>.
18499 (_ZGVbN2v_sin): Removed.
18500 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
18502 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
18503 Don't include <sysdep.h> nor <init-arch.h>.
18504 (_ZGVbN4v_sin): Removed.
18505 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
18507 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
18508 Don't include <sysdep.h> nor <init-arch.h>.
18509 (_ZGVbN8v_sin): Removed.
18510 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
18512 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
18513 Don't include <sysdep.h> nor <init-arch.h>.
18514 (_ZGVbN2vvv_sincos): Removed.
18515 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
18517 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
18518 Don't include <sysdep.h> nor <init-arch.h>.
18519 (_ZGVdN4vvv_sincos): Removed.
18520 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
18522 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
18523 Don't include <sysdep.h> nor <init-arch.h>.
18524 (_ZGVeN8vvv_sincos): Removed.
18525 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
18527 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
18528 Don't include <sysdep.h> nor <init-arch.h>.
18529 (_ZGVeN16v_cosf): Removed.
18530 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
18532 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
18533 Don't include <sysdep.h> nor <init-arch.h>.
18534 (_ZGVbN4v_cosf): Removed.
18535 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
18537 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
18538 Don't include <sysdep.h> nor <init-arch.h>.
18539 (_ZGVdN8v_cosf): Removed.
18540 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
18542 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
18543 Don't include <sysdep.h> nor <init-arch.h>.
18544 (_ZGVeN16v_expf): Removed.
18545 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
18547 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
18548 Don't include <sysdep.h> nor <init-arch.h>.
18549 (_ZGVbN4v_expf): Removed.
18550 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
18552 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
18553 Don't include <sysdep.h> nor <init-arch.h>.
18554 (_ZGVdN8v_expf): Removed.
18555 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
18557 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
18558 Don't include <sysdep.h> nor <init-arch.h>.
18559 (_ZGVeN16v_logf): Removed.
18560 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
18562 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
18563 Don't include <sysdep.h> nor <init-arch.h>.
18564 (_ZGVbN4v_logf): Removed.
18565 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
18567 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
18568 Don't include <sysdep.h> nor <init-arch.h>.
18569 (_ZGVdN8v_logf): Removed.
18570 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
18572 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
18573 Don't include <sysdep.h> nor <init-arch.h>.
18574 (_ZGVeN16vv_powf): Removed.
18575 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
18577 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
18578 Don't include <sysdep.h> nor <init-arch.h>.
18579 (_ZGVbN4vv_powf): Removed.
18580 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
18582 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
18583 Don't include <sysdep.h> nor <init-arch.h>.
18584 (_ZGVdN8vv_powf): Removed.
18585 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
18587 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
18588 Don't include <sysdep.h> nor <init-arch.h>.
18589 (_ZGVeN16vvv_sincosf): Removed.
18590 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
18592 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
18593 Don't include <sysdep.h> nor <init-arch.h>.
18594 (_ZGVbN4vvv_sincosf): Removed.
18595 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
18597 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
18598 Don't include <sysdep.h> nor <init-arch.h>.
18599 (_ZGVdN8vvv_sincosf): Removed.
18600 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
18602 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
18603 Don't include <sysdep.h> nor <init-arch.h>.
18604 (_ZGVeN16v_sinf): Removed.
18605 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
18607 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
18608 Don't include <sysdep.h> nor <init-arch.h>.
18609 (_ZGVbN4v_sinf): Removed.
18610 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
18612 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
18613 Don't include <sysdep.h> nor <init-arch.h>.
18614 (_ZGVdN8v_sinf): Removed.
18616 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18619 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
18620 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
18621 s_rint-sse4_1 and s_rintf-sse4_1.
18622 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
18623 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
18624 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
18625 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
18626 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
18627 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
18628 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
18629 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
18630 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
18631 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
18632 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
18633 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18635 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
18636 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
18637 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18638 (__ceilf): Removed.
18639 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
18640 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
18641 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18642 (__floor): Removed.
18643 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
18644 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
18645 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18646 (__floorf): Removed.
18647 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
18648 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
18649 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18650 (__nearbyint): Removed.
18651 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
18652 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
18653 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18654 (__nearbyintf): Removed.
18655 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
18656 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
18657 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18659 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
18660 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
18661 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18662 (__rintf): Removed.
18664 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18666 * sysdeps/i386/start.S (_start): Check Check PIC instead of
18667 SHARED. Avoid dynamic relocation against main in static PIE.
18669 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18672 * elf/Makefile (CFLAGS-tst-prelink.c): New.
18673 (LDFLAGS-tst-prelink): Likewise.
18675 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18677 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
18678 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
18679 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
18680 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18681 (INTERNAL_SYSCALL_NCS): Likewise.
18682 (LOADARGS_1): Likewise.
18683 (LOADARGS_5): Likewise.
18684 (RESTOREARGS_1): Likewise.
18685 (RESTOREARGS_5): Likewise.
18687 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18689 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
18690 (MEMPCPY_SYMBOL): Likewise.
18691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18692 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
18693 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
18695 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18696 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18698 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
18699 (__hidden_ver1): Don't use in libc.a.
18700 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18701 (__mempcpy): Don't create a weak alias in libc.a.
18702 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
18704 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
18705 (__hidden_ver1): Don't use in libc.a.
18707 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18709 * config.make.in (have-insert): New.
18710 * configure.ac (libc_cv_insert): New. Set to yes if linker
18711 supports INSERT in linker script.
18712 (AC_SUBST(libc_cv_insert): New.
18713 * configure: Regenerated.
18714 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
18715 if $(have-insert) == yes.
18717 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18719 * elf/Makefile (tests): Add vismain only if
18720 $(have-protected-data) == yes.
18721 (tests-pie): Likewise.
18723 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18726 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18727 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
18729 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18732 * sysdeps/i386/i586/memset.S
18733 (__memset_zero_constant_len_parameter): Removed.
18734 * sysdeps/i386/i686/memset.S
18735 (__memset_zero_constant_len_parameter): Likewise.
18736 * sysdeps/i386/i686/multiarch/memset_chk.S
18737 (__memset_zero_constant_len_parameter): Likewise.
18738 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
18741 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
18743 * stdlib/getentropy.c (getentropy): Change return type to int.
18745 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
18747 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18749 2017-08-03 Joseph Myers <joseph@codesourcery.com>
18751 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
18753 * math/s_nexttowardf.c (__nexttowardf): Likewise.
18754 * sysdeps/generic/math_private.h (ieee_double_shape_type):
18756 (ieee_float_shape_type): Likewise.
18757 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
18758 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
18759 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18760 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18761 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18762 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
18763 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
18764 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18765 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
18767 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18768 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18769 (__ieee754_yn): Likewise.
18770 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18771 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18772 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
18774 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18775 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
18776 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
18777 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
18778 (__erfc): Likewise.
18779 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
18780 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
18781 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
18782 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
18783 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
18784 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
18786 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
18787 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
18788 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
18789 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
18790 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18791 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
18792 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
18793 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
18794 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
18795 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18796 (__issignaling): Likewise.
18797 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
18798 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
18799 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18801 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18802 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
18803 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
18806 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
18808 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
18809 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
18810 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
18811 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
18812 (__erfcf): Likewise.
18813 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
18814 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18815 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
18816 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
18818 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
18819 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
18821 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
18822 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
18823 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
18824 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
18825 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
18826 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18827 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
18828 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
18830 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
18832 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
18834 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
18835 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18837 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18839 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18840 (__ieee754_ynl): Likewise.
18841 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18842 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
18844 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
18846 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
18847 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
18848 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18850 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
18851 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
18852 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
18853 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
18854 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
18855 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18856 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
18857 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
18859 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18860 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
18861 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
18863 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
18864 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
18865 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
18866 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18867 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
18868 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18870 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18872 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18874 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18876 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
18877 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18878 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18879 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
18880 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
18881 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
18882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
18884 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18886 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18887 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18889 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18890 (__ieee754_remainderl): Likewise.
18891 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18892 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18893 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18894 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18896 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18897 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18899 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18900 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
18901 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18902 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
18903 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18904 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18906 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18907 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18908 (__ieee754_y0l): Likewise.
18911 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18912 (__ieee754_y1l): Likewise.
18915 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18916 (__ieee754_ynl): Likewise.
18917 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
18918 (__ieee754_lgammal_r): Likewise.
18919 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
18921 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
18922 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
18923 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
18924 (__erfcl): Likewise.
18925 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18926 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
18928 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
18929 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
18930 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
18931 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
18932 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
18933 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18934 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18936 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
18937 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18938 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
18939 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
18940 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18942 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
18943 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
18945 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
18946 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
18947 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
18948 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18949 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
18951 2017-08-03 Florian Weimer <fweimer@redhat.com>
18954 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
18955 on memory allocation failure.
18957 2017-08-03 Alan Modra <amodra@gmail.com>
18959 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
18960 tst-tlsopt-powerpc.c with function name change and no test harness.
18961 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
18962 Call tls_get_addr_opt_test.
18963 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
18964 (modules-names): Add mod-tlsopt-powerpc.
18965 (mod-tlsopt-powerpc.so-no-z-defs): Define.
18966 (tst-tlsopt-powerpc): Depend on .so.
18967 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
18968 define. Expand use in TLS_GD and TLS_LD.
18970 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18972 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
18974 * sysdeps/posix/shm_open.c: Include <pthread.h>.
18976 2017-08-02 Joseph Myers <joseph@codesourcery.com>
18979 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
18980 comparing size with that of double.
18981 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18982 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18983 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
18984 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18985 (__TGMATH_BINARY_REAL_IMAG): Likewise.
18986 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
18987 unsigned __int128 types.
18989 2017-08-02 Steve Ellcey <sellcey@cavium.com>
18991 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
18992 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
18993 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
18994 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
18995 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
18997 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18999 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
19001 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
19003 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
19005 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19006 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19007 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19008 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19009 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19010 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19013 2017-08-02 Joseph Myers <joseph@codesourcery.com>
19016 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
19017 bit-field expressions passed to sizeof or typeof.
19018 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19019 (__TGMATH_F128): Likewise.
19020 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19021 (__TGMATH_CF128): Likewise.
19022 (__TGMATH_UNARY_REAL_ONLY): Likewise.
19023 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
19024 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
19025 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
19026 (__TGMATH_BINARY_REAL_ONLY): Likewise.
19027 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
19028 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
19029 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
19030 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
19031 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
19032 (__TGMATH_UNARY_REAL_IMAG): Likewise.
19033 (__TGMATH_UNARY_IMAG): Likewise.
19034 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
19035 (__TGMATH_BINARY_REAL_IMAG): Likewise.
19036 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
19038 (define_vars_for_type): Handle bit_field type specially.
19039 (Tests.__init__): Declare structure with bit-field element.
19041 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
19044 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
19045 (MEMCPY_CHK): Define only if SHARED is defined.
19046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
19048 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
19051 See ChangeLog.18 for earlier changes.