1 2018-04-18 Joseph Myers <joseph@codesourcery.com>
3 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
4 --enable-obsolete for powerpc-linux-gnuspe.
6 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8 * conform/data/sys/un.h-data: Allow sun_ prefix.
9 * sysdeps/mach/include/lock-intern.h: Move to include/.
10 * sysdeps/mach/include/mach.h: Move to include/.
11 * sysdeps/mach/include/mach/mig_support.h: Move to include/mach/.
12 * sysdeps/mach/include/mach_error.h: Move to include/.
14 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
17 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
19 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
21 2018-04-16 Andreas Schwab <schwab@suse.de>
24 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
26 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
28 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
29 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
31 2018-04-12 DJ Delorie <dj@redhat.com>
33 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
36 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
39 (struct kernel_sigaction): Use the same definition on 31bit as is used
42 2018-04-09 Florian Weimer <fweimer@redhat.com>
45 * resolv/res_send.c (send_dg): Use designated initializers instead
46 of assignment to zero-initialize other fields of struct mmsghdr.
48 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
50 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
51 __READDIR_ALIAS): Undefine after usage.
52 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
53 __READDIR_R_ALIAS): Likewise.
54 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
55 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
56 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
57 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
58 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
59 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
60 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
63 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
64 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
65 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
66 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
68 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
69 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
70 * sysdeps/unix/sysv/linux/readdir.c: New file.
71 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
72 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
73 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
75 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
77 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
79 * manual/charset.texi (Converting a Character): Fix typo.
81 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
83 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85 * sysdeps/arm/libm-test-ulps: Update.
87 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
88 as base implementation.
89 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
90 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
91 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
92 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
93 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
94 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
95 remove unrequired definitions and update comments.
96 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
97 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
98 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
99 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
100 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
102 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
103 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
104 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
105 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
106 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
107 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
108 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
109 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
110 and RESET_SA_RESTORER hooks.
112 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
114 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
116 2018-04-05 Florian Weimer <fweimer@redhat.com>
118 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
119 integer overflow, memory leak on error, and indeterminate errno
120 value. Add a null wide character to terminate the result string.
121 * manual/charset.texi (Converting a Character): Mention embedded
122 null bytes in the mbrtowc input string. Explain what happens in
123 the -2 result case. Do not claim that mbrtowc is simple or
124 obvious to use. Adjust the description of the code example. Use
125 @code, not @var, for concrete variables.
127 2018-04-05 Florian Weimer <fweimer@redhat.com>
129 * manual/examples/mbstouwcs.c: New file.
130 * manual/charset.texi (Converting a Character): Include it.
132 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
134 * include/dirent.h (dirfd): Add hidden proto.
135 * dirent/dirfd.c (dirfd): Add hidden def.
136 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
137 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
139 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
141 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
142 sin, cos and sincos to 1 ULP.
144 2018-04-04 Maciej W. Rozycki <macro@mips.com>
147 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
149 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
150 * elf/tst-absolute-sym.c: New file.
151 * elf/tst-absolute-sym-lib.c: New file.
152 * elf/tst-absolute-sym-lib.lds: New file.
153 * elf/Makefile (tests): Add `tst-absolute-sym'.
154 (modules-names): Add `tst-absolute-sym-lib'.
155 (LDLIBS-tst-absolute-sym-lib.so): New variable.
156 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
157 ($(objpfx)tst-absolute-sym): New dependency.
160 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
162 (SYMBOL_ADDRESS): New macro.
163 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
164 SYMBOL_ADDRESS for symbol address calculation.
165 * elf/dl-runtime.c (_dl_fixup): Likewise.
166 (_dl_profile_fixup): Likewise.
167 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
168 * elf/rtld.c (dl_main): Likewise.
169 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
170 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
171 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
172 (elf_machine_rela): Likewise.
173 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
174 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
175 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
176 (elf_machine_rela): Likewise.
177 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
178 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
179 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
180 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
182 (elf_machine_reloc): Likewise.
183 (elf_machine_got_rel): Likewise.
184 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
185 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
186 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
188 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
190 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
191 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
193 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
195 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
200 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
203 2018-04-04 Zack Weinberg <zackw@panix.com>
205 * sysdeps/generic/internal-signals.h: Include signal.h,
206 sigsetops.h, and stdbool.h.
207 (__libc_signal_block_all): Actually block all signals.
208 (__libc_signal_block_app): Likewise.
209 (__libc_signal_restore_set): Actually restore the signal mask.
211 2018-04-04 Florian Weimer <fweimer@redhat.com>
213 inet: Actually build and run tst-deadline.
214 * inet/Makefile (tests-internal): Add tst-deadline and do not
215 overwrite the variable.
216 (tests-static-internal): Remove variable.
218 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
221 * bits/uio-ext.h (RWF_APPEND): New.
222 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
223 * manual/llio.texi: Document RWF_APPEND.
224 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
225 (RWF_SUPPORTED): Add RWF_APPEND.
227 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
230 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
231 check for internal nptl signals.
232 * nptl/sigaction.c (__sigaction): Likewise.
233 * signal/sigaddset.c (sigaddset): Likewise.
234 * signal/sigdelset.c (sigdelset): Likewise.
235 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
236 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
238 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
239 to filter out internal nptl signals.
240 * signal/tst-sigset.c (do_test): Check ech signal indidually and
241 also check realtime signals using standard macros.
242 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
243 __is_internal_signal, __libc_signal_block_all,
244 __libc_signal_block_app, __libc_signal_restore_set): New functions.
245 * sysdeps/nptl/sigfillset.c: Remove file.
246 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
247 Change return to bool.
248 (__clear_internal_signals): Remove SIGTIMER clean since it is
249 equal to SIGCANEL on Linux.
250 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
251 signal set was constructed using standard functions.
253 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
255 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
257 * hurd/hurdsig.c (interrupted_reply_port_location): Use
258 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
259 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
261 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
262 * signal/sigaddset.c: Include <sigsetopts.h>.
263 * signal/sigdelset.c: Likewise.
265 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
269 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
270 logic as sin and cos.
272 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
274 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
275 inputs. Return correct sign.
276 (do_sincos): Remove small input check before do_sin, let do_sin set
281 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
283 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
284 (do_cos_slow): Likewise.
285 (do_sin_slow): Likewise.
286 (reduce_and_compute): Likewise.
298 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
300 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
301 (do_cos): Remove corp parameter and calculations.
303 (do_sincos): Remove cor variable.
304 (__sin): Use do_sincos for huge inputs.
306 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
307 (reduce_and_compute_sincos): Remove unused function.
309 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
311 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
312 reduce_sincos, improve accuracy to 136 bits.
313 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
314 (__sin): Use improved reduction and simplified do_sincos calculation.
316 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
318 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
320 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
321 (do_sincos_2): Likewise.
322 (__sin): Remove middle range reduction case.
324 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
327 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
329 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
330 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
333 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
335 2018-04-03 Joseph Myers <joseph@codesourcery.com>
337 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
340 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
342 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
344 (opendir_oflags): Use O_DIRECTORY regardless.
345 (__opendir, __opendirat): Remove need_isdir_precheck usage.
346 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
348 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
350 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
351 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
353 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
354 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
355 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
356 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
357 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
358 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
360 * htl/Makefile: Bump licence to LGPL 2.1+.
361 * htl/alloca_cutoff.c: Likewise.
362 * htl/cthreads-compat.c: Likewise.
363 * htl/lockfile.c: Likewise.
364 * htl/pt-alloc.c: Likewise.
365 * htl/pt-cancel.c: Likewise.
366 * htl/pt-cleanup.c: Likewise.
367 * htl/pt-create.c: Likewise.
368 * htl/pt-dealloc.c: Likewise.
369 * htl/pt-detach.c: Likewise.
370 * htl/pt-exit.c: Likewise.
371 * htl/pt-getattr.c: Likewise.
372 * htl/pt-initialize.c: Likewise.
373 * htl/pt-internal.h: Likewise.
374 * htl/pt-join.c: Likewise.
375 * htl/pt-self.c: Likewise.
376 * htl/pt-setcancelstate.c: Likewise.
377 * htl/pt-setcanceltype.c: Likewise.
378 * htl/pt-sigmask.c: Likewise.
379 * htl/pt-spin-inlines.c: Likewise.
380 * htl/pt-testcancel.c: Likewise.
381 * htl/pt-yield.c: Likewise.
382 * htl/tests/test-1.c: Likewise.
383 * htl/tests/test-10.c: Likewise.
384 * htl/tests/test-11.c: Likewise.
385 * htl/tests/test-12.c: Likewise.
386 * htl/tests/test-13.c: Likewise.
387 * htl/tests/test-14.c: Likewise.
388 * htl/tests/test-15.c: Likewise.
389 * htl/tests/test-16.c: Likewise.
390 * htl/tests/test-17.c: Likewise.
391 * htl/tests/test-2.c: Likewise.
392 * htl/tests/test-3.c: Likewise.
393 * htl/tests/test-4.c: Likewise.
394 * htl/tests/test-5.c: Likewise.
395 * htl/tests/test-6.c: Likewise.
396 * htl/tests/test-7.c: Likewise.
397 * htl/tests/test-8.c: Likewise.
398 * htl/tests/test-9.c: Likewise.
399 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
400 * sysdeps/htl/bits/cancelation.h: Likewise.
401 * sysdeps/htl/bits/pthread-np.h: Likewise.
402 * sysdeps/htl/bits/pthread.h: Likewise.
403 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
404 * sysdeps/htl/bits/semaphore.h: Likewise.
405 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
406 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
407 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
408 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
409 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
410 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
411 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
412 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
413 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
414 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
415 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
416 * sysdeps/htl/old_pt-atfork.c: Likewise.
417 * sysdeps/htl/pt-atfork.c: Likewise.
418 * sysdeps/htl/pt-attr-destroy.c: Likewise.
419 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
420 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
421 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
422 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
423 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
424 * sysdeps/htl/pt-attr-getscope.c: Likewise.
425 * sysdeps/htl/pt-attr-getstack.c: Likewise.
426 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
427 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
428 * sysdeps/htl/pt-attr-init.c: Likewise.
429 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
430 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
431 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
432 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
433 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
434 * sysdeps/htl/pt-attr-setscope.c: Likewise.
435 * sysdeps/htl/pt-attr-setstack.c: Likewise.
436 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
437 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
438 * sysdeps/htl/pt-attr.c: Likewise.
439 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
440 * sysdeps/htl/pt-barrier-init.c: Likewise.
441 * sysdeps/htl/pt-barrier-wait.c: Likewise.
442 * sysdeps/htl/pt-barrier.c: Likewise.
443 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
444 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
445 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
446 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
447 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
448 * sysdeps/htl/pt-cond-destroy.c: Likewise.
449 * sysdeps/htl/pt-cond-init.c: Likewise.
450 * sysdeps/htl/pt-cond-signal.c: Likewise.
451 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
452 * sysdeps/htl/pt-cond-wait.c: Likewise.
453 * sysdeps/htl/pt-cond.c: Likewise.
454 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
455 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
456 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
457 * sysdeps/htl/pt-condattr-init.c: Likewise.
458 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
459 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
460 * sysdeps/htl/pt-destroy-specific.c: Likewise.
461 * sysdeps/htl/pt-equal.c: Likewise.
462 * sysdeps/htl/pt-getconcurrency.c: Likewise.
463 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
464 * sysdeps/htl/pt-getschedparam.c: Likewise.
465 * sysdeps/htl/pt-getspecific.c: Likewise.
466 * sysdeps/htl/pt-init-specific.c: Likewise.
467 * sysdeps/htl/pt-key-create.c: Likewise.
468 * sysdeps/htl/pt-key-delete.c: Likewise.
469 * sysdeps/htl/pt-key.h: Likewise.
470 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
471 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
472 * sysdeps/htl/pt-mutex-init.c: Likewise.
473 * sysdeps/htl/pt-mutex-lock.c: Likewise.
474 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
475 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
476 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
477 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
478 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
479 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
480 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
481 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
482 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
483 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
484 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
485 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
486 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
487 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
488 * sysdeps/htl/pt-mutexattr.c: Likewise.
489 * sysdeps/htl/pt-once.c: Likewise.
490 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
491 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
492 * sysdeps/htl/pt-rwlock-init.c: Likewise.
493 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
494 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
495 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
496 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
497 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
498 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
499 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
500 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
501 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
502 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
503 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
504 * sysdeps/htl/pt-setconcurrency.c: Likewise.
505 * sysdeps/htl/pt-setschedparam.c: Likewise.
506 * sysdeps/htl/pt-setschedprio.c: Likewise.
507 * sysdeps/htl/pt-setspecific.c: Likewise.
508 * sysdeps/htl/pt-spin.c: Likewise.
509 * sysdeps/htl/pt-startup.c: Likewise.
510 * sysdeps/htl/pthread.h: Likewise.
511 * sysdeps/htl/sem-close.c: Likewise.
512 * sysdeps/htl/sem-destroy.c: Likewise.
513 * sysdeps/htl/sem-getvalue.c: Likewise.
514 * sysdeps/htl/sem-init.c: Likewise.
515 * sysdeps/htl/sem-open.c: Likewise.
516 * sysdeps/htl/sem-post.c: Likewise.
517 * sysdeps/htl/sem-timedwait.c: Likewise.
518 * sysdeps/htl/sem-trywait.c: Likewise.
519 * sysdeps/htl/sem-unlink.c: Likewise.
520 * sysdeps/htl/sem-wait.c: Likewise.
521 * sysdeps/hurd/htl/pt-kill.c: Likewise.
522 * sysdeps/i386/htl/pt-machdep.h: Likewise.
523 * sysdeps/mach/htl/pt-block.c: Likewise.
524 * sysdeps/mach/htl/pt-spin.c: Likewise.
525 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
526 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
527 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
528 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
529 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
530 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
531 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
532 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
533 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
534 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
535 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
536 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
537 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
538 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
539 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
540 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
541 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
542 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
543 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
544 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
545 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
546 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
547 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
548 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
549 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
550 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
551 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
552 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
553 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
554 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
555 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
556 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
557 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
558 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
559 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
560 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
561 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
562 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
563 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
564 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
565 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
566 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
567 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
569 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
570 * README: Remove the mention of out-of-tree patches needed for
573 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
574 (UTIME_NOW, UTIME_OMIT): Define macros.
576 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
577 instead of pthread_detach.
578 (__cthread_fork): Call __pthread_create instead of pthread_create.
579 (__cthread_keycreate): Call __pthread_key_create instead of
581 (__cthread_getspecific): Call __pthread_getspecific instead of
583 (__cthread_setspecific): Call __pthread_setspecific instead of
585 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
586 __pthread_mutex_unlock instead of pthread_mutex_lock and
587 pthread_mutex_unlock.
588 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
589 ___pthread_get_cleanup_stack.
590 (__pthread_get_cleanup_stack): New strong alias.
591 * htl/pt-create.c: Include <pthreadP.h>.
592 (entry_point): Call __pthread_exit instead of pthread_exit.
593 (pthread_create): Rename to __pthread_create.
594 (pthread_create): New strong alias.
595 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
596 (pthread_detach): New strong alias.
597 (__pthread_detach): Call __pthread_cond_broadcast instead of
598 pthread_cond_broadcast.
599 * htl/pt-exit.c: Include <pthreadP.h>.
600 (__pthread_exit): Call __pthread_setcancelstate and
601 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
602 __pthread_get_cleanup_stack.
603 * htl/pt-testcancel.c: Include <pthreadP.h>.
604 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
605 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
606 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
607 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
608 pthread_attr_getstacksize.
609 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
610 Rename to __pthread_attr_getstackaddr.
611 (pthread_attr_getstackaddr): New strong alias.
612 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
613 Rename to __pthread_attr_getstacksize.
614 (pthread_attr_getstacksize): New strong alias.
615 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
616 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
617 (pthread_attr_setstack): New strong alias.
618 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
619 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
620 pthread_attr_getstacksize, pthread_attr_setstacksize and
621 pthread_attr_setstackaddr.
622 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
623 Rename to __pthread_attr_setstackaddr.
624 (pthread_attr_setstackaddr): New strong alias.
625 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
626 Rename to __pthread_attr_setstacksize.
627 (pthread_attr_setstacksize): New strong alias.
628 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
629 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
631 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
632 (__pthread_key_create): New hidden def.
633 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
634 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
635 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
636 __pthread_exit, __pthread_key_create, __pthread_getspecific,
637 __pthread_setspecific, __pthread_setcancelstate,
638 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
639 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
640 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
642 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
643 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
644 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
645 (pthread_attr_setstackaddr): New strong alias.
646 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
647 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
648 (pthread_attr_setstacksize): New strong alias.
649 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
650 (call_exit): Call __pthread_exit instead of pthread_exit.
651 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
652 (_pthread_mutex_init): New hidden definition.
653 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
654 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
655 instead of pthread_attr_init and pthread_attr_setstack.
657 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
658 __vm_deallocate instead of vm_allocate and vm_deallocate.
659 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
661 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
663 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
665 * hurd/siginfo.c: Include <libioP.h>.
666 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
667 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
669 * mach/devstream.c: Include <libioP.h>.
670 (dealloc_ref): Call __mach_port_deallocate instead of
671 mach_port_deallocate.
672 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
673 Call __mach_port_deallocate instead of mach_port_deallocate.
674 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
676 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
678 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
679 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
680 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
682 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
684 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
686 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
687 __clock_gettime instead of clock_gettime.
688 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
689 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
690 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
691 * sysdeps/unix/bsd/stty.c (stty): Likewise.
692 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
694 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
695 __clock_gettime and __nanosleep instead of clock_gettime and
697 * hurd/catch-signal.c (hurd_catch_signal): Rename to
699 (hurd_catch_signal): New strong alias.
700 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
701 __hurd_catch_signal instead of hurd_catch_signal.
702 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
703 * hurd/hurdexec.c (_hurd_init): Add hidden def.
704 * hurd/hurdinit.c (_hurd_init): Add hidden def.
705 * hurd/hurdsig.c: Include <mach/mig_support.h>.
706 (_hurd_thread_sigstate): Add hidden def.
707 (_hurd_internal_post_signal): Use __mutex_unlock instead of
709 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
710 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
711 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
712 __hurd_file_name_path_lookup.
713 (hurd_file_name_path_lookup): New strong alias.
714 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
715 hurd_file_name_path_lookup.
716 * mach/errstring.c (mach_error_type): Add hidden def.
717 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
718 * mach/mutex-init.c (__mutex_init): Add hidden def.
719 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
720 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
721 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
722 * sysdeps/mach/hurd/getcwd.c
723 (_hurd_canonicalize_directory_name_internal): Rename to
724 __hurd_canonicalize_directory_name_internal.
725 (_hurd_canonicalize_directory_name_internal): New strong alias.
726 (__canonicalize_directory_name_internal, __getcwd): Call
727 __hurd_canonicalize_directory_name_internal instead of
728 _hurd_canonicalize_directory_name_internal.
729 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
730 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
732 * sysdeps/hurd/include/hurd.h: New file.
733 * sysdeps/hurd/include/hurd/fd.h: New file.
734 * sysdeps/hurd/include/hurd/signal.h: New file.
735 * sysdeps/mach/include/lock-intern.h: New file.
736 * sysdeps/mach/include/mach.h: New file.
737 * sysdeps/mach/include/mach/mig_support.h: New file.
738 * sysdeps/mach/include/mach_error.h: New file.
739 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
741 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
742 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
743 _HEADER_H_HIDDEN_DEF macro.
744 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
745 _hurd_fd_error_signal): Add hidden prototype.
746 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
748 * libio/iolibio.h (_IO_puts): New hidden prototype.
749 * libio/ioputs.c (_IO_puts): New hidden def.
750 * sysdeps/mach/hurd/localplt.data: New file.
752 2018-04-02 Agustina Arzille <avarzille@riseup.net>
753 Amos Jeffries <squid3@treenet.co.nz>
754 David Michael <fedora.dm0@gmail.com>
755 Marco Gerards <marco@gnu.org>
756 Marcus Brinkmann <marcus@gnu.org>
757 Neal H. Walfield <neal@gnu.org>
758 Pino Toscano <toscano.pino@tiscali.it>
759 Richard Braun <rbraun@sceen.net>
760 Roland McGrath <roland@gnu.org>
761 Samuel Thibault <samuel.thibault@ens-lyon.org>
762 Thomas DiModica <ricinwich@yahoo.com>
763 Thomas Schwinge <tschwinge@gnu.org>
765 * htl: New directory.
766 * sysdeps/htl: New directory.
767 * sysdeps/hurd/htl: New directory.
768 * sysdeps/i386/htl: New directory.
769 * sysdeps/mach/htl: New directory.
770 * sysdeps/mach/hurd/htl: New directory.
771 * sysdeps/mach/hurd/i386/htl: New directory.
772 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
773 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
774 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
776 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
778 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
779 signals in thread created for runing timers.
781 2018-04-01 Florian Weimer <fweimer@redhat.com>
783 * support/support_format_addrinfo.c (support_format_addrinfo):
784 Include unknown error number in formatted result.
786 2018-03-29 Florian Weimer <fweimer@redhat.com>
788 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
791 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
793 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
794 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
795 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
796 (__ASSUME_CLONE_BACKWARDS): Define.
798 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
801 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
802 early when linux sentinel value is set.
804 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
806 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
808 2018-03-27 Andreas Schwab <schwab@suse.de>
811 * resolv/res_send.c (__res_context_send): Return ENOMEM if
812 allocation of private copy of nsaddr_list fails.
814 2018-03-26 Joseph Myers <joseph@codesourcery.com>
817 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
818 * sysdeps/unix/sysv/linux/umount.c: ... here.
819 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
820 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
821 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
822 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
824 * sysdeps/unix/sysv/linux/umount.S: Likewise.
825 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
827 2018-03-26 Andreas Schwab <schwab@suse.de>
829 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
830 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
831 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
832 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
833 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
834 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
835 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
836 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
837 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
838 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
839 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
840 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
841 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
842 (R_RISCV_NUM): Define.
844 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
846 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
847 TLS declaration of errno.
848 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
850 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
851 (ARCH_SETUP_TLS): Likewise.
852 * sysdeps/mach/hurd/libc-start.h: New file copied from
853 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
854 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
855 instead of __libc_setup_tls.
856 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
857 __libc_setup_tls before initializing libpthread and running _hurd_init
858 which starts the signal thread.
859 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
861 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
863 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
866 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
869 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
870 Max Horn <max@quendi.de>
873 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
875 * string/test-memmove.c (do_test2): New testcase.
877 2018-03-22 Joseph Myers <joseph@codesourcery.com>
879 * sysdeps/generic/frame.h: Remove file.
880 * sysdeps/arm/frame.h: Likewise.
881 * sysdeps/hppa/frame.h: Likewise.
882 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
884 (GET_FRAME): Likewise.
885 (GET_STACK): Likewise.
886 (CALL_SIGHANDLER): Likewise.
887 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
889 (GET_FRAME): Likewise.
890 (GET_STACK): Likewise.
891 (CALL_SIGHANDLER): Likewise.
892 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
893 (SIGCONTEXT_EXTRA_ARGS): Likewise.
894 (GET_FRAME): Likewise.
895 (GET_STACK): Likewise.
896 (CALL_SIGHANDLER): Likewise.
897 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
898 (SIGCONTEXT_EXTRA_ARGS): Likewise.
899 (GET_FRAME): Likewise.
900 (GET_STACK): Likewise.
901 (ADVANCE_STACK_FRAME): Likewise.
902 (CALL_SIGHANDLER): Likewise.
903 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
904 (SIGCONTEXT_EXTRA_ARGS): Likewise.
905 (GET_FRAME): Likewise.
906 (GET_STACK): Likewise.
907 (CALL_SIGHANDLER): Likewise.
908 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
909 (SIGCONTEXT_EXTRA_ARGS): Likewise.
910 (GET_FRAME): Likewise.
911 (GET_STACK): Likewise.
912 (CALL_SIGHANDLER): Likewise.
913 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
914 (SIGCONTEXT_EXTRA_ARGS): Likewise.
915 (GET_FRAME): Likewise.
916 (GET_STACK): Likewise.
917 (CALL_SIGHANDLER): Likewise.
918 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
919 (SIGCONTEXT_EXTRA_ARGS): Likewise.
920 (GET_FRAME): Likewise.
921 (GET_STACK): Likewise.
922 (CALL_SIGHANDLER): Likewise.
923 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
924 (SIGCONTEXT_EXTRA_ARGS): Likewise.
925 (GET_FRAME): Likewise.
926 (GET_STACK): Likewise.
927 (CALL_SIGHANDLER): Likewise.
928 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
929 (SIGCONTEXT_EXTRA_ARGS): Likewise.
930 (GET_FRAME): Likewise.
931 (GET_STACK): Likewise.
932 (CALL_SIGHANDLER): Likewise.
933 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
934 (SIGCONTEXT_EXTRA_ARGS): Likewise.
935 (GET_FRAME): Likewise.
936 (GET_STACK): Likewise.
937 (CALL_SIGHANDLER): Likewise.
938 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
939 (SIGCONTEXT_EXTRA_ARGS): Likewise.
940 (GET_FRAME): Likewise.
941 (GET_STACK): Likewise.
942 (CALL_SIGHANDLER): Likewise.
943 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
944 (SIGCONTEXT_EXTRA_ARGS): Likewise.
945 (GET_FRAME): Likewise.
946 (GET_STACK): Likewise.
947 (CALL_SIGHANDLER): Likewise.
948 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
949 (SIGCONTEXT_EXTRA_ARGS): Likewise.
950 (FIRST_FRAME_POINTER): Likewise.
951 (ADVANCE_STACK_FRAME): Likewise.
952 (GET_STACK): Likewise.
953 (GET_FRAME): Likewise.
954 (CALL_SIGHANDLER): Likewise.
955 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
956 (SIGCONTEXT_EXTRA_ARGS): Likewise.
957 (ADVANCE_STACK_FRAME): Likewise.
958 (GET_STACK): Likewise.
959 (GET_FRAME): Likewise.
960 (CALL_SIGHANDLER): Likewise.
961 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
962 (SIGCONTEXT_EXTRA_ARGS): Likewise.
963 (GET_FRAME): Likewise.
964 (GET_STACK): Likewise.
965 (CALL_SIGHANDLER): Likewise.
966 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
967 (SIGCONTEXT_EXTRA_ARGS): Likewise.
968 (GET_FRAME): Likewise.
969 (GET_STACK): Likewise.
970 (CALL_SIGHANDLER): Likewise.
972 2018-03-21 Joseph Myers <joseph@codesourcery.com>
974 * sysdeps/x86_64/backtrace.c: Move to ....
975 * debug/backtrace.c: ... here.
976 * sysdeps/aarch64/backtrace.c: Remove file.
977 * sysdeps/alpha/backtrace.c: Likewise.
978 * sysdeps/hppa/backtrace.c: Likewise.
979 * sysdeps/ia64/backtrace.c: Likewise.
980 * sysdeps/mips/backtrace.c: Likewise.
981 * sysdeps/nios2/backtrace.c: Likewise.
982 * sysdeps/riscv/backtrace.c: Likewise.
983 * sysdeps/sh/backtrace.c: Likewise.
984 * sysdeps/tile/backtrace.c: Likewise.
986 2018-03-20 Joseph Myers <joseph@codesourcery.com>
989 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
992 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
995 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
996 possibly overflowing computations.
998 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
1000 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
1001 values from Linux-specific section now that it is in the GNU section.
1002 * sysdeps/gnu/errlist.c: Regenerate.
1004 2018-03-20 Joseph Myers <joseph@codesourcery.com>
1006 * math/Makefile (libm-narrow-fns): Add sub.
1007 (libm-test-funcs-narrow): Likewise.
1008 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
1009 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
1010 * math/gen-auto-libm-tests.c (test_functions): Add sub.
1011 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
1012 (NARROW_SUB_ROUND_TO_ODD): Likewise.
1013 (NARROW_SUB_TRIVIAL): Likewise.
1014 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
1016 (__dsubl): Likewise.
1017 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
1019 (CFLAGS-nldbl-dsub.c): New variable.
1020 (CFLAGS-nldbl-fsub.c): Likewise.
1021 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
1023 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
1025 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
1026 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
1027 * math/auto-libm-test-in: Add tests of sub.
1028 * math/auto-libm-test-out-narrow-sub: New generated file.
1029 * math/libm-test-narrow-sub.inc: New file.
1030 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
1031 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
1032 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
1033 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
1034 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
1035 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
1036 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
1037 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
1038 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
1039 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
1040 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
1041 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
1042 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
1043 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
1044 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
1045 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1046 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
1047 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1049 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
1050 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1051 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1052 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1053 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1054 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1055 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1056 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1057 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1058 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1059 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1060 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1061 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1066 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1067 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1068 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1069 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1071 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1072 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
1073 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
1074 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1075 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1077 2018-03-19 Joseph Myers <joseph@codesourcery.com>
1080 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
1082 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
1084 * benchtests/bench-timing.h (attribute_hidden): Undefine.
1086 2018-03-18 Richard Braun <rbraun@sceen.net>
1088 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
1091 2018-03-18 Agustina Arzille <avarzille@riseup.net>
1093 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
1094 (__libc_cleanup_fct): Define function.
1095 (__libc_cleanup_region_start, __libc_cleanup_region_end,
1096 __libc_cleanup_end): Rewrite implementation using
1097 __attribute__ ((__cleanup__)).
1098 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
1099 * hurd/Makefile (routines): Add hurdlock.
1100 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
1102 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
1103 * hurd/hurdpid.c: Include <lowlevellock.h>
1104 (_S_msg_proc_newids): Use lll_wait to synchronize.
1105 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
1106 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
1107 * mach/Makefile (lock-headers): Remove machine-lock.h.
1108 * mach/lock-intern.h: Include <lowlevellock.h> instead of
1110 (__spin_lock_t): New type.
1111 (__SPIN_LOCK_INITIALIZER): New macro.
1112 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
1113 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
1114 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
1115 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
1116 (__mutex_init): Initialize with lll.
1117 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
1118 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
1120 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1121 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
1122 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
1123 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
1124 (__setpgid): Use lll for synchronization.
1125 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
1126 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
1127 instead of <cthreads.h>.
1128 (_IO_lock_inexpensive): New macro
1129 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
1130 (__libc_lock_self0): New declaration.
1131 (__libc_lock_owner_self): New macro.
1132 (__libc_key_t): Remove type.
1133 (_LIBC_LOCK_INITIALIZER): New macro.
1134 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
1135 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
1136 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
1137 __libc_lock_define_initialized_recursive,
1138 __rtld_lock_define_initialized_recursive,
1139 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
1140 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
1141 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
1142 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
1143 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
1144 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
1145 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
1147 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
1148 * hurd/hurdlock.c: New file.
1149 * hurd/hurdlock.h: New file.
1150 * mach/lowlevellock.h: New file
1152 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1154 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
1155 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
1156 when opening a symlink with O_NOFOLLOW.
1157 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
1158 path when flags contains O_NOFOLLOW.
1159 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
1160 if flags contains O_DIRECTORY and the result is a directory.
1161 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
1162 oneself when the pointer given in D is nul (as set by ext2fs).
1163 * sysdeps/mach/hurd/mlockall.c: New file.
1164 * sysdeps/mach/hurd/munlockall.c: New file.
1166 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
1168 * hurd/hurdsig.c: Include <pthread.h>.
1169 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
1170 get the signal thread stack layout.
1171 * hurd/Makefile (headers): Remove threadvar.h.
1172 (inline-headers): Remove threadvar.h.
1173 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
1174 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
1175 __hurd_threadvar_max, __hurd_errno_location.
1176 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
1177 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
1178 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
1179 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
1180 unless TLS is not initialized yet, in which case we do not need a
1181 critical section yet anyway.
1182 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
1184 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
1186 (__hurd_threadvar_index): Remove enum.
1187 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
1188 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
1190 (__hurd_reply_port0): New variable declaration.
1191 (__hurd_local_reply_port): New macro.
1192 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
1193 (interrupted_reply_port_location): Add thread_t parameter. Use it
1194 with THREAD_TCB to access thread-local variables.
1195 (_hurdsig_abort_rpcs): Pass ss->thread to
1196 interrupted_reply_port_location.
1197 (_hurd_internal_post_signal): Likewise.
1198 (_hurdsig_init): Use presence of cthread_fork instead of
1199 __hurd_threadvar_stack_mask to start signal thread by hand.
1200 Remove signal thread threadvar initialization.
1201 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
1202 * hurd/sigunwind.c: Include <hurd/threadvar.h>
1203 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
1205 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
1207 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
1208 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
1209 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
1210 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
1211 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
1212 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
1213 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
1215 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
1217 [IS_IN(rtld)] (rtld_errno): New variable.
1218 [IS_IN(rtld)] (__errno_location): New weak function.
1219 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
1220 * sysdeps/mach/hurd/errno.c: Remove file.
1221 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
1222 (__fork): Remove THREADVAR_SPACE macro and its use.
1223 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
1225 (init): Do not initialize threadvar.
1226 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
1228 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
1229 __hurd_local_reply_port instead of threadvar.
1230 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
1231 _hurd_sigstate fields.
1232 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
1233 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
1234 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
1235 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
1236 instead of threadvar.
1237 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
1238 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
1239 (use_threadvar, global_reply_port): Remove variables.
1240 (__hurd_reply_port0): New variable.
1241 (__mig_get_reply_port): Use __hurd_local_reply_port and
1242 __hurd_reply_port0 instead of threadvar.
1243 (__mig_dealloc_reply_port): Likewise.
1244 (__mig_init): Do not initialize threadvar.
1245 * sysdeps/mach/hurd/profil.c: Fix comment.
1246 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
1247 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
1248 cthread_keycreate, cthread_getspecific, cthread_setspecific to
1249 __cthread_fork, __cthread_detach, __pthread_getattr_np,
1250 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
1251 __cthread_setspecific.
1252 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
1253 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
1254 __cthread_t instead of cthread_fork, cthread_detach,
1255 pthread_getattr_np, pthread_attr_getstack.
1256 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
1257 __cthread_keycreate.
1258 (cthread_getspecific): Rename to __cthread_getspecific.
1259 (cthread_setspecific): Rename to __cthread_setspecific.
1260 (__libc_getspecific): Use __cthread_getspecific instead of
1261 cthread_getspecific.
1262 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
1263 __cthread_keycreate instead of cthread_keycreate.
1264 (__libc_setspecific): Use __cthread_setspecific instead of
1265 cthread_setspecific.
1266 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
1268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
1269 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
1270 testing whether it is defined.
1272 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1274 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
1276 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
1277 * sysdeps/mach/i386/thread_state.h
1278 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
1280 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
1282 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
1284 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
1285 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
1287 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
1289 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
1290 descriptor instead of creating a new one.
1291 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
1293 * mach/setup-thread.c: Include <ldsodefs.h>.
1294 (__mach_setup_thread): Call _dl_allocate_tls, pass
1295 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
1296 MACHINE_THREAD_STATE_FLAVOR, before getting
1297 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
1298 MACHINE_THREAD_STATE_FLAVOR with the result.
1299 * hurd/hurdfault.c (_hurdsig_fault_init): Call
1300 MACHINE_THREAD_STATE_FIX_NEW.
1301 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
1302 too. Add original thread parameter.
1304 2018-03-16 Joseph Myers <joseph@codesourcery.com>
1306 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
1307 Remove inline function.
1309 * sysdeps/i386/fpu/libm-test-ulps: Update.
1310 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1312 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
1314 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
1317 2018-03-15 Joseph Myers <joseph@codesourcery.com>
1319 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
1320 (__sincos_code): Remove define and undefine.
1321 [__FAST_MATH__] (__sincos): Remove inline function.
1322 [__FAST_MATH__] (__sincosf): Remove inline function.
1323 [__FAST_MATH__] (__sincosl): Remove inline function.
1324 (__atan2l): Remove inline functions.
1325 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
1326 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
1328 (floor): Remove inline function.
1330 [__FAST_MATH__] (__ldexp_code): Remove macro.
1331 [__FAST_MATH__] (ldexp): Remove inline function.
1332 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
1333 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
1334 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
1335 [__USE_ISOC99] (__lrint_code): Remove macro.
1336 [__USE_ISOC99] (__llrint_code): Likewise.
1337 [__USE_ISOC99] (lrintf): Remove inline function.
1338 [__USE_ISOC99] (lrint): Likewise.
1339 [__USE_ISOC99] (lrintl): Likewise.
1340 [__USE_ISOC99] (llrint): Likewise.
1341 [__USE_ISOC99] (llrintf): Likewise.
1342 [__USE_ISOC99] (llrintl): Likewise.
1344 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
1346 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
1347 (__ieee754_sqrtf): Remove.
1348 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
1349 (__ieee754_sqrtf): Remove.
1350 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
1351 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
1352 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
1353 (__ieee754_sqrtf): Remove.
1354 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
1355 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
1358 (__ieee754_sqrt): Remove.
1359 (__ieee754_sqrtf): Remove.
1360 (__ieee754_sqrtl): Remove.
1361 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
1362 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
1363 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
1364 (__ieee754_sqrtf): Remove.
1365 (__ieee754_sqrtl): Remove.
1367 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
1369 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
1370 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
1371 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1372 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
1373 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
1374 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1375 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1378 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
1379 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
1380 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
1381 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
1382 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
1383 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
1384 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1385 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
1386 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
1387 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
1388 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
1389 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
1390 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
1391 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
1392 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
1393 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1394 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1395 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
1396 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
1397 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
1398 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1399 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1400 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
1401 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
1402 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
1403 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
1404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1405 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1406 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
1407 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
1408 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
1409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
1410 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
1411 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
1412 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1413 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1414 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
1415 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
1416 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
1417 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
1419 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
1421 * include/math.h (sqrt): Declare with asm redirect.
1424 (sqrtf128): Likewise.
1425 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
1426 nonlib and libnldbl with -fmath-errno.
1427 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
1428 * math/w_sqrt_template.c: Likewise.
1429 * math/w_sqrtf_compat.c: Likewise.
1430 * math/w_sqrtl_compat.c: Likewise.
1431 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
1432 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
1433 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
1436 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
1438 * benchtests/Makefile: Define _ISOMAC.
1439 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
1440 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
1441 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
1442 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
1443 * benchtests/bench-timing.h: Define attribute_hidden.
1445 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
1447 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
1450 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
1453 * localedata/locales/cs_CZ (mon): Rename to...
1455 (mon): Import from CLDR (genitive case).
1457 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
1460 * localedata/locales/el_CY (abmon): Rename to...
1462 (abmon): Import from CLDR (abbreviated genitive case).
1463 * localedata/locales/el_GR (abmon): Rename to...
1465 (abmon): Import from CLDR (abbreviated genitive case).
1467 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
1470 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
1472 2018-03-15 Robert Buj <robert.buj@gmail.com>
1475 * localedata/locales/ca_ES (abmon): Rename to...
1476 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
1479 (abmon): Import from CLDR (genitive case, month names preceded by
1482 (abday): Synchronize with CLDR.
1483 (d_t_fmt): Likewise.
1487 (LC_TIME): Improve indentation.
1488 (LC_TELEPHONE): Likewise.
1489 (LC_NAME): Likewise.
1490 (LC_ADDRESS): Likewise.
1492 2018-03-14 Joseph Myers <joseph@codesourcery.com>
1494 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
1495 (lrintf): Remove definitions used only with old GCC.
1496 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
1497 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
1498 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
1499 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
1500 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
1501 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
1502 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
1503 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
1504 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
1505 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
1506 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
1507 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
1508 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
1509 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
1510 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
1511 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
1512 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
1513 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
1514 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
1515 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
1516 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
1517 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
1518 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
1519 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
1520 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
1521 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
1522 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
1523 [__FAST_MATH__] (__M_SQRT2): Remove macro.
1525 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1527 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
1528 instruction to unbreak builds with binutils 2.26 and older.
1530 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
1532 * sysdeps/aarch64/strncmp.S (count): New macro.
1533 (strncmp): Store misaligned length in SRC1 in COUNT.
1534 (mutual_align): Adjust.
1535 (misaligned8): Load dword at a time when it is safe.
1537 2018-03-12 Zack Weinberg <zackw@panix.com>
1541 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
1542 if the _IO_EOF_SEEN bit is already set; update commentary.
1543 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
1544 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1546 * support/support_openpty.c, support/tty.h: New files.
1547 * support/Makefile (libsupport-routines): Add support_openpty.
1549 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
1551 * libio/Makefile (tests): Add tst-fgetc-after-eof.
1552 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
1554 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
1556 * po/pt_BR.po: Update translations.
1558 2018-03-12 David Michael <fedora.dm0@gmail.com>
1560 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
1561 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
1562 get a port to the startup server.
1564 2018-03-11 Zack Weinberg <zackw@panix.com>
1566 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
1567 before nldbl-compat.h.
1569 2018-03-10 Zack Weinberg <zackw@panix.com>
1571 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
1572 math.h or math_private.h.
1574 * sysdeps/alpha/fpu/s_isnan.c
1575 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
1576 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
1577 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
1578 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
1579 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
1580 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
1581 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
1582 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
1583 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
1584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
1585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
1586 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
1587 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
1588 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
1589 Include math_private.h.
1591 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
1592 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
1593 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
1594 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
1595 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
1596 * sysdeps/powerpc/power7/fpu/s_logb.c:
1597 Include math.h and math_private.h.
1599 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
1600 uses of $at in .set noat / .set at.
1602 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
1604 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
1605 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
1606 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
1607 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
1610 2018-03-09 Florian Weimer <fweimer@redhat.com>
1612 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
1615 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
1618 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
1619 Add nop before __startcontext, add explaining comments.
1621 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1624 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
1626 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
1627 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
1628 Do not build hardware transactional code for __SPE__.
1629 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1630 (__lll_trylock_elision): Likewise.
1631 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1632 (__lll_unlock_elision): Likewise.
1634 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
1635 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
1636 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
1637 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
1638 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
1639 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
1640 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
1641 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
1642 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
1643 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
1644 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
1645 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
1646 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
1647 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
1648 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
1649 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
1650 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
1651 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
1652 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
1653 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
1654 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
1655 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1656 (__ASSUME_CLONE_BACKWARDS): Define.
1657 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
1658 __clone2 if __NR_clone2 is defined.
1659 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1660 (__ASSUME_CLONE_BACKWARDS): Likewise.
1661 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1662 (__ASSUME_CLONE_BACKWARDS): Likewise.
1663 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1664 (__ASSUME_CLONE2): Likewise.
1665 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1666 (__ASSUME_CLONE_BACKWARDS3): Likewise.
1667 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
1668 variants and the define architecture can use.
1669 (__ASSUME_CLONE_DEFAULT): Define as default.
1670 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1671 (__ASSUME_CLONE_BACKWARDS): Likewise.
1672 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1673 (__ASSUME_CLONE_BACKWARDS): Likewise.
1674 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1675 (__ASSUME_CLONE_BACKWARDS2): Likewise.
1677 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
1679 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
1681 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
1684 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
1685 (do_test_limit): Likewise.
1687 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
1688 for every implementation.
1689 (do_test): Likewise.
1691 * benchtests/bench-strncmp.c: Convert output to json.
1693 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1695 * io/futimens.c: Add missing start-of-file descriptive comment.
1696 * io/utime.c: Likewise.
1697 * misc/futimesat.c: Likewise.
1698 * misc/utimes.c: Likewise.
1699 * sysdeps/mach/hurd/futimesat.c: Likewise.
1700 * sysdeps/mach/hurd/utimes.c: Likewise.
1701 * sysdeps/posix/utime.c: Likewise.
1702 * sysdeps/posix/utimes.c: Likewise.
1703 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
1704 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1705 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
1706 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
1708 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
1710 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
1712 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
1713 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
1714 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
1715 (__futimens): Move implementation to...
1716 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
1717 utime_tvalue_from_tspec): ... new helper functions.
1718 (hurd_futimens): New function.
1719 * sysdeps/mach/hurd/futimesat.c: New file.
1720 * sysdeps/mach/hurd/utimensat.c: New file.
1722 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
1724 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
1725 UTIME_OMIT): New macros.
1726 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
1727 before reverting to converting time spec to time value and calling
1729 * sysdeps/mach/hurd/utime-helper.c: New file.
1730 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
1731 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
1732 reverting to utime_tvalue_from_tval and __file_utimes.
1733 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
1734 (__lutimes): Just call hurd_futimens after lookup.
1735 * sysdeps/mach/hurd/utimes.c: Likewise.
1737 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
1739 * bits/sigaction.h: Add include guard.
1740 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
1741 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1742 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
1743 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
1744 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1745 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
1746 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1747 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
1748 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
1750 2018-03-05 Joseph Myers <joseph@codesourcery.com>
1752 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
1753 -Wmaybe-uninitialized for -Os.
1754 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
1757 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1759 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
1760 __INO_T_MATCHES_INO64_T is defined.
1761 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
1762 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
1764 * dirent/alphasort64.c: Likewise.
1765 * dirent/scandir.c: Likewise.
1766 * dirent/scandir64-tail.c: Likewise.
1767 * dirent/scandir64.c: Likewise.
1768 * dirent/scandirat.c: Likewise.
1769 * dirent/scandirat64.c: Likewise.
1770 * dirent/versionsort.c: Likewise.
1771 * dirent/versionsort64.c: Likewise.
1772 * include/dirent.h: Likewise.
1774 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
1775 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
1776 for socketpair endpoint.
1777 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
1778 WRITE_BUFFER_SIZE as buffer size for sending socket.
1779 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
1780 issue on system where send is implemented with sendto syscall.
1781 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
1782 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
1783 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
1784 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
1787 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
1788 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
1789 sa_restorer for vDSO case.
1790 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
1792 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1794 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
1795 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
1796 * hurd/hurd/ioctl.h: Include <mach/port.h>
1797 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
1798 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
1799 <mach/mach_types.h> and <mach/message.h>.
1800 (headers): Move mach/param.h to bits/mach/param.h.
1801 * sysdeps/mach/i386/mach/param.h: Move file to ...
1802 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
1803 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
1805 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
1806 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
1807 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
1808 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
1809 trivial, for C++ conformity.
1810 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
1811 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
1812 Process mig output through $(migheadersed).
1813 * hurd/Makefile (migheadersed): Define variable.
1814 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
1815 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
1817 * hurd/hurd.h: Include <bits/types/sigset_t.h>
1818 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
1819 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
1820 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
1821 <bits/types/sigset_t.h>.
1822 [!defined __USE_GNU]: Do not #error out.
1823 (struct hurd_sigstate): Use _NSIG instead of NSIG.
1824 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
1825 Include <stddef.h> and <bits/types/sigset_t.h>
1826 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
1827 instead of sighandler_t.
1828 * stdlib/errno.h (error_t): Move definition to...
1829 * bits/types/error_t.h: ... new header.
1830 * stdlib/Makefile (headers): Add bits/types/error_t.h.
1831 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
1832 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
1833 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
1834 * hurd/hurd.h: Include <bits/types/error_t.h>
1835 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
1836 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
1837 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
1838 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
1839 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
1840 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
1841 * sysdeps/mach/hurd/futimens.c: New file.
1843 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
1846 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
1847 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
1848 * nscd/gai.c (__nss_hosts_database): Readd definition.
1849 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
1850 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
1851 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
1853 2018-03-02 Joseph Myers <joseph@codesourcery.com>
1855 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
1856 (ifunc_one): Likewise.
1858 2018-03-01 DJ Delorie <dj@delorie.com>
1861 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
1864 2018-03-01 Maciej W. Rozycki <macro@mips.com>
1866 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
1867 `match_pid' parameter.
1868 (td_ta_thr_iter): Update accordingly.
1870 2018-03-01 Florian Weimer <fweimer@redhat.com>
1872 * nptl/Makefile (install-lib-ldscripts): Remove.
1873 (install): Remove rule.
1874 ($(inst_libdir)/libpthread.so): Likewise.
1876 2018-03-01 Mike FABIAN <mfabian@redhat.com>
1879 * localedata/locales/an_ES: update month and day names,
1880 improve d_fmt, improve postal_fmt, add country_post,
1883 2018-03-01 Mike FABIAN <mfabian@redhat.com>
1885 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
1886 Ukrainian instead of Bulgarian.
1888 2018-03-01 Florian Weimer <fweimer@redhat.com>
1890 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
1893 2018-03-01 Florian Weimer <fweimer@redhat.com>
1895 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
1896 * nptl/Makefile (routines): Add pthread_atfork.
1897 (static-only-routines): Set to pthread_atfork.
1898 (libpthread-routines): Remove pthread_atfork.
1899 (libpthread-static-only-routines): Remove.
1900 (install): Update comment.
1901 (libpthread.so): Do not install libpthread_nonshared.a.
1902 (tests): Do not link with libpthread_nonshared.a.
1903 (generated): Remove libpthread_nonshared.a.
1904 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
1905 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
1906 with libpthread_nonshared.a.
1908 2018-02-28 Joseph Myers <joseph@codesourcery.com>
1911 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
1912 (libc_feholdexcept_setroundf128): New macro.
1913 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
1916 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
1918 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
1919 * include/inttypes.h: New file.
1921 2018-02-27 Joseph Myers <joseph@codesourcery.com>
1923 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
1924 -Os in two more places.
1926 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1928 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
1929 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
1930 be sorted correctly at the moment because of a bug.
1932 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1934 [BZ #22550] - es_ES locale (and other es_* locales): collation should
1935 treat ñ as a primary different character, sync the collation
1936 for Spanish with CLDR.
1937 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
1938 * localedata/Makefile: Add new test files.
1939 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
1940 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
1942 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
1943 * localedata/am_ET.UTF-8.in: New test file.
1944 * localedata/az_AZ.UTF-8.in: Likewise.
1945 * localedata/be_BY.UTF-8.in: Likewise.
1946 * localedata/ber_DZ.UTF-8.in: Likewise.
1947 * localedata/ber_MA.UTF-8.in: Likewise.
1948 * localedata/bg_BG.UTF-8.in: Likewise.
1949 * localedata/br_FR.UTF-8.in: Likewise.
1950 * localedata/cmn_TW.UTF-8.in: Likewise.
1951 * localedata/crh_UA.UTF-8.in: Likewise.
1952 * localedata/csb_PL.UTF-8.in: Likewise.
1953 * localedata/cv_RU.UTF-8.in: Likewise.
1954 * localedata/cy_GB.UTF-8.in: Likewise.
1955 * localedata/dz_BT.UTF-8.in: Likewise.
1956 * localedata/eo.UTF-8.in: Likewise.
1957 * localedata/es_ES.UTF-8.in: Likewise.
1958 * localedata/fa_IR.UTF-8.in: Likewise.
1959 * localedata/fi_FI.UTF-8.in: Likewise.
1960 * localedata/fil_PH.UTF-8.in: Likewise.
1961 * localedata/fur_IT.UTF-8.in: Likewise.
1962 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
1963 * localedata/ha_NG.UTF-8.in: Likewise.
1964 * localedata/ig_NG.UTF-8.in: Likewise.
1965 * localedata/ik_CA.UTF-8.in: Likewise.
1966 * localedata/kk_KZ.UTF-8.in: Likewise.
1967 * localedata/ku_TR.UTF-8.in: Likewise.
1968 * localedata/ky_KG.UTF-8.in: Likewise.
1969 * localedata/ln_CD.UTF-8.in: Likewise.
1970 * localedata/mi_NZ.UTF-8.in: Likewise.
1971 * localedata/ml_IN.UTF-8.in: Likewise.
1972 * localedata/mn_MN.UTF-8.in: Likewise.
1973 * localedata/mr_IN.UTF-8.in: Likewise.
1974 * localedata/mt_MT.UTF-8.in: Likewise.
1975 * localedata/nb_NO.UTF-8.in: Likewise.
1976 * localedata/om_KE.UTF-8.in: Likewise.
1977 * localedata/os_RU.UTF-8.in: Likewise.
1978 * localedata/ps_AF.UTF-8.in: Likewise.
1979 * localedata/ro_RO.UTF-8.in: Likewise.
1980 * localedata/ru_RU.UTF-8.in: Likewise.
1981 * localedata/sc_IT.UTF-8.in: Likewise.
1982 * localedata/se_NO.UTF-8.in: Likewise.
1983 * localedata/sq_AL.UTF-8.in: Likewise.
1984 * localedata/sv_SE.UTF-8.in: Likewise.
1985 * localedata/szl_PL.UTF-8.in: Likewise.
1986 * localedata/tg_TJ.UTF-8.in: Likewise.
1987 * localedata/tk_TM.UTF-8.in: Likewise.
1988 * localedata/tt_RU.UTF-8.in: Likewise.
1989 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
1990 * localedata/ug_CN.UTF-8.in: Likewise.
1991 * localedata/uz_UZ.UTF-8.in: Likewise.
1992 * localedata/vi_VN.UTF-8.in: Likewise.
1993 * localedata/yi_US.UTF-8.in: Likewise.
1994 * localedata/yo_NG.UTF-8.in: Likewise.
1995 * localedata/zh_CN.UTF-8.in: Likewise.
1996 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
1997 file and fix bugs in the collation.
1998 * localedata/locales/az_AZ: Likewise.
1999 * localedata/locales/be_BY: Likewise.
2000 * localedata/locales/ber_DZ: Likewise.
2001 * localedata/locales/ber_MA: Likewise.
2002 * localedata/locales/bg_BG: Likewise.
2003 * localedata/locales/br_FR: Likewise.
2004 * localedata/locales/br_FR@euro: Likewise.
2005 * localedata/locales/ca_ES: Likewise.
2006 * localedata/locales/cns11643_stroke: Likewise.
2007 * localedata/locales/crh_UA: Likewise.
2008 * localedata/locales/cs_CZ: Likewise.
2009 * localedata/locales/csb_PL: Likewise.
2010 * localedata/locales/cv_RU: Likewise.
2011 * localedata/locales/cy_GB: Likewise.
2012 * localedata/locales/da_DK: Likewise.
2013 * localedata/locales/dz_BT: Likewise.
2014 * localedata/locales/en_CA: Likewise.
2015 * localedata/locales/eo: Likewise.
2016 * localedata/locales/es_CU: Likewise.
2017 * localedata/locales/es_EC: Likewise.
2018 * localedata/locales/es_ES: Likewise.
2019 * localedata/locales/es_US: Likewise.
2020 * localedata/locales/et_EE: Likewise.
2021 * localedata/locales/fa_IR: Likewise.
2022 * localedata/locales/fi_FI: Likewise.
2023 * localedata/locales/fil_PH: Likewise.
2024 * localedata/locales/fur_IT: Likewise.
2025 * localedata/locales/gez_ER@abegede: Likewise.
2026 * localedata/locales/ha_NG: Likewise.
2027 * localedata/locales/hr_HR: Likewise.
2028 * localedata/locales/hsb_DE: Likewise.
2029 * localedata/locales/hu_HU: Likewise.
2030 * localedata/locales/ig_NG: Likewise.
2031 * localedata/locales/ik_CA: Likewise.
2032 * localedata/locales/is_IS: Likewise.
2033 * localedata/locales/iso14651_t1_pinyin: Likewise.
2034 * localedata/locales/kk_KZ: Likewise.
2035 * localedata/locales/ku_TR: Likewise.
2036 * localedata/locales/ky_KG: Likewise.
2037 * localedata/locales/ln_CD: Likewise.
2038 * localedata/locales/lt_LT: Likewise.
2039 * localedata/locales/lv_LV: Likewise.
2040 * localedata/locales/mi_NZ: Likewise.
2041 * localedata/locales/ml_IN: Likewise.
2042 * localedata/locales/mn_MN: Likewise.
2043 * localedata/locales/mr_IN: Likewise.
2044 * localedata/locales/mt_MT: Likewise.
2045 * localedata/locales/nb_NO: Likewise.
2046 * localedata/locales/om_KE: Likewise.
2047 * localedata/locales/os_RU: Likewise.
2048 * localedata/locales/pl_PL: Likewise.
2049 * localedata/locales/ps_AF: Likewise.
2050 * localedata/locales/ro_RO: Likewise.
2051 * localedata/locales/ru_RU: Likewise.
2052 * localedata/locales/ru_UA: Likewise.
2053 * localedata/locales/sc_IT: Likewise.
2054 * localedata/locales/se_NO: Likewise.
2055 * localedata/locales/si_LK: Likewise.
2056 * localedata/locales/sq_AL: Likewise.
2057 * localedata/locales/sv_FI: Likewise.
2058 * localedata/locales/sv_FI@euro: Likewise.
2059 * localedata/locales/sv_SE: Likewise.
2060 * localedata/locales/szl_PL: Likewise.
2061 * localedata/locales/tg_TJ: Likewise.
2062 * localedata/locales/ti_ER: Likewise.
2063 * localedata/locales/tk_TM: Likewise.
2064 * localedata/locales/tl_PH: Likewise.
2065 * localedata/locales/tr_TR: Likewise.
2066 * localedata/locales/tt_RU: Likewise.
2067 * localedata/locales/tt_RU@iqtelif: Likewise.
2068 * localedata/locales/ug_CN: Likewise.
2069 * localedata/locales/uk_UA: Likewise.
2070 * localedata/locales/uz_UZ: Likewise.
2071 * localedata/locales/uz_UZ@cyrillic: Likewise.
2072 * localedata/locales/vi_VN: Likewise.
2073 * localedata/locales/yi_US: Likewise.
2074 * localedata/locales/yo_NG: Likewise.
2076 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2078 * gen-locales.mk: Make test files which contain @ modifiers in their
2080 * localedata/gen-locale.sh: Likewise.
2082 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2084 * posix/tst-fnmatch.input: Fix results for range expressions
2086 * posix/tst-regexloc.c: Do not use a range expression for
2087 de_DE.ISO-8859-1 locale.
2089 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2091 * posix/bug-regex5.c: Fix test case because with the new
2092 iso14651_t1_common file, the da_DK locale now has 6 collating elements
2093 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
2096 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2098 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
2099 downloaded from ISO, the collation order of @-. and space has changed.
2100 Therefore, this test file needed to be adapted.
2101 * localedata/fr_CA.UTF-8.in: Likewise.
2102 * localedata/fr_FR.UTF-8.in: Likewise.
2103 * localedata/uk_UA.UTF-8.in: Likewise.
2105 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2107 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
2108 order of ȥ in the new iso14651_t1_common file.
2109 * localedata/pl_PL.UTF-8.in: Likewise.
2111 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2113 * localedata/locales/iso14651_t1_common: Add sections for various
2114 scripts to the iso14651_t1_common file.
2116 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2118 * localedata/locales/iso14651_t1_common: Use the code point of a
2119 character in the fourth collation level instead of IGNORE for all
2120 entries which have IGNORE on all 4 levels.
2122 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2124 * localedata/locales/iso14651_t1_common: Add some convenient collation
2125 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
2126 rules similar to those in CLDR.
2128 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2130 * localedata/locales/iso14651_t1_common: The new version of this
2131 file downloaded from ISO contained several syntax errors which
2132 are fixed by this patch.
2134 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2136 * localedata/locales/iso14651_t1_common: replace all <U.....>
2137 with <U000.....> because glibc understands only 4 digit or 8 digit
2139 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2141 * localedata/locales/iso14651_t1_common: Necessary changes
2142 to make the file downloaded from ISO usable by glibc.
2144 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2147 * localedata/locales/iso14651_t1_common: Update file to
2148 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
2150 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2152 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
2153 of <nptl/pthreadP.h>
2154 (thread_attr_compare): Move function to...
2155 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
2156 * sysdeps/nptl/timer_routines.h: ... new header.
2157 * sysdeps/mach/hurd/gai_misc.h: New file.
2159 2018-02-26 Joseph Myers <joseph@codesourcery.com>
2161 * string/strcoll_l.c: Include <libc-diag.h>.
2162 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
2163 declarations of seq1 and seq2.
2166 * stdlib/atoi.c (atoi): Use libc_hidden_def.
2167 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
2169 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
2173 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
2174 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
2175 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
2176 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
2177 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
2178 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
2180 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2182 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
2183 macros used in __ptrace_request.
2185 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
2188 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
2190 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
2191 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
2192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
2195 2018-02-23 Joseph Myers <joseph@codesourcery.com>
2198 * ctype/ctype.c (tolower): Use libc_hidden_def.
2199 (toupper): Likewise.
2200 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
2201 [!_ISOMAC] (toupper): Likewise.
2203 2018-02-23 Mike FABIAN <mfabian@redhat.com>
2205 * localedata/Makefile: Remove --quiet argument when
2208 2018-02-23 Mike FABIAN <mfabian@redhat.com>
2211 * localedata/locales/pt_BR (LC_TIME): use / instead of -
2213 * localedata/locales/pt_PT (LC_TIME): likewise
2215 2018-02-23 Mike FABIAN <mfabian@redhat.com>
2218 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
2219 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
2220 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
2222 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2226 * nptl/Makefile (routines): Remove unregister-atfork.
2227 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
2228 (fork_handler_alloc): Remove function.
2229 (fork_handlers, fork_handler_init): New variables.
2230 (__fork_lock): Rename to atfork_lock.
2231 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
2232 to use a dynamic array to add/remove atfork handlers.
2233 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2234 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
2236 (fork_handler): Remove next, refcntr, and need_signal member.
2237 (__run_fork_handler_type): New enum.
2238 (__run_fork_handlers): New prototype.
2239 * nptl/register-atfork.c: Remove file.
2240 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
2242 * sysdeps/nptl/nptl-signals.h: Move to ...
2243 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
2245 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
2246 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
2247 unnecessary check for SIGTIMER.
2248 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
2249 remove unnecessary removal of SIGTIMER.
2250 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
2251 include-signals.h rename.
2252 * nptl/pthreadP.h: Likewise.
2253 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
2254 __is_internal_signal instead of __nptl_is_internal_signal.
2256 2018-02-22 Andrew Waterman <andrew@sifive.com>
2259 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
2260 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
2261 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
2262 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
2264 2018-02-22 DJ Delorie <dj@delorie.com>
2266 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
2268 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
2270 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
2271 do_misaligned, not misaligned8.
2273 2018-02-22 Steve Ellcey <sellcey@cavium.com>
2275 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2276 Add memcpy_thunderx2.
2277 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
2279 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
2280 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
2281 and IS_THUNDERX2PA checks.
2282 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
2283 Use macro to set name appropriately.
2284 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
2285 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
2286 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
2288 (IS_THUNDERX2): New macro.
2290 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
2292 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2294 2018-02-21 Zack Weinberg <zackw@panix.com>
2296 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
2297 Define here, unconditionally.
2298 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
2299 * libio/libioP.h: Remove #if 0 blocks.
2300 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
2301 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
2302 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
2304 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
2305 Assume weak_alias is always defined.
2307 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
2308 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
2309 Remove #if 0 and #ifdef TODO blocks.
2310 Assume text_set_element is always defined.
2312 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
2313 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
2314 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
2316 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
2317 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
2318 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
2319 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
2320 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
2321 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
2322 Reformat bit flags for _flags field to make occupancy clearer.
2324 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
2325 Keep definitions consistent with those in libio/libio.h.
2327 * libio/libio.h (_IO_file_flags): Remove macro.
2328 All uses changed to _flags.
2330 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
2331 (__HAVE_COLUMN, _IO_BE): Don't define.
2332 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
2333 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
2334 * libio/libioP.h (EOF): Don't define.
2335 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
2336 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
2337 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
2338 testing _IO_UNIFIED_JUMPTABLES.
2340 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
2341 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
2342 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
2343 (_IO_size_t): Delete; all uses changed to size_t.
2344 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
2345 (_IO_off_t): Delete; all uses changed to off_t.
2346 (_IO_off64_t): Delete; all uses changed to off64_t.
2347 (_IO_pid_t): Delete; all uses changed to pid_t.
2348 (_IO_uid_t): Delete; all uses changed to uid_t.
2349 (_IO_wint_t): Delete; all uses changed to wint_t.
2350 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
2351 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
2352 (_IO_cookie_io_functions_t): Delete; all uses changed to
2353 cookie_io_functions_t.
2354 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
2355 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
2356 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
2357 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
2359 * libio/iofopncook.c: Remove unnecessary forward declarations.
2360 * libio/iolibio.h: Correct outdated commentary.
2361 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
2362 * stdio-common/fxprintf.c (__fxprintf_nocancel):
2363 Remove unnecessary casts.
2364 * stdio-common/getline.c: Use _IO_getdelim directly.
2365 Don't redefine ssize_t.
2366 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
2367 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
2368 Remove outdated comments.
2369 * stdio-common/vfscanf.c: Don't redefine va_list.
2371 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
2372 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
2373 Remove preprocessor conditionals on _LIBC and __USE_GNU,
2374 which are always true, and __cplusplus, which is always false.
2376 2018-02-21 Joseph Myers <joseph@codesourcery.com>
2380 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
2381 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
2382 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
2383 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
2385 [!_ISOMAC] (putc_unlocked): Likewise.
2386 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
2387 define inline if [__USE_EXTERN_INLINES].
2388 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
2393 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
2394 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
2395 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
2396 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
2397 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
2399 * time/tzfile.c (__tzfile_read): Likewise.
2401 2018-02-21 Mike FABIAN <mfabian@redhat.com>
2404 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
2406 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
2408 * io/fcntl.h: Fix a typo in a comment.
2410 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
2413 * include/features.h: Add _ISOC11_SOURCE to test for whether to
2414 define _DEFAULT_SOURCE.
2415 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
2417 2018-02-21 Florian Weimer <fweimer@redhat.com>
2420 * elf/cache.c (save_cache): Call fsync on temporary file before
2422 (save_aux_cache): Call fdatasync on temporary file before renaming
2425 2018-02-21 Florian Weimer <fweimer@redhat.com>
2428 * include/caller.h: Remove file.
2429 * elf/dl-caller.c: Likewise.
2430 * elf/Makefile (dl-routines): Remove dl-caller.
2431 (shared-only-routines): Do not add dl-caller.
2432 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
2434 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
2436 (dl_open_worker): Do not call __check_caller.
2437 (_dl_open): Do not set caller_dl_open member.
2438 * elf/rtld.c (_rtld_global_ro): Do not initialize
2439 _dl_check_caller member.
2440 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
2441 _dl_check_caller member.
2442 (_dl_check_caller): Remove declaration.
2443 * sysdeps/unix/sysv/linux/dl-execstack.c
2444 (_dl_make_stack_executable): Do not call __check_caller.
2446 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
2448 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
2449 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
2451 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
2453 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
2456 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
2459 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
2460 of 199606L, 200112L, and 200809L.
2461 (_XOPEN_SOURCE): Document special values of 600 and 700.
2462 (_ISOC11_SOURCE): Document macro.
2463 (_ATFILE_SOURCE): Likewise.
2464 (_FORTIFY_SOURCE): Likewise.
2466 2018-02-19 Joseph Myers <joseph@codesourcery.com>
2470 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
2471 and define as weak alias of __ferror_unlocked. Use
2473 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
2475 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
2476 function if [__USE_EXTERN_INLINES].
2477 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
2480 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
2483 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
2485 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
2488 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
2489 the GLIBC_2.1 version.
2491 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
2494 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
2495 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
2496 intl/tst-gettext-de.po from po/de.po by removing the
2497 POT-Creation-Date line.
2498 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
2500 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
2503 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
2505 * mach/Makefile (headers): Add mach/param.h.
2506 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
2507 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
2508 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
2509 (__ptsname_r): Move implementation to...
2510 (__ptsname_internal): ... new function. Add filling the STP
2513 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
2515 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
2518 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
2520 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
2523 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2525 * nptl/Makefile (tst-mutex8-ENV): Delete.
2526 * nptl/tst-mutex8.c (check_type):
2527 Add runtime check if mutex will be elided.
2529 2018-02-15 Joseph Myers <joseph@codesourcery.com>
2533 * manual/install.texi (Configuring and compiling): Describe
2534 passing CC and CFLAGS on configure command line, not as
2535 environment variables. Use @code markup on those variables.
2536 Specify what options go in CC and what go in CFLAGS. Note the
2537 requirement to compile with optimization.
2538 * INSTALL: Regenerated.
2541 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
2542 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
2543 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
2544 __sigprocmask instead of sigprocmask.
2545 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
2547 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
2548 __sigsetjmp and sigprocmask.
2551 * include/argz.h (argz_next): Use libc_hidden_proto.
2552 (__argz_next): Likewise.
2553 * string-argz-next.c (__argz_next): Use libc_hidden_def.
2554 (argz_next): Use libc_hidden_weak.
2557 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
2559 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
2563 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
2565 * libio/iofputs.c (fputs): Use libc_hidden_weak.
2569 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
2570 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
2571 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
2572 (__feof_unlocked): New declaration, and inline function if
2573 [__USE_EXTERN_INLINES].
2574 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
2575 instead of feof_unlocked.
2576 * intl/localealias.c [_LIBC] (FEOF): Likewise.
2577 * nss/nsswitch.c (nss_parse_file): Likewise.
2578 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
2580 * time/getdate.c (__getdate_r): Likewise.
2581 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
2582 Define as macro to call __feof_unlocked.
2584 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
2586 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
2588 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
2590 * math/Makefile: Remove mpexp.c and mplog.c
2591 * sysdeps/i386/fpu/mpexp.c: Delete file.
2592 * sysdeps/i386/fpu/mplog.c: Likewise.
2593 * sysdeps/ia64/fpu/mpexp.c: Likewise.
2594 * sysdeps/ia64/fpu/mplog.c: Likewise.
2595 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
2596 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
2597 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
2598 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2599 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
2600 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
2601 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
2602 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
2603 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
2604 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2605 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
2606 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
2607 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2608 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
2609 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
2610 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2612 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2614 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2616 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2618 * sysdeps/sh/libm-test-ulps: Update.
2620 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2622 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
2625 2018-02-12 Zack Weinberg <zackw@panix.com>
2628 * posix/sys/types.h: Don't include sys/sysmacros.h.
2629 * misc/sys/sysmacros.h: Remove the conditional deprecation
2630 warnings for the macros defined by this header.
2632 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2634 * manual/probes.texi: Remove slowexp probes.
2635 * math/Makefile: Remove slowexp.
2636 * sysdeps/generic/math_private.h (__slowexp): Remove.
2637 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
2638 document error bounds.
2639 * sysdeps/i386/fpu/slowexp.c: Remove.
2640 * sysdeps/ia64/fpu/slowexp.c: Remove.
2641 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
2642 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
2643 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
2644 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
2645 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
2646 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
2647 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
2648 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
2649 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
2650 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
2651 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
2653 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2656 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
2657 * benchtests/pow-inputs: Update comment for slow path cases.
2658 * manual/probes.texi (slowpow_p10): Delete removed probe.
2659 (slowpow_p10): Likewise.
2660 * math/Makefile: Remove halfulp.c and slowpow.c.
2661 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
2662 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
2663 (__halfulp): Remove.
2664 (__slowpow): Remove.
2665 * sysdeps/i386/fpu/halfulp.c: Delete file.
2666 * sysdeps/i386/fpu/slowpow.c: Likewise.
2667 * sysdeps/ia64/fpu/halfulp.c: Likewise.
2668 * sysdeps/ia64/fpu/slowpow.c: Likewise.
2669 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
2670 improve comments and add error analysis.
2671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
2672 (power1): Remove function:
2673 (log1): Remove error argument, add error analysis.
2674 (my_log2): Remove function.
2675 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
2676 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2677 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
2678 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
2679 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
2680 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
2681 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
2682 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
2683 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
2684 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
2685 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
2686 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2687 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
2688 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2690 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
2692 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
2693 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
2695 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
2698 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
2699 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
2700 and PTRACE_SETHBPREGS.
2702 2018-02-10 Zack Weinberg <zackw@panix.com>
2705 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
2707 * malloc/tst-malloc-stats-cancellation.c: New test case.
2708 * malloc/Makefile: Add new test case.
2710 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
2712 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
2714 2018-02-10 Joseph Myers <joseph@codesourcery.com>
2716 * math/Makefile (libm-narrow-fns): Add add.
2717 (libm-test-funcs-narrow): Likewise.
2718 * math/Versions (GLIBC_2.28): Add narrowing add functions.
2719 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
2720 * math/gen-auto-libm-tests.c (test_functions): Add add.
2721 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
2722 (NARROW_ADD_ROUND_TO_ODD): Likewise.
2723 (NARROW_ADD_TRIVIAL): Likewise.
2724 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
2726 (__daddl): Likewise.
2727 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
2729 (CFLAGS-nldbl-dadd.c): New variable.
2730 (CFLAGS-nldbl-fadd.c): Likewise.
2731 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
2733 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
2735 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
2736 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
2737 * math/auto-libm-test-in: Add tests of add.
2738 * math/auto-libm-test-out-narrow-add: New generated file.
2739 * math/libm-test-narrow-add.inc: New file.
2740 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
2743 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
2744 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
2745 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
2746 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
2747 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
2748 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
2749 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
2750 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
2751 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
2752 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
2753 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
2754 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
2755 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2756 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
2757 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2759 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
2760 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2761 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2762 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2763 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2764 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2765 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2766 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2767 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2768 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2769 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2770 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2771 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2776 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
2777 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2778 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2779 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2780 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2781 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2782 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
2783 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
2784 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2785 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2787 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
2788 (f128-pairs): New variable.
2789 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
2790 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
2792 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
2793 Also make tests add $(f128-loader-link) to gnulib-tests.
2795 2018-02-09 DJ Delorie <dj@redhat.com>
2798 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
2799 64-bit ELF type for 64-bit ELF objects.
2801 2018-02-09 Joseph Myers <joseph@codesourcery.com>
2803 * math/libm-test-driver.c (snan_tests_arg): New variable.
2804 * math/libm-test-support.h (snan_tests_arg): New declaration.
2805 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
2807 * math/Makefile (test-type-pairs): New variable.
2808 (test-type-pairs-f64xf128-yes): Likewise.
2809 (tests): Add test-narrow-macros.
2810 (libm-test-funcs-narrow): New variable.
2811 (libm-test-c-narrow): Likewise.
2812 (generated): Add $(libm-test-c-narrow).
2813 (libm-tests-base-narrow): New variable.
2814 (libm-tests-narrow): Likewise.
2815 (libm-tests): Add $(libm-tests-narrow).
2816 (libm-tests-for-type): Handle $(libm-tests-narrow).
2817 (libm-test-c-narrow-obj): New variable.
2818 ($(libm-test-c-narrow-obj)): New rule.
2819 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
2820 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
2821 $(o-iterator) to set dependencies and CFLAGS.
2822 * math/gen-auto-libm-tests.c: Document use for narrowing
2824 (output_for_one_input_case): Take argument NARROW.
2825 (generate_output): Likewise. Update call to
2826 output_for_one_input_case.
2827 (main): Take --narrow option. Update call to generate_output.
2828 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
2829 (apply_lit): Update call to _apply_lit.
2830 (apply_arglit): New function.
2831 (parse_args): Handle "a" arguments.
2832 (parse_auto_input): Handle format names using ":".
2833 * math/README.libm-test: Document "a" parameter type.
2834 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
2835 (ARG_TYPE_TRUE_MIN): Likewise.
2836 (ARG_TYPE_MAX): Likwise.
2837 (ARG_MIN_EXP): Likewise.
2838 (ARG_MAX_EXP): Likewise.
2839 (ARG_MANT_DIG): Likewise.
2840 (TEST_COND_arg_ibm128): Likewise.
2841 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
2842 (TEST_COND_arg_fmt): New macro.
2843 (init_max_error): Update prototype.
2844 * math/libm-test-support.c (test_ibm128): New variable.
2845 (init_max_error): Take argument testing_ibm128 and set test_ibm128
2846 instead of using [TEST_COND_ibm128] conditional.
2847 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
2848 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
2849 [TEST_NARROW] (TEST_MSG): New definition.
2850 (arg_plus_zero): New macro.
2851 (arg_minus_zero): Likewise.
2852 (arg_plus_infty): Likewise.
2853 (arg_minus_infty): Likewise.
2854 (arg_qnan_value_pl): Likewise.
2855 (arg_qnan_value): Likewise.
2856 (arg_snan_value_pl): Likewise.
2857 (arg_snan_value): Likewise.
2858 (arg_max_value): Likewise.
2859 (arg_min_value): Likewise.
2860 (arg_min_subnorm_value): Likewise.
2861 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
2862 (RUN_TEST_LOOP_aa_f): New macro.
2863 (TEST_SUFF): New macro.
2864 (TEST_SUFF_STR): Likewise.
2865 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
2866 (TEST_COND_any_ibm128): New macro.
2867 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
2868 this_func. Update call to init_max_error.
2869 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
2870 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
2871 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
2872 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
2873 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
2874 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
2875 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
2876 * math/test-math-scalar.h (TEST_NARROW): Likewise.
2877 * math/test-math-vector.h (TEST_NARROW): Likewise.
2878 * math/test-arg-double.h: New file.
2879 * math/test-arg-float128.h: Likewise.
2880 * math/test-arg-float32x.h: Likewise.
2881 * math/test-arg-float64.h: Likewise.
2882 * math/test-arg-float64x.h: Likewise.
2883 * math/test-arg-ldouble.h: Likewise.
2884 * math/test-math-narrow.h: Likewise.
2885 * math/test-narrow-macros.c: Likewise.
2886 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
2887 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
2888 test-narrow-macros-ldbl-64.
2889 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
2891 * math/bits/mathcalls-narrow.h: New file.
2892 * include/bits/mathcalls-narrow.h: Likewise.
2893 * math/math-narrow.h: Likewise.
2894 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
2895 (__MATHCALL_NARROW_ARGS_2): Likewise.
2896 (__MATHCALL_NARROW_ARGS_3): Likewise.
2897 (__MATHCALL_NARROW_NORMAL): Likewise.
2898 (__MATHCALL_NARROW_REDIR): Likewise.
2899 (__MATHCALL_NARROW): Likewise.
2900 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
2901 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
2903 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
2904 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
2905 (libm-narrow-fns): New variable.
2906 (libm-narrow-types-basic): Likewise.
2907 (libm-narrow-types-ldouble-yes): Likewise.
2908 (libm-narrow-types-float128-yes): Likewise.
2909 (libm-narrow-types-float128-alias-yes): Likewise.
2910 (libm-narrow-types): Likewise.
2911 (libm-routines): Add narrowing functions.
2912 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
2913 (libc_feholdexcept_setroundf128): New macro.
2914 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
2915 * sysdeps/ieee754/float128/float128_private.h: Include
2916 <math/math-narrow.h>.
2917 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
2918 Undefine and redefine.
2919 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
2920 (libm_alias_float_ldouble): Undefine and redefine.
2921 (libm_alias_double_ldouble): Likewise.
2923 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
2925 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
2927 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
2930 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
2932 * manual/creature.texi: Convert references to gcc.info to gcc.
2933 * manual/stdio.texi: Likewise.
2934 * manual/string.texi: Likewise.
2936 2018-02-07 Joseph Myers <joseph@codesourcery.com>
2939 * posix/bits/types.h (__int_least8_t): New typedef.
2940 (__uint_least8_t): Likewise.
2941 (__int_least16_t): Likewise.
2942 (__uint_least16_t): Likewise.
2943 (__int_least32_t): Likewise.
2944 (__uint_least32_t): Likewise.
2945 (__int_least64_t): Likewise.
2946 (__uint_least64_t): Likewise.
2947 * sysdeps/generic/stdint.h (int_least8_t): Define using
2949 (int_least16_t): Define using __int_least16_t.
2950 (int_least32_t): Define using __int_least32_t.
2951 (int_least64_t): Define using __int_least64_t.
2952 (uint_least8_t): Define using __uint_least8_t.
2953 (uint_least16_t): Define using __uint_least16_t.
2954 (uint_least32_t): Define using __uint_least32_t.
2955 (uint_least64_t): Define using __uint_least64_t.
2956 * wcsmbs/uchar.h: Include <bits/types.h>.
2957 (char16_t): Define using __uint_least16_t conditional only on
2959 (char32_t): Define using __uint_least32_t conditional only on
2961 * wcsmbs/test-char-types.c: New file.
2962 * wcsmbs/Makefile (tests): Add test-char-types.
2964 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2967 2018-02-07 Zack Weinberg <zackw@panix.com>
2969 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
2970 Delete all contents except for definitions of _G_HAVE_MMAP and
2971 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
2972 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
2973 sysdeps/unix/sysv/linux/_G_config.h. Make same content
2976 * libio/libio.h: Don't include bits/_G_config.h here.
2977 Include stddef.h with __need_wchar_t defined. Include
2978 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
2979 Define _IO_iconv_t here, directly.
2980 Don't define _IO_HAVE_ST_BLKSIZE.
2981 * libio/libioP.h: Include _G_config.h here. Move include of
2982 shlib-compat.h up with rest of includes. Simplify conditionals
2983 controlling definition of _IO_JUMPS_OFFSET.
2985 * csu/init.c: Remove always-true #if around entire file.
2986 Don't include stdio.h. Set _IO_stdin_used to hardwired
2987 constant 0x20001, and update commentary.
2988 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
2989 Replace all uses of _G_va_list with __gnuc_va_list.
2990 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
2991 instead of #if _IO_HAVE_ST_BLKSIZE.
2992 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
2993 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
2996 * libio/bits/libio.h: Move back to libio/libio.h and adjust
2997 multiple-include guard to match.
2998 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
3000 Remove preprocessor conditionals that are always true and/or
3001 redundant to other preprocessor conditionals in the same nest.
3002 Include shlib-compat.h unconditionally.
3003 Error out if _LIBC is not defined, or if _ISOMAC is defined,
3004 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
3005 defined after including stdio.h.
3006 Use __BEGIN_DECLS/__END_DECLS.
3008 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
3009 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
3010 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
3012 2018-02-07 Zack Weinberg <zackw@panix.com>
3014 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
3015 New single-type headers split from _G_config.h.
3016 * libio/bits/types/cookie_io_functions_t.h
3017 * libio/bits/types/struct_FILE.h
3018 New single-type headers split from libio.h.
3020 * libio/Makefile: Install the above new headers. Don't install
3021 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
3023 * libio/_G_config.h, libio/libio.h: Delete file.
3025 * libio/bits/libio.h: Remove improper-inclusion guard.
3026 Include stdio.h and don't repeat anything that it does.
3027 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
3028 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
3029 __io_read_fn as cookie_read_function_t,
3030 __io_write_fn as cookie_write_function_t,
3031 __io_seek_fn as cookie_seek_function_t,
3032 __io_close_fn as cookie_close_function_t,
3033 and _IO_cookie_io_functions_t as cookie_io_functions_t.
3034 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
3035 here, in the "compatibility defines" section. Remove an #if 0
3036 block. Use the "body" macros from bits/types/struct_FILE.h to
3037 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
3038 and _IO_ferror_unlocked.
3039 Move prototypes of __uflow and __overflow...
3041 * libio/stdio.h: ...here. Don't include bits/libio.h.
3042 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
3043 directly from stdarg.h. Include bits/types/__fpos_t.h,
3044 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
3045 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
3046 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
3047 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
3048 cookie_io_functions_t, not _IO_cookie_io_functions_t;
3049 __ssize_t, not _IO_ssize_t. Unconditionally define
3050 BUFSIZ as 8192 and EOF as (-1).
3052 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
3053 macros from bits/types/struct_FILE.h instead of _IO_* macros
3054 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
3055 instead of _IO_ssize_t.
3056 * libio/bits/stdio2.h: Similarly.
3058 * libio/iolibio.h: Add multiple-include guard.
3059 Include bits/libio.h after stdio.h.
3060 * libio/libioP.h: Add multiple-include guard.
3061 Include stdio.h and bits/libio.h before iolibio.h.
3063 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
3064 * include/bits/types/cookie_io_functions_t.h
3065 * include/bits/types/struct_FILE.h: New wrappers.
3067 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
3068 Get definitions of _G_fpos_t and _G_fpos64_t from
3069 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
3070 respectively. Remove improper-inclusion guards.
3072 * conform/data/stdio.h-data: Update expectations of va_list.
3073 * scripts/check-installed-headers.sh: Remove special case for
3074 libio.h and _G_config.h.
3076 2018-02-07 Joseph Myers <joseph@codesourcery.com>
3080 * include/sys/sysmacros.h [!_ISOMAC]
3081 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
3082 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
3083 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
3084 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
3086 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
3087 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
3089 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
3090 Undefine and redefine to add use __gnu_dev_ prefix.
3091 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
3093 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
3094 and define as hidden inline function.
3095 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
3097 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
3099 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
3100 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
3101 (gnu_dev_minor): Likewise.
3102 (gnu_dev_makedev): Likewise.
3103 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
3105 * posix/wordexp.c (exec_comm_child): Likewise.
3106 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
3107 instead of minor and __gnu_dev_major instead of major.
3108 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
3109 __gnu_dev_major instead of major.
3110 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
3111 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
3112 instead of gnu_dev_minor.
3113 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
3114 (SLAVE_P): Likewise.
3115 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
3116 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
3120 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
3122 * locale/weightwc.h (findidx): Likewise.
3124 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
3126 * manual/probes.texi (slowlog): Delete documentation of removed probe.
3127 (slowlog_inexact): Likewise
3128 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
3129 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
3131 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
3134 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
3135 missing second underscore to parameter name.
3137 2018-02-06 Joseph Myers <joseph@codesourcery.com>
3143 * bits/byteswap.h: Update file comment. Do not include
3144 <bits/byteswap-16.h>.
3145 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
3147 (__bswap_16): Define as inline function.
3148 (__bswap_constant_32): Reformat definition.
3149 (__bswap_32): Always define as inline function, not macro, using
3150 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
3151 otherwise __bswap_constant_32.
3152 (__bswap_constant_64): Reformat definition. Do not use
3154 (__bswap_64): Always define as inline function, not macro. Use
3155 __extension__ on function definition. Use __builtin_bswap64 if
3156 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
3157 * string/test-endian-file-scope.c: New file.
3158 * string/test-endian-sign-conversion.c: Likewise.
3159 * string/Makefile (headers): Remove bits/byteswap-16.h.
3160 (tests): Add test-endian-file-scope and
3161 test-endian-sign-conversion.
3162 (CFLAGS-test-endian-sign-conversion.c): New variable.
3163 * bits/byteswap-16.h: Remove file.
3164 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
3165 * sysdeps/ia64/bits/byteswap.h: Likewise.
3166 * sysdeps/m68k/bits/byteswap.h: Likewise.
3167 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3168 * sysdeps/s390/bits/byteswap.h: Likewise.
3169 * sysdeps/tile/bits/byteswap.h: Likewise.
3170 * sysdeps/x86/bits/byteswap-16.h: Likewise.
3171 * sysdeps/x86/bits/byteswap.h: Likewise.
3174 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
3175 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
3176 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
3177 199901L] (__restrict): Define to restrict.
3180 * string/testcopy.c: Include <support/support.h>. Do not include
3181 <malloc.h>. Use <support/test-driver.c>.
3182 (main): Rename to do_test. Make static. Use xmalloc instead of
3186 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
3187 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
3188 (SSIZE_MAX): Define to INT_MAX.
3189 * posix/test-ssize-max.c: New file.
3190 * posix/Makefile (tests): Add test-ssize-max.
3193 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
3194 <support/support.h>. Do not include <malloc.h>.
3195 (query_auxv): Use xmalloc instead of malloc.
3198 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
3199 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
3202 2018-02-06 Florian Weimer <fweimer@redhat.com>
3205 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3206 Use scratch_buffer instead of extend_alloca.
3208 2018-02-06 Zack Weinberg <zackw@panix.com>
3210 * libio/stdio.h: Don't define getc or putc as macros.
3211 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
3212 not _IO_getc and _IO_putc.
3214 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
3215 * stdio-common/tstgetln.c: Don't redefine ssize_t.
3217 2018-02-06 Joseph Myers <joseph@codesourcery.com>
3219 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
3220 (TCP_FASTOPEN_NO_COOKIE): Likewise.
3222 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
3225 * elf/elf.h (NT_PRFPREG): New macro.
3226 (NT_S390_VXRS_LOW): Likewise.
3227 (NT_S390_VXRS_HIGH): Likewise.
3228 (NT_S390_GS_CB): Likewise.
3229 (NT_S390_GS_BC): Likewise.
3230 (NT_S390_RI_CB): Likewise.
3232 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
3233 (MAP_SYNC): New macro.
3234 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
3236 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
3237 (MAP_SYNC): Likewise.
3238 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
3239 (MAP_SYNC): Likewise.
3240 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
3241 (MAP_SYNC): Likewise.
3242 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
3243 (MAP_SYNC): Likewise.
3244 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
3245 (MAP_SYNC): Likewise.
3246 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
3247 (MAP_SYNC): Likewise.
3248 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
3250 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
3253 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
3254 (MAP_SHARED_VALIDATE): New macro.
3255 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3256 (MAP_SHARED_VALIDATE): Likewise.
3258 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3260 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
3261 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
3262 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3264 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3266 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
3267 (DT_NUM): Updated to 35.
3269 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3271 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3272 __builtin_expect with __glibc_likely and __glibc_unlikely.
3273 (elf_machine_rela): Likewise.
3274 (elf_machine_lazy_rel): Likewise.
3276 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
3279 __builtin_expect with __glibc_likely and __glibc_unlikely.
3280 (elf_machine_lazy_rel): Likewise.
3282 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
3285 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
3287 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
3289 2018-02-05 Andreas Schwab <schwab@suse.de>
3292 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
3295 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3297 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
3298 not check against PTHREAD_STACK_MIN.
3300 2018-02-02 Sean McKean <smckean83@gmail.com>
3303 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
3305 2018-02-02 Florian Weimer <fweimer@redhat.com>
3308 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
3309 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
3310 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
3311 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
3312 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
3313 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3314 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3315 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
3316 * manual/llio.texi (Scatter-Gather): Mention offset -1.
3317 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
3318 * misc/tst-preadvwritev2.c (do_test): Call it.
3319 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
3321 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
3323 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
3325 * benchtests/bench-memcmp.c: Print json instead of plain text.
3327 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
3330 2018-02-01 Joseph Myers <joseph@codesourcery.com>
3332 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3334 (s390_sthyi): New syscall.
3336 * sysdeps/generic/ldbl-classify-compat.h: New file.
3337 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
3338 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
3339 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
3340 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
3341 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
3342 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
3343 * sysdeps/ieee754/dbl-64/s_finite.c: Include
3344 <ldbl-classify-compat.h>.
3345 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3346 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
3347 <ldbl-classify-compat.h>.
3348 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3349 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
3350 <ldbl-classify-compat.h>.
3351 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3352 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
3353 <ldbl-classify-compat.h>.
3354 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
3356 <ldbl-classify-compat.h>.
3357 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3358 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
3359 <ldbl-classify-compat.h>.
3360 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
3361 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
3362 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3363 * sysdeps/m68k/coldfire/math_private.h: Remove file.
3364 * sysdeps/microblaze/math_private.h: Likewise.
3365 * sysdeps/nios2/math_private.h: Likewise.
3366 * sysdeps/sh/math_private.h: Likewise.
3368 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
3369 * sysdeps/m68k/coldfire/math_private.h: ... here.
3370 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
3371 * sysdeps/tile/math_private.h: Likewise.
3372 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
3374 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
3377 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
3379 (libc_fetestexcept): Likewise.
3380 (libc_feupdateenv_test): Likewise.
3381 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
3382 (libc_fetestexcept): Likewise.
3383 (libc_feupdateenv_test): Likewise.
3384 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
3385 (libc_fetestexcept): Likewise.
3386 (libc_feupdateenv_test): Likewise.
3387 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
3388 (libc_fetestexcept): Likewise.
3389 (libc_feupdateenv_test): Likewise.
3391 * sysdeps/generic/math_private.h
3392 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
3393 New inline function.
3394 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
3397 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
3398 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
3399 * sysdeps/generic/math_private.h
3400 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
3402 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
3404 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
3406 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
3408 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
3410 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
3412 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
3413 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
3414 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
3415 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
3416 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
3417 (__fegetenv): Likewise.
3418 (fesetenv): Likewise.
3419 (__fesetenv): Likewise.
3420 (feupdateenv): Likewise.
3421 (__feupdateenv): Likewise.
3422 (fegetround): Likewise.
3423 (__fegetround): Likewise.
3424 (fesetround): Likewise.
3425 (__fesetround): Likewise.
3427 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
3428 (feraiseexcept): New macro.
3429 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
3430 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
3432 (__feraiseexcept): Likewise.
3433 (feclearexcept): Likewise.
3434 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
3435 (__feraiseexcept): Likewise.
3436 (feclearexcept): Likewise.
3437 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
3438 (__feraiseexcept): Likewise.
3439 (feclearexcept): Likewise.
3440 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
3441 (__feraiseexcept): Likewise.
3442 (feclearexcept): Likewise.
3443 (fetestexcept): Likewise.
3445 * sysdeps/m68k/coldfire/math-tests.h: New file.
3447 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
3448 * sysdeps/m68k/bits/fenv.h: ... here.
3449 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
3451 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
3453 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
3455 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
3457 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
3459 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
3461 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
3462 (__FE_UNDEFINED): New enum constant.
3463 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
3465 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
3467 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
3469 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
3470 to match generic bits/fenv.h.
3471 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
3474 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
3476 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
3477 * soft-fp/half.h (union _FP_UNION_H): Likewise.
3478 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
3479 * soft-fp/single.h (union _FP_UNION_S): Likewise.
3481 2018-02-01 Carlos O'Donell <carlos@redhat.com>
3482 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
3483 Joseph Myers <joseph@codesourcery.com>
3486 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
3487 (__log1p): Disable -Wmaybe-uninitialized for -Os around
3488 computation using c.
3489 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
3490 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
3491 computation using c.
3493 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
3495 * version.h (RELEASE): Set to "development".
3496 (VERSION): Set to "2.27.9000".
3497 * NEWS (2.28): New section.
3499 * version.h (RELEASE): Set to "stable".
3500 (VERSION): Set to "2.27".
3501 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
3503 * NEWS: Add the list of bugs fixed in 2.27.
3505 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3507 * stdlib/test-atexit-race-common.c (do_test): Check stack size
3508 against PTHREAD_STACK_MIN.
3510 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
3512 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
3514 (Rafal Luzynski, Andreas Schwab): Update.
3516 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
3519 * NEWS: List the languages which actually use the alternative
3520 months feature in this release. Also explain that "alt_mon" and
3521 "ab_alt_mon" are optional.
3523 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
3526 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
3528 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
3530 * manual/install.texi (Tools for Compilation): Update the newest
3531 versions of gcc, binutils, texinfo, gawk, bison, and sed.
3532 * INSTALL: Regenerated.
3534 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3536 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
3537 instead of __builtin_expect.
3539 2018-01-30 Florian Weimer <fweimer@redhat.com>
3541 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
3543 * nss/tst-nss-getpwent.c (do_test): Likewise.
3545 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
3548 * localedata/locales/hr_HR (mon): Rename to...
3550 (mon): Import from CLDR (genitive case).
3551 (d_t_fmt): Update the comment.
3553 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
3555 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
3556 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
3557 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
3559 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3561 * mach/Versions: Fix version when __mach_host_self_ was added.
3562 * hurd/Versions: Fix version when _hurd_exec_paths was added.
3563 * sysdeps/mach/hurd/i386/ld.abilist: New file.
3564 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
3565 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
3566 * sysdeps/mach/hurd/i386/libc.abilist: New file.
3567 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
3568 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
3569 * sysdeps/mach/hurd/i386/libm.abilist: New file.
3570 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
3571 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
3572 * sysdeps/mach/hurd/i386/librt.abilist: New file.
3573 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
3574 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
3575 || to respect codestyle.
3576 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
3577 (do_test_bz20181): Rename accordingly.
3578 * malloc/malloc.c: Include <assert.h>.
3579 (assert): Do not define.
3580 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
3581 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
3582 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
3583 * sysdeps/mach/hurd/hp-timing.h: New file.
3584 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
3586 2018-01-29 Darius Rad <darius@bluespec.com>
3588 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
3590 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
3592 * sysdeps/init_array/crti.S (.section .init_array): Add
3593 PREINIT_FUNCTION when defined.
3594 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
3595 * config.h.in: Regenerate.
3596 * manual/platform.texi: Add RISC-V documenation for
3597 __riscv_flush_icache.
3598 * sysdeps/riscv/__longjmp.S: New file.
3599 * sysdeps/riscv/backtrace.c: Likewise.
3600 * sysdeps/riscv/bits/endian.h: Likewise.
3601 * sysdeps/riscv/bits/setjmp.h: Likewise.
3602 * sysdeps/riscv/bits/wordsize.h: Likewise.
3603 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
3604 * sysdeps/riscv/bsd-setjmp.c: Likewise.
3605 * sysdeps/riscv/dl-trampoline.S: Likewise.
3606 * sysdeps/riscv/gccframe.h: Likewise.
3607 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
3608 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
3609 * sysdeps/riscv/machine-gmon.h: Likewise.
3610 * sysdeps/riscv/memusage.h: Likewise.
3611 * sysdeps/riscv/setjmp.S: Likewise.
3612 * sysdeps/riscv/sys/asm.h: Likewise.
3613 * sysdeps/riscv/tls-macros.h: Likewise.
3614 * sysdeps/riscv/dl-tls.h: New file.
3615 * sysdeps/riscv/libc-tls.c: Likewise.
3616 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
3617 * sysdeps/riscv/nptl/tls.h: Likewise.
3618 * sysdeps/riscv/stackinfo.h: Likewise.
3619 * sysdeps/riscv/bits/fenv.h: New file.
3620 * sysdeps/riscv/e_sqrtl.c: Likewise.
3621 * sysdeps/riscv/fpu_control.h: Likewise.
3622 * sysdeps/riscv/math-tests.h: Likewise.
3623 * sysdeps/riscv/nofpu/Implies: Likewise.
3624 * sysdeps/riscv/sfp-machine.h: Likewise.
3625 * sysdeps/riscv/tininess.h: Likewise.
3626 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
3627 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3628 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
3629 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
3630 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
3631 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
3632 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
3633 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
3634 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3635 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
3636 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3637 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
3638 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
3639 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
3640 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
3641 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
3642 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
3643 * sysdeps/riscv/rvd/s_finite.c: Likewise.
3644 * sysdeps/riscv/rvd/s_fma.c: Likewise.
3645 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
3646 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
3647 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
3648 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
3649 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
3650 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
3651 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
3652 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
3653 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
3654 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
3655 * sysdeps/riscv/rvf/fegetround.c: Likewise.
3656 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
3657 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
3658 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
3659 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
3660 * sysdeps/riscv/rvf/fesetround.c: Likewise.
3661 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
3662 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
3663 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
3664 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
3665 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
3666 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
3667 * sysdeps/riscv/rvf/math_private.h: Likewise.
3668 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3669 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
3670 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
3671 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3672 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
3673 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
3674 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
3675 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
3676 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
3677 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
3678 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
3679 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
3680 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
3681 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
3682 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3683 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3684 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
3685 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
3686 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
3687 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
3688 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
3689 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
3690 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
3691 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
3692 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
3693 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
3694 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
3695 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
3696 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
3697 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
3698 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
3699 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
3700 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
3701 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
3702 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
3703 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
3704 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
3705 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
3706 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
3707 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
3708 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
3709 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
3710 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
3711 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
3712 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
3713 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
3714 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
3715 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
3716 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
3717 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
3718 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
3719 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
3720 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
3721 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
3722 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
3723 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
3724 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
3725 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
3726 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
3727 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
3728 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
3729 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
3730 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3731 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
3732 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
3733 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
3734 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
3735 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
3736 * sysdeps/riscv/Implies: New file.
3737 * sysdeps/riscv/Makefile: Likewise.
3738 * sysdeps/riscv/configure: Likewise.
3739 * sysdeps/riscv/configure.ac: Likewise.
3740 * sysdeps/riscv/nptl/Makefile: Likewise.
3741 * sysdeps/riscv/preconfigure: Likewise.
3742 * sysdeps/riscv/rv64/Implies-after: Likewise.
3743 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
3744 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
3745 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
3746 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
3747 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
3748 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
3749 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
3750 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
3751 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
3752 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
3753 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
3754 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
3757 2018-01-29 Florian Weimer <fweimer@redhat.com>
3760 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
3761 libnsl_hidden_proto.
3762 * include/rpcsvc/yp.h (yp_xdrall): Declare with
3763 libnsl_hidden_proto.
3764 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
3765 * nis/Makefile (libnsl-routines): Add nss-default only for
3767 * nis/nis_defaults.c (__nis_default_ttl): Add
3768 libnsl_hidden_nolink_def.
3769 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
3771 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
3772 * nis/ypclnt.c (yp_maplist): Likewise.
3774 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
3776 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3777 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
3779 2018-01-29 Joseph Myers <joseph@codesourcery.com>
3781 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
3782 clean -dxfq for git updates when replacing sources.
3784 * scripts/build-many-glibcs.py (Config.build_gcc): Use
3785 --disable-libcilkrts unconditionally, not just for the final GCC
3788 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3791 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3794 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
3797 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3800 * localedata/locales/be_BY (mon): Rename to...
3801 (alt_mon): This, then synchronize with CLDR (nominative case).
3802 (abmon): Rename to...
3803 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
3804 (mon): Import from CLDR (genitive case).
3806 * localedata/locales/be_BY@latin (mon): Rename to...
3808 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
3810 * localedata/locales/be_BY@latin (lang_name): Reworded to
3811 "biełaruskaja mova".
3813 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3816 * localedata/locales/el_CY (mon): Renamed to...
3818 (mon): Import from CLDR (genitive case).
3819 * localedata/locales/el_GR: Likewise.
3821 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
3824 * localedata/locales/ru_RU (mon): Rename to...
3826 (abmon): Rename to...
3828 (mon): Import from CLDR (genitive case).
3829 (abmon): Copy from the old content except the 5th month which is
3830 now in the genitive case, even when abbreviated.
3831 * localedata/locales/ru_UA: Likewise.
3832 * time/tst-strptime.c (day_tests): Add an actual example of
3833 a difference between %b and %Ob in Russian.
3835 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3837 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
3838 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
3840 * resolv/res-close.c: Include <stdlib.h>.
3841 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
3842 <sys/wait.h>, <time.h>, <sys/uio.h>.
3843 (NOT_CANCEL_H): Add inclusion guard.
3844 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
3845 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
3846 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
3848 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
3849 vm_address_t * to ElfW(Addr) * for dl_main parameter.
3850 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
3852 * sysdeps/pthread/timer_create.c (timer_create): Do not use
3853 timer_ptr2id to cast struct timer_node * to void *.
3854 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
3855 --disable-libcilkrts to gcc configure.
3856 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
3857 and make them the default for now.
3858 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
3859 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
3860 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
3861 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
3862 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
3864 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
3865 __task_terminate would ever return successfully.
3866 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
3868 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
3869 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
3870 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
3871 critical section to make code simpler and avoid warning.
3872 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
3873 critical section to make code simpler and avoid warning.
3874 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
3875 const char * instead of char *.
3876 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
3877 __hurd_file_name_split, hurd_file_name_split,
3878 __hurd_directory_name_split, hurd_directory_name_split,
3879 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
3880 hurd_file_name_path_lookup): Make lookup function parameter take a
3881 const char *name instead of char *name.
3882 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
3883 __hurd_directory_name_split): Likewise.
3884 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3885 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
3886 * sysdeps/mach/hurd/check_native.c: New file.
3887 * sysdeps/mach/hurd/check_pf.c: New file.
3888 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
3889 (__freeifaddrs): Define macro to freeifaddrs.
3890 * sysdeps/mach/hurd/libhurduser.abilist: New file.
3891 * sysdeps/mach/libmachuser.abilist: New file.
3892 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
3893 (do_test_bz20181): Rename accordingly.
3894 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3895 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
3897 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
3898 version only if __USE_EXTERN_INLINES is defined.
3899 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
3900 __hurd_sockfail): Likewise.
3901 (_hurd_fd_get): Always declare functions, and provide inline versions
3902 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
3903 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
3904 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
3905 _hurd_port_set): Always declare functions, and provide inline versions
3906 only if __USE_EXTERN_INLINES and _LIBC are defined and
3908 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
3909 _hurd_critical_section_unlock): Likewise.
3910 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
3911 * __hurd_threadvar_location): Likewise.
3912 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
3913 _hurd_userlink_clear): Likewise.
3914 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
3915 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
3916 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
3917 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
3918 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
3919 __spin_lock_locked): Likewise.
3920 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
3921 __spin_lock_locked): Likewise.
3922 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
3923 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
3924 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
3925 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
3926 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
3927 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
3928 _POSIX_NO_TRUNC): Define to 0.
3929 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
3930 check size against PTHREAD_STACK_MIN.
3931 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
3932 IS_IN(libpthread)]: Include <sigsetops.h>.
3933 * mach/Makefile (user-interfaces): Add mach/gnumach.
3934 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
3935 * sysdeps/mach/configure (mach_interface_list): Regenerate.
3936 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
3937 instead of invalid -1.
3938 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
3939 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
3940 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
3943 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
3945 * hurd/fcntl-internal.h: New file.
3947 2018-01-27 James Clarke <jrtc27@jrtc27.com>
3949 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3951 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3953 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
3956 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
3957 Build only shared objects.
3959 2018-01-26 Carlos O'Donell <carlos@redhat.com>
3961 * README: Update for hppa.
3963 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3965 * sysdeps/sparc/fpu/libm-test-ulps: Update
3966 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
3968 2018-01-26 Carlos O'Donell <carlos@redhat.com>
3972 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3975 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3976 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
3977 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3978 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
3981 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3984 * bits/types/__cancel_jmp_buf_tag.h: New file.
3985 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
3986 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
3987 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
3988 * nptl/Makefile (headers): Add
3989 bits/types/__cancel_jmp_buf_tag.h.
3990 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
3991 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
3992 * sysdeps/nptl/pthread.h: Include
3993 <bits/types/__cancel_jmp_buf_tag.h>.
3994 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
3996 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
3998 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
4001 * localedata/locales/uk_UA (mon): Renamed to...
4003 (alt_digits): "0" removed and then renamed to...
4005 (date_fmt): Definition changed not to use the alternative
4008 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
4010 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
4011 FLAG_RISCV_FLOAT_ABI_DOUBLE.
4012 * elf/elf.h (EF_RISCV_RVC): New define.
4013 (EF_RISCV_FLOAT_ABI): Likewise.
4014 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
4015 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
4016 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
4017 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
4018 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
4020 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
4022 2018-01-25 Andreas Schwab <schwab@suse.de>
4024 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
4026 * sysdeps/gnu/configure: Regenerate.
4027 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4028 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4030 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4031 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4032 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
4033 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4034 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4036 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4038 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
4039 URL, and run autoconf, make it the default for now.
4041 2018-01-24 Joseph Myers <joseph@codesourcery.com>
4043 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4044 soft-float ColdFire configuration.
4046 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
4047 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
4048 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
4050 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
4053 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
4055 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
4057 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
4060 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
4061 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
4062 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
4065 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
4068 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
4069 Rename to __reserved and add comment.
4070 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
4071 Rename to __reserved.
4073 2018-01-24 Joseph Myers <joseph@codesourcery.com>
4075 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4076 i686-gnu configurations.
4077 (Context.run_builds): Include mig, gnumach and hurd in components
4079 (Context.checkout): Add mig, gnumach and hurd to components.
4080 (Context.checkout_tar): Add URL mappings for mig, gnumach and
4082 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
4083 (Config.build): Install gnumach headers, build mig and install
4084 hurd headers for 'gnu' OS.
4085 (Config.install_gnumach_headers): New function.
4086 (Config.install_hurd_headers): Likewise.
4087 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
4088 when building for 'gnu' OS.
4090 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
4092 * manual/tunables.texi (Hardware Capability Tunables): Fix
4095 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
4097 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
4098 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
4099 (ALTMON_11, ALTMON_12): Improve documentation.
4100 * manual/time.texi (strftime): Likewise.
4102 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
4105 * localedata/locales/pl_PL: Alternative month names added,
4106 primary month names are genitive now.
4107 * time/tst-strptime.c (day_tests): Actually use a genitive case
4108 of a month name in Polish language.
4110 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
4113 * manual/locale.texi: Document ALTMON_1..12 constants for
4114 nl_langinfo. Specify when to use ALTMON instead of MON.
4115 * manual/time.texi (strftime, strptime): Document GNU extension
4116 permitting O modifier with %B and %b. Specify when to use
4119 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
4122 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
4123 names, define them as the same as abbreviated month names explicitly.
4124 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
4125 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
4126 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
4127 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
4128 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
4129 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
4130 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
4131 _NL_WABALTMON_12): New enum constants.
4132 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
4133 wab_alt_mon, and ab_alt_mon_defined members.
4134 (time_output): Output ab_alt_mon and wab_alt_mon members.
4135 (time_read): Read them, initialize them as copies of abmon and wabmon
4136 respectively if they are missing, initialize ab_alt_mon_defined.
4137 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
4138 * locale/programs/locfile-kw.h: Regenerate.
4139 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
4140 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
4142 * time/strftime_l.c (a_altmonth, aam_len): New macros.
4143 [!COMPILE_WIDE] (ABALTMON_1): New macro.
4144 (__strftime_internal): Handle %Ob and %Oh formats.
4145 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
4146 (__strptime_internal): Handle %Ob and %Oh formats.
4147 * time/tst-strptime.c (day_tests): Add more tests to parse different
4148 forms of month names including the new %Ob format specifier.
4150 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
4153 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
4154 define them as the same as primary full month names explicitly.
4155 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
4156 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
4157 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
4158 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
4159 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
4160 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
4161 _NL_WALTMON_12): New enum constants.
4162 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
4163 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
4165 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
4166 walt_mon, and alt_mon_defined members.
4167 (time_output): Output alt_mon and walt_mon members.
4168 (time_read): Read them, initialize them as copies of mon and wmon
4169 respectively if they are missing, initialize alt_mon_defined.
4170 * locale/programs/locfile-kw.gperf (alt_mon): Define.
4171 * locale/programs/locfile-kw.h: Regenerate.
4172 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
4173 * localedata/tst-langinfo.c (map): Add tests for the new constants
4174 ALTMON_1 .. ALTMON_12.
4175 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
4177 * time/strftime_l.c (f_altmonth): New macro.
4178 (__strftime_internal): Handle %OB format.
4179 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
4180 (__strptime_internal): Handle %OB format.
4181 * time/tst-strptime.c (day_tests): Add tests to parse different forms
4182 of month names including the new %OB format specifier.
4184 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4187 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
4188 from ABORT_TRANSACTION.
4189 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
4190 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
4191 ABORT_TRANSACTION_IMPL): Likewise.
4192 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
4193 Linux code, but remove the code that aborts transactions.
4195 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4197 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
4199 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
4201 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
4202 in date: "2004-14-09" should be "2004-09-14".
4203 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
4204 "2003-15-09" should be "2003-09-15".
4206 2018-01-18 Arjun Shankar <arjun@redhat.com>
4212 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
4214 (_int_memalign): check for integer overflow before calling
4216 * malloc/tst-malloc-too-large.c: New test.
4217 * malloc/Makefile: Add tst-malloc-too-large.
4219 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
4221 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
4222 in date: "2017-24-07" should be "2017-07-24".
4223 * localedata/locales/mai_IN: Likewise.
4224 * localedata/locales/mai_NP: Likewise.
4226 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
4228 * po/ru.po: Update translations.
4230 2018-01-17 Joseph Myers <joseph@codesourcery.com>
4233 * sysdeps/hppa/backtrace.c: New file.
4235 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
4238 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
4239 align La_x86_64_retval to VEC_SIZE.
4241 2018-01-16 Joseph Myers <joseph@codesourcery.com>
4243 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
4244 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
4246 2018-01-16 Florian Weimer <fweimer@redhat.com>
4248 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
4249 Move tst-thread-exit-clobber ...
4250 [$(CXX)] (tests-unsupported): ... to here.
4252 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
4254 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
4255 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
4256 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
4257 (_dl_aarch64_cap_flags): Update.
4258 (_DL_HWCAP_COUNT): Update.
4260 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
4262 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
4263 (_DL_HWCAP_LAST): Remove.
4264 (_DL_HWCAP_COUNT): Move to ...
4265 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
4266 (_DL_HWCAP_COUNT): ... here.
4268 2018-01-16 Florian Weimer <fweimer@redhat.com>
4270 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
4271 mode with GNU extensions.
4273 2018-01-15 Alan Hayward <alan.hayward@arm.com>
4275 * elf/elf.h (NT_ARM_SVE): Define.
4277 2018-01-15 Florian Weimer <fweimer@redhat.com>
4280 * nptl/tst-minstack-throw.cc: New file.
4281 * nptl/Makefile (tests): Add tst-minstack-throw.
4282 (LDLIBS-tst-minstack-throw): Link with libstdc++.
4283 [!CXX] (tests-unsupported): Add tst-minstack-throw.
4285 2018-01-15 Joseph Myers <joseph@codesourcery.com>
4287 * scripts/build-many-glibcs.py (Context.checkout): Default
4288 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
4291 2018-01-13 Carlos O'Donell <carlos@redhat.com>
4294 * elf/elf.h (DF_1_STUB): Define.
4297 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4300 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
4301 Do not add 0.5 to integer or out-of-range arguments.
4303 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
4305 * po/bg.po: Update translations.
4306 * po/cs.po: Likewise.
4307 * po/de.po: Likewise.
4308 * po/ko.po: Likewise.
4309 * po/pl.po: Likewise.
4310 * po/sv.po: Likewise.
4311 * po/uk.po: Likewise.
4312 * po/vi.po: Likewise.
4314 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4316 * aarch64/start.S (_start): Use __wrap_main.
4317 (__wrap_main): New local symbol.
4319 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
4323 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
4324 generic_getcwd if the path returned by getcwd syscall is not absolute.
4325 * io/tst-getcwd-abspath.c: New test.
4326 * io/Makefile (tests): Add tst-getcwd-abspath.
4328 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
4330 * malloc/malloc.c (malloc_consolidate): Add size check.
4332 2018-01-12 Florian Weimer <fweimer@redhat.com>
4334 * support/write_message.c (write_message): Preserve errno.
4335 * support/check.c (print_failure): Likewise.
4336 * support/support_test_verify_impl.c (support_test_verify_impl):
4338 * support/support_test_compare_failure.c
4339 (support_test_compare_failure): Likewise.
4341 2018-01-12 Florian Weimer <fweimer@redhat.com>
4344 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
4345 Prevent installation of libnsl.so.
4346 (libnsl-inhibit-o): Do not build (or install) static libraries.
4348 2018-01-12 Egmont Koblinger <egmont@gmail.com>
4351 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
4352 before the day number which may produce a double space.
4353 (date_fmt): Likewise.
4355 2018-01-12 Joseph Myers <joseph@codesourcery.com>
4357 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
4358 instead of fegetenv.
4360 2018-01-11 Joseph Myers <joseph@codesourcery.com>
4363 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
4364 comment to say exceptions are discarded.
4365 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
4367 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
4370 2018-01-11 Florian Weimer <fweimer@redhat.com>
4372 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
4375 2018-01-11 Florian Weimer <fweimer@redhat.com>
4378 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
4379 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
4381 2018-01-10 Joseph Myers <joseph@codesourcery.com>
4384 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
4385 negative arguments in test for NaN or infinity argument.
4387 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
4389 * po/libc.pot: Regenerate.
4391 2018-01-10 Florian Weimer <fweimer@redhat.com>
4394 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
4395 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
4397 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4399 * hurd/hurd/fd.h: Include <fcntl.h>
4400 (__hurd_at_flags): New function.
4401 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
4402 with call to __hurd_at_flags.
4403 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
4404 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
4406 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
4407 (__access_noerrno): Use __faccessat_common instead of access_common.
4408 (__access): Likewise.
4409 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
4410 with a call to __faccessat.
4411 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
4412 (__faccessat_common): ... this. Move implementation of __access into it when
4413 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
4414 reauthenticate_cwdir_at helper to implement AT mechanism.
4415 (__faccessat_noerrno): New function, just calls __faccessat_common.
4416 (__faccessat): New function, just calls __faccessat_common.
4417 (faccessat): Define weak alias.
4419 2018-01-10 Joseph Myers <joseph@codesourcery.com>
4422 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4423 (CFLAGS-s_fmaxmagl.c): New variable.
4424 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
4428 long int for arguments of possibly overflowing addition or
4430 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4432 2018-01-09 Joseph Myers <joseph@codesourcery.com>
4435 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4436 (CFLAGS-e_remainderl.c): New variable.
4439 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
4441 (CFLAGS-s_cacoshl.c): Likewise.
4442 (CFLAGS-s_casinhl.c): Likewise.
4443 (CFLAGS-s_catanl.c): Likewise.
4444 (CFLAGS-s_catanhl.c): Likewise.
4445 (CFLAGS-s_cexpl.c): Likewise.
4446 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
4447 (CFLAGS-s_csinhl.c): Likewise.
4448 (CFLAGS-s_clogl.c): Likewise.
4449 (CFLAGS-s_clog10l.c): Likewise.
4450 (CFLAGS-s_csinl.c): Likewise.
4451 (CFLAGS-s_csqrtl.c): Likewise.
4453 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
4454 2017-01-09 Svante Signell <svante.signell@gmail.com>
4456 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
4457 (_hurd_exec_paths): New function.
4458 * hurd/hurd.h (_hurd_exec): Deprecate function.
4459 (_hurd_exec_paths): Declare function.
4460 * hurd/Versions: Export _hurd_exec_paths.
4461 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
4462 (__execve): Use __getcwd to build absolute path, and use
4463 _hurd_exec_paths instead of _hurd_exec.
4464 * sysdeps/mach/hurd/spawni.c: Likewise.
4465 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
4468 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
4470 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
4471 test instead of failing in case of ENOENT returned by posix_openpt.
4473 2018-01-08 Florian Weimer <fweimer@redhat.com>
4475 resolv: Support binary labels in test framework.
4476 * support/resolv_test.c (struct to_be_freed): Remove.
4477 (struct compressed_name): New.
4478 (allocate_compressed_name, ascii_tolower)
4479 (compare_compressed_name): New functions.
4480 (struct resolv_response_builder): Update type of
4481 compression_offsets for use with tsearch. Rempve to_be_freed.
4482 (response_push_pointer_to_free): Remove function.
4483 (resolv_response_add_name): Rewrite using struct compressed_name
4484 and tsearch instead of hsearch_r.
4485 (response_builder_allocate): Remove initialization of
4486 compression_offsets.
4487 (response_builder_free): Update for removal of to_be_freed. Use
4488 tdestroy instead of hdestroy_r.
4489 * resolv/Makefile (tests): Add tst-resolv-binary.
4490 (tst-resolv-binary): Link with -lresolv -lpthread.
4492 2018-01-08 Florian Weimer <fweimer@redhat.com>
4494 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
4495 time. Pass positive flag instead of negative flag to
4496 support_test_compare_failure.
4497 (support_test_compare_failure): Change negative parameter to
4499 * support/support_test_compare_failure.c (report)
4500 (support_test_compare_failure): Likewise.
4501 * support/tst-test_compare.c (return_ssize_t, return_int): New.
4502 (do_test): Check int/size_t, ssize_t/size_t comparisons.
4504 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
4507 * nptl/descr.h (stackblock, stackblock_size): Update comments.
4508 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
4509 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
4511 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4513 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
4515 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4516 Add s_sincosf-sse2 and s_sincosf-fma.
4517 (CFLAGS-s_sincosf-fma.c): New.
4518 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
4519 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4520 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
4521 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
4522 __sincosf is defined.
4524 2018-01-08 Florian Weimer <fweimer@redhat.com>
4526 * nptl/tst-thread-exit-clobber.cc: New file.
4527 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
4529 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
4530 (tests): Add tst-thread-exit-clobber.
4531 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
4533 2018-01-08 Florian Weimer <fweimer@redhat.com>
4535 * support/check.h (support_static_assert): Define.
4536 (TEST_COMPARE): Use it.
4538 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
4540 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
4541 [!__RLIM_T_MATCHES_RLIM64_T]
4542 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
4543 __getrlimit64. Add libc_hidden_weak.
4545 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
4547 * elf/elf.h (R_RISCV_NONE): New define.
4548 (R_RISCV_32): Likewise.
4549 (R_RISCV_64): Likewise.
4550 (R_RISCV_RELATIVE): Likewise.
4551 (R_RISCV_COPY): Likewise.
4552 (R_RISCV_JUMP_SLOT): Likewise.
4553 (R_RISCV_TLS_DTPMOD32): Likewise.
4554 (R_RISCV_TLS_DTPMOD64): Likewise.
4555 (R_RISCV_TLS_DTPREL32): Likewise.
4556 (R_RISCV_TLS_DTPREL64): Likewise.
4557 (R_RISCV_TLS_TPREL32): Likewise.
4558 (R_RISCV_TLS_TPREL64): Likewise.
4559 * Makerules (make-link-multidir): Make directories before linking into
4561 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
4563 (VDSO_HASH_LINUX_4_15): Likewise.
4564 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
4565 in subdirectories of lib.
4566 * nptl/Makefile (/librt.so): Always depend on
4567 "$(shared-thread-library)".
4569 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4571 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4572 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
4573 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
4575 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
4576 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
4578 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
4579 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
4580 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
4581 * sysdeps/gnu/glob-lstat-compat.c: New file.
4582 * sysdeps/gnu/glob64-lstat-compat.c: New file.
4583 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
4585 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4587 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
4588 Reserve 16 chars to reloc_addr before calling _itoa_word.
4590 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
4593 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
4594 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
4596 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
4597 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
4599 * resource/tst-getrlimit.c: Add copyright header.
4601 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
4602 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4604 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
4605 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
4606 Define __GI_getrlimit64 as weak alias of __getrlimit64.
4607 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
4609 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
4610 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
4611 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
4612 RLIM64_INFINITY): Fix values to match the kernel ones.
4613 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
4614 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
4615 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
4616 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
4617 getrlimit64@@GLIBC_2_27.
4618 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
4620 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
4621 getrlimit, setrlimit, getrlimit64 and setrlimit64.
4622 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
4623 setrlimit, getrlimit64 and setrlimit64.
4625 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
4628 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
4629 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
4631 2018-01-04 Joseph Myers <joseph@codesourcery.com>
4633 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
4634 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
4635 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
4637 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4641 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
4642 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
4646 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
4647 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
4648 * sysdeps/alpha/fpu/s_floor.c: Likewise.
4649 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
4651 2018-01-04 Florian Weimer <fweimer@redhat.com>
4654 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
4655 Align the stack before calling exit.
4656 * stdlib/tst-makecontext-align.c: New file.
4657 * stdlib/Makefile (tests): Add tst-makecontext-align.
4659 2018-01-04 Florian Weimer <fweimer@redhat.com>
4661 Add support for calling dlvsym from libc.so.
4662 * include/dlfcn.h (__libc_dlvsym): Declare.
4663 * elf/Makefile (tests-static-internal): Add
4664 tst-libc_dlvsym-static.
4665 (tests-internal): Add tst-libc_dlvsym.
4666 (modules-names): Add tst-libc_dlvsym-dso.
4667 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
4668 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
4669 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
4670 object tst-libc_dlvsym-dso.so needs to be built before running
4672 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
4673 * elf/Versions: Export __libc_dlvsym.
4674 * elf/dl-libc.c (struct do_dlvsym_args): New.
4675 (do_dlvsym, __libc_dlvsym): New functions.
4676 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
4677 (_dl_open_hook2): New variable.
4678 (__libc_register_dl_open_hook): Set it.
4679 * elf/tst-libc_dlvsym-dso.c: New file.
4680 * elf/tst-libc_dlvsym-static.c: Likewise.
4681 * elf/tst-libc_dlvsym.c: Likewise.
4682 * elf/tst-libc_dlvsym.h: Likewise.
4684 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4686 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
4687 include <sys/mount.h>.
4689 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
4691 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
4692 Add __NO_MATH_ERRNO__ check.
4694 2018-01-02 Joseph Myers <joseph@codesourcery.com>
4696 * sysdeps/mips/mips32/libm-test-ulps: Update.
4697 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4699 2018-01-02 Florian Weimer <fweimer@redhat.com>
4701 * misc/tst-pselect.c: Add copyright header.
4703 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
4705 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
4707 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
4709 (settrlimit): Rename into setrlimit.
4710 (__sttrlimit): Rename into __setrlimit.
4712 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
4713 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
4714 never defined in that case.
4716 2018-01-02 Joseph Myers <joseph@codesourcery.com>
4718 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4720 * sysdeps/arm/libm-test-ulps: Update.
4722 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
4723 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
4725 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4727 * NEWS: Add cosf and sincosf to list of optimized functions.
4729 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
4732 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
4733 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
4734 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
4735 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
4737 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
4740 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
4742 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
4743 making a copy of it.
4745 2018-01-01 Joseph Myers <joseph@codesourcery.com>
4747 * manual/texinfo.tex: Update to version 2017-12-26.21 with
4748 trailing whitespace removed.
4749 * scripts/config.guess: Update to version 2018-01-01.
4750 * scripts/config.sub: Update to version 2018-01-01.
4751 * scripts/move-if-change: Update from gnulib.
4753 * NEWS: Update copyright dates.
4754 * catgets/gencat.c (print_version): Likewise.
4755 * csu/version.c (banner): Likewise.
4756 * debug/catchsegv.sh: Likewise.
4757 * debug/pcprofiledump.c (print_version): Likewise.
4758 * debug/xtrace.sh (do_version): Likewise.
4759 * elf/ldconfig.c (print_version): Likewise.
4760 * elf/ldd.bash.in: Likewise.
4761 * elf/pldd.c (print_version): Likewise.
4762 * elf/sotruss.sh: Likewise.
4763 * elf/sprof.c (print_version): Likewise.
4764 * iconv/iconv_prog.c (print_version): Likewise.
4765 * iconv/iconvconfig.c (print_version): Likewise.
4766 * locale/programs/locale.c (print_version): Likewise.
4767 * locale/programs/localedef.c (print_version): Likewise.
4768 * login/programs/pt_chown.c (print_version): Likewise.
4769 * malloc/memusage.sh (do_version): Likewise.
4770 * malloc/memusagestat.c (print_version): Likewise.
4771 * malloc/mtrace.pl: Likewise.
4772 * manual/libc.texinfo: Likewise.
4773 * nptl/version.c (banner): Likewise.
4774 * nscd/nscd.c (print_version): Likewise.
4775 * nss/getent.c (print_version): Likewise.
4776 * nss/makedb.c (print_version): Likewise.
4777 * posix/getconf.c (main): Likewise.
4778 * scripts/test-installation.pl: Likewise.
4779 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4781 * All files with FSF copyright notices: Update copyright dates
4782 using scripts/update-copyrights.
4783 * locale/programs/charmap-kw.h: Regenerated.
4784 * locale/programs/locfile-kw.h: Likewise.
4786 2017-12-31 Zack Weinberg <zackw@panix.com>
4788 * libio/bits/libio-ldbl.h: Correct check for improper
4789 inclusion. Add own multiple include guard.
4791 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
4792 Dmitry V. Levin <ldv@altlinux.org>
4796 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
4797 string token expansion. Check for NULL pointer or empty string possibly
4798 returned by expand_dynamic_string_token.
4799 (decompose_rpath): Check for empty path after dynamic string
4802 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
4805 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
4807 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
4808 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
4809 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
4811 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
4812 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4813 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4815 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4816 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4818 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
4819 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
4820 __ptrace_peeksiginfo_flags, ptrace): Move to ...
4821 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
4822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4823 bits/ptrace-shared.h.
4824 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
4825 <bits/ptrace-shared.h>.
4826 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
4827 __ptrace_peeksiginfo_flags, ptrace): Remove.
4828 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4829 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4830 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4831 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4832 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4834 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
4837 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
4838 end of the loop. Improve comments.
4840 2017-12-29 Zack Weinberg <zackw@panix.com>
4843 * manual/errno.texi (Checking for Errors): Explicitly say that errno
4844 might be set on success.
4846 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
4849 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
4850 is unchanged on success.
4852 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
4854 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
4856 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
4857 expand_dynamic_string_token): Likewise.
4858 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
4861 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
4864 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
4865 is set and name contains ':', and all code depending on these checks.
4867 2017-12-24 Zack Weinberg <zackw@panix.com>
4869 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
4870 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
4872 * libio/libio.h: Rename the original version of this file to
4873 libio/bits/libio.h. Error out if not included by stdio.h or the
4875 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
4876 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
4877 if not included by bits/libio.h or the stub _G_config.h.
4878 * sysdeps/unix/sysv/linux/_G_config.h: Move to
4879 sysdeps/unix/sysv/linux/bits. Error out if not included by
4880 bits/libio.h or the stub _G_config.h.
4881 * libio/stdio.h: Include bits/libio.h, not libio.h.
4882 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
4883 well as libio.h and _G_config.h.
4885 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
4886 * libio/strfile.h, stdio-common/vfscanf.c
4887 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
4888 Include stdio.h, not _G_config.h nor libio.h.
4889 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
4890 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
4892 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
4894 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
4897 * stdlib/getrandom.c (getrandom): Fix comment.
4898 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
4900 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
4903 * manual/arith.texi (strtoul): Fix a typo.
4906 * manual/arith.texi (finite): Fix the description of the return
4909 2017-12-22 Eric Blake <ebb9@byu.net>
4911 Avoid gcc warnings on cygwin
4912 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
4913 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
4914 Avoid unused variable.
4916 2017-12-22 Florian Weimer <fweimer@redhat.com>
4918 * io/Makefile (routines): Add copy_file_range.
4919 (tests): Add tst-copy_file_range.
4920 (tests-static, tests-internal): Add tst-copy_file_range-compat.
4921 * io/Versions (GLIBC_2.27): Export copy_file_range.
4922 * io/copy_file_range-compat.c: New file.
4923 * io/copy_file_range.c: Likewise.
4924 * io/tst-copy_file_range-compat.c: Likewise.
4925 * io/tst-copy_file_range.c: Likewise.
4926 * manual/llio.texi (Copying File Data): New section.
4927 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
4928 * support/Makefile (libsupport-routines): Add support-xfstat,
4930 * support/support-xfstat.c: New file.
4931 * support/xftruncate.c: Likewise.
4932 * support/xlseek.c: Likewise.
4933 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
4934 * sysdeps/unix/sysv/linux/**.abilist: Update.
4935 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
4937 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4939 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4940 disable-multi-arch variant to aarch64-linux-gnu.
4942 2017-12-20 Joseph Myers <joseph@codesourcery.com>
4944 * manual/texinfo.tex: Update to version 2017-12-18.20 with
4945 trailing whitespace removed.
4946 * scripts/config.guess: Update to version 2017-12-17.
4947 * scripts/config.sub: Update to version 2017-11-23.
4948 * scripts/install-sh: Update to version 2017-09-23.17.
4949 * scripts/move-if-change: Update to version 2017-09-13 06:45.
4951 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4953 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
4954 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
4955 * sysdeps/tile/_mcount.S (__mcount): Likewise.
4956 * sysdeps/tile/crti.S (_init, _fini): Likewise.
4957 * sysdeps/tile/crtn.S: Likewise.
4958 * sysdeps/tile/dl-start.S (_start): Likewise.
4959 * sysdeps/tile/dl-trampoline.S: Likewise.
4960 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4961 * sysdeps/tile/start.S (_start): Likewise.
4962 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
4963 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
4964 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
4965 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
4966 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
4967 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
4968 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
4970 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
4972 * sysdeps/tile/preconfigure: Remove tilegx folder.
4973 * sysdeps/tile/tilegx/Implies: Move definitions to ...
4974 * sysdeps/tile/Implies: ... here.
4975 * sysdeps/tile/tilegx/Makefile: Move rules to ...
4976 * sysdeps/tile/Makefile: ... here.
4977 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
4978 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
4979 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
4980 * sysdeps/tile/bits/wordsize.h: ... here.
4981 * sysdeps/tile/tilegx/*: Move to ...
4982 * sysdeps/tile/*: ... here.
4983 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
4984 * sysdeps/tile/tilegx32/Implies: ... here.
4985 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
4986 * sysdeps/tile/tilegx64/Implies: ... here.
4987 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
4989 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4990 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
4991 * sysdeps/unix/sysv/linux/tile/*: ... here.
4992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
4993 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
4994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
4995 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
4997 * README: Remove tilepro-*-linux-gnu from supported architecture.
4998 * scripts/build-many-glibcs.py: Likewise.
4999 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
5000 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
5001 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
5002 elf_machine_matches_host, elf_machine_dynamic,
5003 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
5004 howto, elf_machine_rela): Likewise.
5005 * sysdeps/tile/dl-start.S (_start): Likewise.
5006 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
5007 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
5008 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
5009 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
5010 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
5011 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5013 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
5014 * sysdeps/tile/preconfigure: Likewise.
5015 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
5016 POINTER_CHK_GUARD): Likewise.
5017 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
5018 * sysdeps/tile/start.S (_start): Likewise.
5019 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
5021 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
5022 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
5024 * sysdeps/unix/sysv/linux/tile/bits/environments.h
5025 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
5026 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
5028 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
5029 * sysdeps/tile/tilepro/Implies: Remove file.
5030 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
5031 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
5032 * sysdeps/tile/tilepro/memchr.c: Likewise.
5033 * sysdeps/tile/tilepro/memcpy.S: Likewise.
5034 * sysdeps/tile/tilepro/memset.c: Likewise.
5035 * sysdeps/tile/tilepro/memusage.h: Likewise.
5036 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
5037 * sysdeps/tile/tilepro/strchr.c: Likewise.
5038 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
5039 * sysdeps/tile/tilepro/strlen.c: Likewise.
5040 * sysdeps/tile/tilepro/strrchr.c: Likewise.
5041 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
5042 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
5043 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
5044 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5045 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
5046 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5048 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
5049 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5050 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
5051 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
5052 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5053 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
5054 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
5055 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
5056 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
5057 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
5058 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
5059 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
5060 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
5061 tilepro mention in comment.
5063 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
5064 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
5065 * nptl/pthread_join_common.c: New file: common function used on
5066 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
5067 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
5068 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
5069 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5070 (cleanup): Move definition to pthread_join_common.c.
5071 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
5072 Remove superflous checks.
5073 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
5076 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
5078 * sysdeps/aarch64/libm-test-ulps: Update.
5080 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5082 * sysdeps/aarch64/memset.S (MEMSET): Define.
5084 2017-12-20 Florian Weimer <fweimer@redhat.com>
5087 nptl: Provide full implementation of pthread_self in libc.so.
5088 * nptl/Makefile (routines): Add pthread_self.
5089 (libpthread-routines): Replace pthread_self with
5090 compat-pthread_self.
5091 * nptl/forward.c (pthread_self): Remove.
5092 * nptl/nptl-init.c (pthread_functions): Do not initialize
5094 * nptl/pthread_self.c (pthread_self): Remove weak alias.
5095 * nptl/compat-pthread_self.c: New file.
5096 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
5097 Remove ptr_pthread_self.
5099 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
5101 * posix/regcomp.c: Fix spelling in comments.
5102 * posix/regex.h: Likewise.
5103 * posix/regex_internal.c: Likewise.
5104 * posix/regexec.c: Likewise.
5106 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5109 * math/Makefile [C++] (tests): Add test for iseqsig.
5110 * math/math.h [C++] (iseqsig): New implementation, which does
5111 not rely on __MATH_TG/__builtin_types_compatible_p.
5112 * math/test-math-iseqsig.cc: New file.
5113 * sysdeps/powerpc/powerpc64le/Makefile
5114 (CFLAGS-test-math-iseqsig.cc): New variable.
5116 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
5118 * elf/dl-load.c (is_trusted_path): Remove.
5119 (fillin_rpath): Remove check_trusted argument and its use,
5120 all callers changed.
5122 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
5125 * Makeconfig (link-pie-before-libc): Replace -pie with
5126 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
5127 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
5128 (tst-dlopen-aout-no-pie): New.
5129 (LDFLAGS-tst-prelink): Removed.
5130 (tst-prelink-no-pie): New.
5131 (LDFLAGS-tst-main1): Removed.
5132 (tst-main1-no-pie): New.
5133 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
5134 (tst-gmon-no-pie): New.
5136 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
5138 * manual/install.texi: Document that --enable-static-pie
5140 * INSTALL: Regenerated.
5142 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
5145 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
5148 2017-12-19 Joseph Myers <joseph@codesourcery.com>
5152 2017-12-19 Joseph Myers <joseph@codesourcery.com>
5154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5156 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
5158 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
5159 <errno.h>. Include "eexp.tbl".
5160 (half): New constant.
5162 (__ieee754_exp): Rewrite.
5163 (__slowexp): Remove prototype.
5164 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
5165 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
5166 * sysdeps/i386/fpu/slowexp.c: Likewise.
5167 * sysdeps/ia64/fpu/slowexp.c: Likewise.
5168 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
5169 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
5170 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
5171 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5172 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
5173 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
5175 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
5176 (CPPFLAGS-slowexp.c): Remove variable.
5177 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5178 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
5179 (CFLAGS-slowexp-fma.c): Remove variable.
5180 (CFLAGS-slowexp-fma4.c): Likewise.
5181 (CFLAGS-slowexp-avx.c): Likewise.
5182 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
5184 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
5185 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
5186 * math/Makefile (type-double-routines): Remove slowexp.
5187 * manual/probes.texi (slowexp_p6): Remove.
5188 (slowexp_p32): Likewise.
5190 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5192 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
5195 * lib/glob.c (glob): Do not pass NULL to mempcpy.
5197 2017-12-19 Joseph Myers <joseph@codesourcery.com>
5199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5201 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
5203 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
5204 <errno.h>. Include "eexp.tbl".
5205 (half): New constant.
5207 (__ieee754_exp): Rewrite.
5208 (__slowexp): Remove prototype.
5209 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
5210 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
5211 * sysdeps/i386/fpu/slowexp.c: Likewise.
5212 * sysdeps/ia64/fpu/slowexp.c: Likewise.
5213 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
5214 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
5215 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
5216 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5217 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
5218 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
5220 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
5221 (CPPFLAGS-slowexp.c): Remove variable.
5222 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5223 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
5224 (CFLAGS-slowexp-fma.c): Remove variable.
5225 (CFLAGS-slowexp-fma4.c): Likewise.
5226 (CFLAGS-slowexp-avx.c): Likewise.
5227 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
5229 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
5230 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
5231 * math/Makefile (type-double-routines): Remove slowexp.
5232 * manual/probes.texi (slowexp_p6): Remove.
5233 (slowexp_p32): Likewise.
5235 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5236 James Clarke <jrtc27@jrtc27.com>
5239 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
5242 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5245 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
5248 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
5251 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
5252 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
5253 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
5254 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
5257 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
5260 * bits/types/__cancel_jmp_buf_tag.h: New file.
5261 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
5262 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
5263 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
5264 * nptl/Makefile (headers): Add
5265 bits/types/__cancel_jmp_buf_tag.h.
5266 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
5267 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
5268 * sysdeps/nptl/pthread.h: Include
5269 <bits/types/__cancel_jmp_buf_tag.h>.
5270 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
5272 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
5274 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
5276 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5277 --enable-static-pie variants to x86_64, x32 and i686.
5279 2017-12-19 Joseph Myers <joseph@codesourcery.com>
5282 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
5283 argument for attrubutes. All callers changed.
5284 (__inline_mathop1): Likewise. All callers changed.
5285 (__inline_mathop): Likewise. All callers changed.
5286 [__USE_MISC] (scalbn): Use __inline_forward instead of
5288 [__USE_ISOC99] (scalbln): Likewise.
5289 [__USE_ISOC99] (nearbyint): Likewise.
5290 [__USE_ISOC99] (lrint): Likewise.
5291 [__USE_MISC] (scalbnf): Likewise.
5292 [__USE_ISOC99] (scalblnf): Likewise.
5293 [__USE_ISOC99] (nearbyintf): Likewise.
5294 [__USE_ISOC99] (lrintf): Likewise.
5295 [__USE_MISC] (scalbnl): Likewise.
5296 [__USE_ISOC99] (scalblnl): Likewise.
5297 [__USE_ISOC99] (nearbyintl): Likewise.
5298 [__USE_ISOC99] (lrintl): Likewise.
5299 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
5300 __inline_mathop and __m81_defun changed.
5302 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
5303 CPU or FPU for ARM hard-float configurations.
5305 2017-12-18 Joseph Myers <joseph@codesourcery.com>
5307 * nptl/tst-attr3.c: Include <libc-diag.h>.
5308 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
5310 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
5312 * string/tester.c (test_strncat): Also disable -Warray-bounds
5313 warnings for two tests.
5315 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
5318 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
5319 $(cc-pie-default) == yes.
5320 * config.make.in (cc-pie-default): New.
5321 * configure.ac (libc_cv_pie_default): Renamed to ...
5322 (libc_cv_cc_pie_default): This.
5323 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
5324 * configure: Regenerated.
5326 2017-12-18 Florian Weimer <fweimer@redhat.com>
5329 ld.so: Harden dl-libc/libdl hooks.
5330 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
5331 (rtld_active): New function.
5332 * dlfcn/dladdr.c (__dladdr): Call it.
5333 * dlfcn/dladdr1.c (__dladdr1): Likewise.
5334 * dlfcn/dlclose.c (__dlcose): Likewise.
5335 * dlfcn/dlerror.c (__dlerror): Likewise.
5336 * dlfcn/dlinfo.c (__dlinfo): Likewise.
5337 * dlfcn/dlmopen.c (__dlmopen): Likewise.
5338 * dlfcn/dlopen.c (__dlopen): Likewise.
5339 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5340 * dlfcn/dlsym.c (__dlsym): Likewise.
5341 * dlfcn/dlvsym.c (__dlvsym): Likewise.
5342 * libio/vtables.c (_IO_vtable_check): Likewise.
5343 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
5344 (__libc_dlclose): Likewise.
5345 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
5348 2017-12-18 Joseph Myers <joseph@codesourcery.com>
5351 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
5352 buffers for readlink input and output.
5354 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
5357 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
5358 inhibit_stack_protector.
5361 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
5362 inhibit_stack_protector.
5364 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
5367 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
5368 code and invocation.
5370 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
5372 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
5374 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
5377 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
5379 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5381 * sysdeps/s390/fpu/libm-test-ulps: Update.
5383 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5387 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5389 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
5390 constants to s_sincosf.h file.
5391 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5392 * sysdeps/ieee754/flt-32/s_sincosf.c: New
5394 * sysdeps/ieee754/flt-32/s_sincosf.h:
5397 2017-12-12 Carlos O'Donell <carlos@redhat.com>
5400 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
5403 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
5406 * INSTALL: Regenerated.
5407 * Makeconfig (real-static-start-installed-name): New.
5408 (pic-default): Updated for --enable-static-pie.
5409 (pie-default): New for --enable-static-pie.
5410 (default-pie-ldflag): Likewise.
5411 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
5412 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
5413 Replace $(static-start-installed-name) with
5414 $(real-static-start-installed-name).
5415 (+prectorT): Updated for --enable-static-pie.
5416 (+postctorT): Likewise.
5417 (CFLAGS-.o): Add $(pie-default).
5418 (CFLAGS-.op): Likewise.
5419 * NEWS: Mention --enable-static-pie.
5420 * config.h.in (ENABLE_STATIC_PIE): New.
5421 * configure.ac (--enable-static-pie): New configure option.
5422 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
5423 (have-static-pie): Likewise.
5424 Enable static PIE if linker supports --no-dynamic-linker.
5425 (ENABLE_STATIC_PIE): New AC_DEFINE.
5426 (enable-static-pie): New LIBC_CONFIG_VAR.
5427 * configure: Regenerated.
5428 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
5429 gr$(start-installed-name) for --enable-static-pie.
5430 (extra-objs): Likewise.
5431 (install-lib): Likewise.
5432 (extra-objs): Add static-reloc.o and static-reloc.os
5433 ($(objpfx)$(start-installed-name)): Also depend on
5434 $(objpfx)static-reloc.o.
5435 ($(objpfx)r$(start-installed-name)): New.
5436 ($(objpfx)g$(start-installed-name)): Also depend on
5437 $(objpfx)static-reloc.os.
5438 ($(objpfx)gr$(start-installed-name)): New.
5439 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
5441 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
5443 * csu/static-reloc.c: New file.
5444 * elf/Makefile (routines): Add dl-reloc-static-pie.
5445 (elide-routines.os): Likewise.
5446 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
5447 (tst-tls1-static-non-pie-no-pie): New.
5448 * elf/dl-reloc-static-pie.c: New file.
5449 * elf/dl-support.c (_dl_get_dl_main_map): New function.
5450 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
5451 STATIC_PIE_BOOTSTRAP.
5452 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5453 * gmon/Makefile (tests): Add tst-gmon-static-pie.
5454 (tests-static): Likewise.
5455 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
5456 (tst-gmon-static-no-pie): New.
5457 (CFLAGS-tst-gmon-static-pie.c): Likewise.
5458 (CRT-tst-gmon-static-pie): Likewise.
5459 (tst-gmon-static-pie-ENV): Likewise.
5460 (tests-special): Likewise.
5461 ($(objpfx)tst-gmon-static-pie.out): Likewise.
5462 (clean-tst-gmon-static-pie-data): Likewise.
5463 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
5464 * gmon/tst-gmon-static-pie.c: New file.
5465 * manual/install.texi: Document --enable-static-pie.
5466 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
5467 (_dl_get_dl_main_map): Likewise.
5468 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
5469 * sysdeps/x86_64/configure.ac: Likewise.
5470 * sysdeps/i386/configure: Regenerated.
5471 * sysdeps/x86_64/configure: Likewise.
5472 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
5473 (ASFLAGS-.op): Likewise.
5475 2017-12-15 Joseph Myers <joseph@codesourcery.com>
5477 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
5478 * posix/tst-mmap-offset.c (fname): Use /tmp.
5479 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
5481 2017-12-15 Steve Ellcey <sellcey@cavium.com>
5483 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
5485 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
5487 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
5490 2017-12-15 Joseph Myers <joseph@codesourcery.com>
5492 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
5493 --with-float=hard for arm-linux-gnueabihf configurations.
5496 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
5497 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
5498 ($(mo-installed)): Use $(objpfx)%.mo.
5499 (realclean): Remove rule.
5501 * po/Makefile (linguas): Remove rule and dependencies.
5502 (linguas.mo): Likewise.
5503 (.PHONY): Do not depend on linguas and linguas.mo.
5504 (podir): Remove variable.
5505 (pofiles): Likewise.
5506 [$(pofiles)] (%.po): Remove rule.
5508 * sysdeps/sparc/sparc32/Makefile
5509 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
5510 start-of-line whitespace in argument of echo.
5511 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
5512 with whitespace. Generate __wrap_.udiv alias.
5513 * sysdeps/sparc/sparc32/rem.S: Regenerated.
5514 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5515 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5516 * sysdeps/sparc/sparc32/urem.S: Likewise.
5518 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5520 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
5523 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5525 * benchtests/bench-strcmp.c: Print output in JSON format.
5527 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
5529 2017-12-14 Florian Weimer <fweimer@redhat.com>
5533 * elf/dl-load.c (_dl_init_paths): Compute number of components in
5534 the expanded path string.
5536 2017-12-14 Florian Weimer <fweimer@redhat.com>
5540 * elf/dl-load.c (system_dirs): Update comment.
5541 (nsystem_dirs_len): Use array_length.
5542 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
5544 2017-12-14 Florian Weimer <fweimer@redhat.com>
5546 Simplify compiling most of support/ outside of glibc.
5547 * support/check_addrinfo.c: Include <string.h>.
5548 * support/check_dns_packet.c: Likewise.
5549 * support/check_hostent.c: Likewise.
5550 * support/support_can_chroot.c: Include <support/xunistd.h>.
5551 * support/support_format_addrinfo.c: Include <stdlib.h>
5552 * support/support_format_dns_packet.c: Include <stdbool.h>.
5553 * support/support_format_hostent.c: Include <stdlib.h>.
5554 * support/support_format_netent.c: Likewise.
5555 * support/support_write_string.c: Include <support/xunistd.h>.
5556 * support/xdlfcn.c: Include <stddef.h>.
5558 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
5560 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
5562 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
5563 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5565 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
5566 (sysdeps_routines): Add memset-niagara7.
5567 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
5569 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
5571 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
5572 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
5573 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
5574 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
5575 Add niagara7 option.
5576 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
5579 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
5580 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
5581 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
5583 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
5585 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
5586 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
5587 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
5588 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
5589 and __memmove_niagara7.
5590 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
5591 Add niagara7 option.
5592 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
5593 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
5594 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
5595 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
5596 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
5598 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
5600 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
5601 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
5602 * sysdeps/sparc/sparc64/memmove.S: Likewise.
5603 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
5605 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
5606 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
5607 _dl_sparc_cap_flags array.
5608 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
5610 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
5612 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
5613 time whenever possible.
5615 2017-12-12 Carlos O'Donell <carlos@redhat.com>
5617 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
5618 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
5620 2017-12-12 Joseph Myers <joseph@codesourcery.com>
5622 * soft-fp/fmadf4.c: Move to ....
5623 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
5624 * soft-fp/fmasf4.c: Move to ....
5625 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
5626 * soft-fp/fmatf4.c: Move to ....
5627 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
5628 * sysdeps/ieee754/soft-fp/Makefile: New file.
5629 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
5630 * sysdeps/arm/preconfigure: Regenerated.
5631 * sysdeps/arm/nofpu/Implies: New file.
5632 * sysdeps/arm/s_fma.c: Remove file.
5633 * sysdeps/arm/s_fmaf.c: Likewise.
5634 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
5635 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
5636 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5637 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
5638 * sysdeps/microblaze/s_fma.c: Remove file.
5639 * sysdeps/microblaze/s_fmaf.c: Likewise.
5640 * sysdeps/mips/mips32/nofpu/Implies: New file.
5641 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
5642 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
5643 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
5644 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
5645 * sysdeps/mips/ieee754/s_fma.c: Remove file.
5646 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
5647 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
5649 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
5650 * sysdeps/nios2/s_fma.c: Remove file.
5651 * sysdeps/nios2/s_fmaf.c: Likewise.
5652 * sysdeps/sh/nofpu/Implies: New file.
5653 * sysdeps/sh/s_fma.c: Remove file.
5654 * sysdeps/sh/s_fmaf.c: Likewise.
5655 * sysdeps/tile/Implies: Add ieee754/soft-fp.
5656 * sysdeps/tile/s_fma.c: Remove file.
5657 * sysdeps/tile/s_fmaf.c: Likewise.
5659 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
5661 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5662 Add s_cosf-sse2 and s_cosf-fma.
5663 (CFLAGS-s_cosf-fma.c): New.
5664 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
5665 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
5666 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
5668 2017-12-12 Steve Ellcey <sellcey@cavium.com>
5670 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
5672 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5674 * libio/Makefile (tests): Add tst-bz22415.
5675 (tst-bz22415-ENV): New rule.
5676 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
5677 (tests-special): Add tst-bz22415-mem.out.
5678 ($(objpfx)tst-bz22415-mem.out): New rule.
5679 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
5680 in case of a successful seek operation.
5681 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5682 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
5684 * libio/tst-bz22415.c: New test.
5686 * sysdeps/ia64/fpu/libm-test-ulps: Update.
5688 2017-12-12 James Clarke <jrtc27@jrtc27.com>
5690 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
5691 __IPC_64 to 0 to avoid IPC_64 being set.
5693 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5696 * math/bits/mathcalls.h (nextafter): Remove const.
5697 (nexttoward): Likewise.
5699 2017-12-12 Joseph Myers <joseph@codesourcery.com>
5701 * configure.ac (--with-fp): Remove configure option.
5702 (with_fp_cond): New variable.
5703 (libc_cv_with_fp): New configure test. Use this variable instead
5705 * configure: Regenerated.
5706 * config.make.in (with-fp): Use @libc_cv_with_fp@.
5707 * manual/install.texi (Configuring and compiling): Remove
5709 * INSTALL: Regenerated.
5710 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
5711 * sysdeps/mips/preconfigure (with_fp_cond): Define.
5712 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
5713 * sysdeps/sh/preconfigure (with_fp_cond): Define.
5714 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
5715 use --without-fp to configure glibc.
5717 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
5719 * manual/locale.texi (nl_langinfo): Fix a typo.
5721 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
5724 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
5726 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
5728 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
5729 (CFLAGS-argp-parse.c): Likewise.
5730 (CFLAGS-argp-fmtstream.c): Likewise.
5731 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
5732 (CPPFLAGS-sha512-crypt.c): Likewise.
5733 (CPPFLAGS-md5-crypt.c): Likewise.
5734 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
5735 (CFLAGS-stack_chk_fail_local.c): Likewise.
5736 (CFLAGS-backtrace.c): Likewise.
5737 (CFLAGS-sprintf_chk.c): Likewise.
5738 (CFLAGS-snprintf_chk.c): Likewise.
5739 (CFLAGS-vsprintf_chk.c): Likewise.
5740 (CFLAGS-vsnprintf_chk.c): Likewise.
5741 (CFLAGS-asprintf_chk.c): Likewise.
5742 (CFLAGS-vasprintf_chk.c): Likewise.
5743 (CFLAGS-obprintf_chk.c): Likewise.
5744 (CFLAGS-dprintf_chk.c): Likewise.
5745 (CFLAGS-vdprintf_chk.c): Likewise.
5746 (CFLAGS-printf_chk.c): Likewise.
5747 (CFLAGS-fprintf_chk.c): Likewise.
5748 (CFLAGS-vprintf_chk.c): Likewise.
5749 (CFLAGS-vfprintf_chk.c): Likewise.
5750 (CFLAGS-gets_chk.c): Likewise.
5751 (CFLAGS-fgets_chk.c): Likewise.
5752 (CFLAGS-fgets_u_chk.c): Likewise.
5753 (CFLAGS-fread_chk.c): Likewise.
5754 (CFLAGS-fread_u_chk.c): Likewise.
5755 (CFLAGS-swprintf_chk.c): Likewise.
5756 (CFLAGS-vswprintf_chk.c): Likewise.
5757 (CFLAGS-wprintf_chk.c): Likewise.
5758 (CFLAGS-fwprintf_chk.c): Likewise.
5759 (CFLAGS-vwprintf_chk.c): Likewise.
5760 (CFLAGS-vfwprintf_chk.c): Likewise.
5761 (CFLAGS-fgetws_chk.c): Likewise.
5762 (CFLAGS-fgetws_u_chk.c): Likewise.
5763 (CFLAGS-read_chk.c): Likewise.
5764 (CFLAGS-pread_chk.c): Likewise.
5765 (CFLAGS-pread64_chk.c): Likewise.
5766 (CFLAGS-recv_chk.c): Likewise.
5767 (CFLAGS-recvfrom_chk.c): Likewise.
5768 (CFLAGS-tst-longjmp_chk.c): Likewise.
5769 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
5770 (CFLAGS-tst-longjmp_chk2.c): Likewise.
5771 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
5772 (CFLAGS-tst-longjmp_chk3.c): Likewise.
5773 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5774 (CFLAGS-tst-chk1.c): Likewise.
5775 (CFLAGS-tst-chk2.c): Likewise.
5776 (CFLAGS-tst-chk3.c): Likewise.
5777 (CFLAGS-tst-chk4.cc): Likewise.
5778 (CFLAGS-tst-chk5.cc): Likewise.
5779 (CFLAGS-tst-chk6.cc): Likewise.
5780 (CFLAGS-tst-lfschk1.c): Likewise.
5781 (CFLAGS-tst-lfschk2.c): Likewise.
5782 (CFLAGS-tst-lfschk3.c): Likewise.
5783 (CFLAGS-tst-lfschk4.cc): Likewise.
5784 (CFLAGS-tst-lfschk5.cc): Likewise.
5785 (CFLAGS-tst-lfschk6.cc): Likewise.
5786 (CFLAGS-tst-ssp-1.c): Likewise.
5787 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
5788 (CFLAGS-scandir64.c): Likewise.
5789 (CFLAGS-scandir-tail.c): Likewise.
5790 (CFLAGS-scandir64-tail.c): Likewise.
5791 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
5792 (CFLAGS-dl-tunables.c): Likewise.
5793 (CFLAGS-dl-runtime.c): Likewise.
5794 (CFLAGS-dl-lookup.c): Likewise.
5795 (CFLAGS-dl-iterate-phdr.c): Likewise.
5796 (CFLAGS-vismain.c): Likewise.
5797 (CFLAGS-tst-linkall-static.c): Likewise.
5798 (CFLAGS-tst-linkall-static.c): Likewise.
5799 (CPPFLAGS-dl-load.c): Likewise.
5800 (CFLAGS-ldconfig.c): Likewise.
5801 (CFLAGS-dl-cache.c): Likewise.
5802 (CFLAGS-cache.c): Likewise.
5803 (CFLAGS-rtld.c): Likewise.
5804 (CFLAGS-multiload.c): Likewise.
5805 (CFLAGS-filtmod1.c): Likewise.
5806 (CFLAGS-tst-align.c): Likewise.
5807 (CFLAGS-tst-align2.c): Likewise.
5808 (CFLAGS-tst-alignmod.c): Likewise.
5809 (CFLAGS-tst-alignmod2.c): Likewise.
5810 (CPPFLAGS-tst-execstack.c): Likewise.
5811 (CFLAGS-tst-ptrguard1-static.c): Likewise.
5812 (CFLAGS-tst-latepthreadmod.c): Likewise.
5813 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
5814 (CFLAGS-getgrnam_r.c): Likewise.
5815 (CFLAGS-getgrent_r.c): Likewise.
5816 (CFLAGS-getgrent.c): Likewise.
5817 (CFLAGS-fgetgrent.c): Likewise.
5818 (CFLAGS-fgetgrent_r.c): Likewise.
5819 (CFLAGS-putgrent.c): Likewise.
5820 (CFLAGS-initgroups.c): Likewise.
5821 (CFLAGS-getgrgid.c): Likewise.
5822 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
5823 (CFLAGS-getsgent.c): Likewise.
5824 (CFLAGS-fgetsgent.c): Likewise.
5825 (CFLAGS-fgetsgent_r.c): Likewise.
5826 (CFLAGS-putsgent.c): Likewise.
5827 (CFLAGS-getsgnam.c): Likewise.
5828 (CFLAGS-getsgnam_r.c): Likewise.
5829 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
5830 (CFLAGS-iconv_charmap.c): Likewise.
5831 (CFLAGS-dummy-repertoire.c): Likewise.
5832 (CFLAGS-charmap.c): Likewise.
5833 (CFLAGS-linereader.c): Likewise.
5834 (CFLAGS-simple-hash.c): Likewise.
5835 (CFLAGS-gconv_conf.c): Likewise.
5836 (CFLAGS-iconvconfig.c): Likewise.
5837 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5838 (CFLAGS-gethstbyad.c): Likewise.
5839 (CFLAGS-gethstbynm_r.c): Likewise.
5840 (CFLAGS-gethstbynm.c): Likewise.
5841 (CFLAGS-gethstbynm2_r.c): Likewise.
5842 (CFLAGS-gethstbynm2.c): Likewise.
5843 (CFLAGS-gethstent_r.c): Likewise.
5844 (CFLAGS-gethstent.c): Likewise.
5845 (CFLAGS-rcmd.c): Likewise.
5846 (CFLAGS-getnetbynm_r.c): Likewise.
5847 (CFLAGS-getnetbynm.c): Likewise.
5848 (CFLAGS-getnetbyad_r.c): Likewise.
5849 (CFLAGS-getnetbyad.c): Likewise.
5850 (CFLAGS-getnetent_r.c): Likewise.
5851 (CFLAGS-getnetent.c): Likewise.
5852 (CFLAGS-getaliasent_r.c): Likewise.
5853 (CFLAGS-getaliasent.c): Likewise.
5854 (CFLAGS-getrpcent_r.c): Likewise.
5855 (CFLAGS-getrpcent.c): Likewise.
5856 (CFLAGS-getservent_r.c): Likewise.
5857 (CFLAGS-getservent.c): Likewise.
5858 (CFLAGS-getprtent_r.c): Likewise.
5859 (CFLAGS-getprtent.c): Likewise.
5860 (CFLAGS-either_ntoh.c): Likewise.
5861 (CFLAGS-either_hton.c): Likewise.
5862 (CFLAGS-getnetgrent.c): Likewise.
5863 (CFLAGS-getnetgrent_r.c): Likewise.
5864 (CFLAGS-tst-checks-posix.c): Likewise.
5865 (CFLAGS-tst-sockaddr.c): Likewise.
5866 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
5867 (CFLAGS-tst-translit.c): Likewise.
5868 (CFLAGS-tst-gettext2.c): Likewise.
5869 (CFLAGS-tst-codeset.c): Likewise.
5870 (CFLAGS-tst-gettext3.c): Likewise.
5871 (CFLAGS-tst-gettext4.c): Likewise.
5872 (CFLAGS-tst-gettext5.c): Likewise.
5873 (CFLAGS-tst-gettext6.c): Likewise.
5874 * io/Makefile (CFLAGS-open.c): Likewise.
5875 (CFLAGS-open64.c): Likewise.
5876 (CFLAGS-creat.c): Likewise.
5877 (CFLAGS-creat64.c): Likewise.
5878 (CFLAGS-fcntl.c): Likewise.
5879 (CFLAGS-poll.c): Likewise.
5880 (CFLAGS-ppoll.c): Likewise.
5881 (CFLAGS-lockf.c): Likewise.
5882 (CFLAGS-statfs.c): Likewise.
5883 (CFLAGS-fstatfs.c): Likewise.
5884 (CFLAGS-statvfs.c): Likewise.
5885 (CFLAGS-fstatvfs.c): Likewise.
5886 (CFLAGS-fts.c): Likewise.
5887 (CFLAGS-fts64.c): Likewise.
5888 (CFLAGS-ftw.c): Likewise.
5889 (CFLAGS-ftw64.c): Likewise.
5890 (CFLAGS-lockf.c): Likewise.
5891 (CFLAGS-posix_fallocate.c): Likewise.
5892 (CFLAGS-posix_fallocate64.c): Likewise.
5893 (CFLAGS-fallocate.c): Likewise.
5894 (CFLAGS-fallocate64.c): Likewise.
5895 (CFLAGS-read.c): Likewise.
5896 (CFLAGS-write.c): Likewise.
5897 (CFLAGS-test-stat.c): Likewise.
5898 (CFLAGS-test-lfs.c): Likewise.
5899 * libio/Makefile (CFLAGS-fileops.c): Likewise.
5900 (CFLAGS-fputc.c): Likewise.
5901 (CFLAGS-fputwc.c): Likewise.
5902 (CFLAGS-freopen64.c): Likewise.
5903 (CFLAGS-freopen.c): Likewise.
5904 (CFLAGS-fseek.c): Likewise.
5905 (CFLAGS-fseeko64.c): Likewise.
5906 (CFLAGS-fseeko.c): Likewise.
5907 (CFLAGS-ftello64.c): Likewise.
5908 (CFLAGS-ftello.c): Likewise.
5909 (CFLAGS-fwide.c): Likewise.
5910 (CFLAGS-genops.c): Likewise.
5911 (CFLAGS-getc.c): Likewise.
5912 (CFLAGS-getchar.c): Likewise.
5913 (CFLAGS-getwc.c): Likewise.
5914 (CFLAGS-getwchar.c): Likewise.
5915 (CFLAGS-iofclose.c): Likewise.
5916 (CFLAGS-iofflush.c): Likewise.
5917 (CFLAGS-iofgetpos64.c): Likewise.
5918 (CFLAGS-iofgetpos.c): Likewise.
5919 (CFLAGS-iofgets.c): Likewise.
5920 (CFLAGS-iofgetws.c): Likewise.
5921 (CFLAGS-iofputs.c): Likewise.
5922 (CFLAGS-iofputws.c): Likewise.
5923 (CFLAGS-iofread.c): Likewise.
5924 (CFLAGS-iofsetpos64.c): Likewise.
5925 (CFLAGS-iofsetpos.c): Likewise.
5926 (CFLAGS-ioftell.c): Likewise.
5927 (CFLAGS-iofwrite.c): Likewise.
5928 (CFLAGS-iogetdelim.c): Likewise.
5929 (CFLAGS-iogetline.c): Likewise.
5930 (CFLAGS-iogets.c): Likewise.
5931 (CFLAGS-iogetwline.c): Likewise.
5932 (CFLAGS-ioputs.c): Likewise.
5933 (CFLAGS-ioseekoff.c): Likewise.
5934 (CFLAGS-ioseekpos.c): Likewise.
5935 (CFLAGS-iosetbuffer.c): Likewise.
5936 (CFLAGS-iosetvbuf.c): Likewise.
5937 (CFLAGS-ioungetc.c): Likewise.
5938 (CFLAGS-ioungetwc.c): Likewise.
5939 (CFLAGS-oldfileops.c): Likewise.
5940 (CFLAGS-oldiofclose.c): Likewise.
5941 (CFLAGS-oldiofgetpos64.c): Likewise.
5942 (CFLAGS-oldiofgetpos.c): Likewise.
5943 (CFLAGS-oldiofsetpos64.c): Likewise.
5944 (CFLAGS-oldiofsetpos.c): Likewise.
5945 (CFLAGS-peekc.c): Likewise.
5946 (CFLAGS-putc.c): Likewise.
5947 (CFLAGS-putchar.c): Likewise.
5948 (CFLAGS-putwc.c): Likewise.
5949 (CFLAGS-putwchar.c): Likewise.
5950 (CFLAGS-rewind.c): Likewise.
5951 (CFLAGS-wfileops.c): Likewise.
5952 (CFLAGS-wgenops.c): Likewise.
5953 (CFLAGS-oldiofopen.c): Likewise.
5954 (CFLAGS-iofopen.c): Likewise.
5955 (CFLAGS-iofopen64.c): Likewise.
5956 (CFLAGS-oldtmpfile.c): Likewise.
5957 (CFLAGS-tst_putwc.c): Likewise.
5958 * locale/Makefile (CFLAGS-md5.c): Likewise.
5959 (CFLAGS-charmap.c): Likewise.
5960 (CFLAGS-locfile.c): Likewise.
5961 (CFLAGS-charmap-dir.c): Likewise.
5962 * login/Makefile (CFLAGS-grantpt.c): Likewise.
5963 (CFLAGS-getpt.c): Likewise.
5964 (CFLAGS-pt_chown.c): Likewise.
5965 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
5966 (CFLAGS-obstack.c): Likewise.
5967 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
5968 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
5969 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
5970 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
5971 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
5972 (CFLAGS-test-tgmath.c): Likewise.
5973 (CFLAGS-test-tgmath2.c): Likewise.
5974 (CFLAGS-test-tgmath-ret.c): Likewise.
5975 (CFLAGS-test-powl.c): Likewise.
5976 (CFLAGS-test-snan.c): Likewise.
5977 (CFLAGS-test-signgam-finite.c): Likewise.
5978 (CFLAGS-test-signgam-finite-c99.c): Likewise.
5979 (CFLAGS-test-signgam-finite-c11.c): Likewise.
5980 (CFLAGS-test-signgam-uchar.c): Likewise.
5981 (CFLAGS-test-signgam-uchar-init.c): Likewise.
5982 (CFLAGS-test-signgam-uchar-static.c): Likewise.
5983 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5984 (CFLAGS-test-signgam-uint.c): Likewise.
5985 (CFLAGS-test-signgam-uint-init.c): Likewise.
5986 (CFLAGS-test-signgam-uint-static.c): Likewise.
5987 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5988 (CFLAGS-test-signgam-ullong.c): Likewise.
5989 (CFLAGS-test-signgam-ullong-init.c): Likewise.
5990 (CFLAGS-test-signgam-ullong-static.c): Likewise.
5991 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5992 (CFLAGS-test-math-cxx11.cc): Likewise.
5993 (CFLAGS-test-math-isinff.cc): Likewise.
5994 (CFLAGS-test-math-iszero.cc): Likewise.
5995 (CFLAGS-test-math-issignaling.cc): Likewise.
5996 (CFLAGS-test-math-iscanonical.cc): Likewise.
5997 (CFLAGS-test-iszero-excess-precision.c): Likewise.
5998 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
5999 (CFLAGS-test-flt-eval-method.c): Likewise.
6000 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
6001 (CFLAGS-test-finite-macros.c): Likewise.
6002 * misc/Makefile (CFLAGS-select.c): Likewise.
6003 (CFLAGS-tsearch.c): Likewise.
6004 (CFLAGS-lsearch.c): Likewise.
6005 (CFLAGS-pselect.c): Likewise.
6006 (CFLAGS-readv.c): Likewise.
6007 (CFLAGS-writev.c): Likewise.
6008 (CFLAGS-preadv.c): Likewise.
6009 (CFLAGS-preadv64.c): Likewise.
6010 (CFLAGS-pwritev.c): Likewise.
6011 (CFLAGS-pwritev64.c): Likewise.
6012 (CFLAGS-preadv2.c): Likewise.
6013 (CFLAGS-preadv64v2.c): Likewise.
6014 (CFLAGS-pwritev2.c): Likewise.
6015 (CFLAGS-pwritev64v2.c): Likewise.
6016 (CFLAGS-usleep.c): Likewise.
6017 (CFLAGS-syslog.c): Likewise.
6018 (CFLAGS-error.c): Likewise.
6019 (CFLAGS-getpass.c): Likewise.
6020 (CFLAGS-mkstemp.c): Likewise.
6021 (CFLAGS-mkstemp64.c): Likewise.
6022 (CFLAGS-getsysstats.c): Likewise.
6023 (CFLAGS-getusershell.c): Likewise.
6024 (CFLAGS-err.c): Likewise.
6025 (CFLAGS-tst-tsearch.c): Likewise.
6026 (CFLAGS-msync.c): Likewise.
6027 (CFLAGS-fdatasync.c): Likewise.
6028 (CFLAGS-fsync.c): Likewise.
6029 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
6030 (CFLAGS-unwind.c): Likewise.
6031 (CFLAGS-unwind-forcedunwind.c): Likewise.
6032 (CFLAGS-pthread_cancel.c): Likewise.
6033 (CFLAGS-pthread_setcancelstate.c): Likewise.
6034 (CFLAGS-pthread_setcanceltype.c): Likewise.
6035 (CFLAGS-cancellation.c): Likewise.
6036 (CFLAGS-libc-cancellation.c): Likewise.
6037 (CFLAGS-pthread_exit.c): Likewise.
6038 (CFLAGS-forward.c): Likewise.
6039 (CFLAGS-pthread_testcancel.c): Likewise.
6040 (CFLAGS-pthread_join.c): Likewise.
6041 (CFLAGS-pthread_timedjoin.c): Likewise.
6042 (CFLAGS-pthread_once.c): Likewise.
6043 (CFLAGS-pthread_cond_wait.c): Likewise.
6044 (CFLAGS-sem_wait.c): Likewise.
6045 (CFLAGS-sem_timedwait.c): Likewise.
6046 (CFLAGS-fcntl.c): Likewise.
6047 (CFLAGS-lockf.c): Likewise.
6048 (CFLAGS-pread.c): Likewise.
6049 (CFLAGS-pread64.c): Likewise.
6050 (CFLAGS-pwrite.c): Likewise.
6051 (CFLAGS-pwrite64.c): Likewise.
6052 (CFLAGS-wait.c): Likewise.
6053 (CFLAGS-waitpid.c): Likewise.
6054 (CFLAGS-sigwait.c): Likewise.
6055 (CFLAGS-msgrcv.c): Likewise.
6056 (CFLAGS-msgsnd.c): Likewise.
6057 (CFLAGS-tcdrain.c): Likewise.
6058 (CFLAGS-open.c): Likewise.
6059 (CFLAGS-open64.c): Likewise.
6060 (CFLAGS-pause.c): Likewise.
6061 (CFLAGS-recv.c): Likewise.
6062 (CFLAGS-send.c): Likewise.
6063 (CFLAGS-accept.c): Likewise.
6064 (CFLAGS-sendto.c): Likewise.
6065 (CFLAGS-connect.c): Likewise.
6066 (CFLAGS-recvfrom.c): Likewise.
6067 (CFLAGS-recvmsg.c): Likewise.
6068 (CFLAGS-sendmsg.c): Likewise.
6069 (CFLAGS-close.c): Likewise.
6070 (CFLAGS-read.c): Likewise.
6071 (CFLAGS-write.c): Likewise.
6072 (CFLAGS-nanosleep.c): Likewise.
6073 (CFLAGS-sigsuspend.c): Likewise.
6074 (CFLAGS-msync.c): Likewise.
6075 (CFLAGS-fdatasync.c): Likewise.
6076 (CFLAGS-fsync.c): Likewise.
6077 (CFLAGS-pt-system.c): Likewise.
6078 (CFLAGS-tst-cleanup2.c): Likewise.
6079 (CFLAGS-tst-cleanupx2.c): Likewise.
6080 (CFLAGS-flockfile.c): Likewise.
6081 (CFLAGS-ftrylockfile.c): Likewise.
6082 (CFLAGS-funlockfile.c): Likewise.
6083 (CFLAGS-tst-initializers1.c): Likewise.
6084 (CFLAGS-tst-initializers1-c89.c): Likewise.
6085 (CFLAGS-tst-initializers1-c99.c): Likewise.
6086 (CFLAGS-tst-initializers1-c11.c): Likewise.
6087 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
6088 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
6089 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6090 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
6091 (CFLAGS-nscd_getgr_r.c): Likewise.
6092 (CFLAGS-nscd_gethst_r.c): Likewise.
6093 (CFLAGS-nscd_getai.c): Likewise.
6094 (CFLAGS-nscd_initgroups.c): Likewise.
6095 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
6096 (CFLAGS-pause.c): Likewise.
6097 (CFLAGS-pread.c): Likewise.
6098 (CFLAGS-pread64.c): Likewise.
6099 (CFLAGS-pwrite.c): Likewise.
6100 (CFLAGS-pwrite64.c): Likewise.
6101 (CFLAGS-sleep.c): Likewise.
6102 (CFLAGS-wait.c): Likewise.
6103 (CFLAGS-waitid.c): Likewise.
6104 (CFLAGS-waitpid.c): Likewise.
6105 (CFLAGS-getopt.c): Likewise.
6106 (CFLAGS-wordexp.c): Likewise.
6107 (CFLAGS-sysconf.c): Likewise.
6108 (CFLAGS-pathconf.c): Likewise.
6109 (CFLAGS-fpathconf.c): Likewise.
6110 (CFLAGS-spawn.c): Likewise.
6111 (CFLAGS-spawnp.c): Likewise.
6112 (CFLAGS-spawni.c): Likewise.
6113 (CFLAGS-glob.c): Likewise.
6114 (CFLAGS-glob64.c): Likewise.
6115 (CFLAGS-getconf.c): Likewise.
6116 (CFLAGS-nanosleep.c): Likewise.
6117 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
6118 (CFLAGS-getpwent.c): Likewise.
6119 (CFLAGS-getpw.c): Likewise.
6120 (CFLAGS-fgetpwent_r.c): Likewise.
6121 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
6122 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
6123 (CFLAGS-mq_timedreceive.c): Likewise.
6124 (CFLAGS-mq_timedsend.c): Likewise.
6125 (CFLAGS-clock_nanosleep.c): Likewise.
6126 (CFLAGS-librt-cancellation.c): Likewise.
6127 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
6128 (CFLAGS-getspent.c): Likewise.
6129 (CFLAGS-fgetspent.c): Likewise.
6130 (CFLAGS-fgetspent_r.c): Likewise.
6131 (CFLAGS-putspent.c): Likewise.
6132 (CFLAGS-getspnam.c): Likewise.
6133 (CFLAGS-getspnam_r.c): Likewise.
6134 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
6135 (CFLAGS-sigsuspend.c): Likewise.
6136 (CFLAGS-sigtimedwait.c): Likewise.
6137 (CFLAGS-sigwait.c): Likewise.
6138 (CFLAGS-sigwaitinfo.c): Likewise.
6139 (CFLAGS-sigreturn.c): Likewise.
6140 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6141 (CFLAGS-vfwprintf.c): Likewise.
6142 (CFLAGS-tmpfile.c): Likewise.
6143 (CFLAGS-tmpfile64.c): Likewise.
6144 (CFLAGS-tempname.c): Likewise.
6145 (CFLAGS-psignal.c): Likewise.
6146 (CFLAGS-vprintf.c): Likewise.
6147 (CFLAGS-cuserid.c): Likewise.
6148 (CFLAGS-errlist.c): Likewise.
6149 (CFLAGS-siglist.c): Likewise.
6150 (CFLAGS-scanf15.c): Likewise.
6151 (CFLAGS-scanf17.c): Likewise.
6152 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
6153 (CFLAGS-msort.c): Likewise.
6154 (CFLAGS-qsort.c): Likewise.
6155 (CFLAGS-system.c): Likewise.
6156 (CFLAGS-fmtmsg.c): Likewise.
6157 (CFLAGS-strfmon.c): Likewise.
6158 (CFLAGS-strfmon_l.c): Likewise.
6159 (CFLAGS-strfromd.c): Likewise.
6160 (CFLAGS-strfromf.c): Likewise.
6161 (CFLAGS-strfroml.c): Likewise.
6162 (CFLAGS-tst-bsearch.c): Likewise.
6163 (CFLAGS-tst-qsort.c): Likewise.
6164 (CFLAGS-tst-makecontext2.c): Likewise.
6165 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
6166 (CFLAGS-xnlm_prot.c): Likewise.
6167 (CFLAGS-xrstat.c): Likewise.
6168 (CFLAGS-xyppasswd.c): Likewise.
6169 (CFLAGS-xklm_prot.c): Likewise.
6170 (CFLAGS-xrex.c): Likewise.
6171 (CFLAGS-xsm_inter.c): Likewise.
6172 (CFLAGS-xmount.c): Likewise.
6173 (CFLAGS-xrusers.c): Likewise.
6174 (CFLAGS-xspray.c): Likewise.
6175 (CFLAGS-xnfs_prot.c): Likewise.
6176 (CFLAGS-xrquota.c): Likewise.
6177 (CFLAGS-xkey_prot.c): Likewise.
6178 (CFLAGS-auth_unix.c): Likewise.
6179 (CFLAGS-key_call.c): Likewise.
6180 (CFLAGS-pmap_rmt.c): Likewise.
6181 (CFLAGS-clnt_perr.c): Likewise.
6182 (CFLAGS-openchild.c): Likewise.
6183 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
6184 (CFLAGS-msgsnd.c): Likewise.
6185 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
6186 * time/Makefile (CFLAGS-tzfile.c): Likewise.
6187 (CFLAGS-tzset.c): Likewise.
6188 (CFLAGS-getdate.c): Likewise.
6189 (CFLAGS-test_time.c): Likewise.
6190 (CPPFLAGS-tst-tzname.c): Likewise.
6191 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
6192 (CFLAGS-zic.c): Likewise.
6193 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
6194 (CFLAGS-wcswidth.c): Likewise.
6195 (CFLAGS-wcstol.c): Likewise.
6196 (CFLAGS-wcstoul.c): Likewise.
6197 (CFLAGS-wcstoll.c): Likewise.
6198 (CFLAGS-wcstoull.c): Likewise.
6199 (CFLAGS-wcstod.c): Likewise.
6200 (CFLAGS-wcstold.c): Likewise.
6201 (CFLAGS-wcstof128.c): Likewise.
6202 (CFLAGS-wcstof.c): Likewise.
6203 (CFLAGS-wcstol_l.c): Likewise.
6204 (CFLAGS-wcstoul_l.c): Likewise.
6205 (CFLAGS-wcstoll_l.c): Likewise.
6206 (CFLAGS-wcstoull_l.c): Likewise.
6207 (CFLAGS-wcstod_l.c): Likewise.
6208 (CFLAGS-wcstold_l.c): Likewise.
6209 (CFLAGS-wcstof128_l.c): Likewise.
6210 (CFLAGS-wcstof_l.c): Likewise.
6211 (CPPFLAGS-tst-wchar-h.c): Likewise.
6212 (CPPFLAGS-wcstold_l.c): Likewise.
6214 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
6216 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
6218 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6219 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6221 * manual/tunables.texi (Hardware Capability Tunables): Document
6222 glibc.tune.cached_memopt.
6223 * sysdeps/powerpc/cpu-features.c: New file.
6224 * sysdeps/powerpc/cpu-features.h: New file.
6225 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
6226 _dl_powerpc_cpu_features.
6227 * sysdeps/powerpc/dl-tunables.list: New file.
6228 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
6229 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6230 (INIT_ARCH): Initialize use_aligned_memopt.
6231 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
6232 IS_IN(rtld))]: Restrict dl_platform_init availability and
6233 initialize CPU features used by tunables.
6234 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
6235 Add memcpy-power8-cached.
6236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
6237 __memcpy_power8_cached.
6238 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
6242 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
6244 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
6245 (CFLAGS-noinl-tester.c): Likewise.
6246 (CFLAGS-tst-strlen.c): Likewise.
6247 (CFLAGS-stratcliff.c): Likewise.
6248 (CFLAGS-test-ffs.c): Likewise.
6249 (CFLAGS-tst-inlcall.c): Likewise.
6250 (CFLAGS-tst-xbzero-opt.c): Likewise.
6251 (CFLAGS-memcpy.c): Likewise.
6252 (CFLAGS-wordcopy.c): Likewise.
6254 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6256 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6257 Store r15 on stack and add cfi rule.
6258 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6261 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
6264 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
6267 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
6269 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6270 Add s_sinf-sse2 and s_sinf-fma.
6271 (CFLAGS-s_sinf-fma.c): New.
6272 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
6273 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
6274 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
6276 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
6278 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
6280 2017-12-07 Joseph Myers <joseph@codesourcery.com>
6283 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
6284 part of result to imaginary part of argument if it is zero and the
6285 real part of the argument is not finite.
6286 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
6287 of result to real part of argument if it is zero and the imaginary
6288 part of the argument is not finite.
6290 2017-12-07 Mike FABIAN <mfabian@redhat.com>
6293 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
6294 and to the list of locales to be built for testing.
6295 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
6296 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
6297 and build the collation rules upon that.
6299 2017-12-07 Joseph Myers <joseph@codesourcery.com>
6301 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
6302 * manual/math.texi (Mathematics): Document support for _Float32.
6303 * math/Makefile (test-types): Add float32.
6304 * math/Versions (GLIBC_2.27): Add _Float32 functions.
6305 * stdlib/Versions (GLIBC_2.27): Likewise.
6306 * wcsmbs/Versions (GLIBC_2.27): Likewise.
6307 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6308 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6309 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6310 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6311 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6312 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6313 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6314 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6315 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6316 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6317 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6318 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6319 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6320 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6321 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6322 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6323 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6324 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6325 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6326 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6327 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6329 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6330 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6331 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6332 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6333 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6351 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6352 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6353 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6354 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6355 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6356 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6357 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6358 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6359 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6360 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6369 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6370 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6371 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6372 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6373 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6374 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6375 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6376 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6378 2017-12-06 Joseph Myers <joseph@codesourcery.com>
6380 * stdlib/strtof.c: Include <bits/floatn.h>
6381 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
6382 and later undefine as macro. Define as weak alias if
6384 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
6385 and later undefine as macro. Define as weak alias if
6387 * stdlib/strtof_l.c: Include <bits/floatn.h>
6388 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
6389 and later undefine as macro. Define as weak alias if
6391 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
6392 and later undefine as macro. Define as weak alias if
6395 * stdlib/strfromf.c: Include <bits/floatn.h>.
6396 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
6397 and later undefine as macro and define as weak alias.
6399 * math/test-float32.h: New file.
6401 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
6402 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
6403 (libm_alias_float_other_r): Create f32 alias.
6404 (libm_alias_float_r): Use semicolon before call to
6405 libm_alias_float_other_r.
6407 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
6408 second argument to libm_alias_float_other.
6409 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
6410 second argument to libm_alias_float_other.
6411 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
6412 argument to libm_alias_float_other.
6415 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
6416 real part of result for argument 0 + i * NaN.
6417 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
6418 results for tests of 0 + i * NaN.
6420 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6422 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6424 2017-12-06 David S. Miller <davem@davemloft.net>
6426 * sysdeps/sparc/fpu/libm-test-ulps: Update
6427 exp_{downward,towardzero,upward} ulps.
6429 2017-12-06 Joseph Myers <joseph@codesourcery.com>
6431 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
6434 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
6436 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
6438 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
6440 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
6443 2017-12-06 Mike FABIAN <mfabian@redhat.com>
6446 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
6447 and to the list of locales to be built for testing.
6448 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
6449 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
6450 and build the collation rules upon that.
6452 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6454 * NEWS: Add sinf to list of optimized functions.
6456 2017-12-06 Joseph Myers <joseph@codesourcery.com>
6458 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
6459 (__HAVE_FLOAT32X): Likewise.
6460 * manual/math.texi (Mathematics): Document support for _Float64
6462 * math/Makefile (test-types): Add float64 and float32x.
6463 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
6465 * stdlib/Versions (GLIBC_2.27): Likewise.
6466 * wcsmbs/Versions (GLIBC_2.27): Likewise.
6467 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6468 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6469 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6470 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6471 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6472 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6473 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6474 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6475 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6476 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6477 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6478 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6479 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6480 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6481 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6482 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6483 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6484 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6485 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6486 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6487 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6489 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6490 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6491 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6492 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6493 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6510 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6511 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6512 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6513 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6514 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6515 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6516 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6517 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6518 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6519 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6528 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6529 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6530 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6531 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6532 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6533 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6534 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6535 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6537 2017-12-05 Joseph Myers <joseph@codesourcery.com>
6539 * bits/floatn-common.h: Include <bits/long-double.h>.
6540 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
6541 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
6542 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
6543 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
6544 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
6545 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
6546 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
6547 (__builtin_huge_valf64): Use __builtin_huge_vall.
6548 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
6549 (__builtin_inff64): Use __builtin_infl.
6550 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
6551 (__builtin_nanf64): Use __builtin_nanl.
6552 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
6553 (__builtin_nansf64): Use __builtin_nansl.
6555 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
6556 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6557 Carlos O'Donnell <carlos@redhat.com>
6559 * elf/dl-tunables.list: Add elision parameters.
6560 * manual/tunables.texi: Add entries about elision tunable.
6561 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
6562 Add callback functions to dynamically enable/disable elision.
6563 Add multiple callbacks functions to set elision parameters.
6564 Deleted __libc_enable_secure check.
6565 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
6566 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
6567 * configure: Regenerated.
6568 * configure.ac: Option enable_lock_elision was deleted.
6569 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
6570 * config.make.in: Remove references to enable_lock_elision.
6571 * manual/install.texi: Elision configure option was removed.
6572 * INSTALL: Regenerated to remove enable_lock_elision.
6574 Disable elision so it can verify error case for destroying a mutex.
6575 * sysdeps/powerpc/nptl/elide.h:
6576 Cleanup ENABLE_LOCK_ELISION check.
6577 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
6578 * sysdeps/s390/configure: Regenerated.
6579 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
6580 * nptl/tst-mutex8.c:
6581 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
6582 * sysdeps/powerpc/powerpc32/sysdep.h:
6583 Deleted all ENABLE_LOCK_ELISION checks.
6584 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6585 * sysdeps/powerpc/sysdep.h: Likewise.
6586 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
6587 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
6588 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6589 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6590 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6591 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
6592 enable-lock-elision.
6594 2017-12-05 Joseph Myers <joseph@codesourcery.com>
6596 * stdlib/strtod.c: Include <bits/floatn.h>.
6597 (BUILD_DOUBLE): New macro.
6598 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
6599 (strtof64): Define and later undefine as macro. Define as weak
6600 alias if [!USE_WIDE_CHAR].
6601 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
6602 (wcstof64): Define and later undefine as macro. Define as weak
6603 alias if [USE_WIDE_CHAR].
6604 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
6605 (strtof32x): Define and later undefine as macro. Define as weak
6606 alias if [!USE_WIDE_CHAR].
6607 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
6608 (wcstof32x): Define and later undefine as macro. Define as weak
6609 alias if [USE_WIDE_CHAR].
6610 * stdlib/strtod_l.c: Include <bits/floatn.h>.
6611 (BUILD_DOUBLE): New macro.
6612 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
6613 (strtof64_l): Define and later undefine as macro. Define as weak
6614 alias if [!USE_WIDE_CHAR].
6615 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
6616 (wcstof64_l): Define and later undefine as macro. Define as weak
6617 alias if [USE_WIDE_CHAR].
6618 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
6619 (strtof32x_l): Define and later undefine as macro. Define as weak
6620 alias if [!USE_WIDE_CHAR].
6621 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
6622 (wcstof32x_l): Define and later undefine as macro. Define as weak
6623 alias if [USE_WIDE_CHAR].
6625 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6627 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
6628 (reduced): Use ones as double instead of integer.
6630 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6632 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
6634 2017-12-05 Joseph Myers <joseph@codesourcery.com>
6636 * stdlib/strfromd.c: Include <bits/floatn.h>.
6637 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
6638 and later undefine as macro and define as weak alias.
6639 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
6642 * math/test-float32x.h: New file.
6643 * math/test-float64.h: Likewise.
6645 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
6646 (libm_alias_double_other_r_f64): New macro.
6647 (libm_alias_double_other_r_f32x): Likewise.
6648 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
6649 libm_alias_double_other_r_f32x.
6650 (libm_alias_double_r): Use semicolon before call to
6651 libm_alias_double_other_r.
6652 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
6654 (libm_alias_double_other_r_f64): New macro.
6655 (libm_alias_double_other_r_f32x): Likewise.
6656 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
6657 libm_alias_double_other_r_f32x.
6659 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
6661 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
6663 (SINF_FUNC): Likewise. Replace floor with simple casts.
6665 2017-12-05 Mike FABIAN <mfabian@redhat.com>
6668 * localedata/Makefile: Add et_EE.UTF-8 to test-input
6669 and to the list of locales to be built for testing.
6670 * localedata/et_EE.UTF-8.in: New file for testing the collation.
6671 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
6672 and build the collation rules upon that.
6674 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
6676 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
6677 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
6678 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
6679 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
6680 instead of __insn__xxx.
6681 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
6682 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
6683 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
6684 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
6685 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
6686 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
6688 2017-12-05 Florian Weimer <fweimer@redhat.com>
6690 Linux: Implement interfaces for memory protection keys
6691 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
6693 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
6694 * support/xunistd.h (xsysconf): Declare.
6695 * support/xraise.c: New file.
6696 * support/xsigaction.c: Likewise.
6697 * support/xsignal.c: Likewise.
6698 * support/xsysconf.c: Likewise.
6699 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
6700 pkey_set, pkey_get, pkey_mprotect.
6701 [misc] (tests): Add tst-pkey.
6702 (tst-pkey): Link with -lpthread.
6703 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
6704 pkey_free, pkey_set, pkey_get, pkey_mprotect.
6705 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
6706 (PKEY_DISABLE_WRITE): Define.
6707 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
6709 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
6711 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
6712 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
6713 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
6714 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
6716 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
6717 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
6718 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
6719 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
6720 * sysdeps/unix/sysv/linux/**.abilist: Update.
6722 2017-12-05 Florian Weimer <fweimer@redhat.com>
6724 * support/tst-test_compare.c (subprocess): Use long long instead
6725 of long argument for consistent type width across 32-bit and
6726 64-bit architectures.
6727 (do_test): Adjust expected output.
6729 2017-12-05 Joseph Myers <joseph@codesourcery.com>
6731 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
6732 (cosf): Define using libm_alias_float.
6733 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
6734 (fabsf): Define using libm_alias_float.
6735 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
6736 (fmaf): Define using libm_alias_float.
6737 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
6738 (rintf): Define using libm_alias_float.
6739 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
6740 (sinf): Define using libm_alias_float.
6741 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
6742 <libm-alias-float.h>.
6743 (modff): Define using libm_alias_float.
6744 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
6745 <libm-alias-float.h>.
6746 (logbf): Define using libm_alias_float.
6747 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
6748 <libm-alias-float.h>.
6749 (ceilf): Define using libm_alias_float.
6750 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
6751 <libm-alias-float.h>.
6752 (copysignf): Define using libm_alias_float.
6753 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
6754 <libm-alias-float.h>.
6755 (floorf): Define using libm_alias_float.
6756 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6757 <libm-alias-float.h>.
6758 (llrintf): Define using libm_alias_float.
6759 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6760 <libm-alias-float.h>.
6761 (llroundf): Define using libm_alias_float.
6762 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
6763 <libm-alias-float.h>.
6764 (lrintf): Define using libm_alias_float.
6765 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
6766 <libm-alias-float.h>.
6767 (lroundf): Define using libm_alias_float.
6768 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
6769 <libm-alias-float.h>.
6770 (nearbyintf): Define using libm_alias_float.
6771 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
6772 <libm-alias-float.h>.
6773 (rintf): Define using libm_alias_float.
6774 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
6775 <libm-alias-float.h>.
6776 (roundf): Define using libm_alias_float.
6777 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
6778 <libm-alias-float.h>.
6779 (truncf): Define using libm_alias_float.
6780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
6781 Include <libm-alias-float.h>.
6782 (ceilf): Define using libm_alias_float.
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6784 Include <libm-alias-float.h>.
6785 (copysignf): Define using libm_alias_float.
6786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
6787 Include <libm-alias-float.h>.
6788 (floorf): Define using libm_alias_float.
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
6790 Include <libm-alias-float.h>.
6791 (llrintf): Define using libm_alias_float.
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
6793 Include <libm-alias-float.h>.
6794 (llroundf): Define using libm_alias_float.
6795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
6796 Include <libm-alias-float.h>.
6797 (logbf): Define using libm_alias_float.
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
6799 Include <libm-alias-float.h>.
6800 (lrintf): Define using libm_alias_float.
6801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
6802 Include <libm-alias-float.h>.
6803 (lroundf): Define using libm_alias_float.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
6805 Include <libm-alias-float.h>.
6806 (modff): Define using libm_alias_float.
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
6808 Include <libm-alias-float.h>.
6809 (roundf): Define using libm_alias_float.
6810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
6811 Include <libm-alias-float.h>.
6812 (truncf): Define using libm_alias_float.
6813 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
6814 <libm-alias-float.h>.
6815 (llrintf): Define using libm_alias_float.
6816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
6817 <libm-alias-float.h>.
6818 (llroundf): Define using libm_alias_float.
6819 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
6820 <libm-alias-float.h>.
6821 (ceilf): Define using libm_alias_float.
6822 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
6823 <libm-alias-float.h>.
6824 (floorf): Define using libm_alias_float.
6825 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
6826 <libm-alias-float.h>.
6827 (llroundf): Define using libm_alias_float.
6828 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
6829 <libm-alias-float.h>.
6830 (lroundf): Define using libm_alias_float.
6831 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
6832 <libm-alias-float.h>.
6833 (roundf): Define using libm_alias_float.
6834 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
6835 <libm-alias-float.h>.
6836 (truncf): Define using libm_alias_float.
6837 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
6838 <libm-alias-float.h>.
6839 (copysignf): Define using libm_alias_float.
6840 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
6841 <libm-alias-float.h>.
6842 (llrintf): Define using libm_alias_float.
6843 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
6844 <libm-alias-float.h>.
6845 (llroundf): Define using libm_alias_float.
6846 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
6847 <libm-alias-float.h>.
6848 (lrintf): Define using libm_alias_float.
6849 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
6850 <libm-alias-float.h>.
6851 (lroundf): Define using libm_alias_float.
6852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
6853 <libm-alias-float.h>.
6854 (ceilf): Define using libm_alias_float.
6855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
6856 <libm-alias-float.h>.
6857 (copysignf): Define using libm_alias_float.
6858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
6859 <libm-alias-float.h>.
6860 (cosf): Define using libm_alias_float.
6861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
6862 <libm-alias-float.h>.
6863 (floorf): Define using libm_alias_float.
6864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
6865 <libm-alias-float.h>.
6866 (llrintf): Define using libm_alias_float.
6867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
6868 <libm-alias-float.h>.
6869 (llroundf): Define using libm_alias_float.
6870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
6871 <libm-alias-float.h>.
6872 (logbf): Define using libm_alias_float.
6873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
6874 <libm-alias-float.h>.
6875 (modff): Define using libm_alias_float.
6876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
6877 <libm-alias-float.h>.
6878 (roundf): Define using libm_alias_float.
6879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
6880 <libm-alias-float.h>.
6881 (sinf): Define using libm_alias_float.
6882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
6883 <libm-alias-float.h>.
6884 (truncf): Define using libm_alias_float.
6885 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
6886 <libm-alias-float.h>.
6887 (ceilf): Define using libm_alias_float.
6888 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
6889 <libm-alias-float.h>.
6890 (copysignf): Define using libm_alias_float.
6891 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
6892 <libm-alias-float.h>.
6893 (floorf): Define using libm_alias_float.
6894 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
6895 <libm-alias-float.h>.
6896 (llrintf): Define using libm_alias_float.
6897 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
6898 <libm-alias-float.h>.
6899 (llroundf): Define using libm_alias_float.
6900 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
6901 <libm-alias-float.h>.
6902 (nearbyintf): Define using libm_alias_float.
6903 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
6904 <libm-alias-float.h>.
6905 (rintf): Define using libm_alias_float.
6906 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
6907 <libm-alias-float.h>.
6908 (roundf): Define using libm_alias_float.
6909 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
6910 <libm-alias-float.h>.
6911 (truncf): Define using libm_alias_float.
6912 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
6913 <libm-alias-float.h>.
6914 (ceilf): Define using libm_alias_float.
6915 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
6916 <libm-alias-float.h>.
6917 (floorf): Define using libm_alias_float.
6918 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
6919 <libm-alias-float.h>.
6920 (llroundf): Define using libm_alias_float.
6921 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
6922 <libm-alias-float.h>.
6923 (roundf): Define using libm_alias_float.
6924 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
6925 <libm-alias-float.h>.
6926 (truncf): Define using libm_alias_float.
6927 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
6928 <libm-alias-float.h>.
6929 (copysignf): Define using libm_alias_float.
6930 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
6931 <libm-alias-float.h>.
6932 (llrintf): Define using libm_alias_float.
6933 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
6934 <libm-alias-float.h>.
6935 (llroundf): Define using libm_alias_float.
6936 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
6937 <libm-alias-float.h>.
6938 (cosf): Define using libm_alias_float.
6939 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
6940 <libm-alias-float.h>.
6941 (llrintf): Define using libm_alias_float.
6942 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
6943 <libm-alias-float.h>.
6944 (llroundf): Define using libm_alias_float.
6945 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
6946 <libm-alias-float.h>.
6947 (sinf): Define using libm_alias_float.
6949 2017-12-04 Florian Weimer <fweimer@redhat.com>
6951 * support/check.h (TEST_COMPARE): Define.
6952 (support_test_compare_failure): Declare.
6953 * support/Makefile (libsupport-routines): Add
6954 support_test_compare_failure.
6955 (tests): Add tst-test_compare.
6956 * support /support_test_compare_failure.c: New file.
6957 * support/tst-test_compare.c: Likewise.
6959 2017-12-04 Mike FABIAN <mfabian@redhat.com>
6962 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
6963 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
6964 available, this rewrite of the collation rules does reproduce
6965 the test file in the same order.
6967 2017-12-04 Mike FABIAN <mfabian@redhat.com>
6970 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
6971 digraphs in the month and day names. Using single code points for
6972 digraphs is deprecated. While there are dedicated Unicode
6973 codepoints, for the digraphs, these are included for backwards
6974 compatibility and modern texts use a sequence of Basic Latin
6975 characters. See: https://www.unicode.org/faq/ligature_digraph.html
6976 This makes the month and day names agree exactly with CLDR now,
6977 CLDR does not use the single code points for the digraphs either.
6979 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
6981 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
6983 2017-12-04 Joseph Myers <joseph@codesourcery.com>
6985 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
6988 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
6990 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
6991 Define only for libc.so.
6993 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6995 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6996 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6997 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
6998 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
6999 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7001 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7004 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
7006 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
7009 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
7010 PREINIT_FUNCTION_WEAK is nonzero.
7011 (gmon_initializer): New function. Put procedure label for it in
7012 .init_array section.
7013 (_init): Don't call PREINIT_FUNCTION.
7014 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
7015 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
7016 value when map argument is null.
7018 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
7019 depi instruction from PIC pc-relative sequence.
7020 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
7021 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
7022 (elf_machine_load_address): Likewise.
7023 (elf_machine_runtime_setup): Likewise.
7025 2017-12-02 Joseph Myers <joseph@codesourcery.com>
7027 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
7028 <libm-alias-double.h>.
7029 (logb): Define using libm_alias_double.
7030 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
7031 <libm-alias-double.h>.
7032 (copysign): Define using libm_alias_double.
7033 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
7034 <libm-alias-double.h>.
7035 (llrint): Define using libm_alias_double.
7036 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
7037 <libm-alias-double.h>.
7038 (llround): Define using libm_alias_double.
7039 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
7040 <libm-alias-double.h>.
7041 (lrint): Define using libm_alias_double.
7042 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
7043 <libm-alias-double.h>.
7044 (lround): Define using libm_alias_double.
7045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7046 Include <libm-alias-double.h>.
7047 (copysign): Define using libm_alias_double.
7048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
7049 Include <libm-alias-double.h>.
7050 (llrint): Define using libm_alias_double.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
7052 Include <libm-alias-double.h>.
7053 (llround): Define using libm_alias_double.
7054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
7055 <libm-alias-double.h>.
7056 (logb): Define using libm_alias_double.
7057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
7058 Include <libm-alias-double.h>.
7059 (lrint): Define using libm_alias_double.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
7061 Include <libm-alias-double.h>.
7062 (lround): Define using libm_alias_double.
7063 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
7064 <libm-alias-double.h>.
7065 (llrint): Define using libm_alias_double.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
7067 <libm-alias-double.h>.
7068 (llround): Define using libm_alias_double.
7069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
7070 <libm-alias-double.h>.
7071 (llround): Define using libm_alias_double.
7072 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
7073 <libm-alias-double.h>.
7074 (lround): Define using libm_alias_double.
7075 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
7076 <libm-alias-double.h>.
7077 (copysign): Define using libm_alias_double.
7078 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
7079 <libm-alias-double.h>.
7080 (llrint): Define using libm_alias_double.
7081 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
7082 <libm-alias-double.h>.
7083 (llround): Define using libm_alias_double.
7084 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
7085 <libm-alias-double.h>.
7086 (lrint): Define using libm_alias_double.
7087 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
7088 <libm-alias-double.h>.
7089 (lround): Define using libm_alias_double.
7090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
7091 <libm-alias-double.h>.
7092 (copysign): Define using libm_alias_double.
7093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
7094 <libm-alias-double.h>.
7095 (llrint): Define using libm_alias_double.
7097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
7098 <libm-alias-double.h>.
7099 (llround): Define using libm_alias_double.
7101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
7102 <libm-alias-double.h>.
7103 (logb): Define using libm_alias_double.
7104 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
7105 <libm-alias-double.h>.
7106 (copysign): Define using libm_alias_double.
7107 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
7108 <libm-alias-double.h>.
7109 (llrint): Define using libm_alias_double.
7111 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
7112 <libm-alias-double.h>.
7113 (llround): Define using libm_alias_double.
7115 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
7116 <libm-alias-double.h>.
7117 (llround): Define using libm_alias_double.
7119 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
7120 <libm-alias-double.h>.
7121 (copysign): Define using libm_alias_double.
7122 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
7123 <libm-alias-double.h>.
7124 (llrint): Define using libm_alias_double.
7126 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
7127 <libm-alias-double.h>.
7128 (llround): Define using libm_alias_double.
7130 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
7131 <libm-alias-double.h>.
7132 (llrint): Define using libm_alias_double.
7134 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
7135 <libm-alias-double.h>.
7136 (llround): Define using libm_alias_double.
7139 2017-12-01 Joseph Myers <joseph@codesourcery.com>
7141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7142 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
7143 compat symbol based on llround.
7145 * sysdeps/powerpc/power7/fpu/s_logb.c
7146 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
7147 symbol based on __logb, not on logb.
7148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
7149 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
7150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
7151 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
7153 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
7154 (rint): Define using libm_alias_double.
7155 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
7156 <libm-alias-double.h>.
7157 (modf): Define using libm_alias_double.
7158 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
7159 <libm-alias-double.h>.
7160 (ceil): Define using libm_alias_double.
7161 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
7162 <libm-alias-double.h>.
7163 (floor): Define using libm_alias_double.
7164 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
7165 <libm-alias-double.h>.
7166 (nearbyint): Define using libm_alias_double.
7167 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
7168 <libm-alias-double.h>.
7169 (rint): Define using libm_alias_double.
7170 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
7171 <libm-alias-double.h>.
7172 (round): Define using libm_alias_double.
7173 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
7174 <libm-alias-double.h>.
7175 (trunc): Define using libm_alias_double.
7176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
7177 <libm-alias-double.h>.
7178 (ceil): Define using libm_alias_double.
7179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
7180 Include <libm-alias-double.h>.
7181 (floor): Define using libm_alias_double.
7182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
7183 <libm-alias-double.h>.
7184 (modf): Define using libm_alias_double.
7185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
7186 Include <libm-alias-double.h>.
7187 (round): Define using libm_alias_double.
7188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
7189 Include <libm-alias-double.h>.
7190 (trunc): Define using libm_alias_double.
7191 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
7192 <libm-alias-double.h>.
7193 (ceil): Define using libm_alias_double.
7194 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
7195 <libm-alias-double.h>.
7196 (floor): Define using libm_alias_double.
7197 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
7198 <libm-alias-double.h>.
7199 (round): Define using libm_alias_double.
7200 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
7201 <libm-alias-double.h>.
7202 (trunc): Define using libm_alias_double.
7203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
7204 <libm-alias-double.h>.
7205 (ceil): Define using libm_alias_double.
7206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
7207 <libm-alias-double.h>.
7208 (floor): Define using libm_alias_double.
7209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
7210 <libm-alias-double.h>.
7211 (modf): Define using libm_alias_double.
7212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
7213 <libm-alias-double.h>.
7214 (round): Define using libm_alias_double.
7215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
7216 <libm-alias-double.h>.
7217 (trunc): Define using libm_alias_double.
7218 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
7219 <libm-alias-double.h>.
7220 (ceil): Define using libm_alias_double.
7221 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
7222 <libm-alias-double.h>.
7223 (floor): Define using libm_alias_double.
7224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
7225 <libm-alias-double.h>.
7226 (nearbyint): Define using libm_alias_double.
7227 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
7228 <libm-alias-double.h>.
7229 (rint): Define using libm_alias_double.
7230 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
7231 <libm-alias-double.h>.
7232 (round): Define using libm_alias_double.
7233 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
7234 <libm-alias-double.h>.
7235 (trunc): Define using libm_alias_double.
7236 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
7237 <libm-alias-double.h>.
7238 (ceil): Define using libm_alias_double.
7239 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
7240 <libm-alias-double.h>.
7241 (floor): Define using libm_alias_double.
7242 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
7243 <libm-alias-double.h>.
7244 (round): Define using libm_alias_double.
7245 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
7246 <libm-alias-double.h>.
7247 (trunc): Define using libm_alias_double.
7249 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
7250 (fabs): Define using libm_alias_double.
7251 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
7252 (fma): Define using libm_alias_double.
7253 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
7254 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
7255 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
7256 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
7258 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7260 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
7262 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
7263 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
7264 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
7266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
7269 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
7271 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
7273 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7275 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
7276 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
7277 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
7278 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
7280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7281 (libm-sysdep_routines): Add s_nearbyintf-generic and
7282 s_nearbyint-generic.
7283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
7285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
7286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
7288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
7290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
7292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
7295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7296 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
7297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
7299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
7302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
7304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7307 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
7308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
7310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
7311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
7313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
7314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
7315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
7317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7318 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
7319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
7321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
7322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
7324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
7325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
7326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7329 (sysdep_calls): New rule.
7330 (sysdep_routines): Use sysdep_calls as base.
7331 (libm-sysdep_routines): Add generic rule for symbols shared with
7332 libc. Add s_copysign-generic and s_copysign-generic objects.
7333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
7335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
7336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
7338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
7339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
7340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
7342 2017-12-01 Mike FABIAN <mfabian@redhat.com>
7345 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
7346 the list of locales to be built for testing.
7347 * localedata/is_IS.UTF-8.in: New file.
7348 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
7351 2017-12-01 Joseph Myers <joseph@codesourcery.com>
7353 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
7354 <libm-alias-float.h>.
7355 (fabsf): Define using libm_alias_float.
7357 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
7359 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
7361 2017-11-30 Joseph Myers <joseph@codesourcery.com>
7363 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
7364 <libm-alias-float.h>.
7365 (fabsf): Define using libm_alias_float.
7366 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
7367 <libm-alias-float.h>.
7368 (lrintf): Define using libm_alias_float.
7369 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
7370 <libm-alias-float.h>.
7371 (rintf): Define using libm_alias_float.
7373 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
7374 <libm-alias-double.h>.
7375 (fabs): Define using libm_alias_double.
7376 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
7377 <libm-alias-double.h>.
7378 (lrint): Define using libm_alias_double.
7379 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
7380 <libm-alias-double.h>.
7381 (rint): Define using libm_alias_double.
7383 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
7384 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7385 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
7386 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
7387 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
7388 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7389 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
7390 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
7391 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
7392 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
7393 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
7394 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
7395 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
7396 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
7397 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
7398 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
7399 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7400 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
7402 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
7403 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
7404 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
7406 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
7407 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
7408 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
7410 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
7411 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
7412 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
7414 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
7415 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
7416 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
7418 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
7419 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
7420 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
7422 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
7423 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
7424 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
7426 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
7427 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
7429 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
7430 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
7431 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
7433 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
7434 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
7435 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
7436 s_nearbyint_template.c.
7437 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
7438 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
7439 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
7440 s_remquo_template.c.
7441 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
7442 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
7443 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
7445 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7446 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7447 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
7449 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
7450 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
7451 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
7452 s_sincos_template.c.
7453 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
7454 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
7455 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
7457 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
7458 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
7459 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
7461 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
7462 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
7463 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
7465 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
7466 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
7467 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
7468 s_atan.c instead of including s_atan.c.
7469 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
7470 s_atanf.c instead of including s_atanf.c.
7471 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
7472 s_atanl.c instead of including s_atanl.c.
7473 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
7474 instead of s_atan.c.
7475 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
7476 instead of s_atanf.c.
7477 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
7478 instead of s_atanl.c.
7480 * scripts/update-copyrights: Do not handle intl/plural.c
7483 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
7486 * configure.ac (BISON): Require to be present.
7487 * configure: Regenerated.
7488 * intl/Makefile (generated): Add plural.c.
7489 [$(BISON) != no]: Make code unconditional.
7490 (plural.c): Change rule to $(objpfx)plural.c.
7491 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
7492 * intl/plural.c: Remove.
7493 * manual/install.texi (Tools for Compilation): Document bison as
7495 * INSTALL: Regenerated.
7497 2017-11-30 Joseph Myers <joseph@codesourcery.com>
7499 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
7500 <libm-alias-double.h>.
7501 (llrint): Define using libm_alias_double.
7502 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
7503 <libm-alias-float.h>.
7504 (llrintf): Define using libm_alias_float.
7505 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
7506 <libm-alias-ldouble.h>.
7507 (llrintl): Define using libm_alias_ldouble.
7509 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
7510 declare_mgen_alias instead of weak_alias.
7511 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
7512 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
7513 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
7515 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7517 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7519 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
7520 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
7521 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
7523 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7524 Add submul_1-generic.
7525 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
7526 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
7527 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
7529 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7530 Add addmul_1-generic.
7531 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
7532 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
7533 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
7535 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7537 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
7538 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
7539 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
7541 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
7543 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
7544 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
7545 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
7547 2017-11-30 Mike FABIAN <mfabian@redhat.com>
7549 According to CLDR, collation rules for Serbian and Bosnian
7550 should be the same as for Croatian.
7553 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
7554 and to the list of locales to be built for testing.
7555 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
7556 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
7557 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
7558 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
7560 2017-11-30 Mike FABIAN <mfabian@redhat.com>
7562 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
7563 to make test case pass.
7564 * localedata/hr_HR.UTF-8.in: Add more test strings.
7566 2017-11-30 Mike FABIAN <mfabian@redhat.com>
7568 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
7570 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
7572 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
7573 the list of locales to built for testing.
7574 * localedata/hr_HR.UTF-8.in: New file.
7576 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
7579 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
7581 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
7582 CLDR (except use ligatures for the digraphs, CLDR does not use
7583 the ligatures), add first_workday, some fixes in the date and time
7585 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
7587 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
7588 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
7589 Add int_p_cs_precedes and int_n_cs_precedes.
7590 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
7591 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
7593 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
7594 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
7596 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
7597 and lang_lib. Change postal_fmt.
7599 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
7601 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
7603 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
7604 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
7605 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
7606 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
7607 * sysdeps/generic/setjmpP.h: New file.
7608 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
7609 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
7610 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
7611 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
7612 Add jmp_buf-ssp.sym.
7613 (tests): Add tst-saved_mask-1.
7615 2017-11-30 Arjun Shankar <arjun@redhat.com>
7619 * malloc/malloc.c (__libc_malloc): Use checked_request2size
7620 instead of request2size.
7622 2017-11-30 Joseph Myers <joseph@codesourcery.com>
7624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
7625 (__lllrint): Remove alias.
7626 (lllrint): Likewise.
7627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
7628 (__lllrintf): Likewise.
7629 (lllrintf): Likewise.
7631 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
7632 <libm-alias-float.h>.
7633 (copysignf): Define using libm_alias_float.
7634 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
7635 <libm-alias-float.h>.
7636 (fabsf): Define using libm_alias_float.
7637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7638 Include <libm-alias-float.h>.
7639 (copysignf): Define using libm_alias_float.
7640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
7641 <libm-alias-float.h>.
7642 (fabsf): Define using libm_alias_float.
7643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
7644 <libm-alias-float.h>.
7645 (fdimf): Define using libm_alias_float.
7646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
7647 <libm-alias-float.h>.
7648 (fmaf): Define using libm_alias_float.
7649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
7650 <libm-alias-float.h>.
7651 (llrintf): Define using libm_alias_float.
7652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
7653 Include <libm-alias-float.h>.
7654 (nearbyintf): Define using libm_alias_float.
7655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
7656 <libm-alias-float.h>.
7657 (rintf): Define using libm_alias_float.
7658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
7659 <libm-alias-float.h>.
7660 (llrintf): Define using libm_alias_float.
7661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
7662 <libm-alias-float.h>.
7663 (lrintf): Define using libm_alias_float.
7664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
7665 <libm-alias-float.h>.
7666 (nearbyintf): Define using libm_alias_float.
7667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
7668 <libm-alias-float.h>.
7669 (rintf): Define using libm_alias_float.
7670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
7671 <libm-alias-float.h>.
7672 (ceilf): Define using libm_alias_float.
7673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
7674 <libm-alias-float.h>.
7675 (floorf): Define using libm_alias_float.
7676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
7677 <libm-alias-float.h>.
7678 (fmaf): Define using libm_alias_float.
7679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
7680 <libm-alias-float.h>.
7681 (lrintf): Define using libm_alias_float.
7682 (llrintf): Likewise.
7683 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
7684 <libm-alias-float.h>.
7685 (nearbyintf): Define using libm_alias_float.
7686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
7687 <libm-alias-float.h>.
7688 (rintf): Define using libm_alias_float.
7689 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
7690 <libm-alias-float.h>.
7691 (truncf): Define using libm_alias_float.
7692 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
7693 <libm-alias-float.h>.
7694 (copysignf): Define using libm_alias_float.
7695 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
7696 <libm-alias-float.h>.
7697 (fabsf): Define using libm_alias_float.
7698 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
7699 <libm-alias-float.h>.
7700 (lrintf): Define using libm_alias_float.
7701 (llrintf): Likewise.
7702 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
7703 <libm-alias-float.h>.
7704 (nearbyintf): Define using libm_alias_float.
7705 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
7706 <libm-alias-float.h>.
7707 (rintf): Define using libm_alias_float.
7709 2017-11-29 Joseph Myers <joseph@codesourcery.com>
7711 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
7712 <libm-alias-double.h>.
7713 (copysign): Define using libm_alias_double.
7714 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
7715 <libm-alias-double.h>.
7716 (fabs): Define using libm_alias_double.
7717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7718 Include <libm-alias-double.h>.
7719 (copysign): Define using libm_alias_double.
7720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
7721 <libm-alias-double.h>.
7722 (fabs): Define using libm_alias_double.
7723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
7724 <libm-alias-double.h>.
7725 (fdim): Define using libm_alias_double.
7726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
7727 <libm-alias-double.h>.
7728 (fma): Define using libm_alias_double.
7729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
7730 <libm-alias-double.h>.
7731 (llrint): Define using libm_alias_double.
7732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
7733 Include <libm-alias-double.h>.
7734 (nearbyint): Define using libm_alias_double.
7735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
7736 <libm-alias-double.h>.
7737 (rint): Define using libm_alias_double.
7738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
7739 <libm-alias-double.h>.
7740 (fabs): Define using libm_alias_double.
7741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
7742 <libm-alias-double.h>.
7743 (llrint): Define using libm_alias_double.
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
7745 <libm-alias-double.h>.
7746 (nearbyint): Define using libm_alias_double.
7747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
7748 <libm-alias-double.h>.
7749 (rint): Define using libm_alias_double.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
7751 <libm-alias-double.h>.
7752 (ceil): Define using libm_alias_double.
7753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
7754 <libm-alias-double.h>.
7755 (floor): Define using libm_alias_double.
7756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
7757 <libm-alias-double.h>.
7758 (fma): Define using libm_alias_double.
7759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
7760 <libm-alias-double.h>.
7761 (lrint): Define using libm_alias_double.
7763 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
7764 <libm-alias-double.h>.
7765 (nearbyint): Define using libm_alias_double.
7766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
7767 <libm-alias-double.h>.
7768 (rint): Define using libm_alias_double.
7769 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
7770 <libm-alias-double.h>.
7771 (trunc): Define using libm_alias_double.
7772 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
7773 <libm-alias-double.h>.
7774 (copysign): Define using libm_alias_double.
7775 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
7776 <libm-alias-double.h>.
7777 (fabs): Define using libm_alias_double.
7778 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
7779 <libm-alias-double.h>.
7780 (lrint): Define using libm_alias_double.
7782 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
7783 <libm-alias-double.h>.
7784 (nearbyint): Define using libm_alias_double.
7785 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
7786 <libm-alias-double.h>.
7787 (rint): Define using libm_alias_double.
7790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
7792 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
7794 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7795 SPARC --disable-multi-arch glibc variants.
7797 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
7798 <libm-alias-float.h>.
7799 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7801 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
7802 <libm-alias-float.h>.
7803 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7805 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
7806 <libm-alias-float.h>.
7807 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7809 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
7810 <libm-alias-float.h>.
7811 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7813 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
7814 <libm-alias-float.h>.
7815 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7817 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
7818 <libm-alias-float.h>.
7819 (ceilf): Define using libm_alias_float.
7820 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
7821 <libm-alias-float.h>.
7822 (floorf): Define using libm_alias_float.
7823 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
7824 <libm-alias-float.h>.
7825 (fmaf): Define using libm_alias_float.
7826 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
7827 <libm-alias-float.h>.
7828 (nearbyintf): Define using libm_alias_float.
7829 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
7830 <libm-alias-float.h>.
7831 (rintf): Define using libm_alias_float.
7832 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
7833 <libm-alias-float.h>.
7834 (truncf): Define using libm_alias_float.
7835 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
7836 (copysignf): Define using libm_alias_float.
7837 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
7838 (cosf): Define using libm_alias_float.
7839 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
7840 (fabsf): Define using libm_alias_float.
7841 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7842 (fmaxf): Define using libm_alias_float.
7843 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
7844 (fminf): Define using libm_alias_float.
7845 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
7846 (llrintf): Define using libm_alias_float.
7847 [!__ILP32__] (lrintf): Likewise.
7848 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
7849 (sincosf): Define using libm_alias_float.
7850 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
7851 (sinf): Define using libm_alias_float.
7852 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
7853 (lrintf): Define using libm_alias_float.
7855 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
7856 <libm-alias-double.h>.
7857 (atan): Define using libm_alias_double.
7858 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
7859 <libm-alias-double.h>.
7860 (ceil): Define using libm_alias_double.
7861 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
7862 <libm-alias-double.h>.
7863 (floor): Define using libm_alias_double.
7864 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
7865 <libm-alias-double.h>.
7866 (fma): Define using libm_alias_double.
7867 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
7868 <libm-alias-double.h>.
7869 (nearbyint): Define using libm_alias_double.
7870 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
7871 <libm-alias-double.h>.
7872 (rint): Define using libm_alias_double.
7873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
7874 <libm-alias-double.h>.
7875 (sin): Define using libm_alias_double.
7877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
7878 <libm-alias-double.h>.
7879 (tan): Define using libm_alias_double.
7880 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
7881 <libm-alias-double.h>.
7882 (trunc): Define using libm_alias_double.
7883 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
7884 (copysign): Define using libm_alias_double.
7885 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
7886 (fabs): Define using libm_alias_double.
7887 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
7888 (fmax): Define using libm_alias_double.
7889 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
7890 (fmin): Define using libm_alias_double.
7891 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
7892 (llrint): Define using libm_alias_double.
7893 [!__ILP32__] (lrint): Likewise.
7894 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
7895 (lrint): Define using libm_alias_double.
7897 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7900 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
7902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
7903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7904 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
7905 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
7907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7909 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7910 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
7912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
7913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
7914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
7915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
7916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
7917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7920 (libm-sysdep_routines): Add s_nearbyint-generic and
7921 s_nearbyintf-generic objects.
7922 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
7923 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
7924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
7925 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
7926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
7927 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
7929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
7930 Add s_finitef-generic and s_finite-generic objects.
7931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
7932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
7933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
7934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
7935 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
7936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
7938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
7939 Add s_isinff-generic and s_isinf-generic objects.
7940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
7941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
7942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
7943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
7944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
7945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
7948 Add s_isnanf-generic and s_isnan-generic objects.
7949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
7950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
7951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
7952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
7953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
7954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7956 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
7958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
7960 (sysdep_routines): Use sysdep_calls as base.
7961 (libm-sysdep_routines): Add generic rule for symbols shared with
7962 libc. Add s_signbit-generic and s_signbitf-generic objects.
7963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
7964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
7965 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
7966 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
7967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
7968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7970 2017-11-29 Joseph Myers <joseph@codesourcery.com>
7972 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
7973 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
7974 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
7975 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
7976 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
7977 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
7978 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
7979 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
7980 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
7981 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
7982 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
7983 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
7984 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
7986 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
7987 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
7989 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
7990 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
7991 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
7992 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
7993 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
7994 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
7995 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
7996 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
7997 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
7998 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
8000 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
8002 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
8003 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
8004 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
8005 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
8006 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
8007 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
8008 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
8009 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
8010 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
8011 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
8012 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
8013 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
8014 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
8015 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
8016 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
8017 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
8018 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
8019 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
8020 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
8022 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
8023 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
8024 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
8025 * sysdeps/ia64/fpu/w_lgammaf_main.c
8026 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
8027 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
8029 2017-11-28 Mike FABIAN <mfabian@redhat.com>
8030 Alexandre Oliva <aoliva@redhat.com>
8033 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
8034 * localedata/fr_CA.UTF-8.in: New file with test data for backward
8036 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
8038 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
8039 * localedata/locales/de_DE (LC_COLLATE): Likewise.
8040 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
8041 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
8042 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
8043 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
8044 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
8045 instead of “ifdef DIACRIT_BACKWARD”.
8047 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8049 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
8050 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
8051 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
8052 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
8053 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
8054 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
8055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
8060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
8061 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8062 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8063 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
8064 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
8065 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
8066 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
8067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8068 ($(have-as-vis3) == yes): Remove conditional.
8069 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
8073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
8077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
8079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
8080 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
8081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
8082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
8083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
8084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
8085 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
8086 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
8088 2017-11-29 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
8091 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
8092 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
8093 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
8094 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
8095 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
8096 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
8097 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
8098 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
8099 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
8100 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
8101 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
8102 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
8103 libm_alias_double_r.
8104 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
8106 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
8107 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
8108 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
8109 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
8110 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
8111 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
8112 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
8113 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
8114 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
8115 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
8116 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
8118 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
8120 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
8121 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
8122 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
8123 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
8124 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
8125 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
8126 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
8127 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
8128 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
8129 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
8130 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
8131 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
8132 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
8133 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
8134 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
8135 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
8136 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
8137 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
8139 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
8140 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
8141 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
8142 * sysdeps/ia64/fpu/w_lgamma_main.c
8143 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
8144 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
8146 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
8148 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
8149 address of $global$ into %dp register earlier. Use pc-relative
8150 instruction sequence for PIC case.
8152 2017-11-28 Joseph Myers <joseph@codesourcery.com>
8154 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
8155 (asinhf): Define using libm_alias_float.
8156 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
8157 (atanf): Define using libm_alias_float.
8158 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
8159 (cbrtf): Define using libm_alias_float.
8160 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
8161 (ceilf): Define using libm_alias_float.
8162 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
8163 (copysignf): Define using libm_alias_float.
8164 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
8165 (expm1f): Define using libm_alias_float.
8166 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
8167 (fabsf): Define using libm_alias_float.
8168 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
8169 (floorf): Define using libm_alias_float.
8170 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
8171 (fmaxf): Define using libm_alias_float.
8172 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
8173 (fminf): Define using libm_alias_float.
8174 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
8175 (frexpf): Define using libm_alias_float.
8176 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
8177 (llrintf): Define using libm_alias_float.
8178 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
8179 (logbf): Define using libm_alias_float.
8180 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
8181 (lrintf): Define using libm_alias_float.
8182 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
8183 (nearbyintf): Define using libm_alias_float.
8184 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
8185 (remquof): Define using libm_alias_float.
8186 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
8187 (rintf): Define using libm_alias_float.
8188 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
8189 (truncf): Define using libm_alias_float.
8190 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
8191 <libm-alias-float.h>.
8192 (exp2f): Define using libm_alias_float, or libm_alias_float_other
8194 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
8195 <libm-alias-float.h>.
8196 (expf): Define using libm_alias_float, or libm_alias_float_other
8198 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
8199 <libm-alias-float.h>.
8200 (log2f): Define using libm_alias_float, or libm_alias_float_other
8202 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
8203 <libm-alias-float.h>.
8204 (logf): Define using libm_alias_float, or libm_alias_float_other
8206 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
8207 <libm-alias-float.h>.
8208 (powf): Define using libm_alias_float, or libm_alias_float_other
8210 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
8211 <libm-alias-float.h>.
8212 (cosf): Define using libm_alias_float.
8213 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
8214 <libm-alias-float.h>.
8215 (sincosf): Define using libm_alias_float.
8216 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
8217 <libm-alias-float.h>.
8218 (sinf): Define using libm_alias_float.
8219 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
8220 (fmaxf): Define using libm_alias_float.
8221 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
8222 (fminf): Define using libm_alias_float.
8223 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8224 <libm-alias-float.h>.
8225 (fmaf): Define using libm_alias_float.
8227 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
8228 (asinh): Define using libm_alias_double.
8229 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
8230 (atan): Define using libm_alias_double.
8231 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
8232 (cbrt): Define using libm_alias_double.
8233 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
8234 (ceil): Define using libm_alias_double.
8235 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
8236 (copysign): Define using libm_alias_double.
8237 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
8238 (expm1): Define using libm_alias_double.
8239 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
8240 (fabs): Define using libm_alias_double.
8241 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
8242 (fdim): Define using libm_alias_double.
8243 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
8244 (floor): Define using libm_alias_double.
8245 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
8246 (fmax): Define using libm_alias_double.
8247 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
8248 (fmin): Define using libm_alias_double.
8249 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
8250 (frexp): Define using libm_alias_double.
8251 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
8252 (llrint): Define using libm_alias_double.
8253 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
8254 (logb): Define using libm_alias_double.
8255 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
8256 (lrint): Define using libm_alias_double.
8257 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
8258 (nearbyint): Define using libm_alias_double.
8259 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
8260 (remquo): Define using libm_alias_double.
8261 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
8262 (rint): Define using libm_alias_double.
8263 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
8264 (trunc): Define using libm_alias_double.
8265 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
8266 (fmax): Define using libm_alias_double.
8267 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
8268 (fmin): Define using libm_alias_double.
8269 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
8270 (fma): Define using libm_alias_double.
8272 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
8275 * elf/dl-hwcaps.c (ROUND): Removed.
8276 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
8277 and ELF_NOTE_NEXT_OFFSET.
8278 * elf/dl-load.c (ROUND): Removed.
8279 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
8280 * elf/readelflib.c (ROUND): Removed.
8281 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
8282 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
8283 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
8284 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
8286 2017-11-28 Joseph Myers <joseph@codesourcery.com>
8288 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
8289 [!__fmaf] (fmaf): Define using libm_alias_float.
8291 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
8292 [!__fma] (fma): Define using libm_alias_double.
8293 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
8295 2017-11-28 Mike FABIAN <mfabian@redhat.com>
8298 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
8299 and implement the collation rules for cs from CLDR on top of that.
8300 * Makefile: Add cs_CZ.UTF-8 to test-input.
8301 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
8303 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
8305 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
8307 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
8308 Icarus Sparry <icarus.w.sparry@intel.com>
8310 * benchtests/Makefile:Add BENCHSET to allow subsets of
8311 benchmarks to be run.
8312 * benchtests/README: Add documentation for: Running subsets of
8315 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
8317 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
8318 range of tests names.
8320 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
8321 result from property and remove "max", min" and "mean" from
8322 required properties based on benchtests/bench-skeleton.c.
8324 2017-11-28 Florian Weimer <fweimer@redhat.com>
8327 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
8328 due to Internet requirement.
8329 * posix/Makefile (tests): Remove tst-getaddrinfo4,
8331 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
8333 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8335 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
8336 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
8337 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
8338 (sysdep_routines): Add memset-ultra1.
8339 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
8341 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
8342 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
8343 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
8344 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
8345 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
8346 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
8347 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
8348 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8350 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
8352 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
8353 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
8354 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
8355 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
8356 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
8357 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
8358 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
8360 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
8361 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
8362 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
8363 (sysdep_routines): Add memcpy-ultra1.
8364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
8365 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
8367 2017-11-28 Joseph Myers <joseph@codesourcery.com>
8369 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
8370 (cfloat_versions): Take function argument without trailing 'f'.
8371 Call libm_alias_float_other.
8372 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
8373 * sysdeps/alpha/fpu/cargf.c: Likewise.
8374 * sysdeps/alpha/fpu/cimagf.c: Likewise.
8375 * sysdeps/alpha/fpu/conjf.c: Likewise.
8376 * sysdeps/alpha/fpu/crealf.c: Likewise.
8377 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
8378 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
8379 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
8380 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
8381 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
8382 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
8383 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
8384 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
8385 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
8386 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
8387 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
8388 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
8389 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
8390 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
8391 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
8392 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
8393 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
8394 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
8395 (clog10f): Use libm_alias_float_other.
8396 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
8397 (ceilf): Define using libm_alias_float.
8398 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
8399 (copysignf): Define using libm_alias_float.
8400 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
8401 (fabsf): Define using libm_alias_float.
8402 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
8403 (floorf): Define using libm_alias_float.
8404 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
8405 (fmaxf): Define using libm_alias_float.
8406 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
8407 (fminf): Define using libm_alias_float.
8408 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
8409 (lrintf): Define using libm_alias_float.
8410 (llrintf): Likewise.
8411 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
8412 (lroundf): Define using libm_alias_float.
8413 (llroundf): Likewise.
8414 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
8415 (rintf): Define using libm_alias_float.
8416 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
8417 (truncf): Define using libm_alias_float.
8419 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
8420 (ceilf): Define using libm_alias_float.
8421 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
8422 (floorf): Define using libm_alias_float.
8423 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
8424 (fmaf): Define using libm_alias_float.
8425 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
8426 (fmaxf): Define using libm_alias_float.
8427 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
8428 (fminf): Define using libm_alias_float.
8429 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
8430 (llrintf): Define using libm_alias_float.
8431 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
8432 (llroundf): Define using libm_alias_float.
8433 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
8434 (lrintf): Define using libm_alias_float.
8435 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
8436 (lroundf): Define using libm_alias_float.
8437 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
8438 <libm-alias-float.h>.
8439 (nearbyintf): Define using libm_alias_float.
8440 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
8441 (rintf): Define using libm_alias_float.
8442 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
8443 (roundf): Define using libm_alias_float.
8444 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
8445 (truncf): Define using libm_alias_float.
8447 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
8448 (ceil): Define using libm_alias_double.
8449 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
8450 (copysign): Define using libm_alias_double.
8451 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
8452 (fabs): Define using libm_alias_double.
8453 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
8454 (floor): Define using libm_alias_double.
8455 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
8456 (fmax): Define using libm_alias_double.
8457 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
8458 (fmin): Define using libm_alias_double.
8459 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
8460 (lrint): Define using libm_alias_double.
8462 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
8463 (lround): Define using libm_alias_double.
8464 (llround): Likewise.
8465 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
8466 (rint): Define using libm_alias_double.
8467 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
8468 (trunc): Define using libm_alias_double.
8470 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
8471 (libm_alias_double_r): Add semicolon after weak_alias call.
8473 2017-11-27 Joseph Myers <joseph@codesourcery.com>
8475 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
8476 (ceil): Define using libm_alias_double.
8477 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
8478 (floor): Define using libm_alias_double.
8479 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
8480 (fma): Define using libm_alias_double.
8481 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
8482 (fmax): Define using libm_alias_double.
8483 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
8484 (fmin): Define using libm_alias_double.
8485 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
8486 (llrint): Define using libm_alias_double.
8487 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
8488 (llround): Define using libm_alias_double.
8489 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
8490 (lrint): Define using libm_alias_double.
8491 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
8492 (lround): Define using libm_alias_double.
8493 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
8494 (nearbyint): Define using libm_alias_double.
8495 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
8496 (rint): Define using libm_alias_double.
8497 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
8498 (round): Define using libm_alias_double.
8499 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
8500 (trunc): Define using libm_alias_double.
8502 2017-11-27 Florian Weimer <fweimer@redhat.com>
8504 * sysdeps/unix/sysv/linux/mlock2.c: New file.
8505 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
8506 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
8507 (tests): Add tst-mlock2.
8508 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
8509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
8510 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
8511 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
8512 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
8513 for mlock. Document mlock2.
8515 2017-11-27 Joseph Myers <joseph@codesourcery.com>
8517 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
8518 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
8520 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
8522 * sysdeps/x86/Makeconfig: New file.
8523 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
8524 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8525 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
8526 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8527 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
8528 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8529 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
8531 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8532 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
8533 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8534 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
8535 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8536 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
8537 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
8538 * manual/math.texi (Mathematics): Document support for _Float64x.
8539 * math/Versions (GLIBC_2.27): Add _Float64x functions.
8540 * stdlib/Versions (GLIBC_2.27): Likewise.
8541 * wcsmbs/Versions (GLIBC_2.27): Likewise.
8542 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
8543 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8544 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8545 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8546 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8547 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8548 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8549 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8550 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8551 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8552 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8557 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8558 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8559 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8560 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8561 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8562 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8563 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8564 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8565 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8566 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8567 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8568 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8569 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8570 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8572 2017-11-27 Andreas Schwab <schwab@suse.de>
8574 * elf/Makefile (dl-routines): Add dl-sort-maps.
8575 * elf/dl-sort-maps.c: New file.
8576 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
8577 (_dl_sort_maps): Declare.
8578 * elf/dl-fini.c (_dl_sort_fini): Remove.
8579 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
8580 * elf/dl-close.c (_dl_close_worker): Likewise.
8581 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
8583 * elf/dl-open.c (dl_open_worker): Likewise.
8585 2017-11-24 Joseph Myers <joseph@codesourcery.com>
8587 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
8588 using libm_alias_float128.
8589 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
8591 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
8593 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
8594 (setpayloadsigf128): Likewise.
8595 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
8597 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
8600 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
8601 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
8602 -mfloat128 to CFLAGS.
8604 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
8606 (CFLAGS-libm-test-support-float64x.c): New variable.
8607 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
8608 $(f128-loader-link) to gnulib-tests.
8610 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
8611 (libm_alias_float128_other_r): If
8612 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
8614 (libm_alias_float128_r): Add semicolon after weak_alias call.
8615 * sysdeps/generic/libm-alias-ldouble.h
8616 (libm_alias_ldouble_other_r_f128): New macro.
8617 (libm_alias_ldouble_other_r_f64x): Likewise.
8618 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
8619 and libm_alias_ldouble_other_r_f64x.
8620 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
8621 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
8622 (libm_alias_ldouble_other_r_f128): New macro.
8623 (libm_alias_ldouble_other_r_f64x): Likewise.
8624 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
8625 and libm_alias_ldouble_other_r_f64x.
8627 * stdlib/strfroml.c: Always include <stdlib.h>.
8628 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
8629 undefine as macro and define as weak alias.
8630 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
8631 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
8633 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
8634 Define and later undefine as macro and define as weak alias.
8636 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
8637 Define and later undefine as macro. Define as weak alias if
8639 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
8640 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
8641 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
8642 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
8643 Define and later undefine as macro. Define as weak alias if
8645 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
8646 Define and later undefine as macro. Define as weak alias if
8648 * sysdeps/ieee754/float128/strtof128_l.c
8649 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
8650 Define and later undefine as macro. Define as weak alias if
8652 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
8653 Define and later undefine as macro. Define as weak alias if
8655 * sysdeps/ieee754/ldbl-128/strtold_l.c
8656 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
8657 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
8658 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
8659 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
8660 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
8661 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
8662 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
8663 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
8664 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
8665 * sysdeps/ieee754/ldbl-96/strtold_l.c
8666 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
8667 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
8668 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
8669 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
8671 * math/test-float64x.h: New file.
8672 * math/Makefile (type-float64x-yes): New variable.
8673 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
8675 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
8676 function-like macro.
8677 (min_of_type_): Likewise.
8678 (min_of_type_l): Likewise.
8679 (min_of_type_f128): Likewise.
8680 (min_of_type): Pass () as last argument of __MATH_TG.
8682 * stdlib/tst-strtod-round-skeleton.c
8683 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
8686 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
8687 for combinations of long double with _Float64 and _Float64x.
8689 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
8690 (__DECL_SIMD_cosf32): Likewise.
8691 (__DECL_SIMD_cosf64): Likewise.
8692 (__DECL_SIMD_cosf32x): Likewise.
8693 (__DECL_SIMD_cosf64x): Likewise.
8694 (__DECL_SIMD_cosf128x): Likewise.
8695 (__DECL_SIMD_sinf16): Likewise.
8696 (__DECL_SIMD_sinf32): Likewise.
8697 (__DECL_SIMD_sinf64): Likewise.
8698 (__DECL_SIMD_sinf32x): Likewise.
8699 (__DECL_SIMD_sinf64x): Likewise.
8700 (__DECL_SIMD_sinf128x): Likewise.
8701 (__DECL_SIMD_sincosf16): Likewise.
8702 (__DECL_SIMD_sincosf32): Likewise.
8703 (__DECL_SIMD_sincosf64): Likewise.
8704 (__DECL_SIMD_sincosf32x): Likewise.
8705 (__DECL_SIMD_sincosf64x): Likewise.
8706 (__DECL_SIMD_sincosf128x): Likewise.
8707 (__DECL_SIMD_logf16): Likewise.
8708 (__DECL_SIMD_logf32): Likewise.
8709 (__DECL_SIMD_logf64): Likewise.
8710 (__DECL_SIMD_logf32x): Likewise.
8711 (__DECL_SIMD_logf64x): Likewise.
8712 (__DECL_SIMD_logf128x): Likewise.
8713 (__DECL_SIMD_expf16): Likewise.
8714 (__DECL_SIMD_expf32): Likewise.
8715 (__DECL_SIMD_expf64): Likewise.
8716 (__DECL_SIMD_expf32x): Likewise.
8717 (__DECL_SIMD_expf64x): Likewise.
8718 (__DECL_SIMD_expf128x): Likewise.
8719 (__DECL_SIMD_powf16): Likewise.
8720 (__DECL_SIMD_powf32): Likewise.
8721 (__DECL_SIMD_powf64): Likewise.
8722 (__DECL_SIMD_powf32x): Likewise.
8723 (__DECL_SIMD_powf64x): Likewise.
8724 (__DECL_SIMD_powf128x): Likewise.
8726 * stdlib/Versions (libc): Move entries for wcstof128 and
8728 * wcsmbs/Versions (libc): ... here.
8729 Include <float128-abi.h>.
8731 2017-11-24 Florian Weimer <fweimer@redhat.com>
8733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8735 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
8736 <bits/mman-shared.h>.
8737 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
8739 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
8740 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
8741 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8742 <bits/mman-shared.h>.
8744 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8747 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
8748 posix_memalign/free.
8749 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
8751 2017-11-22 Mike FABIAN <mfabian@redhat.com>
8754 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
8755 and implement the collation rules for pl from CLDR on top of that.
8756 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
8757 of locales to be built for testing.
8758 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
8760 2017-11-23 Joseph Myers <joseph@codesourcery.com>
8762 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
8763 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
8764 libm_alias_ldouble_other.
8765 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
8766 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
8767 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
8768 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
8769 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
8770 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
8771 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
8772 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
8773 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
8774 libm_alias_ldouble_r.
8775 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
8776 libm_alias_ldouble_other.
8777 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
8779 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
8780 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
8781 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
8782 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
8783 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
8784 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
8785 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
8787 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
8788 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
8789 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
8791 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
8793 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
8794 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
8795 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
8797 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
8798 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
8799 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
8800 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
8801 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
8802 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
8803 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
8804 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
8805 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
8806 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
8807 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
8809 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
8810 libm_alias_ldouble_other.
8811 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
8812 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
8813 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
8815 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
8816 libm_alias_ldouble_other.
8817 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
8818 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
8819 * sysdeps/ia64/fpu/w_lgammal_main.c
8820 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
8821 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
8823 2017-11-23 Florian Weimer <fweimer@redhat.com>
8825 * malloc/malloc.c (tcache_thread_shutdown): Rename from
8826 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
8827 alike. Remove freeres marker.
8828 * malloc/arena.c (arena_thread_freeres): Call
8829 tcache_thread_shutdown.
8831 2017-11-23 Florian Weimer <fweimer@redhat.com>
8834 Export nscd hash function as __nss_hash.
8835 * include/nss.h (__nss_hash): Declare.
8836 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
8838 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
8839 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
8841 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
8842 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
8843 * nss/Makefiles (routines): Add nss_hash.
8844 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
8845 * nss/nss_hash.c: Rename from nis/nis_hash.c.
8846 (__nss_hash): Rename from __nis_hash. Define hidden alias.
8847 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
8849 2017-11-23 Florian Weimer <fweimer@redhat.com>
8852 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
8853 Return error code, not -1.
8854 * signal/tst-sigwait-eintr.c: New file.
8855 * signal/Makefile (tests): Add tst-sigwait-eintr.
8857 2017-11-23 Florian Weimer <fweimer@redhat.com>
8859 Linux: Add memfd_create system call wrapper
8860 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
8862 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8863 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
8864 [__USE_GNU] (memfd_create): Declare.
8865 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
8866 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
8867 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
8868 * sysdeps/unix/sysv/linux/**.abilist: Update.
8869 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
8871 2017-11-22 Joseph Myers <joseph@codesourcery.com>
8873 * localedata/gen-locale.sh: Fix typo in variable name.
8875 * resolv/res_debug.c (p_secstodate): Condition definition on
8876 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
8877 directly as __p_secstodate, and as a compat symbol. Do not use
8878 libresolv_hidden_def.
8879 * resolv/resolv.h (p_secstodate): Remove macro and function
8881 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
8883 * include/resolv.h (__p_secstodate): Do not use
8884 libresolv_hidden_proto.
8885 * resolv/Makefile (tests): Move tst-p_secstodate to ....
8886 (tests-internal): ... here.
8887 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
8888 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
8889 and declare and use __p_secstodate and use compat_symbol_reference
8891 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
8892 implementation returning 77.
8895 * resolv/res_debug.c: Include <libc-diag.h>.
8896 (p_secstodate): Assert time_t at least as wide as u_long. On
8897 overflow, use integer seconds since the epoch as output, or use
8898 "<overflow>" as output and set errno to EOVERFLOW if integer
8899 seconds since the epoch would be 14 or more characters.
8900 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
8902 * resolv/tst-p_secstodate.c: New file.
8903 * resolv/Makefile (tests): Add tst-p_secstodate.
8904 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
8906 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
8907 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8908 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
8910 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
8912 * posix/regcomp.c (init_word_char): Add comments.
8914 2017-11-22 Joseph Myers <joseph@codesourcery.com>
8917 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
8918 strlen to compute length of ut_user and set trailing NUL byte of
8921 2017-11-21 Mike FABIAN <mfabian@redhat.com>
8924 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
8925 using “copy "iso14651_t1"” and then implementing the
8926 collation rules for lv from CLDR on top of that.
8927 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
8928 of locales to be built for testing.
8929 * lv_LV.UTF-8.in: New file with test data to test the Latvian
8932 2017-11-21 Joseph Myers <joseph@codesourcery.com>
8934 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
8935 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
8936 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
8937 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
8938 [__USE_MISC] (MADV_HWPOISON): New macro.
8939 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
8941 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8943 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
8944 -Wmissing-braces on GCC 4.9.
8946 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
8948 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
8949 * sysdeps/s390/s390-32/start.S (_start): Likewise
8950 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
8951 (thread_start): Likewise.
8952 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
8953 (thread_start): Likewise.
8954 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
8955 (__makecontext_ret): Likewise.
8956 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
8957 (__makecontext_ret): Likewise.
8959 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
8961 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
8962 __wcschrnul): Remove attribute_hidden.
8964 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
8966 regex: don't assume uint64_t or uint32_t
8967 This avoids -Werror=overflow errors for 32-bit systems in
8968 the 64-bit case. Problem reported by Joseph Myers in:
8969 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
8970 Also, when this code is used in Gnulib it ports to platforms
8971 that lack uint64_t and uint32_t. The C standard doesn't guarantee
8972 them, and on some 32-bit compilers there is no uint64_t.
8973 Problem reported by Gianluigi Tiesi in:
8974 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
8975 * posix/regcomp.c (init_word_char): Don't assume that the types
8976 uint64_t and uint32_t exist. Adapted from Gnulib patch
8977 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
8978 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
8980 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
8982 * sysdeps/aarch64/memset-reg.h: New file.
8983 * sysdeps/aarch64/memset.S: Use it.
8984 (__memset): Rename to MEMSET macro.
8985 [ZVA_MACRO]: Use zva_macro.
8986 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
8987 Add memset_generic and memset_falkor.
8988 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8989 (__libc_ifunc_impl_list): Add memset ifuncs.
8990 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
8991 local variable zva_size.
8992 * sysdeps/aarch64/multiarch/memset.c: New file.
8993 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
8994 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
8995 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
8996 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8997 (DCZID_DZP_MASK): New macro.
8998 (DCZID_BS_MASK): Likewise.
8999 (init_cpu_features): Read and set zva_size.
9000 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
9001 (struct cpu_features): New member zva_size.
9003 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
9004 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
9005 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
9007 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
9008 backwards. Fix timing computation.
9009 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
9010 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
9011 on memset by N at a time. Fix timing computation.
9013 2017-11-20 Florian Weimer <fweimer@redhat.com>
9015 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
9016 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
9018 2017-11-19 Florian Weimer <fweimer@redhat.com>
9020 manual: Document mprotect
9021 * manual/memory.texi (Memory Protection): New section.
9022 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
9023 documentation of PROT_* flags and reference the Memory Protection
9026 2017-11-19 Florian Weimer <fweimer@redhat.com>
9028 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
9029 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
9030 (Scatter-Gather): ... to here. Remove misleading comment.
9032 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
9034 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
9037 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
9038 when /proc/<pid>/setgroups does not exist.
9040 2017-11-18 Florian Weimer <fweimer@redhat.com>
9042 * sysdeps/unix/sysv/linux/tst-ttyname.c
9043 (become_root_in_mount_ns): Remove.
9044 (do_in_chroot_1): Call support_enter_mount_namespace.
9045 (do_in_chroot_2): Likewise.
9046 (do_test): Call support_become_root early.
9048 2017-11-18 Florian Weimer <fweimer@redhat.com>
9050 * support/namespace.h (support_enter_mount_namespace): Declare.
9051 * support/support_enter_mount_namespace.c: New file.
9052 * support/Makefile (libsupport-routines): Add
9053 support_enter_mount_namespace.
9055 2017-11-18 Florian Weimer <fweimer@redhat.com>
9057 * support/temp_file.c (support_create_temp_directory): Use
9058 test_dir and do not rely on the presence of the XXXXXX suffix.
9059 * support/temp_file.h (support_create_temp_directory): Update
9061 * support/tst-xreadlink.c (do_test): Adjust.
9062 * support/support_chroot.c (support_chroot_create): Likewise.
9064 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9066 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
9068 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
9071 2017-11-17 Joseph Myers <joseph@codesourcery.com>
9073 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
9074 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
9075 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
9076 (ceill): Define using libm_alias_ldouble.
9077 * sysdeps/x86_64/fpu/s_copysignl.S: Include
9078 <libm-alias-ldouble.h>.
9079 (copysignl): Define using libm_alias_ldouble.
9080 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
9081 (fabsl): Define using libm_alias_ldouble.
9082 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
9083 (floorl): Define using libm_alias_ldouble.
9084 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
9085 (fmaxl): Define using libm_alias_ldouble.
9086 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
9087 (fminl): Define using libm_alias_ldouble.
9088 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
9089 (llrintl): Define using libm_alias_ldouble.
9091 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
9092 <libm-alias-ldouble.h>.
9093 (nearbyintl): Define using libm_alias_ldouble.
9094 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
9095 (truncl): Define using libm_alias_ldouble.
9096 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
9097 <libm-alias-ldouble.h>.
9098 (lrintl): Define using libm_alias_ldouble.
9100 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
9101 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
9102 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
9103 (asinhl): Define using libm_alias_ldouble.
9104 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
9105 (atanl): Define using libm_alias_ldouble.
9106 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
9107 (cbrtl): Define using libm_alias_ldouble.
9108 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
9109 (ceill): Define using libm_alias_ldouble.
9110 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
9111 (copysignl): Define using libm_alias_ldouble.
9112 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
9113 (fabsl): Define using libm_alias_ldouble.
9114 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
9115 (floorl): Define using libm_alias_ldouble.
9116 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
9117 (fmaxl): Define using libm_alias_ldouble.
9118 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
9119 (fminl): Define using libm_alias_ldouble.
9120 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
9121 (frexpl): Define using libm_alias_ldouble.
9122 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
9123 (llrintl): Define using libm_alias_ldouble.
9124 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
9125 (logbl): Define using libm_alias_ldouble.
9126 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
9127 (lrintl): Define using libm_alias_ldouble.
9128 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
9129 (nearbyintl): Define using libm_alias_ldouble.
9130 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
9131 (nextafterl): Define using libm_alias_ldouble.
9132 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
9133 (remquol): Define using libm_alias_ldouble.
9134 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
9135 (rintl): Define using libm_alias_ldouble.
9136 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
9137 (truncl): Define using libm_alias_ldouble.
9138 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
9139 (fmaxl): Define using libm_alias_ldouble.
9140 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
9141 (fminl): Define using libm_alias_ldouble.
9143 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
9144 to C syntax instead of availability and properties of types.
9145 * bits/floatn.h [!__ASSEMBLER]: Likewise.
9146 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
9147 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
9148 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
9149 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
9150 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
9152 2017-11-17 Florian Weimer <fweimer@redhat.com>
9154 support_become_root: Enable file creation in namespaces.
9155 * support/support_become_root.c (setup_mapping): New function.
9156 (support_become_root): Call it.
9158 2017-11-17 Joseph Myers <joseph@codesourcery.com>
9160 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
9163 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9165 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
9166 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
9168 2017-11-16 Joseph Myers <joseph@codesourcery.com>
9170 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
9172 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9175 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9177 * INSTALL: Fix botched up regeneration.
9179 * NEWS: Update sourceare link to https.
9180 * configure.ac: Likewise.
9181 * crypt/md5test-giant.c: Likewise.
9182 * dlfcn/bug-atexit1.c: Likewise.
9183 * dlfcn/bug-atexit2.c: Likewise.
9184 * localedata/README: Likewise.
9185 * malloc/tst-mallocfork.c: Likewise.
9186 * manual/install.texi: Likewise.
9187 * nptl/tst-pthread-getattr.c: Likewise.
9188 * stdio-common/tst-fgets.c: Likewise.
9189 * stdio-common/tst-fwrite.c: Likewise.
9190 * sunrpc/Makefile: Likewise.
9191 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
9192 * wcsmbs/tst-mbrtowc2.c: Likewise.
9193 * configure: Regenerate.
9194 * INSTALL: Regenerate.
9196 2017-11-15 Martin Sebor <msebor@redhat.com>
9198 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
9199 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
9200 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
9202 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
9205 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
9206 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
9209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
9210 Defer is_pty check until end of the function.
9211 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9214 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
9215 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
9216 (ttyname): Likewise.
9217 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
9218 (__ttyname_r): Likewise.
9220 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
9223 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
9225 * manual/terminal.texi (Is It a Terminal):
9226 Mention ENODEV for ttyname and ttyname_r.
9228 2017-11-15 Joseph Myers <joseph@codesourcery.com>
9230 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
9233 * sysdeps/unix/sysv/linux/bits/mman-linux.h
9234 [__USE_MISC] (MADV_WIPEONFORK): New macro.
9235 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9236 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
9237 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9238 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9240 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9242 * signal/sigrelse.c (sigrelse): Optimize implementation.
9244 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
9245 (__sigpause): Rely on __sigsuspend to implement single thread
9246 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
9248 2017-11-15 Joseph Myers <joseph@codesourcery.com>
9250 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9251 kernel version to 4.14.
9253 2017-11-15 Steve Ellcey <sellcey@cavium.com>
9256 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
9257 Check if ifname is too long.
9259 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
9261 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
9263 2017-11-15 Mike FABIAN <mfabian@redhat.com>
9265 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
9266 was accidentally lost.
9268 2017-11-15 Mike FABIAN <mfabian@redhat.com>
9270 * localedata/locales/az_IR: Add standard copyright header.
9272 2017-11-15 Florian Weimer <fweimer@redhat.com>
9275 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
9276 not just the top one. Output a new "subheaps" statistic.
9278 2017-11-15 Florian Weimer <fweimer@redhat.com>
9281 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
9282 under the per-arena lock.
9283 * malloc/Makefile (tests): Add tst-malloc_info.
9284 (tst-malloc_info): Link with libpthread.
9285 * malloc/tst-malloc_info.c: New file.
9287 2017-11-15 Joseph Myers <joseph@codesourcery.com>
9290 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
9291 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
9292 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
9293 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
9294 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
9295 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
9296 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
9297 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
9298 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
9299 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
9300 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
9301 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
9302 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
9303 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
9304 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
9305 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
9306 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
9307 (__floating_type): Likewise.
9308 (__real_integer_type): Likewise.
9309 (__complex_integer_type): Likewise.
9310 (__expr_is_real): Likewise.
9311 (__tgmath_real_type_sub): Likewise.
9312 (__tgmath_real_type): Likewise.
9313 (__tgmath_complex_type_sub): Likewise.
9314 (__tgmath_complex_type): Likewise.
9315 (__TGMATH_F128): Likewise.
9316 (__TGMATH_CF128): Likewise.
9317 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
9319 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
9320 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
9322 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
9324 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
9325 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
9326 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
9327 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
9329 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
9330 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
9332 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
9333 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
9334 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
9336 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
9337 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
9338 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
9342 2017-11-14 Joseph Myers <joseph@codesourcery.com>
9344 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
9345 for stpncpy calls for GCC 8.
9346 (test_strncat): Disable -Wstringop-truncation warning for strncat
9347 calls for GCC 8. Disable -Wstringop-overflow= warning for one
9348 strncat call for GCC 7.
9349 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
9351 (test_memcmp): Use memcpy instead of strncpy for calls not copying
9354 * string/bug-strncat1.c: Include <libc-diag.h>.
9355 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
9357 2017-11-13 Claude Paroz <claude@2xlibre.net>
9360 * localedata/locales/aa_DJ: Improved readibility by replacing
9361 <Uxxxx> sequences in the ASCII printable range by their ASCII
9362 character equivalents.
9363 * localedata/locales/aa_ER: Likewise.
9364 * localedata/locales/aa_ER@saaho: Likewise.
9365 * localedata/locales/aa_ET: Likewise.
9366 * localedata/locales/af_ZA: Likewise.
9367 * localedata/locales/agr_PE: Likewise.
9368 * localedata/locales/ak_GH: Likewise.
9369 * localedata/locales/am_ET: Likewise.
9370 * localedata/locales/anp_IN: Likewise.
9371 * localedata/locales/ar_AE: Likewise.
9372 * localedata/locales/ar_BH: Likewise.
9373 * localedata/locales/ar_DZ: Likewise.
9374 * localedata/locales/ar_EG: Likewise.
9375 * localedata/locales/ar_IN: Likewise.
9376 * localedata/locales/ar_IQ: Likewise.
9377 * localedata/locales/ar_JO: Likewise.
9378 * localedata/locales/ar_KW: Likewise.
9379 * localedata/locales/ar_LB: Likewise.
9380 * localedata/locales/ar_LY: Likewise.
9381 * localedata/locales/ar_MA: Likewise.
9382 * localedata/locales/ar_OM: Likewise.
9383 * localedata/locales/ar_QA: Likewise.
9384 * localedata/locales/ar_SA: Likewise.
9385 * localedata/locales/ar_SD: Likewise.
9386 * localedata/locales/ar_SS: Likewise.
9387 * localedata/locales/ar_SY: Likewise.
9388 * localedata/locales/ar_TN: Likewise.
9389 * localedata/locales/ar_YE: Likewise.
9390 * localedata/locales/as_IN: Likewise.
9391 * localedata/locales/ast_ES: Likewise.
9392 * localedata/locales/ayc_PE: Likewise.
9393 * localedata/locales/az_AZ: Likewise.
9394 * localedata/locales/az_IR: Likewise.
9395 * localedata/locales/be_BY: Likewise.
9396 * localedata/locales/be_BY@latin: Likewise.
9397 * localedata/locales/bem_ZM: Likewise.
9398 * localedata/locales/ber_DZ: Likewise.
9399 * localedata/locales/ber_MA: Likewise.
9400 * localedata/locales/bg_BG: Likewise.
9401 * localedata/locales/bhb_IN: Likewise.
9402 * localedata/locales/bho_IN: Likewise.
9403 * localedata/locales/bi_VU: Likewise.
9404 * localedata/locales/bn_BD: Likewise.
9405 * localedata/locales/bn_IN: Likewise.
9406 * localedata/locales/bo_CN: Likewise.
9407 * localedata/locales/bo_IN: Likewise.
9408 * localedata/locales/br_FR: Likewise.
9409 * localedata/locales/brx_IN: Likewise.
9410 * localedata/locales/bs_BA: Likewise.
9411 * localedata/locales/byn_ER: Likewise.
9412 * localedata/locales/ca_AD: Likewise.
9413 * localedata/locales/ca_ES: Likewise.
9414 * localedata/locales/ca_FR: Likewise.
9415 * localedata/locales/ca_IT: Likewise.
9416 * localedata/locales/ce_RU: Likewise.
9417 * localedata/locales/chr_US: Likewise.
9418 * localedata/locales/cmn_TW: Likewise.
9419 * localedata/locales/crh_UA: Likewise.
9420 * localedata/locales/cs_CZ: Likewise.
9421 * localedata/locales/csb_PL: Likewise.
9422 * localedata/locales/cv_RU: Likewise.
9423 * localedata/locales/cy_GB: Likewise.
9424 * localedata/locales/da_DK: Likewise.
9425 * localedata/locales/de_AT: Likewise.
9426 * localedata/locales/de_BE: Likewise.
9427 * localedata/locales/de_CH: Likewise.
9428 * localedata/locales/de_DE: Likewise.
9429 * localedata/locales/de_IT: Likewise.
9430 * localedata/locales/de_LI: Likewise.
9431 * localedata/locales/de_LU: Likewise.
9432 * localedata/locales/doi_IN: Likewise.
9433 * localedata/locales/dv_MV: Likewise.
9434 * localedata/locales/dz_BT: Likewise.
9435 * localedata/locales/el_CY: Likewise.
9436 * localedata/locales/el_GR: Likewise.
9437 * localedata/locales/en_AG: Likewise.
9438 * localedata/locales/en_AU: Likewise.
9439 * localedata/locales/en_BW: Likewise.
9440 * localedata/locales/en_CA: Likewise.
9441 * localedata/locales/en_DK: Likewise.
9442 * localedata/locales/en_GB: Likewise.
9443 * localedata/locales/en_HK: Likewise.
9444 * localedata/locales/en_IE: Likewise.
9445 * localedata/locales/en_IL: Likewise.
9446 * localedata/locales/en_IN: Likewise.
9447 * localedata/locales/en_NG: Likewise.
9448 * localedata/locales/en_NZ: Likewise.
9449 * localedata/locales/en_PH: Likewise.
9450 * localedata/locales/en_SG: Likewise.
9451 * localedata/locales/en_US: Likewise.
9452 * localedata/locales/en_ZA: Likewise.
9453 * localedata/locales/en_ZM: Likewise.
9454 * localedata/locales/en_ZW: Likewise.
9455 * localedata/locales/eo: Likewise.
9456 * localedata/locales/es_AR: Likewise.
9457 * localedata/locales/es_BO: Likewise.
9458 * localedata/locales/es_CL: Likewise.
9459 * localedata/locales/es_CO: Likewise.
9460 * localedata/locales/es_CR: Likewise.
9461 * localedata/locales/es_CU: Likewise.
9462 * localedata/locales/es_DO: Likewise.
9463 * localedata/locales/es_EC: Likewise.
9464 * localedata/locales/es_ES: Likewise.
9465 * localedata/locales/es_GT: Likewise.
9466 * localedata/locales/es_HN: Likewise.
9467 * localedata/locales/es_MX: Likewise.
9468 * localedata/locales/es_NI: Likewise.
9469 * localedata/locales/es_PA: Likewise.
9470 * localedata/locales/es_PE: Likewise.
9471 * localedata/locales/es_PR: Likewise.
9472 * localedata/locales/es_PY: Likewise.
9473 * localedata/locales/es_SV: Likewise.
9474 * localedata/locales/es_US: Likewise.
9475 * localedata/locales/es_UY: Likewise.
9476 * localedata/locales/es_VE: Likewise.
9477 * localedata/locales/et_EE: Likewise.
9478 * localedata/locales/eu_ES: Likewise.
9479 * localedata/locales/eu_ES@euro: Likewise.
9480 * localedata/locales/fa_IR: Likewise.
9481 * localedata/locales/ff_SN: Likewise.
9482 * localedata/locales/fi_FI: Likewise.
9483 * localedata/locales/fil_PH: Likewise.
9484 * localedata/locales/fo_FO: Likewise.
9485 * localedata/locales/fr_BE: Likewise.
9486 * localedata/locales/fr_CA: Likewise.
9487 * localedata/locales/fr_CH: Likewise.
9488 * localedata/locales/fr_FR: Likewise.
9489 * localedata/locales/fr_LU: Likewise.
9490 * localedata/locales/fur_IT: Likewise.
9491 * localedata/locales/fy_DE: Likewise.
9492 * localedata/locales/fy_NL: Likewise.
9493 * localedata/locales/ga_IE: Likewise.
9494 * localedata/locales/gd_GB: Likewise.
9495 * localedata/locales/gez_ER: Likewise.
9496 * localedata/locales/gez_ET: Likewise.
9497 * localedata/locales/gl_ES: Likewise.
9498 * localedata/locales/gu_IN: Likewise.
9499 * localedata/locales/gv_GB: Likewise.
9500 * localedata/locales/ha_NG: Likewise.
9501 * localedata/locales/hak_TW: Likewise.
9502 * localedata/locales/he_IL: Likewise.
9503 * localedata/locales/hi_IN: Likewise.
9504 * localedata/locales/hif_FJ: Likewise.
9505 * localedata/locales/hne_IN: Likewise.
9506 * localedata/locales/hr_HR: Likewise.
9507 * localedata/locales/hsb_DE: Likewise.
9508 * localedata/locales/ht_HT: Likewise.
9509 * localedata/locales/hu_HU: Likewise.
9510 * localedata/locales/hy_AM: Likewise.
9511 * localedata/locales/i18n: Likewise.
9512 * localedata/locales/ia_FR: Likewise.
9513 * localedata/locales/id_ID: Likewise.
9514 * localedata/locales/ig_NG: Likewise.
9515 * localedata/locales/ik_CA: Likewise.
9516 * localedata/locales/is_IS: Likewise.
9517 * localedata/locales/it_CH: Likewise.
9518 * localedata/locales/it_IT: Likewise.
9519 * localedata/locales/iu_CA: Likewise.
9520 * localedata/locales/ja_JP: Likewise.
9521 * localedata/locales/ka_GE: Likewise.
9522 * localedata/locales/kk_KZ: Likewise.
9523 * localedata/locales/kl_GL: Likewise.
9524 * localedata/locales/kn_IN: Likewise.
9525 * localedata/locales/ko_KR: Likewise.
9526 * localedata/locales/kok_IN: Likewise.
9527 * localedata/locales/ks_IN: Likewise.
9528 * localedata/locales/ks_IN@devanagari: Likewise.
9529 * localedata/locales/ku_TR: Likewise.
9530 * localedata/locales/kw_GB: Likewise.
9531 * localedata/locales/ky_KG: Likewise.
9532 * localedata/locales/lb_LU: Likewise.
9533 * localedata/locales/lg_UG: Likewise.
9534 * localedata/locales/li_BE: Likewise.
9535 * localedata/locales/li_NL: Likewise.
9536 * localedata/locales/lij_IT: Likewise.
9537 * localedata/locales/ln_CD: Likewise.
9538 * localedata/locales/lo_LA: Likewise.
9539 * localedata/locales/lt_LT: Likewise.
9540 * localedata/locales/lv_LV: Likewise.
9541 * localedata/locales/lzh_TW: Likewise.
9542 * localedata/locales/mag_IN: Likewise.
9543 * localedata/locales/mai_IN: Likewise.
9544 * localedata/locales/mg_MG: Likewise.
9545 * localedata/locales/mhr_RU: Likewise.
9546 * localedata/locales/mi_NZ: Likewise.
9547 * localedata/locales/mk_MK: Likewise.
9548 * localedata/locales/ml_IN: Likewise.
9549 * localedata/locales/mn_MN: Likewise.
9550 * localedata/locales/mni_IN: Likewise.
9551 * localedata/locales/mr_IN: Likewise.
9552 * localedata/locales/ms_MY: Likewise.
9553 * localedata/locales/mt_MT: Likewise.
9554 * localedata/locales/my_MM: Likewise.
9555 * localedata/locales/nan_TW: Likewise.
9556 * localedata/locales/nan_TW@latin: Likewise.
9557 * localedata/locales/nb_NO: Likewise.
9558 * localedata/locales/nds_DE: Likewise.
9559 * localedata/locales/nds_NL: Likewise.
9560 * localedata/locales/ne_NP: Likewise.
9561 * localedata/locales/nhn_MX: Likewise.
9562 * localedata/locales/niu_NU: Likewise.
9563 * localedata/locales/niu_NZ: Likewise.
9564 * localedata/locales/nl_AW: Likewise.
9565 * localedata/locales/nl_BE: Likewise.
9566 * localedata/locales/nl_NL: Likewise.
9567 * localedata/locales/nn_NO: Likewise.
9568 * localedata/locales/nr_ZA: Likewise.
9569 * localedata/locales/nso_ZA: Likewise.
9570 * localedata/locales/oc_FR: Likewise.
9571 * localedata/locales/om_ET: Likewise.
9572 * localedata/locales/om_KE: Likewise.
9573 * localedata/locales/or_IN: Likewise.
9574 * localedata/locales/os_RU: Likewise.
9575 * localedata/locales/pa_IN: Likewise.
9576 * localedata/locales/pa_PK: Likewise.
9577 * localedata/locales/pap_AW: Likewise.
9578 * localedata/locales/pap_CW: Likewise.
9579 * localedata/locales/pl_PL: Likewise.
9580 * localedata/locales/ps_AF: Likewise.
9581 * localedata/locales/pt_BR: Likewise.
9582 * localedata/locales/pt_PT: Likewise.
9583 * localedata/locales/quz_PE: Likewise.
9584 * localedata/locales/raj_IN: Likewise.
9585 * localedata/locales/ro_RO: Likewise.
9586 * localedata/locales/ru_RU: Likewise.
9587 * localedata/locales/ru_UA: Likewise.
9588 * localedata/locales/rw_RW: Likewise.
9589 * localedata/locales/sa_IN: Likewise.
9590 * localedata/locales/sat_IN: Likewise.
9591 * localedata/locales/sc_IT: Likewise.
9592 * localedata/locales/sd_IN: Likewise.
9593 * localedata/locales/sd_IN@devanagari: Likewise.
9594 * localedata/locales/se_NO: Likewise.
9595 * localedata/locales/sgs_LT: Likewise.
9596 * localedata/locales/shs_CA: Likewise.
9597 * localedata/locales/si_LK: Likewise.
9598 * localedata/locales/sid_ET: Likewise.
9599 * localedata/locales/sk_SK: Likewise.
9600 * localedata/locales/sl_SI: Likewise.
9601 * localedata/locales/sm_WS: Likewise.
9602 * localedata/locales/so_DJ: Likewise.
9603 * localedata/locales/so_ET: Likewise.
9604 * localedata/locales/so_KE: Likewise.
9605 * localedata/locales/so_SO: Likewise.
9606 * localedata/locales/sq_AL: Likewise.
9607 * localedata/locales/sq_MK: Likewise.
9608 * localedata/locales/sr_ME: Likewise.
9609 * localedata/locales/sr_RS: Likewise.
9610 * localedata/locales/sr_RS@latin: Likewise.
9611 * localedata/locales/ss_ZA: Likewise.
9612 * localedata/locales/st_ZA: Likewise.
9613 * localedata/locales/sv_FI: Likewise.
9614 * localedata/locales/sv_SE: Likewise.
9615 * localedata/locales/sw_KE: Likewise.
9616 * localedata/locales/sw_TZ: Likewise.
9617 * localedata/locales/szl_PL: Likewise.
9618 * localedata/locales/ta_IN: Likewise.
9619 * localedata/locales/ta_LK: Likewise.
9620 * localedata/locales/tcy_IN: Likewise.
9621 * localedata/locales/te_IN: Likewise.
9622 * localedata/locales/tg_TJ: Likewise.
9623 * localedata/locales/th_TH: Likewise.
9624 * localedata/locales/the_NP: Likewise.
9625 * localedata/locales/ti_ER: Likewise.
9626 * localedata/locales/ti_ET: Likewise.
9627 * localedata/locales/tig_ER: Likewise.
9628 * localedata/locales/tk_TM: Likewise.
9629 * localedata/locales/tl_PH: Likewise.
9630 * localedata/locales/tn_ZA: Likewise.
9631 * localedata/locales/to_TO: Likewise.
9632 * localedata/locales/tpi_PG: Likewise.
9633 * localedata/locales/tr_CY: Likewise.
9634 * localedata/locales/tr_TR: Likewise.
9635 * localedata/locales/ts_ZA: Likewise.
9636 * localedata/locales/tt_RU: Likewise.
9637 * localedata/locales/tt_RU@iqtelif: Likewise.
9638 * localedata/locales/ug_CN: Likewise.
9639 * localedata/locales/uk_UA: Likewise.
9640 * localedata/locales/unm_US: Likewise.
9641 * localedata/locales/ur_IN: Likewise.
9642 * localedata/locales/ur_PK: Likewise.
9643 * localedata/locales/uz_UZ: Likewise.
9644 * localedata/locales/uz_UZ@cyrillic: Likewise.
9645 * localedata/locales/ve_ZA: Likewise.
9646 * localedata/locales/vi_VN: Likewise.
9647 * localedata/locales/wa_BE: Likewise.
9648 * localedata/locales/wae_CH: Likewise.
9649 * localedata/locales/wal_ET: Likewise.
9650 * localedata/locales/wo_SN: Likewise.
9651 * localedata/locales/xh_ZA: Likewise.
9652 * localedata/locales/yi_US: Likewise.
9653 * localedata/locales/yo_NG: Likewise.
9654 * localedata/locales/yue_HK: Likewise.
9655 * localedata/locales/yuw_PG: Likewise.
9656 * localedata/locales/zh_CN: Likewise.
9657 * localedata/locales/zh_HK: Likewise.
9658 * localedata/locales/zh_SG: Likewise.
9659 * localedata/locales/zh_TW: Likewise.
9660 * localedata/locales/zu_ZA: Likewise.
9662 2017-11-13 Florian Weimer <fweimer@redhat.com>
9664 * support/next_to_fault.h, support/next_to_fault.c: New files.
9665 * support/Makefile (libsupport-routines): Add next_to_fault.
9666 * resolv/tst-inet_pton.c (struct next_to_fault)
9667 (next_to_fault_allocate, next_to_fault_free): Remove.
9668 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
9670 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
9672 * elf/dl-support.c: Include <dl-procruntime.c>.
9673 * include/link.h: Include <link_map.h>.
9674 * sysdeps/generic/dl-procruntime.c: New file.
9675 * sysdeps/generic/link_map.h: Likewise.
9676 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
9677 the writable ld.so namespace.
9679 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
9681 timezone: pacify GCC -Wstringop-truncation
9682 Problem reported by Martin Sebor in:
9683 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
9684 * timezone/zic.c (writezone): Use memcpy, not strncpy.
9686 2017-11-12 Florian Weimer <fweimer@redhat.com>
9688 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
9690 (tests): Add tst-xreadlink.
9691 * support/support.h (xstrndup): Declare.
9692 * support/xunistd.h (xunlink, xreadlink): Declare.
9693 * support/temp_file.h (support_create_temp_directory): Declare.
9694 * support/temp_file.c (support_create_temp_directory): New function.
9695 * support/support_chroot.c (support_chroot_create): Use it.
9696 * support/xreadlink.c: New file.
9697 * support/xstrndup.c: Likewise.
9698 * support/xunlink.c: Likewise.
9699 * support/tst-xreadlink.c: Likewise.
9701 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
9703 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
9705 2017-11-11 Florian Weimer <fweimer@redhat.com>
9709 * resolv/res_comp.c (printable_string, binary_hnok)
9710 (binary_leading_dash): New functions.
9711 (res_hnok): Reimplement using these functions and ns_name_pton.
9712 (res_ownok): Likewise.
9713 (res_mailok): Reimplement using printable_string, ns_name_pton and
9715 (res_dnok): Reimplement using printable_string and ns_name_pton.
9716 * resolv/tst-res_hnok.c (tests): Add additional tests.
9717 (LETTERDIGITS, PRINTABLE): Define.
9718 (do_test): Adjust one_char results.
9720 2017-11-11 Florian Weimer <fweimer@redhat.com>
9723 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
9724 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
9726 2017-11-11 Florian Weimer <fweimer@redhat.com>
9728 * resolv/tst-ns_name_pton.c: New file.
9729 * resolv/Makefile (tests): Add tst-ns_name_pton.
9730 (tst-ns_name_pton): Link against libresolv.
9732 2017-11-11 Florian Weimer <fweimer@redhat.com>
9734 * resolv/tst-res_hnok.c: New file.
9735 * resolv/Makefile (tests): Add tst-res_hnok.
9736 (tst-res_hnok): Link against libresolv.
9738 2017-11-11 Florian Weimer <fweimer@redhat.com>
9740 * resolv/tst-resolv-network.c: Use test framework instead explicit
9743 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
9745 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
9747 [!_ISOMAC] (STR_HELPER): New.
9748 [!_ISOMAC] (STR): Likewise.
9749 [!_ISOMAC] (TEST_SIZE): Likewise.
9750 [!_ISOMAC] (TEST_ALIGN): Likewise.
9751 [!_ISOMAC] (TEST_OFFSET): Likewise.
9752 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
9753 field offsets of jmp_buf as well as sigjmp_buf.
9754 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
9755 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
9756 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
9757 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
9758 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
9759 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
9760 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
9761 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
9762 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
9763 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
9765 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
9767 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
9772 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
9773 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
9774 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
9775 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
9776 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
9777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
9779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
9781 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
9782 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
9783 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
9785 2017-11-07 Joseph Myers <joseph@codesourcery.com>
9788 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9789 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
9790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9791 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
9792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9793 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
9794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9795 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
9796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9797 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
9798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9799 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
9800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9801 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
9802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9803 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
9804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9805 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
9806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9807 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
9808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9809 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
9810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9811 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
9812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9813 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
9814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9815 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
9816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9817 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
9818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9819 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
9820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9821 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
9822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9823 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
9824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9825 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
9826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9827 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
9828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9829 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
9830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9831 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
9832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9833 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
9834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9835 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
9836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9837 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
9838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9839 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
9840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9841 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
9842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9843 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
9844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9845 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
9846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9847 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
9848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9849 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
9850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9851 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
9852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9853 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
9854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9855 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
9856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9857 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
9858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9859 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
9860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9861 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
9862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9863 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
9864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9865 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
9866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9867 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
9868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9869 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
9870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9871 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
9872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9873 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
9874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
9875 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
9877 * stdlib/tst-strtod.h (F16): New macro.
9883 (IF_FLOAT16): Likewise.
9884 (IF_FLOAT32): Likewise.
9885 (IF_FLOAT64): Likewise.
9886 (IF_FLOAT32X): Likewise.
9887 (IF_FLOAT64X): Likewise.
9888 (IF_FLOAT128X): Likewise.
9889 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
9890 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
9891 (STRTOD_TEST_FOREACH): Likewise.
9892 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
9893 (CHOOSE_f64): Likewise.
9894 (CHOOSE_f32x): Likewise.
9895 (CHOOSE_f64x): Likewise.
9897 2017-11-07 Andreas Schwab <schwab@suse.de>
9899 * nptl/Makefile (tests-internal): Remove tst-typesizes.
9901 2017-11-07 Mike FABIAN <mfabian@redhat.com>
9904 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
9906 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
9909 2017-11-07 Claude Paroz <claude@2xlibre.net>
9912 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
9914 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
9916 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
9919 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9922 * nptl/allocatestack.c (allocate_stack): Check if
9923 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
9924 __PTHREAD_MUTEX_HAVE_PREV is defined.
9925 * nptl/descr.h (pthread): Likewise.
9926 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9928 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9929 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9930 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
9931 * sysdeps/nptl/bits/thread-shared-types.h
9932 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
9934 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
9935 of __WORDSIZE for internal layout.
9936 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
9937 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
9938 instead of __WORDSIZE whether to use an union for __spins and __list
9940 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
9942 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
9943 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
9945 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
9946 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9948 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
9949 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9951 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
9952 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9954 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
9955 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9957 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
9958 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9960 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
9961 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9963 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
9964 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9966 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
9967 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9969 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
9970 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9972 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
9973 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9975 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
9976 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9978 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
9979 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9981 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
9982 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9984 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
9985 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
9988 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
9990 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
9991 checks for expected input type size.
9992 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9993 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9995 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9996 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
9997 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9998 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
9999 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10000 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
10001 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
10002 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
10003 superflous runtime assert check.
10004 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
10006 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
10008 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10010 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
10012 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
10014 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
10016 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
10017 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
10018 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10020 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10022 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10024 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
10026 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10028 * nptl/pthread_attr_setinheritsched.c
10029 (__pthread_attr_setinheritsched): Likewise.
10030 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
10032 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
10034 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
10035 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
10036 __old_pthread_attr_setstack): Likewise.
10037 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10039 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10041 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
10043 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10044 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10046 * nptl/tst-typesizes.c: Remove file.
10048 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
10049 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
10050 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
10051 checks for internal pthread_mutex_t offsets.
10052 * sysdeps/aarch64/nptl/pthread-offsets.h
10053 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
10054 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
10055 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
10056 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
10057 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
10058 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
10059 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
10060 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
10061 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
10062 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
10063 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
10064 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
10065 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
10066 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
10067 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
10068 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
10069 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
10070 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
10072 2017-11-07 Florian Weimer <fweimer@redhat.com>
10074 * bits/mman-linux.h: Move ...
10075 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
10077 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
10080 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10082 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
10083 Redefine STRNLEN as __strnlen_power8.
10085 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10087 * signal/sighold.c (sighold): Optimize implementation.
10089 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
10090 __NR_rt_sigqueueinfo.
10092 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
10094 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
10095 assume __NR_rt_sigtimedwait.
10096 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
10097 and add LIBC_CANCEL_HANDLED for cancellation marking.
10098 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10100 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
10101 (sysdeps_routines): Add memchr_noneon.
10102 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
10103 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
10104 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
10105 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
10106 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
10107 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
10108 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
10110 * sysdeps/arm/arm-ifunc.h: New file.
10111 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
10112 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
10113 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
10114 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
10115 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
10116 (__memcpy_neon): Avoid create hidden alias.
10117 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
10118 (__memcpy_vfp): Likewise.
10119 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
10120 (sysdep_routines): Add memcpy_arm.
10121 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
10123 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
10126 * Makerules (make-link-multidir): New.
10127 * config.make.in (multidir): New.
10128 * configure.ac (libc_cv_multidir): New. AC_SUBST.
10129 * configure: Regenerated.
10130 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
10131 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
10132 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
10135 2017-11-06 Joseph Myers <joseph@codesourcery.com>
10138 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
10139 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
10141 2017-11-04 Mike FABIAN <mfabian@redhat.com>
10143 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
10146 2017-11-04 Florian Weimer <fweimer@redhat.com>
10148 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
10150 2017-11-03 Joseph Myers <joseph@codesourcery.com>
10152 * math/math.h [__HAVE_DISTINCT_FLOAT16
10153 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
10154 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
10155 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
10156 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
10157 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
10158 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
10159 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
10160 (__MATH_TG_F32): New macro.
10161 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
10162 (__MATH_TG_F64X): Likewise.
10163 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
10164 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
10166 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
10168 * po/de.po: Update translations.
10169 * po/ru.po: Likewise.
10171 2017-11-03 Florian Weimer <fweimer@redhat.com>
10173 * manual/filesys.texi (Hard Links): Document linkat.
10175 2017-11-03 Joseph Myers <joseph@codesourcery.com>
10177 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
10178 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
10179 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
10180 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
10181 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
10182 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
10183 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
10184 the same as _Float128.
10185 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
10186 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
10187 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
10190 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
10192 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
10194 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
10196 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10197 (strtof32x): Likewise.
10198 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10199 (strtof64x): Likewise.
10200 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10201 (strtof128x): Likewise.
10202 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10203 (strfromf16): Likewise.
10204 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10205 (strfromf32): Likewise.
10206 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10207 (strfromf64): Likewise.
10208 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10209 (strfromf32x): Likewise.
10210 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10211 (strfromf64x): Likewise.
10212 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10213 (strfromf128x): Likewise.
10214 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
10215 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
10216 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
10217 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
10218 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
10219 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
10221 2017-11-03 Richard Henderson <rth@twiddle.net>
10223 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
10225 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10227 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
10229 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10231 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
10232 DT_TLSDESC_GOT initialization.
10233 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
10234 (_dl_tlsdesc_resolve_hold): Likewise.
10235 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
10236 (_dl_tlsdesc_resolve_hold): Likewise.
10237 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
10238 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
10240 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10242 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
10244 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10247 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
10248 non-lazily for R_ARM_TLS_DESC.
10250 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10253 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
10254 R_ARM_TLS_DESC case.
10255 (elf_machine_lazy_rel): Remove the prelink check.
10257 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10259 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
10260 DT_TLSDESC_GOT initialization.
10261 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
10262 (_dl_tlsdesc_resolve_rela): Likewise.
10263 (_dl_tlsdesc_resolve_hold): Likewise.
10264 (_dl_tlsdesc_undefweak): Remove ldar.
10265 (_dl_tlsdesc_dynamic): Likewise.
10266 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
10267 (_dl_tlsdesc_resolve_rela): Likewise.
10268 (_dl_tlsdesc_resolve_hold): Likewise.
10269 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
10270 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
10271 (_dl_tlsdesc_resolve_rela): Likewise.
10272 (_dl_tlsdesc_resolve_hold): Likewise.
10274 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10276 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
10277 binding and initialization non-lazily for R_AARCH64_TLSDESC.
10279 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10281 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
10282 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10284 2017-11-02 Joseph Myers <joseph@codesourcery.com>
10286 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
10288 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
10289 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
10290 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
10291 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
10292 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
10293 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
10294 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
10295 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
10296 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
10297 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
10298 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
10300 2017-11-02 Mike FABIAN <mfabian@redhat.com>
10303 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
10304 * localedata/locales/tpi_PG: Add standard header.
10306 2017-11-02 Florian Weimer <fweimer@redhat.com>
10308 test-errno-linux: quotactl can fail with EPERM in containers.
10309 * sysdeps/unix/sysv/linux/test-errno-linux.c
10310 (LIST, LIST_FORWARD): New macros.
10311 (check_error_in_list): New function.
10312 (test_wrp_rv): Accept list of permitted error codes.
10313 (test_wrp_rv2): Remove.
10314 (test_wrp): Call test_wrp_rv with list of error codes.
10315 (test_wrp2): Accept list of error codes.
10316 (do_test): Adjust. Allow EPERM for quotactl.
10318 2017-11-02 Florian Weimer <fweimer@redhat.com>
10320 * stdio-common/bug16.c (do_test): Use array_length.
10321 * stdio-common/errlist.c (_sys_nerr): Likewise.
10322 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
10323 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
10324 * stdio-common/psiginfo.c (psiginfo): Use array_length.
10325 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
10326 (do_test): Use array_length.
10327 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
10328 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
10329 * stdio-common/tst-printf-round.c (do_test): Likewise.
10330 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
10331 (CHECK): Use array_length.
10332 * stdio-common/tstdiomisc.c (t3, F): Likewise.
10333 * stdio-common/tstscanf.c (main): Likewise.
10334 * stdio-common/vfprintf.c (process_string_arg): Likewise.
10336 2017-11-02 Florian Weimer <fweimer@redhat.com>
10338 Add array_length and array_end macros.
10339 * include/array_length.h: New file.
10341 2017-11-02 Florian Weimer <fweimer@redhat.com>
10344 * posix/tst-glob-tilde.c (do_noescape): New variable.
10345 (one_test): Process it.
10346 (do_test): Set do_noescape. Add unescaping test case.
10348 2017-11-01 Joseph Myers <joseph@codesourcery.com>
10351 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
10352 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
10353 with appropriate macros defined and undefined.
10354 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
10355 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10356 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
10357 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10358 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
10359 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10360 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
10361 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10362 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
10363 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
10366 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
10367 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
10368 that for long double. Do not condition define and undefine of
10369 _Mdouble_complex_ on [__CFLOAT128].
10371 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
10373 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
10374 of <sysdeps/generic/sysdep.h>.
10375 (ALIGNARG): Removed.
10376 (ASM_SIZE_DIRECTIVE): Likewise.
10379 (ENTRY_CHK): Likewise.
10380 (END_CHK): Likewise.
10381 (syscall_error): Likewise.
10382 (mcount): Likewise.
10383 (PSEUDO_END): Likewise.
10385 (atom_text_section): Likewise.
10386 * sysdeps/x86/sysdep.h: New file.
10387 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
10388 of <sysdeps/generic/sysdep.h>.
10389 (ALIGNARG): Removed.
10390 (ASM_SIZE_DIRECTIVE): Likewise.
10393 (ENTRY_CHK): Likewise.
10394 (END_CHK): Likewise.
10395 (syscall_error): Likewise.
10396 (mcount): Likewise.
10397 (PSEUDO_END): Likewise.
10399 (atom_text_section): Likewise.
10401 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
10403 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
10404 category of LC_CTYPE set to "i18n:2012".
10405 * localedata/locales/i18n_ctype: Regenerate.
10407 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
10409 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
10410 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10411 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10412 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10414 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
10415 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
10416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
10417 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
10419 2017-10-31 Joseph Myers <joseph@codesourcery.com>
10422 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
10424 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
10426 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
10428 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10429 (CMPLXF32X): Likewise.
10430 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10431 (CMPLXF64X): Likewise.
10432 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10433 (CMPLXF128X): Likewise.
10436 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
10437 (__MATH_EVAL_FMT2): Define to add 0.0f.
10439 2017-10-31 Alan Modra <amodra@gmail.com>
10441 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
10443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
10444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
10445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
10448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
10449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
10450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
10451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
10452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
10453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
10456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
10457 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
10458 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
10459 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
10460 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
10461 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
10462 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
10463 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
10464 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
10465 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
10466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
10467 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10468 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
10469 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
10470 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
10471 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
10472 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
10473 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10474 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10475 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
10476 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
10477 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
10478 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
10479 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
10480 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
10481 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
10482 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10483 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
10484 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
10485 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
10486 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
10487 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
10488 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
10489 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
10490 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
10491 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
10492 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10493 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
10494 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
10495 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
10496 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
10497 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10498 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
10499 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
10500 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
10501 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
10502 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
10503 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10504 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
10505 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
10506 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10507 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
10508 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
10509 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
10510 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
10511 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
10513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
10514 include sysdep.h and math_ldbl_opt.h.
10516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
10517 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
10518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
10519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
10520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
10521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
10522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
10523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
10524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
10525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
10526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
10527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
10528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
10529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
10530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
10531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
10532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
10533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
10534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
10535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
10536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
10537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
10538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
10539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
10540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
10541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
10543 2017-10-31 Alan Modra <amodra@gmail.com>
10545 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
10546 string/strncase_l.c, not string/strncase.c.
10547 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
10548 (libc_hidden_def): Redefine.
10550 2017-10-31 Alan Modra <amodra@gmail.com>
10552 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
10553 (__STRCMP, STRCMP, __strcasecmp_l): Define.
10554 (__strcasecmp): Don't define.
10556 2017-10-31 Alan Modra <amodra@gmail.com>
10558 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
10560 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
10561 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
10562 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
10564 2017-10-31 Alan Modra <amodra@gmail.com>
10566 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
10569 2017-10-31 Alan Modra <amodra@gmail.com>
10571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
10572 Redefine only when SHARED.
10574 2017-10-30 Joseph Myers <joseph@codesourcery.com>
10576 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
10577 Include <bits/math-finite.h> with appropriate macros defined and
10579 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
10580 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
10581 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
10582 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
10583 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
10585 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
10586 [!_Mlong_double_] (_Mlong_double_): Likewise.
10587 [!_Mfloat16_] (_Mfloat16_): Likewise.
10588 [!_Mfloat32_] (_Mfloat32_): Likewise.
10589 [!_Mfloat64_] (_Mfloat64_): Likewise.
10590 [!_Mfloat128_] (_Mfloat128_): Likewise.
10591 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
10592 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
10593 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
10594 (_Mdouble_): Define without indirection through those macros.
10595 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
10596 [!_Mfloat128_] (_Mfloat128_): Likewise.
10597 [_Mlong_double_] (_Mlong_double_): Likewise.
10598 (_Mdouble_): Define without indirection through those macros.
10599 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
10600 not add -D_Mlong_double_=double.
10601 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
10602 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
10604 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
10606 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
10608 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
10610 * sysdeps/x86/libc-start.c: Reformat.
10612 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
10615 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
10616 (1): Renamed to ...
10619 (L(Src2)): Likewise.
10620 (L(1)): Renamed to ...
10623 2017-10-30 Joseph Myers <joseph@codesourcery.com>
10625 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
10626 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
10627 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
10628 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
10629 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
10630 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
10631 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
10632 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
10633 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
10634 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
10635 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
10636 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
10637 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
10638 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
10639 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
10640 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
10641 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
10642 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
10643 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
10644 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
10645 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
10646 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
10647 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
10648 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
10649 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
10650 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
10651 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
10652 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
10653 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
10654 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
10655 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
10656 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
10657 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
10658 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
10659 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
10660 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
10661 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
10662 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
10663 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
10664 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
10665 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
10666 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
10667 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
10668 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
10669 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
10670 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
10671 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
10672 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
10673 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
10674 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
10675 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
10676 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
10677 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
10678 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
10679 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
10680 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
10681 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
10682 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
10683 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
10684 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
10685 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
10686 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
10687 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
10688 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
10689 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
10690 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
10692 2017-10-30 Florian Weimer <fweimer@redhat.com>
10694 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
10696 * io/tst-mkdirat.c (do_test): Likewise.
10697 * io/tst-mkfifoat.c (do_test): Likewise.
10698 * io/tst-mknodat.c (do_test): Likewise.
10699 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
10700 * locale/programs/locale.c (select_dirs): Likewise.
10701 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
10702 * posix/bug-glob2.c (my_readdir): Likewise.
10703 * posix/tst-dir.c (main): Likewise.
10704 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
10705 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
10707 2017-10-30 Florian Weimer <fweimer@redhat.com>
10709 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
10712 2017-10-30 Florian Weimer <fweimer@redhat.com>
10714 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
10715 Convert to support/test-driver.c.
10716 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
10717 New macro parameters.
10718 (PRINTF): Remove macro. Use test_verbose conditionals instead.
10719 * posix/tst-gnuglob.c: New file.
10720 * posix/tst-gnuglob64.c: Likewise.
10721 * posix/Makefile (tests): Add tst-gnuglob64.
10723 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
10726 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
10727 and use a better translation for March in “mon”.
10728 * localedata/locales/csb_PL: Use more ASCII to improve the
10729 readability of the source.
10731 2017-10-30 Mike FABIAN <mfabian@redhat.com>
10734 * localedata/locales/km_KH: Use ASCII as much
10735 as possible for better readability of the source and
10736 remove useless comments.
10737 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
10738 was commented out and apparently wrong anyway because it was
10739 using Lao characters. If Buddhist era should be used
10740 for km_KH, a native speaker should write the correct formaat
10742 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
10743 (According to CLDR, the first weekday for Cambodia is Sunday).
10744 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
10745 (These were using Lao characters which must be wrong. If we get
10746 the correct data from a native speaker, we could add it back, until
10747 then it is better not to have name_mr and name_mrs at all than
10750 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
10752 * locale/loadlocale.c: Correct size of
10753 _nl_value_type_LC_<category> arrays.
10755 2017-10-27 Joseph Myers <joseph@codesourcery.com>
10757 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
10758 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
10759 with appropriate macros defined and undefined.
10760 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
10761 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
10762 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
10763 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
10764 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
10766 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
10768 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
10771 2017-10-27 Mike FABIAN <mfabian@redhat.com>
10773 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
10774 with lowercase letters to make it agree with CLDR.
10776 2017-10-27 Mike FABIAN <mfabian@redhat.com>
10779 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
10780 first letters of yesstr and nostr in yesexpr and noexpr,
10781 not for the full words.
10782 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
10783 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
10784 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
10785 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
10786 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
10787 first letters of yesstr and nostr in yesexpr and noexpr,
10788 until now only English was matched in yesexpr and noexpr.
10789 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
10790 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
10791 fil but not for tl. As tl and fil are very similar, using fil
10792 is probably better than using English.
10794 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
10797 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
10798 in yesstr and nostr.
10800 2017-10-26 Joseph Myers <joseph@codesourcery.com>
10802 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
10803 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
10804 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
10806 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
10808 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
10810 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
10812 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10813 (SNANF128X): Likewise.
10815 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
10816 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
10817 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10818 (HUGE_VAL_F32): Likewise.
10819 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10820 (HUGE_VAL_F64): Likewise.
10821 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10822 (HUGE_VAL_F32X): Likewise.
10823 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10824 (HUGE_VAL_F64X): Likewise.
10825 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10826 (HUGE_VAL_F128X): Likewise.
10828 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
10830 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
10831 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
10832 for the br_FR locale.
10834 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
10837 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
10839 2017-10-25 Carlos O'Donell <carlos@redhat.com>
10841 * locale/programs/record-status.h: Define globals, and function
10842 prototypes. Move function bodies...
10843 * locale/programs/record-status.c: ... to here. New file.
10844 * iconv/Makefile (iconv_prog-modules): Add record-status.
10845 * locale/Makefile (lib-modules): Likewise.
10846 * iconv/iconv_prog.c: Remove verbose.
10847 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
10848 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
10849 record a warning about ASCII compatibility.
10850 * locale/programs/ld-monetary.c (monetary_finish): If
10851 warn_int_curr_symbol is true then record a warning about the symbol
10852 not being in our ISO 4217 list.
10853 * locale/programs/locale.c: Include record-status.h. Remove verbose.
10854 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
10855 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
10856 (OPT_NO_WARN): Define.
10857 (OPT_WARN): Define.
10858 (options): Add entry for --no-warnings, and --warnings.
10859 (set_warnings): New function to enable/disable warnings.
10860 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
10861 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
10862 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
10863 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
10864 Pass flags to generate_locale.
10865 (generate_locale): Accept new flag argument and pass it to localedef
10867 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
10868 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
10870 * localedata/Makefile (test-input-data): Use full file name.
10871 * localedata/da_DK.in: Rename to...
10872 * localedata/da_DK.ISO-8859-1.in: ...this.
10873 * localedata/de_DE.in: Rename to...
10874 * localedata/de_DE.ISO-8859-1.in: ...this.
10875 * localedata/en_US.in: Rename to...
10876 * localedata/en_US.ISO-8859-1.in: ...this.
10877 * localedata/fr_FR.in: Rename to...
10878 * localedata/fr_FR.UTF-8.in: ... this.
10879 * localedata/hr_HR.in: Rename to...
10880 * localedata/hr_HR.ISO-8859-2.in: ...this.
10881 * localedata/hu_HU.in: Rename to...
10882 * localedata/hu_HU.UTF-8.in: ...this.
10883 * localedata/si_LK.in: Rename to...
10884 * localedata/si_LK.UTF-8.in: ...this.
10885 * localedata/sv_SE.in: Rename to...
10886 * localedata/sv_SE.ISO-8859-1.in: ...this.
10887 * localedata/tr_TR.in: Rename to...
10888 * localedata/tr_TR.UTF-8.in: ...this.
10889 * localedata/uk_UA.in: Rename to...
10890 * localedata/uk_UA.UTF-8.in: ...this.
10891 * localedata/sort-test.sh: Test file is locale name with the
10894 * localedata/unicode-gen/Makefile (check_i18n): Rename to
10895 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
10897 * localedata/locales/i18n_ctype: Regenerate.
10898 * localedata/locales/tr_TR: Likewise.
10899 * localedata/locales/translit_circle: Likewise.
10900 * localedata/locales/translit_cjk_compat: Likewise.
10901 * localedata/locales/translit_combining: Likewise.
10902 * localedata/locales/translit_compat: Likewise.
10903 * localedata/locales/translit_font: Likewise.
10904 * localedata/locales/translit_fraction: Likewise.
10906 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10908 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
10909 lxvd2x/stxvd2x with lvx/stvx.
10910 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
10912 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
10914 * include/alloc_buffer.h: Replace "if if " with "if " in
10916 * sysdeps/mips/memcpy.S: Likkewise.
10917 * sysdeps/mips/memset.S: Likewise.
10918 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10920 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
10922 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
10925 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10928 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
10929 yesexpr and noexpr.
10930 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
10931 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
10932 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
10933 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
10934 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
10935 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
10936 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
10938 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10940 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
10941 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
10942 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
10943 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
10944 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
10945 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
10946 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
10947 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
10948 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
10949 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
10950 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
10951 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
10953 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10955 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
10956 as possible for better readability of the source.
10957 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
10958 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
10959 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
10960 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
10961 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
10962 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
10963 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
10964 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
10965 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
10966 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
10967 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
10968 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
10969 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
10970 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
10971 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
10972 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
10973 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
10974 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
10975 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
10976 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
10977 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
10978 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
10979 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
10980 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
10981 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
10982 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
10983 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
10984 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
10985 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
10986 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
10987 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
10988 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
10989 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
10990 * localedata/locales/en_US (LC_MESSAGES): Likewise.
10991 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
10992 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
10993 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
10994 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
10995 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
10996 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
10997 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
10998 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
10999 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
11000 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
11001 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
11002 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
11003 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
11004 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
11005 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
11006 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
11007 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
11008 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
11009 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
11010 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
11011 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
11012 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
11013 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
11014 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
11015 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
11016 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
11017 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
11018 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
11019 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
11020 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
11021 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
11022 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
11023 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
11024 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
11025 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
11026 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
11027 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
11028 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
11029 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
11030 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
11031 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
11032 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
11033 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
11034 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
11035 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
11036 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
11037 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
11038 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
11039 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
11040 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
11041 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
11042 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
11043 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
11044 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
11045 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
11046 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
11047 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
11048 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
11049 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
11050 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
11051 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
11052 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
11053 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
11054 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
11055 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
11056 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
11057 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
11058 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
11059 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
11060 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
11061 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
11062 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
11063 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
11064 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
11065 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
11066 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
11067 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
11068 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
11069 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
11070 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
11071 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
11072 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
11073 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
11074 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
11075 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
11076 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
11077 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
11078 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
11079 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
11080 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
11081 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
11082 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
11083 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
11084 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
11085 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
11086 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
11087 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
11088 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
11089 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
11090 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
11091 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
11092 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
11093 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
11094 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
11095 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
11096 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
11097 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
11098 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
11099 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
11100 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
11101 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
11102 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
11103 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
11104 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
11105 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
11106 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
11107 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
11108 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
11109 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
11110 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
11111 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
11112 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
11113 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
11114 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
11115 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
11116 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
11117 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
11118 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
11119 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
11120 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
11121 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
11122 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
11123 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
11124 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
11125 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
11126 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
11127 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
11128 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
11129 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
11130 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
11132 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11134 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
11135 (Use first letters of yesstr and nostr correctly instead of using
11138 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11140 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
11141 (Use first letters of yesstr and nostr correctly).
11143 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11145 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
11146 also check for the first characters of yesstr and nostr.
11147 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
11148 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
11150 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11152 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
11153 also check for Chinese characters.
11155 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11157 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
11158 match also for the contents of yesstr and nostr. As the first letter
11159 of yesstr and nostr is equal, checking only for the first letter
11162 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11164 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
11165 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
11167 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11169 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
11170 of main contributor.
11172 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11174 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
11175 instead of using English.
11177 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11179 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
11180 by including the first letters of nostr and yesexpr in the regexp.
11181 Also make it more readable by using ASCII where possible.
11183 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11185 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
11186 the first letter of nostr in the regexp. It agrees with CLDR now.
11187 Also make it more readable by using ASCII where possible.
11189 2017-10-24 Mike FABIAN <mfabian@redhat.com>
11191 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
11192 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
11193 these strings contain a U+17D6 (which somewhat looks like a colon)
11194 instead of a real colon to separate the full words for “yes”
11195 and “no” from the single letter responses.
11197 2017-10-24 Mike FABIAN <mfabian@redhat.com>
11199 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
11200 it agree with CLDR (include the first letter of yesstr).
11201 Also make it more readable by using ASCII where possible.
11203 2017-10-24 Mike FABIAN <mfabian@redhat.com>
11205 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
11206 and improve yesexpr and noexpr. The yesstr and nostr apparently
11207 came from CLDR. And CLDR has a bug there: these strings contain
11208 a U+0903 (which looks like a colon) instead of a real colon
11209 to separate the full words for “yes” and “no” from the single
11212 2017-10-24 Mike FABIAN <mfabian@redhat.com>
11214 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
11215 letters of the full yesstr and nostr in yesexpr and noexpr.
11217 2017-10-24 Mike FABIAN <mfabian@redhat.com>
11219 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
11220 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
11221 * localedata/locales/an_ES: Make source more readable by using ASCII
11224 2017-10-24 Mike FABIAN <mfabian@redhat.com>
11227 * localedata/locales/yuw_PG: New file.
11228 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
11229 * locale/iso-639.def: Add Yau (Uruwa).
11231 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11233 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
11235 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11237 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
11238 (__libc_realloc): Likewise.
11239 (_mid_memalign): Likewise.
11240 (__libc_calloc): Likewise.
11242 2017-10-23 Mike FABIAN <mfabian@redhat.com>
11244 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
11245 by adding the generic +1 and -0 as in all other locales.
11246 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
11247 day names and make it more readable by using ASCII where possible.
11249 2017-10-24 Joseph Myers <joseph@codesourcery.com>
11251 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
11252 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
11254 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11256 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
11257 WNOHANG in waitpid call.
11259 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
11261 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
11262 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
11264 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
11265 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
11266 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
11267 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
11268 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
11269 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
11270 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
11271 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
11274 2017-10-23 Michael Collison <michael.collison@arm.com>
11276 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
11277 with __builtin_sqrt.
11278 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
11279 with __builtin_sqrtf.
11280 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
11281 with __builtin_ceil.
11282 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
11283 with __builtin_ceilf.
11284 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
11285 with __builtin_floor.
11286 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
11287 with __builtin_floorf.
11288 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
11289 with __builtin_fma.
11290 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
11291 with __builtin_fmaf.
11292 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
11293 with __builtin_fmax.
11294 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
11295 with __builtin_fmaxf.
11296 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
11297 with __builtin_fmin.
11298 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
11299 with __builtin_fminf.
11300 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
11301 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
11302 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
11303 with builtin_rint and conversion to int.
11304 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
11305 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
11306 with builtin_llround.
11307 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
11308 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
11309 with builtin_rint and conversion to long int.
11310 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
11311 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
11312 with builtin_lround.
11313 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
11314 with builtin_lroundf.
11315 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
11316 statements with __builtin_nearbyint.
11317 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
11318 statements with __builtin_nearbyintf.
11319 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
11320 with __builtin_rint.
11321 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
11322 with __builtin_rintf.
11323 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
11324 with __builtin_round.
11325 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
11326 with __builtin_roundf.
11327 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
11328 with __builtin_trunc.
11329 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
11330 with __builtin_truncf.
11331 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
11332 and s_l[l]round[f].c too.
11334 2017-10-23 Alan Modra <amodra@gmail.com>
11336 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
11337 Adjust stack after restoring regs. Add missing LR cfi_restore.
11339 2017-10-23 Alan Modra <amodra@gmail.com>
11341 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
11342 Move LR save and frame setup/teardown and LR restore to
11343 immediately around memset call. Provide cfi.
11345 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11347 * sysdeps/i386/fpu/e_powf.S: Removed.
11348 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
11349 * sysdeps/i386/fpu/w_powf.c: Likewise.
11350 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
11351 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11352 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11354 (CFLAGS-e_powf-sse2.c): New.
11355 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
11356 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
11358 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11360 * sysdeps/i386/fpu/e_log2f.S: Removed.
11361 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
11362 * sysdeps/i386/fpu/w_log2f.c: Likewise.
11363 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
11364 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11365 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11367 (CFLAGS-e_log2f-sse2.c): New.
11368 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
11369 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
11371 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11373 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11375 (CFLAGS-e_powf-fma.c): New.
11376 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
11377 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
11379 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11381 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11383 (CFLAGS-e_log2f-fma.c): New.
11384 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
11385 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
11387 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11389 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11391 (CFLAGS-e_logf-fma.c): New.
11392 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
11393 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
11395 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11397 * sysdeps/i386/fpu/e_logf.S: Removed.
11398 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
11399 * sysdeps/i386/fpu/w_logf.c: Likewise.
11400 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
11401 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
11402 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11403 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11405 (CFLAGS-e_logf-sse2.c): New.
11406 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
11407 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
11409 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11411 * sysdeps/i386/fpu/e_exp2f.S: Removed.
11412 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
11413 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
11414 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11415 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11417 (CFLAGS-e_exp2f-sse2.c): New.
11418 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
11419 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
11421 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11423 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11425 (CFLAGS-e_exp2f-fma.c): New.
11426 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
11427 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
11429 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11431 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
11432 * sysdeps/i386/fpu/e_expf.S: Likewise.
11433 * sysdeps/i386/fpu/math_errf.c: Likewise.
11434 * sysdeps/i386/fpu/w_expf.c: Likewise.
11435 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
11436 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11437 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
11438 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
11439 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11440 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
11441 Remove e_expf-ia32.
11442 (CFLAGS-e_expf-sse2.c): New.
11443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
11444 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
11446 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
11448 * sysdeps/x86_64/fpu/e_expf.S: Removed.
11449 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
11450 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
11451 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
11453 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
11455 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
11456 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
11458 (__redirect_expf): This.
11459 (SYMBOL_NAME): Changed to expf.
11460 (__ieee754_expf): Renamed to ...
11462 (__GI___expf): This.
11463 (__ieee754_expf): Add strong_alias.
11464 (__expf_finite): Likewise.
11466 Include <sysdeps/ieee754/flt-32/e_expf.c>.
11468 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
11471 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
11474 2017-10-21 Florian Weimer <fweimer@redhat.com>
11476 * posix/Makefile (tests): Add tst-glob-tilde.
11477 (tests-special): Add tst-glob-tilde-mem.out
11478 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
11479 (tst-glob-tilde-mem.out): Add mtrace check.
11480 * posix/tst-glob-tilde.c: New file.
11482 2017-10-20 Joseph Myers <joseph@codesourcery.com>
11484 * bits/floatn-common.h: New file.
11485 * math/Makefile (headers): Add bits/floatn-common.h.
11486 * bits/floatn.h: Include <bits/floatn-common.h>.
11487 * sysdeps/ia64/bits/floatn.h: Likewise.
11488 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
11489 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
11490 * sysdeps/powerpc/bits/floatn.h: Likewise.
11491 * sysdeps/x86/bits/floatn.h: Likewise.
11493 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11495 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
11496 indicates whether compiler emits an warning for alias for
11497 functions with incompatible types.
11500 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
11501 the auxiliary process is terminated by a signal before calling _exit
11504 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
11507 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
11509 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
11510 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
11511 and bit_arch_XSAVEC_Usable if needed.
11512 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
11513 and bit_arch_Use_dl_runtime_resolve_opt.
11514 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11516 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11517 (bit_arch_Prefer_No_AVX512): Updated.
11518 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
11519 (bit_arch_XSAVEC_Usable): New.
11520 (STATE_SAVE_OFFSET): Likewise.
11521 (STATE_SAVE_MASK): Likewise.
11522 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
11523 (cpu_features): Add xsave_state_size and xsave_state_full_size.
11524 (index_arch_Use_dl_runtime_resolve_opt): Removed.
11525 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11526 (index_arch_XSAVEC_Usable): New.
11527 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11528 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
11529 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
11531 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
11532 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
11533 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
11534 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
11535 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
11536 _dl_runtime_resolve_xsavec.
11537 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
11539 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
11540 instead of VEC_SIZE.
11541 (REGISTER_SAVE_BND0): Removed.
11542 (REGISTER_SAVE_BND1): Likewise.
11543 (REGISTER_SAVE_BND3): Likewise.
11544 (REGISTER_SAVE_RAX): Always defined to 0.
11546 (_dl_runtime_resolve_avx): Likewise.
11547 (_dl_runtime_resolve_avx_slow): Likewise.
11548 (_dl_runtime_resolve_avx_opt): Likewise.
11549 (_dl_runtime_resolve_avx512): Likewise.
11550 (_dl_runtime_resolve_avx512_opt): Likewise.
11551 (_dl_runtime_resolve_sse): Likewise.
11552 (_dl_runtime_resolve_sse_vex): Likewise.
11554 (_dl_runtime_resolve_fxsave): Likewise.
11555 (USE_XSAVE): Likewise.
11556 (_dl_runtime_resolve_xsave): Likewise.
11557 (USE_XSAVEC): Likewise.
11558 (_dl_runtime_resolve_xsavec): Likewise.
11559 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
11561 (_dl_runtime_resolve_avx512_opt): Likewise.
11562 (_dl_runtime_resolve_avx): Likewise.
11563 (_dl_runtime_resolve_avx_opt): Likewise.
11564 (_dl_runtime_resolve_sse): Likewise.
11565 (_dl_runtime_resolve_sse_vex): Likewise.
11566 (_dl_runtime_resolve_fxsave): New.
11567 (_dl_runtime_resolve_xsave): Likewise.
11568 (_dl_runtime_resolve_xsavec): Likewise.
11570 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
11574 * posix/glob.c (__glob): Fix one-byte overflow.
11576 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
11578 * malloc/malloc.c (sysdep-cancel.h): Add include.
11580 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
11582 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
11584 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
11586 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
11587 (tests): Remove $(objpfx)ga_test depdendency.
11588 * resolv/ga_test.c: Remove file.
11590 2017-10-20 Mike FABIAN <mfabian@redhat.com>
11593 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
11594 * localedata/locales/kab_DZ: New file.
11596 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
11598 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
11599 _dl_relocate_static_pie instead of _dl_start to compute load
11600 address in static PIE.
11602 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
11604 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
11606 2017-10-20 Mike FABIAN <mfabian@redhat.com>
11609 * localedata/SUPPORTED: Add shn_MM/UTF-8.
11610 * localedata/locales/shn_MM: New file.
11612 2017-10-20 Florian Weimer <fweimer@redhat.com>
11615 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
11616 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
11617 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
11618 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
11619 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
11620 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
11622 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
11624 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11626 2017-10-19 Joseph Myers <joseph@codesourcery.com>
11628 * sysdeps/mips/ieee754/bits/floatn.h: New file.
11631 * sysdeps/mips/bits/long-double.h: Move to ....
11632 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
11634 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
11636 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
11638 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
11639 H.J. Lu <hongjiu.lu@intel.com>
11642 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11643 GLRO(dl_platform) to NULL.
11644 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
11645 (modules-names): Add tst-platformmod-1 and
11646 x86_64/tst-platformmod-2.
11647 (CFLAGS-tst-platform-1.c): New.
11648 (CFLAGS-tst-platformmod-1.c): Likewise.
11649 (CFLAGS-tst-platformmod-2.c): Likewise.
11650 (LDFLAGS-tst-platformmod-2.so): Likewise.
11651 ($(objpfx)tst-platform-1): Likewise.
11652 ($(objpfx)tst-platform-1.out): Likewise.
11653 (tst-platform-1-ENV): Likewise.
11654 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
11655 * sysdeps/x86_64/tst-platform-1.c: New file.
11656 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
11657 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
11659 2017-10-19 Mike FABIAN <mfabian@redhat.com>
11662 * locale/iso-639.def: Add Karbi.
11663 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
11664 * localedata/locales/mjw_IN: New file.
11666 2017-10-18 Joseph Myers <joseph@codesourcery.com>
11668 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
11669 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
11670 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
11671 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
11672 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
11673 (libm_alias_ldouble_other_r): Also create _Float128 alias.
11674 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
11676 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
11677 (libm_alias_ldouble_other_r): Also create _Float128 alias.
11678 * manual/math.texi (Mathematics): Document additional architecture
11679 support for _Float128.
11680 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
11681 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11696 2017-10-18 Renlin Li <renlin.li@arm.com>
11698 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
11699 _DYNAMIC symbol to calculate load address.
11701 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
11703 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
11704 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
11706 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
11707 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
11709 2017-10-18 Mike FABIAN <mfabian@redhat.com>
11712 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
11713 and improve readability by using more ASCII.
11714 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
11715 and improve readability by using more ASCII.
11717 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
11719 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
11720 not all targets support atomics on bool.
11722 2017-10-17 Joseph Myers <joseph@codesourcery.com>
11724 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
11725 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
11727 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
11728 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
11729 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
11730 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
11731 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
11732 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
11734 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11736 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
11739 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
11742 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
11743 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
11744 (do_check_remalloced_chunk): Fix build bug.
11745 (do_check_malloc_state): Add assert that checks arena->top.
11746 (malloc_consolidate): Remove initialization.
11747 (int_mallinfo): Remove call to malloc_consolidate.
11748 (__libc_mallopt): Clarify why malloc_consolidate is needed.
11750 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
11752 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
11753 (have_fastchunks): Remove.
11754 (clear_fastchunks): Remove.
11755 (set_fastchunks): Remove.
11756 (malloc_state): Add have_fastchunks.
11757 (malloc_init_state): Use have_fastchunks.
11758 (do_check_malloc_state): Remove incorrect invariant checks.
11759 (_int_malloc): Use have_fastchunks.
11760 (_int_free): Likewise.
11761 (malloc_consolidate): Likewise.
11763 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
11765 * malloc/malloc.c (tcache_put): Inline.
11766 (tcache_get): Inline.
11768 2017-10-17 Jordi Mallach <jordi@gnu.org>
11770 Aurelien Jarno <aurelien@aurel32.net>
11772 * localedata/locales/ca_ES@valencia: New file.
11773 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
11775 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
11778 * math/math.h: Let signbit use the builtin in C++ mode with gcc
11781 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11783 * scripts/build-many-glibcs.py (Context.add_all_configs):
11784 Add arm-linux-gnueabihf multiarch extra_glibcs.
11786 * sysdeps/generic/ifunc-init.h: New file.
11787 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
11789 2017-10-17 Mike FABIAN <mfabian@redhat.com>
11792 * localedata/locales/el_GR: Set n_cs_precedes to 0.
11793 * localedata/locales/el_CY: copy "el_GR" because it is identical.
11794 * stdlib/tst-strfmon_l.c: adapt test case.
11796 2017-10-16 Joseph Myers <joseph@codesourcery.com>
11798 * sysdeps/generic/float128-abi.h: New file.
11799 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
11800 non-__prefixed symbols to ....
11801 * math/Versions: ... here. Include <float128-abi.h>.
11802 * stdlib/Versions ... and here. Include <float128-abi.h>
11804 2017-10-16 Florian Weimer <fweimer@redhat.com>
11806 * version.h (VERSION): Switch to ".9000" as the development
11809 2017-10-16 Florian Weimer <fweimer@redhat.com>
11812 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
11813 compat_symbol_reference to access non-default version.
11815 2017-10-16 Florian Weimer <fweimer@redhat.com>
11817 * malloc/Makefile (others-extras): Set to mcheck-init.o.
11819 2017-10-16 Carlos O'Donell <carlos@redhat.com>
11821 * include/shlib-compat.h (compat_symbol_reference): Update
11824 2017-10-16 Joseph Myers <joseph@codesourcery.com>
11826 * math/Makefile (test-types): Add
11827 $(type-float128-$(float128-alias-fcts)).
11828 * math/test-float128.h (TYPE_STR): Define conditional on
11829 [FLT128_MANT_DIG == LDBL_MANT_DIG].
11830 (ULP_IDX): Likewise.
11831 (ULP_I_IDX): Likewise.
11833 * stdlib/strtold.c: Include <bits/floatn.h>
11834 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
11835 and later undefine as macro. Define as weak alias if
11837 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
11838 and later undefine as macro. Define as weak alias if
11840 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
11841 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
11842 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
11843 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
11844 Define and later undefine as macro. Define as weak alias if
11846 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
11848 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
11849 Define and later undefine as macro. Define as weak alias if
11851 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
11852 Define and later undefine as macro. Define as weak alias if
11855 2017-10-15 Carlos O'Donell <carlos@redhat.com>
11857 * localedata/collate-test.c (allocate_arrays): Don't use \n in
11858 record_verbose messages.
11860 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
11863 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
11864 to silence -O3 -Wall warning with GCC 7.
11866 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
11868 * Makeconfig (+link-static-before-libc): Use the first of
11869 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
11870 * gmon/Makefile (tests): Add tst-gmon-static.
11871 (tests-static): Likewise.
11872 (CFLAGS-tst-gmon-static.c): New.
11873 (CRT-tst-gmon-static): Likewise.
11874 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
11875 (tst-gmon-static-ENV): Likewise.
11876 (tests-special): Likewise.
11877 ($(objpfx)tst-gmon-static.out): Likewise.
11878 (clean-tst-gmon-static-data): Likewise.
11879 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
11880 * gmon/tst-gmon-static-gprof.sh: New file.
11881 * gmon/tst-gmon-static.c: Likewise.
11883 2017-10-13 Carlos O'Donell <carlos@redhat.com>
11886 * locale/programs/linereader.c (get_string): Don't warn on
11887 non-symbolic character.
11890 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
11894 * locale/programs/record-status.h: New file
11895 * locale/programs/locale.c: Add comment.
11896 * locale/programs/charmap-dir.c: Don't include error.h.
11897 (charmap_opendir): Use record_error.
11898 * locale/programs/charmap.c: Don't include error.h.
11899 (charmap_read): Use record_error, and record_warning.
11900 (parse_charmap): Likewise.
11901 * locale/programs/ld-address.c: Don't include error.h.
11902 (address_finish): Use record_error, and record_warning.
11903 * locale/programs/ld-collate.c: Don't include error.h.
11904 (collate_finish): Use record_error, and record_error_at_line.
11905 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
11906 (ctype_class_new): Likewise.
11907 (ctype_map_new): Likewise.
11908 (set_one_default): Likewise.
11909 (set_class_defaults): Likewise.
11910 (translit_flatten): Likewise.
11911 (allocate_arrays): Use record_error, and record_verbose.
11912 * locale/programs/ld-identification.c: Don't include error.h.
11913 (indentation_finish): Use record_error and record_warning.
11914 * locale/programs/ld-measurement.c: Don't include error.h.
11915 (measurement_finish): Use record_error.
11916 * locale/programs/ld-messages.c
11917 (message_finish): Likewise.
11918 * locale/programs/ld-monetary.c
11919 (monetary_finish): Likewise.
11920 * locale/programs/ld-name.c (name_finish): Use record_error
11921 and record_warning.
11922 * locale/programs/ld-numeric.c
11923 (numeric_finish): Use record_error.
11924 * locale/programs/ld-paper.c: Don't include error.h.
11925 (paper_finish): Use record_error.
11926 * locale/programs/ld-telephone.c: Don't include error.h.
11927 (telephone_finish): Use record_error.
11928 * locale/programs/ld-time.c (time_finish): Likewise.
11929 * locale/programs/linereader.h (lr_error): Make inline func.
11930 * locale/programs/localedef.c: Define recorded_warning_count,
11931 and recorded_error_count.
11932 (main): Use record_error. Use recorded_error_count and
11933 recorded_warning_count to issue correct error returns.
11934 (add_to_readlist): Use record_error.
11935 (find_locale): Likewise.
11936 (load_locale): Likewise.
11937 * locale/programs/localedef.h: Remove be_quiet
11938 and WITH_CUR_LOCALE.
11939 * locale/programs/locarchive.c (compare_from_file): Use
11941 * locale/programs/locfile.c (write_locale_data): Use
11943 * locale/programs/repertoire.c: Dont include error.h.
11944 (repertoire_complain): Use record_error.
11945 * localedata/tst-fmon.sh: Expect failures from localedef.
11946 * localedata/tst-locale.sh: Likewise.
11947 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
11949 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
11950 (REPORTS): Likewise.
11952 (i18n): Rename to...
11953 (i18n_ctype): ...this.
11954 (i18n-report): Rename to...
11955 (i18n_ctype-report): ...this.
11956 * localedata/locales/i18n_ctype: Regenerate.
11957 * localedata/locales/i18n: copy i18n_ctype.
11959 2017-10-13 Joseph Myers <joseph@codesourcery.com>
11961 * stdlib/strfroml.c: Include <bits/floatn.h>.
11962 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
11963 Define before include of <stdlib.h> and undefine afterwards, then
11964 define as weak alias.
11966 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
11967 Undefine and restore default definition. Use
11968 libm_alias_ldouble_other.
11970 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
11973 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
11976 2017-10-13 James Clarke <jrtc27@jrtc27.com>
11978 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11979 Assign sym_map to be map for local symbols, as TLS relocations
11980 use sym_map to determine whether the symbol is defined and to
11981 extract the TLS information.
11982 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11983 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11985 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11988 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
11989 (math_force_eval): Add powerpc version.
11992 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
11994 (do_test): Likewise.
11995 * stdio-common/tst-printf.sh: Likewise.
11996 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
11997 ifdef clause in order to set the carry bit right. Replace r0 by
11998 0 without changing the behavior.
12000 2017-10-13 Joseph Myers <joseph@codesourcery.com>
12002 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
12003 <libm-alias-ldouble.h>.
12004 (fabsl): Define using libm_alias_ldouble.
12005 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
12006 <libm-alias-ldouble.h>.
12007 (fabsl): Define using libm_alias_ldouble.
12009 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
12010 Remove conditional code.
12012 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
12013 Rename to __clog10_internal_l.
12014 (__clog10_internal_l): Define aliases using
12015 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
12018 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12020 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
12021 * benchtests/sincosf-inputs: New file.
12022 * benchtests/cosf-inputs: New file.
12023 * benchtests/sinf-inputs: New file.
12025 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12027 * posix/tst-spawn.c (do_test): Wait for both children.
12029 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
12032 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
12033 tests-pie): Add tst-gmon-pie.
12034 (CFLAGS-tst-gmon-pie.c): New.
12035 (CRT-tst-gmon-pie): Likewise.
12036 (tst-gmon-pie-ENV): Likewise.
12037 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
12038 ($(objpfx)tst-gmon-pie.out): Likewise.
12039 (clean-tst-gmon-pie-data): Likewise.
12040 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
12041 * gmon/gmon.c [PIC]: Include <link.h>.
12042 [PIC] (callback): New function.
12043 (write_hist): Add an argument for load address. Subtract load
12045 (write_call_graph): Likewise.
12046 (write_gmon): Call __dl_iterate_phdr to get load address, pass
12047 it to write_hist and write_call_graph.
12048 * gmon/tst-gmon-pie.c: New file.
12050 2017-10-11 Joseph Myers <joseph@codesourcery.com>
12052 * math/Makefile (test-types-basic): New variable.
12053 (test-types): Likewise.
12054 (libm-test-support): Use $(test-types) instead of $(types).
12055 (libm-tests-base-normal): Likewise.
12056 (libm-tests-base-finite): Likewise.
12057 (libm-tests-base-inline): Likewise.
12058 (generated): Likewise.
12059 ($(objpfx)libm-test-support-$(t).c): Likewise.
12060 (libm-tests-for-type iterator): Likewise.
12061 (libm-test-support iterator): Likewise.
12062 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
12063 (ulp_idx): Use ULP_IDX.
12064 * math/test-ldouble.h: Include <float.h>.
12065 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
12066 (ULP_IDX): New macro.
12067 (ULP_I_IDX): Likewise.
12068 * math/test-double.h (ULP_IDX): Likewise.
12069 (ULP_I_IDX): Likewise.
12070 * math/test-float.h (ULP_IDX): Likewise.
12071 (ULP_I_IDX): Likewise.
12072 * math/test-float128.h (ULP_IDX): Likewise.
12073 (ULP_I_IDX): Likewise.
12075 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12077 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
12078 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12079 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12080 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
12081 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12082 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
12083 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
12084 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12086 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12087 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
12088 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12089 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12091 (SINGLE_THREAD_BY_GLOBAL): Define.
12092 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
12094 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
12096 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
12098 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
12100 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
12101 (SINGLE_THREAD_BY_GLOBAL): Likewise.
12102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
12105 2017-10-11 Andreas Schwab <schwab@suse.de>
12107 * nis/Makefile (aux): Remove.
12108 * nscd/Makefile (aux): Add nscd_hash.
12109 (nscd-modules): Likewise.
12110 ($(objpfx)nscd): Don't depend on libnsl.
12111 * nscd/nscd_hash.c: New file.
12112 * nscd/nscd_hash.h: Likewise.
12113 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
12114 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
12115 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
12116 instead of <nis/rpcsvc/nis.h>.
12117 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
12119 2017-10-11 Florian Weimer <fweimer@redhat.com>
12122 Avoid large NSS buffers with many addresses, aliases.
12123 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
12124 using dynarrays and struct alloc_buffer.
12125 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
12126 (tst-nss-files-hosts-multi): Link with -ldl.
12127 * nss/tst-nss-files-hosts-multi.c: New file.
12129 2017-10-11 Florian Weimer <fweimer@redhat.com>
12132 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
12133 scratch_buffer. Eliminate gotos.
12135 2017-10-11 Joseph Myers <joseph@codesourcery.com>
12137 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
12138 libm_alias_ldouble_other.
12139 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
12140 undefine and redefine.
12141 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
12142 (exp10l): Do not define here.
12143 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
12144 (weak_alias): Undefine and redefine.
12145 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
12146 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
12147 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
12148 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
12150 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
12151 [!__fma] (fma): Define using libm_alias_double.
12152 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
12153 [!__fmaf] (fmaf): Define using libm_alias_float.
12154 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
12155 (fmal): Define using libm_alias_ldouble.
12157 2017-10-10 Joseph Myers <joseph@codesourcery.com>
12159 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
12161 (libm_alias_double_other): Likewise.
12162 (libm_alias_double_r): Use libm_alias_double_other_r.
12163 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
12165 (libm_alias_float_other): Likewise.
12166 (libm_alias_float_r): Use libm_alias_float_other_r.
12167 * sysdeps/generic/libm-alias-float128.h
12168 (libm_alias_float128_other_r): New macro.
12169 (libm_alias_float128_other): Likewise.
12170 (libm_alias_float128_r): Use libm_alias_float128_other_r.
12171 * sysdeps/generic/libm-alias-ldouble.h
12172 (libm_alias_ldouble_other_r): New macro.
12173 (libm_alias_ldouble_other): Likewise.
12174 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
12175 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
12176 (libm_alias_double_other_r): New macro.
12177 (libm_alias_double_other): Likewise.
12178 (libm_alias_double_r): Use libm_alias_double_other_r.
12179 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
12180 (libm_alias_ldouble_other_r): New macro.
12181 (libm_alias_ldouble_other): Likewise.
12182 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
12183 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
12184 [!USE_AS_COMPAT]: Use libm_alias_double_other.
12185 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
12186 [!USE_AS_COMPAT]: Use libm_alias_float_other.
12187 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
12188 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
12189 * math/w_exp2f.c: Use libm_alias_float_other.
12190 * math/w_expf.c: Likewise.
12191 * math/w_log2f.c: Likewise.
12192 * math/w_logf.c: Likewise.
12193 * math/w_powf.c: Likewise.
12194 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
12195 [!__exp2f]: Use libm_alias_float_other.
12196 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
12197 [!__expf]: Use libm_alias_float_other.
12198 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
12199 [!__log2f]: Use libm_alias_float_other.
12200 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
12201 [!__logf]: Use libm_alias_float_other.
12202 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
12203 [!__powf]: Use libm_alias_float_other.
12205 2017-10-10 Florian Weimer <fweimer@redhat.com>
12207 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
12209 (_nss_files_gethostbyname3_r): Call it.
12211 2017-10-09 Joseph Myers <joseph@codesourcery.com>
12213 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
12214 error. Remove default definition of declare_mgen_alias.
12215 [!declare_mgen_alias_r]: Likewise.
12216 * sysdeps/generic/math-type-macros-double.h
12217 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
12218 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
12219 (declare_mgen_alias_r): Likewise.
12220 * sysdeps/generic/math-type-macros-float128.h
12221 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
12222 * sysdeps/generic/math-type-macros-ldouble.h
12223 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
12224 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
12226 (declare_mgen_alias_r_s): Likewise.
12227 (declare_mgen_alias_r): Likewise.
12228 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
12229 (lgamma_r): Define using libm_alias_double_r.
12230 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
12231 (lgammaf_r): Define using libm_alias_float_r.
12232 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
12233 (lgammal_r): Define using libm_alias_ldouble_r.
12234 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
12235 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
12237 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12239 * lib/glob.c (__glob_pattern_type): Remove now-spurious
12240 extern declaration.
12242 2017-10-09 Joseph Myers <joseph@codesourcery.com>
12244 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
12246 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
12249 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
12250 [__cplusplus >= 201103] (__USE_ISOC99): Define.
12251 * math/Makefile (test-math-cxx11): New test.
12252 * math/test-math-cxx11.cc: New file.
12254 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
12256 * login/openpty.c (openpty): Close slave pty file descriptor on error.
12258 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
12259 call to allocate the slave pty file descriptor.
12261 2017-10-06 Joseph Myers <joseph@codesourcery.com>
12263 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
12264 [!__fma] (fma): Define using libm_alias_double.
12265 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
12266 [!__fma] (fma): Define using libm_alias_double.
12268 * sysdeps/ieee754/float128/float128_private.h: Include
12269 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
12270 (libm_alias_ldouble_r): Undefine and redefine.
12271 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
12272 <libm-alias-ldouble.h>.
12273 (asinhl): Define using libm_alias_ldouble.
12274 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
12275 <libm-alias-ldouble.h>.
12276 (atanl): Define using libm_alias_ldouble.
12277 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
12278 <libm-alias-ldouble.h>.
12279 (cbrtl): Define using libm_alias_ldouble.
12280 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
12281 <libm-alias-ldouble.h>.
12282 (ceill): Define using libm_alias_ldouble.
12283 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
12284 <libm-alias-ldouble.h>.
12285 (copysignl): Define using libm_alias_ldouble.
12286 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
12287 <libm-alias-ldouble.h>.
12288 (cosl): Define using libm_alias_ldouble.
12289 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
12290 <libm-alias-ldouble.h>.
12291 (erfl): Define using libm_alias_ldouble.
12293 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
12294 <libm-alias-ldouble.h>.
12295 (expm1l): Define using libm_alias_ldouble.
12296 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
12297 <libm-alias-ldouble.h>.
12298 (fabsl): Define using libm_alias_ldouble.
12299 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
12300 <libm-alias-ldouble.h>.
12301 (floorl): Define using libm_alias_ldouble.
12302 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
12303 <libm-alias-ldouble.h>.
12304 (fmal): Define using libm_alias_ldouble.
12305 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
12306 <libm-alias-ldouble.h>.
12307 (frexpl): Define using libm_alias_ldouble.
12308 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
12309 libm_alias_ldouble.
12310 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
12311 <libm-alias-ldouble.h>.
12312 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
12313 libm_alias_ldouble.
12314 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
12315 <libm-alias-ldouble.h>.
12316 (getpayloadl): Define using libm_alias_ldouble.
12317 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
12318 <libm-alias-ldouble.h>.
12319 (llrintl): Define using libm_alias_ldouble.
12320 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
12321 <libm-alias-ldouble.h>.
12322 (llroundl): Define using libm_alias_ldouble.
12323 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
12324 <libm-alias-ldouble.h>.
12325 (logbl): Define using libm_alias_ldouble.
12326 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
12327 <libm-alias-ldouble.h>.
12328 (lrintl): Define using libm_alias_ldouble.
12329 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
12330 <libm-alias-ldouble.h>.
12331 (lroundl): Define using libm_alias_ldouble.
12332 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
12333 <libm-alias-ldouble.h>.
12334 (modfl): Define using libm_alias_ldouble.
12335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
12336 <libm-alias-ldouble.h>.
12337 (nearbyintl): Define using libm_alias_ldouble.
12338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
12339 <libm-alias-ldouble.h>.
12340 (nextafterl): Define using libm_alias_ldouble.
12341 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
12342 <libm-alias-ldouble.h>.
12343 (nextupl): Define using libm_alias_ldouble.
12344 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
12345 <libm-alias-ldouble.h>.
12346 (remquol): Define using libm_alias_ldouble.
12347 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
12348 <libm-alias-ldouble.h>.
12349 (rintl): Define using libm_alias_ldouble.
12350 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
12351 <libm-alias-ldouble.h>.
12352 (roundevenl): Define using libm_alias_ldouble.
12353 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
12354 <libm-alias-ldouble.h>.
12355 (roundl): Define using libm_alias_ldouble.
12356 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
12357 using libm_alias_ldouble.
12358 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
12359 <libm-alias-ldouble.h>.
12360 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
12361 Define using libm_alias_ldouble.
12362 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
12363 <libm-alias-ldouble.h>.
12364 (sincosl): Define using libm_alias_ldouble.
12365 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
12366 <libm-alias-ldouble.h>.
12367 (sinl): Define using libm_alias_ldouble.
12368 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
12369 <libm-alias-ldouble.h>.
12370 (tanhl): Define using libm_alias_ldouble.
12371 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
12372 <libm-alias-ldouble.h>.
12373 (tanl): Define using libm_alias_ldouble.
12374 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12375 <libm-alias-ldouble.h>.
12376 (totalorderl): Define using libm_alias_ldouble.
12377 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12378 <libm-alias-ldouble.h>.
12379 (totalordermagl): Define using libm_alias_ldouble.
12380 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
12381 <libm-alias-ldouble.h>.
12382 (truncl): Define using libm_alias_ldouble.
12383 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
12384 libm_alias_ldouble.
12385 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
12386 libm_alias_ldouble.
12387 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
12388 <libm-alias-ldouble.h>.
12389 (weak_alias): Do not undefine and redefine.
12390 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
12391 (copysignl): Define with long_double_symbol only if [IS_IN
12393 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
12394 <libm-alias-ldouble.h>.
12395 (weak_alias): Do not undefine and redefine.
12396 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
12397 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
12398 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
12399 <libm-alias-ldouble.h>.
12400 (weak_alias): Do not undefine and redefine.
12401 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
12402 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
12403 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
12404 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
12405 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
12406 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
12407 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
12408 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
12409 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
12410 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
12411 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
12413 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
12418 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
12420 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
12421 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
12428 2017-10-06 Carlos O'Donell <carlos@redhat.com>
12431 * malloc/malloc.c (tcache_shutting_down): Use bool type.
12432 (tcache_thread_freeres): Set tcache_shutting_down before
12433 freeing the tcache.
12434 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
12435 * malloc/tst-malloc-tcache-leak.c: New file.
12437 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12439 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
12440 back to powerpc32 file.
12441 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
12442 (memrchr): Add __memrchr_power8 to ifunc list.
12443 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
12444 extra bytes for unaligned inputs.
12446 2017-10-06 Joseph Myers <joseph@codesourcery.com>
12448 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
12449 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12452 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12454 2017-10-05 Joseph Myers <joseph@codesourcery.com>
12456 * sysdeps/arm/libm-test-ulps: Update.
12458 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
12459 <libm-alias-ldouble.h>.
12460 (asinhl): Define using libm_alias_ldouble.
12461 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
12462 <libm-alias-ldouble.h>.
12463 (cbrtl): Define using libm_alias_ldouble.
12464 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
12465 <libm-alias-ldouble.h>.
12466 (copysignl): Define using libm_alias_ldouble.
12467 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
12468 <libm-alias-ldouble.h>.
12469 (cosl): Define using libm_alias_ldouble.
12470 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
12471 <libm-alias-ldouble.h>.
12472 (erfl): Define using libm_alias_ldouble.
12474 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
12475 <libm-alias-ldouble.h>.
12476 (fmal): Define using libm_alias_ldouble.
12477 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
12478 <libm-alias-ldouble.h>.
12479 (frexpl): Define using libm_alias_ldouble.
12480 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
12481 libm_alias_ldouble.
12482 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
12483 <libm-alias-ldouble.h>.
12484 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
12485 libm_alias_ldouble.
12486 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
12487 <libm-alias-ldouble.h>.
12488 (getpayloadl): Define using libm_alias_ldouble.
12489 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
12490 <libm-alias-ldouble.h>.
12491 (llrintl): Define using libm_alias_ldouble.
12492 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
12493 <libm-alias-ldouble.h>.
12494 (llroundl): Define using libm_alias_ldouble.
12495 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
12496 <libm-alias-ldouble.h>.
12497 (lrintl): Define using libm_alias_ldouble.
12498 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
12499 <libm-alias-ldouble.h>.
12500 (lroundl): Define using libm_alias_ldouble.
12501 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
12502 <libm-alias-ldouble.h>.
12503 (modfl): Define using libm_alias_ldouble.
12504 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
12505 <libm-alias-ldouble.h>.
12506 (nextupl): Define using libm_alias_ldouble.
12507 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
12508 <libm-alias-ldouble.h>.
12509 (remquol): Define using libm_alias_ldouble.
12510 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
12511 <libm-alias-ldouble.h>.
12512 (roundevenl): Define using libm_alias_ldouble.
12513 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
12514 <libm-alias-ldouble.h>.
12515 (roundl): Define using libm_alias_ldouble.
12516 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
12517 using libm_alias_ldouble.
12518 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
12519 <libm-alias-ldouble.h>.
12520 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
12521 <libm-alias-ldouble.h>.
12522 (setpayloadsigl): Define using libm_alias_ldouble.
12523 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
12524 <libm-alias-ldouble.h>.
12525 (sincosl): Define using libm_alias_ldouble.
12526 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
12527 <libm-alias-ldouble.h>.
12528 (sinl): Define using libm_alias_ldouble.
12529 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
12530 <libm-alias-ldouble.h>.
12531 (tanhl): Define using libm_alias_ldouble.
12532 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
12533 <libm-alias-ldouble.h>.
12534 (tanl): Define using libm_alias_ldouble.
12535 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12536 <libm-alias-ldouble.h>.
12537 (totalorderl): Define using libm_alias_ldouble.
12538 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12539 <libm-alias-ldouble.h>.
12540 (totalordermagl): Define using libm_alias_ldouble.
12541 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
12542 libm_alias_ldouble.
12543 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
12544 libm_alias_ldouble.
12546 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
12548 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12550 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12551 (__libc_ifunc_impl_list): Likewise.
12552 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
12553 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
12555 * benchtests/bench-memmove-walk.c: New file.
12556 * benchtests/Makefile (string-benchset): Add it.
12558 * benchtests/bench-memset-walk.c: New file.
12559 * benchtests/Makefile (string-benchset): Add it.
12561 * benchtests/bench-memcpy-walk.c: New file.
12562 * benchtests/Makefile (string-benchset): Add it.
12564 2017-10-05 Florian Weimer <fweimer@redhat.com>
12566 nscd: Eliminate compilation time dependency in the build output.
12567 * nscd/nscd_stat.c (STATDATA_VERSION)
12568 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
12569 (STATDATA_VERSION_FULL): New macro definitions.
12570 (compilation): Remove.
12571 (struct statdata): Adjust version member.
12572 (send_stats): Set version from STATDATA_VERSION_FULL.
12573 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
12575 2017-10-05 Joseph Myers <joseph@codesourcery.com>
12577 * configure.ac (--enable-add-ons): Remove option.
12578 (machine): Do not mention add-ons in comment.
12579 (LIBC_PRECONFIGURE): Likewise.
12580 (add_ons): Remove variable and sanity checks and logic to locate
12582 (add_ons_automatic): Remove variable.
12583 (configured_add_ons): Likewise.
12584 (add_ons_sfx): Likewise.
12585 (add_ons_pfx): Likewise.
12586 (add_on_subdirs): Likewise.
12587 (sysnames_add_ons): Likewise. Remove loop over add-ons and
12588 consideration of add-ons in Implies handling.
12589 (sysdeps_add_ons): Likewise.
12590 * configure: Regenerated.
12591 * libidn/configure.ac: Remove.
12592 * libidn/configure: Likewise.
12593 * sysdeps/unix/inet/configure.ac: New file.
12594 * sysdeps/unix/inet/configure: New generated file.
12595 * sysdeps/unix/inet/Subdirs: Add libidn.
12596 * Makeconfig (sysdeps-srcdirs): Remove variable.
12597 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
12598 ($(common-objpfx)config.status): Do not depend on add-on files.
12599 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
12601 (all-subdirs): Do not include $(add-on-subdirs).
12602 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
12603 * config.make.in (add-ons): Remove variable.
12604 (add-on-subdirs): Likewise.
12605 (sysdeps-add-ons): Likewise.
12606 * manual/Makefile (add-chapters): Remove.
12607 ($(objpfx)texis): Do not depend on $(add-chapters).
12608 (nonexamples): Do not handle $(add-chapters).
12609 (examples): Do not handle $(add-ons).
12610 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
12612 * manual/install.texi (Installation): Do not mention add-ons.
12613 (--enable-add-ons): Do not document configure option.
12614 * INSTALL: Regenerated.
12615 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
12616 * manual/maint.texi (Hierarchy Conventions): Do not mention
12618 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
12620 * scripts/gen-sorted.awk: Do not handle Subdirs files from
12622 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
12623 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
12625 2017-10-05 Andreas Schwab <schwab@suse.de>
12628 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
12629 (_IO_flush_all_lockp): Always lock list_all_lock.
12630 (_IO_flush_all_linebuffered): Likewise.
12631 (_IO_unbuffer_all): Likewise.
12633 2017-10-05 Florian Weimer <fweimer@redhat.com>
12636 Do not flush stdio streams on abort.
12637 * stdlib/abort.c (fflush): Remove macro definition.
12638 (abort): Remove stages related to stdio flushing.
12640 2017-10-05 Florian Weimer <fweimer@redhat.com>
12642 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
12644 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12646 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12648 2017-10-05 Florian Weimer <fweimer@redhat.com>
12650 * support/support_format_hostent.c (support_format_hostent): Add
12651 more error information for NETDB_INTERNAL.
12653 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
12655 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
12656 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
12657 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
12658 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
12659 AC_DEFINE if multi-arch is enabled.
12660 * sysdeps/i386/configure: Regenerated.
12662 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
12664 * Makeconfig (+link-static-before-libc): Use
12665 $(DEFAULT-LDFLAGS-$(@F)).
12666 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
12667 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
12668 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
12670 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
12672 * elf/Makefile (tests): Add tst-main1.
12673 (modules-names): Add tst-main1mod.
12674 ($(objpfx)tst-main1): New.
12675 (CRT-tst-main1): Likewise.
12676 (LDFLAGS-tst-main1): Likewise.
12677 (LDLIBS-tst-main1): Likewise.
12678 (tst-main1mod.so-no-z-defs): Likewise.
12679 * elf/tst-main1.c: New file.
12680 * elf/tst-main1mod.c: Likewise.
12682 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
12684 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
12686 2017-10-04 Joseph Myers <joseph@codesourcery.com>
12688 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
12689 (fma): Define using libm_alias_double.
12690 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
12691 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
12693 (fmal): Do not define as compat symbol here.
12694 * sysdeps/alpha/fpu/s_fma.c: New file.
12696 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
12698 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
12700 2017-10-04 Joseph Myers <joseph@codesourcery.com>
12703 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
12705 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
12707 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
12708 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
12709 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
12710 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
12711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12712 Include <math_ldbl_opt.h>
12713 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
12715 (compat_symbol): Undefine and redefine.
12716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
12718 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
12719 (compat_symbol): Undefine and redefine.
12720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
12721 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
12722 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
12723 GLIBC_2_1 for libm.
12724 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
12725 GLIBC_2.0 copysignl symbol.
12726 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12727 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
12729 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
12731 2017-10-04 Florian Weimer <fweimer@redhat.com>
12733 * scripts/check-local-headers.sh: Ignore nspr4 header file
12734 directory in addition to nspr.
12736 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
12739 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
12740 * configure: Regenerate.
12741 * crypt/Makefile (nss-cpp-flags): New variable.
12742 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
12743 (CPPFLAGS-md5-crypt.c): Use it.
12744 * scripts/check-local-headers.sh: Ignore nspr header file
12747 2017-10-04 Andreas Schwab <schwab@suse.de>
12749 * nis/Makefile (services): Remove compat.
12750 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
12751 ($(objpfx)libnss_compat.so): Remove rule.
12752 * nis/Versions (libnss_compat): Remove.
12753 * nss/Makefile (services): Add compat.
12754 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
12755 * nss/Versions (libnss_compat): Define.
12756 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
12757 Don't include <rpc/types.h>. Replace bool_t by bool.
12758 * nss/nss_compat/compat-initgroups.c: Likewise.
12759 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
12760 instead of <rpcsrv/ypclnt.h>.
12761 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
12762 yp_get_default_domain.
12763 * nss/nss_compat/compat-pwd.c: Likewise.
12764 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
12765 yp_get_default_domain.
12766 * nss/nss_compat/nisdomain.c: New file.
12767 * nss/nss_compat/nisdomain.h: Likewise.
12769 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
12772 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
12773 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12775 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
12778 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
12779 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
12781 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12783 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
12784 "movl main@GOTOFF(%ebx), %eax".
12786 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12788 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
12789 allow undefined _DYNAMIC in PIE libc.a.
12790 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
12793 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12795 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
12798 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12800 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
12803 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12805 * math/test-math-iscanonical.cc (error): Replace bool with int.
12807 2017-10-03 Joseph Myers <joseph@codesourcery.com>
12809 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
12810 (modf): Define using libm_alias_double, only if [!__modf].
12811 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
12812 <libm-alias-double.h>.
12813 (modf): Define using libm_alias_double, only if [!__modf].
12814 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
12815 compat symbol here.
12816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
12817 (weak_alias): Do not undefine and redefine.
12818 (strong_alias): Likewise.
12819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
12820 (weak_alias): Likewise.
12821 (strong_alias): Likewise.
12823 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
12824 (logb): Define using libm_alias_double, only if [!__logb].
12825 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
12826 <libm-alias-double.h>.
12827 (logb): Define using libm_alias_double, only if [!__logb].
12828 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
12829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
12830 (weak_alias): Do not undefine and redefine.
12831 (strong_alias): Likewise.
12832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
12833 (weak_alias): Likewise.
12834 (strong_alias): Likewise.
12836 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12838 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
12839 Check SHARED instead PIC.
12841 2017-10-03 Joseph Myers <joseph@codesourcery.com>
12843 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
12844 [!__fmaf] (fmaf): Define using libm_alias_float.
12846 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
12847 (frexp): Define using libm_alias_double.
12848 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
12849 <libm-alias-double.h>.
12850 (frexp): Define using libm_alias_double.
12851 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
12852 compat symbol here.
12854 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12857 * math/math.h: Trivial fix for unbalanced parentheses in comment.
12858 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
12859 (CFLAGS-test-math-iscanonical.cc): New variable.
12860 * math/test-math-iscanonical.cc: New file.
12861 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
12862 Provide a C++ implementation based on function overloading,
12863 rather than using __MATH_TG, which uses C-only builtins.
12864 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
12866 * sysdeps/powerpc/powerpc64le/Makefile
12867 (CFLAGS-test-math-iscanonical.cc): New variable.
12869 2017-10-03 Joseph Myers <joseph@codesourcery.com>
12871 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
12872 (ceil): Define using libm_alias_double.
12873 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
12874 (floor): Define using libm_alias_double.
12875 * sysdeps/ieee754/dbl-64/s_llround.c: Include
12876 <libm-alias-double.h>.
12877 (llround): Define using libm_alias_double.
12878 * sysdeps/ieee754/dbl-64/s_lround.c: Include
12879 <libm-alias-double.h>.
12880 (lround): Define using libm_alias_double.
12881 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
12882 <libm-alias-double.h>.
12883 (nearbyint): Define using libm_alias_double.
12884 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
12885 <libm-alias-double.h>.
12886 (remquo): Define using libm_alias_double.
12887 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
12888 (rint): Define using libm_alias_double.
12889 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
12890 (round): Define using libm_alias_double.
12891 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
12892 (trunc): Define using libm_alias_double.
12893 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
12894 <libm-alias-double.h>.
12895 (ceil): Define using libm_alias_double.
12896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
12897 <libm-alias-double.h>.
12898 (floor): Define using libm_alias_double.
12899 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
12900 <libm-alias-double.h>.
12901 (llround): Define using libm_alias_double.
12902 [_LP64] (lround): Likewise.
12903 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
12904 <libm-alias-double.h>.
12905 [!_LP64] (lround): Define using libm_alias_double.
12906 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
12907 <libm-alias-double.h>.
12908 (nearbyint): Define using libm_alias_double.
12909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
12910 <libm-alias-double.h>.
12911 (remquo): Define using libm_alias_double.
12912 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
12913 <libm-alias-double.h>.
12914 (rint): Define using libm_alias_double.
12915 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
12916 <libm-alias-double.h>.
12917 (round): Define using libm_alias_double.
12918 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
12919 <libm-alias-double.h>.
12920 (trunc): Define using libm_alias_double.
12921 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
12922 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
12923 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
12924 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
12925 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
12926 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
12927 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
12928 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
12929 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
12931 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
12933 * math/w_remainder.c: New file.
12934 * math/w_remainderf.c: New file.
12935 * math/w_remainderl.c: New file.
12937 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
12939 * elf/rtld.c (BOOTSTRAP_MAP): New.
12940 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
12941 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12943 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12945 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12948 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12950 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
12951 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
12952 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
12953 rtld_hidden_data_ver): Define to empty.
12954 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
12955 __assert_perror_fail): Likewise.
12956 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12957 (__rewinddir): Likewise.
12958 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12959 (__profile_frequency): Likewise.
12960 * include/setjmp.h (__sigsetjmp): Likewise.
12961 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
12962 __libc_sigaction): Likewise.
12963 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
12964 not set hidden attribute.
12965 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
12966 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
12967 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
12968 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
12969 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
12970 __fxstatat64): Likewise.
12971 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12972 (__uname): Likewise.
12973 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
12974 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
12975 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
12976 (NO_RTLD_HIDDEN): Set.
12977 * sysdeps/mach/hurd/configure: Refresh.
12978 * config.h.in: Refresh.
12980 2017-10-02 Joseph Myers <joseph@codesourcery.com>
12982 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
12983 (atan): Define using libm_alias_double.
12984 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
12985 (tan): Define using libm_alias_double.
12986 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
12987 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
12989 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
12990 define as weak alias of __atan. Do not define any aliases if
12992 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
12993 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
12994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
12995 as weak alias of __tan. Do not define any aliases if [__tan].
12996 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
12997 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
12998 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
13000 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
13001 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
13002 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
13003 and define as weak alias of __atan.
13004 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
13006 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
13007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
13008 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
13009 define as weak alias of __tan.
13011 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13013 * math/w_lgamma.c: New file.
13014 * math/w_lgammaf.c: New file.
13015 * math/w_lgammal.c: New file.
13017 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13019 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
13020 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
13021 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
13022 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
13023 * sysdeps/ieee754/flt-32/w_logf.c: New file.
13024 * sysdeps/ieee754/flt-32/w_powf.c: New file.
13025 * sysdeps/i386/fpu/w_log2f.c: New file.
13026 * sysdeps/i386/fpu/w_logf.c: New file.
13027 * sysdeps/i386/fpu/w_powf.c: New file.
13028 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
13029 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
13030 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
13032 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13033 H.J. Lu <hongjiu.lu@intel.com>
13035 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
13036 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
13037 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
13038 * sysdeps/ieee754/flt-32/w_expf.c: New file.
13039 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
13041 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
13042 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
13043 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
13044 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
13045 * sysdeps/i386/fpu/w_exp2f.c: New file.
13046 * sysdeps/i386/fpu/w_expf.c: New file.
13047 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
13048 * sysdeps/x86_64/fpu/w_expf.c: New file.
13050 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13052 * math/Versions (logf): New libm symbol at GLIBC_2.27.
13055 * math/w_log2f.c: New file.
13056 * math/w_logf.c: New file.
13057 * math/w_powf.c: New file.
13058 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
13059 * math/w_logf_compat.c (__logf_compat): Likewise.
13060 * math/w_powf_compat.c (__powf_compat): Likewise.
13061 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
13062 * sysdeps/ia64/fpu/e_logf.S: Likewise.
13063 * sysdeps/ia64/fpu/e_powf.S: Likewise.
13064 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
13065 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13066 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13067 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13068 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13084 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13093 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13097 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13099 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13100 (sysdep_routines): Add memrchr_power8.
13101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13102 (memrchr): Add __memrchr_power8 to list of memrchr functions.
13103 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
13105 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
13106 (memrchr): Add __memrchr_power8 to ifunc list.
13107 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
13109 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13112 * sysdeps/unix/sysv/linux/posix_fadvise64.c
13113 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
13115 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13116 (__posix_fallocate64_l64): Likewise.
13118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13121 * sysdeps/unix/sysv/linux/sched_setaffinity.c
13122 (__sched_setaffinity_new): Add libc_hidden_proto and
13125 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13128 * include/glob.h (__glob64): Add libc_hidden_proto.
13129 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
13132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13135 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
13138 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13141 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
13143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13146 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
13149 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13152 * csu/version.c (__libc_print_version): Add attribute_hidden.
13154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13157 * include/libc-internal.h (__init_misc): Add attribute_hidden.
13159 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13162 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
13164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13167 * nscd/nscd_helper.c (__nis_hash): New prototype.
13169 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13172 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
13173 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
13175 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13176 * termios/tcgetattr.c (__tcgetattr): Likewise.
13178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13181 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
13182 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
13183 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
13184 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
13185 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
13187 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13190 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
13192 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13195 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
13196 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
13198 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13201 * intl/hash-string.h (__hash_string): Add attribute_hidden.
13203 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13206 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
13207 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
13209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13212 * include/ifreq.h: New file.
13213 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
13214 (__ifreq): Likewise.
13215 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
13216 (__ifreq): Likewise.
13218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13221 * include/idna.h: New file.
13222 * inet/getnameinfo.c: Include <idna.h> instead of
13224 (__idna_to_unicode_lzlz): Removed.
13225 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
13227 (__idna_to_ascii_lz): Removed.
13228 (__idna_to_unicode_lzlz): Likewise.
13230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13233 * include/plural-exp.h: New file.
13234 * intl/plural-exp.c: Include <plural-exp.h> instead of
13237 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13240 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
13241 "getsourcefilter.h".
13242 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
13243 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
13244 "getsourcefilter.h".
13245 (__get_sol): Removed.
13247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13250 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
13252 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
13254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13257 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
13260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13263 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
13265 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13268 * include/search.h (__tdestroy): Add libc_hidden_proto.
13269 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
13271 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13274 * include/assert.h (__assert_fail_base): Add attribute_hidden.
13276 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13279 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
13282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13285 * include/signal.h (__kill): Add libc_hidden_proto.
13286 (__sigblock): Likewise.
13287 (__sigprocmask): Likewise.
13288 (__sigaltstack): Likewise.
13289 * signal/kill.c (__kill): Add libc_hidden_def.
13290 * signal/sigblock.c (__sigblock): Likewise.
13291 * signal/sigprocmask.c (__sigprocmask): Likewise.
13292 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
13293 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13294 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13295 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13296 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
13298 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13300 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13301 (__sigprocmask): Likewise.
13302 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
13304 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13305 (__sigprocmask): Likewise.
13306 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13309 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13312 * include/string.h (__strsep): Add libc_hidden_proto.
13313 * string/strsep.c (__strsep): Add libc_hidden_def.
13315 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13318 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
13320 (__spawni): Likewise.
13322 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13325 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
13326 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
13329 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13332 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
13334 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13337 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
13338 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
13339 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
13340 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
13341 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
13343 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
13344 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
13346 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13349 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
13350 (__dcigettext): Likewise.
13352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13355 * include/sys/sysinfo.h (__get_nprocs_conf): Add
13357 (__get_nprocs): Likewise.
13358 (__get_phys_pages): Likewise.
13359 (__get_avphys_pages): Likewise.
13360 (__get_child_max): Add attribute_hidden.
13361 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
13362 (__get_nprocs): Likewise.
13363 (__get_phys_pages): Likewise.
13364 (__get_avphys_pages): Likewise.
13365 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
13367 (__get_nprocs): Likewise.
13368 (__get_phys_pages): Likewise.
13369 (__get_avphys_pages): Likewise.
13370 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
13372 (__get_nprocs_conf): Likewise.
13373 (__get_phys_pages): Likewise.
13374 (__get_avphys_pages): Likewise.
13376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13379 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
13381 (__netlink_close): Likewise.
13382 (__netlink_free_handle): Likewise.
13383 (__netlink_request): Likewise.
13385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13388 * include/rpc/rpc.h (__rpc_thread_variables): Add
13390 (__rpc_thread_svc_cleanup): Likewise.
13391 (__rpc_thread_clnt_cleanup): Likewise.
13392 (__rpc_thread_key_cleanup): Likewise.
13394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13397 * include/sys/uio.h (__readv): Add libc_hidden_proto.
13398 (__writev): Likewise.
13399 * misc/readv.c (__readv): Add libc_hidden_def.
13400 * misc/writev.c (__writev): Likewise.
13401 * sysdeps/posix/readv.c (__readv): Likewise.
13402 * sysdeps/posix/writev.c (__writev): Likewise.
13403 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
13404 (__readv): Likewise.
13405 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
13406 (__writev): Likewise.
13408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13411 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
13412 (__regcomp): Add libc_hidden_proto.
13413 (__regexec): Likewise.
13414 (__regfree): Likewise.
13415 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
13416 (__regfree): Likewise.
13417 * posix/regexec.c (__regexec): Likewise.
13419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13422 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
13423 (__getutent): Likewise.
13424 (__getutid): Likewise.
13425 (__getutline): Likewise.
13426 (__pututline): Likewise.
13427 (__getutent_r): Likewise.
13428 (__getutid_r): Likewise.
13429 (__getutline_r): Likewise.
13430 (__utmpname): Add attribute_hidden.
13431 (__setutent): Likewise.
13432 (__endutent): Likewise.
13433 * login/getutent.c (__getutent): Add libc_hidden_def.
13434 * login/getutent_r.c (__getutent_r): Likewise.
13435 (__pututline): Likewise.
13436 * login/getutid.c (__getutid): Likewise.
13437 * login/getutid_r.c (__getutid_r): Likewise.
13438 * login/getutline.c (__getutline): Likewise.
13439 * login/getutline_r.c (__getutline_r): Likewise.
13440 * login/updwtmp.c (__updwtmp): Likewise.
13442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13445 * include/dirent.h (__opendir): Always add attribute_hidden.
13446 (__fdopendir): Likewise.
13447 (__closedir): Likewise.
13448 (__readdir): Likewise.
13449 (__readdir64): Add libc_hidden_proto.
13450 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
13451 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
13452 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
13453 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
13456 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13459 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
13460 * include/netdb.h (__gethostbyaddr_r): Likewise.
13461 (__gethostbyname_r): Likewise.
13462 (__gethostbyname2_r): Likewise.
13463 (__getnetbyaddr_r): Likewise.
13464 (__getnetbyname_r): Likewise.
13465 (__getservbyname_r): Likewise.
13466 (__getservbyport_r): Likewise.
13467 (__getprotobyname_r): Likewise.
13468 (__getprotobynumber_r): Likewise.
13469 (__getnetgrent_r): Likewise.
13470 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
13471 (__getrpcbynumber_r): Likewise.
13472 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
13474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13477 * include/stdio.h (__fcloseall): Add attribute_hidden.
13478 (__getline): Likewise.
13479 (__path_search): Likewise.
13480 (__gen_tempname): Likewise.
13481 (__libc_message): Likewise.
13482 (__flockfile): Likewise.
13483 (__funlockfile): Likewise.
13484 (__fxprintf): Likewise.
13485 (__fxprintf_nocancel): Likewise.
13487 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13490 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
13491 (__sgetsgent_r): Likewise.
13493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13496 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
13497 (__statfs64): Likewise.
13498 (__fstatfs64): Likewise.
13499 * include/sys/statvfs.h (__statvfs64): Likewise.
13500 (__fstatvfs64): Likewise.
13501 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
13502 (__statfs_filesize_max): Likewise.
13503 (__statfs_symlinks): Likewise.
13504 (__statfs_chown_restricted): Likewise.
13506 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13509 * include/time.h (__tzstring): Add attribute_hidden.
13510 (__tzfile_read): Likewise.
13511 (__tzfile_compute): Likewise.
13512 (__tzfile_default): Likewise.
13513 (__tzset_parse_tz): Likewise.
13514 (__offtime): Likewise.
13515 (__asctime_r): Likewise.
13516 (__tzset): Likewise.
13517 (__tz_convert): Likewise.
13518 (__getdate_r): Likewise.
13519 (__getclktck): Likewise.
13521 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13524 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
13525 (__nscd_unmap): Likewise.
13526 (__nscd_cache_search): Likewise.
13527 (__nscd_get_nl_timestamp): Likewise.
13528 (__nscd_getpwnam_r): Likewise.
13529 (__nscd_getpwuid_r): Likewise.
13530 (__nscd_getgrnam_r): Likewise.
13531 (__nscd_getgrgid_r): Likewise.
13532 (__nscd_gethostbyname_r): Likewise.
13533 (__nscd_gethostbyname2_r): Likewise.
13534 (__nscd_gethostbyaddr_r): Likewise.
13535 (__nscd_getai): Likewise.
13536 (__nscd_getgrouplist): Likewise.
13537 (__nscd_getservbyname_r): Likewise.
13538 (__nscd_getservbyport_r): Likewise.
13539 (__nscd_innetgr): Likewise.
13540 (__nscd_setnetgrent): Likewise.
13542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13545 * include/gmp.h: Declare internal functions only if _ISOMAC is
13547 (__mpn_extract_double): Add attribute_hidden.
13548 (__mpn_extract_long_double): Likewise.
13549 (__mpn_extract_float128): Likewise.
13550 (__mpn_construct_float): Likewise.
13551 (__mpn_construct_double): Likewise.
13552 (__mpn_construct_long_double): Likewise.
13553 (__mpn_construct_float128): Likewise.
13554 (mpn_add_1): Likewise.
13555 (mpn_addmul_1): Likewise.
13556 (mpn_add_n): Likewise.
13557 (mpn_cmp): Likewise.
13558 (mpn_divrem): Likewise.
13559 (mpn_lshift): Likewise.
13560 (mpn_mul): Likewise.
13561 (mpn_mul_1): Likewise.
13562 (mpn_rshift): Likewise.
13563 (mpn_sub_1): Likewise.
13564 (mpn_submul_1): Likewise.
13565 (mpn_sub_n): Likewise.
13567 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13570 * include/wchar.h (__wcsnlen): Add attribute_hidden.
13571 (__wcscat): Likewise.
13572 (__btowc): Likewise.
13573 (__wcrtomb): Likewise.
13574 (__mbsrtowcs): Likewise.
13575 (__wcsrtombs): Likewise.
13576 (__mbsnrtowcs): Likewise.
13577 (__wcsnrtombs): Likewise.
13578 (__wcsncpy): Likewise.
13579 (__wcpncpy): Likewise.
13580 (__wmemcpy): Likewise.
13581 (__wmempcpy): Likewise.
13582 (__wmemmove): Likewise.
13583 (__wcschrnul): Likewise.
13584 (__vfwscanf): Likewise.
13585 (__vswprintf): Likewise.
13586 (__fwprintf): Likewise.
13587 (__vfwprintf): Likewise.
13589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13592 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
13593 (__getgrgid_r): Likewise.
13594 (__getgrnam_r): Likewise.
13595 * include/pwd.h (__getpwuid_r): Likewise.
13596 (__getpwnam_r): Likewise.
13597 (__fgetpwent_r): Likewise.
13598 * include/shadow.h (__getspnam_r): Likewise.
13599 (__sgetspent_r): Likewise.
13600 (__fgetspent_r): Likewise.
13602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13605 * include/unistd.h (__access): Add attribute_hidden.
13606 (__lseek64): Likewise.
13607 (__libc_pread64): Likewise.
13608 (__pipe2): Likewise.
13609 (__sleep): Likewise.
13610 (__chdir): Likewise.
13611 (__fchdir): Likewise.
13612 (__getcwd): Likewise.
13613 (__rmdir): Likewise.
13614 (__execvpe): Likewise.
13615 (__execve): Likewise.
13616 (__setsid): Likewise.
13617 (__getuid): Likewise.
13618 (__geteuid): Likewise.
13619 (__getgid): Likewise.
13620 (__getegid): Likewise.
13621 (__getgroups): Likewise.
13622 (__group_member): Likewise.
13623 (__ttyname_r): Likewise.
13624 (__isatty): Likewise.
13625 (__readlink): Likewise.
13626 (__unlink): Likewise.
13627 (__gethostname): Likewise.
13628 (__profil): Likewise.
13629 (__getdtablesize): Likewise.
13631 (__ftruncate): Likewise.
13632 (__ftruncate64): Likewise.
13634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13637 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
13638 * argp/argp-fs-xinl.c: Likewise.
13639 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
13640 * argp/argp-parse.c: Include <argp.h>.
13641 * argp/argp-xinl.c: Likewise.
13642 * include/argp-fmtstream.h: New file.
13643 * include/argp.h (__argp_error): Add attribute_hidden.
13644 (__argp_failure): Likewise.
13645 (__argp_input): Likewise.
13646 (__argp_state_help): Likewise.
13648 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13651 * include/wchar.h (____wcstof_l_internal): New prototype.
13652 (____wcstod_l_internal): Likewise.
13653 (____wcstold_l_internal): Likewise.
13654 (____wcstol_l_internal): Likewise.
13655 (____wcstoul_l_internal): Likewise.
13656 (____wcstoll_l_internal): Likewise.
13657 (____wcstoull_l_internal): Likewise.
13658 (____wcstof128_l_internal): Likewise.
13659 * sysdeps/ieee754/float128/wcstof128.c
13660 (____wcstof128_l_internal): Removed.
13661 * sysdeps/ieee754/float128/wcstof128_l.c
13662 (____wcstof128_l_internal): Likewise.
13663 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
13664 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
13665 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
13666 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
13667 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
13668 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
13669 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
13670 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
13671 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
13672 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
13674 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13677 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
13678 instead of <sys/statvfs.h>.
13679 (__internal_statvfs): Removed.
13680 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
13681 instead of <sys/statvfs.h>.
13682 (__internal_statvfs64): Removed.
13683 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
13684 "internal_statvfs.h" instead of <sys/statvfs.h>.
13685 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
13686 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
13687 instead of <sys/statvfs.h>.
13688 (__internal_statvfs): Removed.
13689 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
13690 instead of <sys/statvfs.h>.
13691 (__internal_statvfs64): Removed.
13693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13696 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
13697 (__gconv_close): Likewise.
13698 (__gconv): Likewise.
13699 (__gconv_find_transform): Likewise.
13700 (__gconv_lookup_cache): Likewise.
13701 (__gconv_compare_alias_cache): Likewise.
13702 (__gconv_load_cache): Likewise.
13703 (__gconv_get_path): Likewise.
13704 (__gconv_close_transform): Likewise.
13705 (__gconv_release_cache): Likewise.
13706 (__gconv_find_shlib): Likewise.
13707 (__gconv_release_shlib): Likewise.
13708 (__gconv_get_builtin_trans): Likewise.
13709 (__gconv_compare_alias): Likewise.
13710 * include/dlfcn.h (_dlerror_run): Likewise.
13711 * include/stdio.h (__fortify_fail_abort): Likewise.
13712 * include/time.h (__tz_compute): Likewise.
13713 (__strptime_internal): Likewise.
13714 * intl/gettextP.h (_nl_find_domain): Likewise.
13715 (_nl_load_domain): Likewise.
13716 (_nl_find_msg): Likewise.
13717 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
13718 (EXTRACT_PLURAL_EXPRESSION): Likewise.
13719 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
13720 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
13721 (__gai_find_request): Likewise.
13722 (__gai_remove_request): Likewise.
13723 (__gai_notify): Likewise.
13724 (__gai_notify_only): Likewise.
13725 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
13726 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
13727 (_dl_non_dynamic_init): Likewise.
13728 (_dl_aux_init): Likewise.
13729 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
13730 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
13732 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
13733 (__wcsmbs_clone_conv): Likewise.
13734 (__wcsmbs_named_conv): Likewise.
13736 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13739 * include/stdlib.h (__random): Add attribute_hidden.
13740 (__random_r): Likewise.
13741 (__srandom_r): Likewise.
13742 (__initstate_r): Likewise.
13743 (__setstate_r): Likewise.
13744 (__erand48_r): Likewise.
13745 (__nrand48_r): Likewise.
13746 (__jrand48_r): Likewise.
13747 (__srand48_r): Likewise.
13748 (__seed48_r): Likewise.
13749 (__lcong48_r): Likewise.
13750 (__drand48_iterate): Likewise.
13751 (__setenv): Likewise.
13752 (__unsetenv): Likewise.
13753 (__clearenv): Likewise.
13754 (__ptsname_r): Likewise.
13755 (__posix_openpt): Likewise.
13756 (__add_to_environ): Likewise.
13757 (__realpath): Add libc_hidden_proto.
13758 (__ecvt_r): Likewise.
13759 (__fcvt_r): Likewise.
13760 (__qecvt_r): Likewise.
13761 (__qfcvt_r): Likewise.
13762 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
13763 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
13765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
13768 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
13769 * include/time.h (__mktime_internal): Likewise.
13770 * libio/iolibio.h (__fopen_internal): Likewise.
13772 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
13774 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
13776 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
13777 Correct offset used to restore PIC register.
13779 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
13782 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
13783 code to load address of __getcontext_ret when generating PIC code.
13785 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
13787 * elf/Makefile (tests-static-internal): Add
13788 tst-tls1-static-non-pie.
13789 (LDFLAGS-tst-tls1-static-non-pie): New.
13790 * elf/tst-tls1-static-non-pie.c: New file.
13792 2017-09-29 Joseph Myers <joseph@codesourcery.com>
13794 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
13795 (asinh): Define using libm_alias_double.
13796 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
13797 (cbrt): Define using libm_alias_double.
13798 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
13799 <libm-alias-double.h>.
13800 (copysign): Define using libm_alias_double.
13801 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
13802 (erf): Define using libm_alias_double.
13804 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
13805 (expm1): Define using libm_alias_double.
13806 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
13807 (fabs): Define using libm_alias_double.
13808 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
13810 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
13811 <libm-alias-double.h>.
13812 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
13814 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
13815 <libm-alias-double.h>.
13816 (getpayload): Define using libm_alias_double.
13817 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
13818 <libm-alias-double.h>.
13819 (llrint): Define using libm_alias_double.
13820 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
13821 (lrint): Define using libm_alias_double.
13822 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
13823 <libm-alias-double.h>.
13824 (nextup): Define using libm_alias_double.
13825 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
13826 <libm-alias-double.h>.
13827 (roundeven): Define using libm_alias_double.
13828 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
13830 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
13831 <libm-alias-double.h>.
13832 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
13833 using libm_alias_double.
13834 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
13835 (cos): Define using libm_alias_double.
13837 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
13838 <libm-alias-double.h>.
13839 (sincos): Define using libm_alias_double.
13840 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
13841 (tanh): Define using libm_alias_double.
13842 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13843 <libm-alias-double.h>.
13844 (totalorder): Define using libm_alias_double.
13845 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13846 <libm-alias-double.h>.
13847 (totalordermag): Define using libm_alias_double.
13848 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
13850 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
13852 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
13853 <libm-alias-double.h>.
13854 (getpayload): Define using libm_alias_double.
13855 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
13856 <libm-alias-double.h>.
13857 (roundeven): Define using libm_alias_double.
13858 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
13859 <libm-alias-double.h>.
13860 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13861 <libm-alias-double.h>.
13862 (totalorder): Define using libm_alias_double.
13863 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13864 <libm-alias-double.h>.
13865 (totalordermag): Define using libm_alias_double.
13866 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
13867 libc compat symbol here.
13868 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
13869 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
13870 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
13871 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
13872 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
13873 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
13874 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
13875 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
13876 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
13877 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
13879 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
13881 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
13882 _dl_relocate_static_pie instead of _dl_start to compute load
13883 address in static PIE. Return 0 if _DYNAMIC is undefined for
13886 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
13888 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
13889 _DYNAMIC is undefined for static executable.
13891 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
13893 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
13895 2017-09-29 Joseph Myers <joseph@codesourcery.com>
13897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13899 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
13901 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13902 (__ieee754_lgamma_r): Use fabs rather than __fabs.
13903 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13904 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13905 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13906 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
13907 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
13908 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
13909 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
13910 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
13911 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
13912 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13913 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
13914 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
13915 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13916 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13917 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
13919 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
13921 * math/bits/cmathcalls.h (cimag): Remove inline.
13922 (creal): Remove inline.
13923 (conj): Remove inline.
13925 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13927 * math/Makefile (type-float-routines): Add e_powf_log2_data.
13928 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
13929 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
13930 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
13931 (issignalingf_inline): Likewise.
13932 (POWF_LOG2_TABLE_BITS): Likewise.
13933 (POWF_LOG2_POLY_ORDER): Likewise.
13934 (POWF_SCALE_BITS): Likewise.
13935 (POWF_SCALE): Likewise.
13936 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
13937 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
13938 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
13940 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13942 * math/Makefile (type-float-routines): Add e_log2f_data.
13943 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
13944 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
13945 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
13946 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
13947 * sysdeps/i386/fpu/e_log2f_data.c: New file.
13948 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
13949 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
13951 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13953 * math/Makefile (type-float-routines): Add e_logf_data.
13954 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
13955 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
13956 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
13957 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
13958 * sysdeps/i386/fpu/e_logf_data.c: New file.
13959 * sysdeps/ia64/fpu/e_logf_data.c: New file.
13960 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
13962 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
13964 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
13965 undefined _DYNAMIC in PIE libc.a.
13966 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
13969 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
13971 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
13972 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
13973 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
13974 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
13975 (__signbit): Remove.
13976 (__signbitl): Remove.
13977 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
13978 (__signbit): Remove.
13979 (__signbitl): Remove.
13980 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
13981 (__signbit): Remove.
13982 (__signbitl): Remove.
13983 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
13984 (__signbit): Remove.
13985 (__signbitl): Remove.
13986 * sysdeps/tile/bits/mathinline.h: Delete file.
13987 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
13988 (__signbit): Remove.
13989 (__signbitl): Remove.
13991 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
13993 * math/math.h: Improve handling of C99 isgreater macros.
13994 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
13995 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
13996 * sysdeps/powerpc/bits/mathinline.h: Likewise.
13997 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13998 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
14000 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
14002 * sysdeps/aarch64/libm-test-ulps: Update.
14004 2017-09-28 Joseph Myers <joseph@codesourcery.com>
14007 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14008 math_opt_barrier on argument when doing arithmetic on it.
14009 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14010 Likewise. Use math_force_eval not math_opt_barrier after
14012 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
14013 math_opt_barrier on argument when doing arithmetic on it.
14014 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14017 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
14019 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
14021 (__freeifaddrs): Likewise.
14023 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14025 * include/dirent.h (__dirfd): New declaration.
14026 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
14028 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
14029 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
14030 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
14031 * include/unistd.h (__revoke): New declaration.
14032 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
14034 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14035 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
14037 * include/dirent.h (__seekdir): New declaration.
14038 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
14039 redefine as weak alias.
14040 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
14042 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
14043 and use libc_hidden_def on them.
14044 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
14046 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
14047 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
14048 instead of getifaddrs and freeifaddrs.
14050 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
14053 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
14054 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
14055 (__dso_handle): Remove declaration.
14056 * dlfcn/tstatexit.c (__dso_handle): Removed.
14057 (main): Don't check __dso_handle.
14058 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
14059 (main): Don't check __dso_handle.
14060 * include/dso_handle.h: New file.
14061 * malloc/mtrace.c: Include <dso_handle.h>.
14062 (mtrace): Pass __dso_handle directly.
14063 * nptl/pthread_atfork.c: Include <dso_handle.h>.
14064 (__dso_handle): Remove declaration.
14065 (__pthread_atfork): Pass __dso_handle directly.
14066 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
14067 (__dso_handle): Removed.
14068 * posix/wordexp-test.c: Include <dso_handle.h>.
14069 (__dso_handle): Remove declaration.
14070 (__app_register_atfork): Pass __dso_handle directly.
14071 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
14072 (__dso_handle): Remove declaration.
14073 (at_quick_exit): Pass __dso_handle directly.
14074 * stdlib/atexit.c: Include <dso_handle.h>.
14075 (__dso_handle): Remove declaration.
14076 (atexit): Pass __dso_handle directly.
14077 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
14078 (__dso_handle): Removed.
14080 2017-09-26 Joseph Myers <joseph@codesourcery.com>
14082 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
14085 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
14087 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
14088 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
14089 values to correct default value for given type.
14091 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
14094 * elf/Makefile (tests): Add tst-debug1.
14095 ($(objpfx)tst-debug1): New.
14096 ($(objpfx)tst-debug1.out): Likewise.
14097 ($(objpfx)tst-debug1mod1.so): Likewise.
14098 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
14099 with p_filesz == 0.
14100 * elf/tst-debug1.c: New file.
14102 2017-09-26 Joseph Myers <joseph@codesourcery.com>
14104 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
14105 Define using __ifunc.
14107 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14109 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
14112 2017-09-26 Joseph Myers <joseph@codesourcery.com>
14115 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
14117 2017-09-26 Florian Weimer <fweimer@redhat.com>
14119 * resolv/Makefile (tests-internal): Fix typo in comment.
14121 2017-09-26 Florian Weimer <fweimer@redhat.com>
14123 * resolv/nss_dns/dns-host.c: Fix typo in comment.
14125 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14127 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
14128 Use an union instead of a max_align_t array for __space,
14129 so that __space is the same size on all platforms.
14130 * malloc/scratch_buffer_grow_preserve.c
14131 (__libc_scratch_buffer_grow_preserve): Likewise.
14134 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
14136 * posix/Makefile (routines): Add glob-lstat-compat and
14137 glob64-lstat-compat.
14138 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
14139 * posix/glob-lstat-compat.c: New file.
14140 * posix/glob64-lstat-compat.c: Likewise.
14141 * posix/tst-glob_lstat_compat.c: Likewise.
14142 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
14143 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
14144 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
14145 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
14147 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
14148 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
14149 * posix/glob.c (glob_lstat): New function.
14150 (glob): Rename to __glob and add versioned symbol to 2.27.
14151 (glob_in_dir): Use glob_lstat.
14152 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
14153 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
14156 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
14157 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
14158 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
14159 gl_lstat on glob call.
14160 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
14161 and glob64 symbols.
14162 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14165 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14166 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14176 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14189 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
14191 * configure.ac (AS): Require binutils 2.25 or later.
14192 * configure: Regenerated.
14194 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14197 * stdlib/test-atexit-race-common.c (do_test): Minimize required
14200 2017-09-25 DJ Delorie <dj@redhat.com>
14203 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
14206 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14208 * sysdeps/ieee754/dbl-64/sincos32.h
14209 [SINCCOS32_H]: Remove define.
14210 [SINCOS32_H]: Define.
14212 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
14214 * math/Versions (expf): New libm symbol at GLIBC_2.27.
14216 * math/w_exp2f.c: New file.
14217 * math/w_expf.c: New file.
14218 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
14219 * math/w_expf_compat.c (__expf_compat): Likewise.
14220 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
14221 * sysdeps/ia64/fpu/e_expf.S: Likewise.
14222 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
14223 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14242 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14251 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14255 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
14257 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
14258 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
14259 (roundtoint, converttoint): Likewise.
14260 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
14261 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
14262 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
14263 * sysdeps/ieee754/flt-32/math_config.h: New file.
14264 * sysdeps/ieee754/flt-32/math_errf.c: New file.
14265 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
14266 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
14267 * sysdeps/i386/fpu/math_errf.c: New file.
14268 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
14269 * sysdeps/ia64/fpu/math_errf.c: New file.
14270 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
14271 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
14273 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
14275 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
14276 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
14277 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
14278 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
14279 to make sure that these symbols are defined.
14280 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
14282 (__need_NULL): Do not define.
14283 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
14285 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
14286 CMGROUP_MAX, cmsgcred): Do not define.
14287 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
14289 * bits/socket.h: Likewise.
14290 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
14291 __gettimeofday instead of gettimeofday.
14292 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
14293 instead of settimeofday.
14295 2017-09-22 Joseph Myers <joseph@codesourcery.com>
14297 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
14298 (asinhf): Define using libm_alias_float.
14299 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
14300 (atanf): Define using libm_alias_float.
14301 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
14302 (cbrtf): Define using libm_alias_float.
14303 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
14304 (ceilf): Define using libm_alias_float.
14305 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
14306 <libm-alias-float.h>.
14307 (copysignf): Define using libm_alias_float.
14308 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
14309 (cosf): Define using libm_alias_float.
14310 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
14311 (erff): Define using libm_alias_float.
14313 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
14314 (expm1f): Define using libm_alias_float.
14315 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
14316 (fabsf): Define using libm_alias_float.
14317 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
14318 (floorf): Define using libm_alias_float.
14319 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
14320 (frexpf): Define using libm_alias_float.
14321 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
14323 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
14324 <libm-alias-float.h>.
14325 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
14327 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
14328 <libm-alias-float.h>.
14329 (getpayloadf): Define using libm_alias_float.
14330 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
14331 <libm-alias-float.h>.
14332 (llrintf): Define using libm_alias_float.
14333 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
14334 <libm-alias-float.h>.
14335 (llroundf): Define using libm_alias_float.
14336 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
14337 (logbf): Define using libm_alias_float.
14338 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
14339 (lrintf): Define using libm_alias_float.
14340 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
14341 (lroundf): Define using libm_alias_float.
14342 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
14343 (modff): Define using libm_alias_float.
14344 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
14345 <libm-alias-float.h>.
14346 (nearbyintf): Define using libm_alias_float.
14347 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
14348 <libm-alias-float.h>.
14349 (nextafterf): Define using libm_alias_float.
14350 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
14351 <libm-alias-float.h>.
14352 (nextupf): Define using libm_alias_float.
14353 * sysdeps/ieee754/flt-32/s_remquof.c: Include
14354 <libm-alias-float.h>.
14355 (remquof): Define using libm_alias_float.
14356 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
14357 (rintf): Define using libm_alias_float.
14358 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
14359 <libm-alias-float.h>.
14360 (roundevenf): Define using libm_alias_float.
14361 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
14362 (roundf): Define using libm_alias_float.
14363 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
14364 using libm_alias_float.
14365 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
14366 <libm-alias-float.h>.
14367 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
14368 Define using libm_alias_float.
14369 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
14370 <libm-alias-float.h>.
14371 (sincosf): Define using libm_alias_float.
14372 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
14373 (sinf): Define using libm_alias_float.
14374 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
14375 (tanf): Define using libm_alias_float.
14376 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
14377 (tanhf): Define using libm_alias_float.
14378 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
14379 <libm-alias-float.h>.
14380 (totalorderf): Define using libm_alias_float.
14381 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14382 <libm-alias-float.h>.
14383 (totalordermagf): Define using libm_alias_float.
14384 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
14385 (truncf): Define using libm_alias_float.
14386 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
14388 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
14391 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14394 math/math.h: Let fpclassify use the builtin in C++ mode, even
14395 when optimazing for size.
14397 2017-09-22 Joseph Myers <joseph@codesourcery.com>
14399 * csu/Makefile (generated): Do not add version-info.h.
14400 (before-compile): Likewise.
14401 (all-Banner-files): Remove variable.
14402 ($(objpfx)version-info.h): Remove rule.
14403 * csu/version.c (banner): Do not include "version-info.h".
14404 * libidn/Banner: Remove.
14405 * manual/contrib.texi (Simon Josefsson): New entry.
14407 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14410 Remove conditionals on LDBL_MANT_DIG.
14411 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
14412 (__ieee754_lgammal_r): Likewise.
14414 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14416 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
14418 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
14419 _Float128 and L(). Replace _Float128 with long double and L(x)
14420 with xL, throughout the file.
14421 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14422 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14423 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14424 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
14426 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
14429 sysdeps/ieee754/ldbl-128ibm.
14430 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
14431 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
14432 of including it. Keep _Float128 and L() intact. These will be
14433 reviewed by a separate patch.
14434 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14435 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14436 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14437 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
14439 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
14442 (__finitef128): Define to __redirect___finitef128.
14443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
14444 (__isinff128): Define to __redirect___isinff128.
14445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
14446 (__isnanf128): Define to __redirect___isnanf128.
14448 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14450 * sysdeps/powerpc/powerpc64le/Makefile
14451 (CFLAGS-tst-strtod-nan-locale.c): New variable.
14452 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
14454 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
14455 Carlos O'Donell <carlos@redhat.com>
14458 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
14459 * stdlib/test-dlclose-exit-race.c: New file.
14460 * stdlib/test-dlclose-exit-race-helper.c: New file.
14461 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
14463 2017-09-21 Joseph Myers <joseph@codesourcery.com>
14465 * crypt/Banner: Remove file.
14466 * nptl/Banner: Likewise.
14467 * resolv/Banner: Likewise.
14468 * soft-fp/Banner: Likewise.
14469 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
14470 ($(objpfx)version.d): Remove dependency on banner.h.
14471 ($(objpfx)version.os): Likewise.
14472 * nptl/version.c (banner): Do not include banner.h.
14473 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
14474 Jelinek and BIND code.
14476 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14477 Carlos O'Donell <carlos@redhat.com>
14479 * support/xdlfcn.h: New file.
14480 * support/xdlfcn.c: New file.
14481 * support/Makefile (libsupport-routines): Add xdlfcn.
14482 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
14484 2017-09-20 Joseph Myers <joseph@codesourcery.com>
14487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14488 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
14489 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
14490 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
14491 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
14492 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
14493 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
14494 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
14496 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14497 Ricky Zhou <rickyz@google.com>
14498 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
14501 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
14503 (__new_exitfn): Fail registration when we finished at_exit processing.
14504 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14505 * stdlib/on_exit.c (__on_exit): Likewise.
14506 * stdlib/exit.c (__exit_funcs_done): New variable.
14507 (__run_exit_handlers): Use __exit_funcs_lock.
14508 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
14510 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
14511 (test-cxa_atexit-race, test-on_exit-race): New tests.
14512 * stdlib/test-atexit-race-common.c: New file.
14513 * stdlib/test-atexit-race.c: New file.
14514 * stdlib/test-at_quick_exit-race.c: New file.
14515 * stdlib/test-cxa_atexit-race.c: New file.
14516 * stdlib/test-on_exit-race.c: New file.
14518 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
14520 * benchtests/Makefile: Add exp2f and log2f benchmarks.
14521 * benchtests/exp2f-inputs: Copy of expf-inputs.
14522 * benchtests/log2f-inputs: Copy of logf-inputs.
14524 2017-09-19 Joseph Myers <joseph@codesourcery.com>
14526 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
14527 Explicitly take address of first element of array arguments in
14528 call to INLINE_SYSCALL.
14530 2017-09-19 Andreas Schwab <schwab@suse.de>
14533 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
14535 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
14537 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
14538 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
14539 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14540 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
14541 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14542 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
14543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14544 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
14545 * posix/Makefile (tests): Add tst-fexecve.
14546 * posix/tst-fexecve.c: New file.
14548 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
14550 * benchtests/Makefile: Add logf benchmark.
14551 * benchtests/logf-inputs: Add reduced trace from wrf_r.
14553 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
14555 * benchtests/Makefile: Add expf benchmark.
14556 * benchtests/expf-inputs: Add reduced trace from wrf_r.
14558 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
14560 * csu/Makefile: Add -funwind-tables to libc-start.c.
14561 * debug/Makefile: Add -funwind-tables to backtrace.c.
14562 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
14563 * sysdeps/arm/Makefile: Likewise.
14564 * sysdeps/i386/Makefile: Likewise.
14565 * sysdeps/m68k/Makefile: Likewise.
14566 * sysdeps/mips/Makefile: Likewise.
14567 * sysdeps/nios2/Makefile: Likewise.
14568 * sysdeps/sh/Makefile: Likewise.
14569 * sysdeps/sparc/Makefile: Likewise.
14571 2017-09-19 Joseph Myers <joseph@codesourcery.com>
14573 * benchtests/Makefile (bench-math): Add trunc and truncf.
14574 (CFLAGS-bench-trunc.c): New variable.
14575 (CFLAGS-bench-truncf.c): Likewise.
14576 * benchtests/trunc-inputs: New file.
14577 * benchtests/truncf-inputs: Likewise.
14579 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14581 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
14583 2017-09-18 Joseph Myers <joseph@codesourcery.com>
14585 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
14586 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
14588 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
14589 (exp10l): Define as weak alias.
14590 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
14591 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
14593 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
14594 (remainderl): Define as weak alias.
14596 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
14597 (fmal): Define using libm_alias_ldouble.
14598 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
14599 (acoshl): Define using libm_alias_ldouble.
14600 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
14601 (acosl): Define using libm_alias_ldouble.
14602 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
14603 (asinl): Define using libm_alias_ldouble.
14604 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
14605 (atan2l): Define using libm_alias_ldouble.
14606 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
14607 (atanhl): Define using libm_alias_ldouble.
14608 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
14609 (coshl): Define using libm_alias_ldouble.
14610 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
14611 (exp10l): Define using libm_alias_ldouble.
14612 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
14613 (exp2l): Define using libm_alias_ldouble.
14614 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
14615 (expl): Define using libm_alias_ldouble.
14616 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
14617 (fmodl): Define using libm_alias_ldouble.
14618 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
14619 (hypotl): Define using libm_alias_ldouble.
14620 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
14621 (j0l): Define using libm_alias_ldouble.
14623 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
14624 (j1l): Define using libm_alias_ldouble.
14626 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
14627 (jnl): Define using libm_alias_ldouble.
14629 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
14630 (log10l): Define using libm_alias_ldouble.
14631 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
14632 (log2l): Define using libm_alias_ldouble.
14633 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
14634 (logl): Define using libm_alias_ldouble.
14635 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
14636 (powl): Define using libm_alias_ldouble.
14637 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
14638 (remainderl): Define using libm_alias_ldouble.
14639 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
14640 (sinhl): Define using libm_alias_ldouble.
14641 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
14642 (sqrtl): Define using libm_alias_ldouble.
14643 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
14644 (tgammal): Define using libm_alias_ldouble.
14645 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
14646 (exp10l): Do not use long_double_symbol here.
14647 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
14648 [LIBM_SVID_COMPAT] (remainderl): Likewise.
14649 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
14650 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
14651 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
14652 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
14653 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
14654 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
14655 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
14656 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
14657 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
14658 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
14659 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
14660 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
14661 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
14662 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
14663 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
14664 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
14665 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
14666 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
14667 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
14668 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
14670 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
14672 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
14673 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
14675 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14677 * io/read.c (read): Add libc_hidden_weak.
14678 * sysdeps/mach/hurd/read.c (read): Likewise.
14679 * io/write.c (write): Likewise.
14680 * sysdeps/mach/hurd/write.c (write): Likewise.
14681 * io/pread64.c (__pread64): Likewise.
14682 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
14683 * posix/pread64.c (__pread64): Add libc_hidden_def.
14685 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
14687 * benchtests/scripts/compare_strings.py: New option -g.
14688 (draw_graph): Print a message that a graph is being generated.
14689 (process_results): Generate graph only if -g is passed.
14690 (main): Process option -g.
14692 * benchtests/scripts/compare_strings.py (process_results):
14693 Better spacing for output.
14695 * benchtests/scripts/compare_strings.py: Use argparse.
14696 * benchtests/README: Document existence of compare_strings.py.
14698 2017-09-15 Joseph Myers <joseph@codesourcery.com>
14700 * math/s_fma.c: Include <libm-alias-double.h>.
14701 (fma): Define using libm_alias_double.
14702 * math/s_nextafter.c: Include <libm-alias-double.h>.
14703 (nextafter): Define using libm_alias_double.
14704 * math/w_acos_compat.c: Include <libm-alias-double.h>.
14705 (acos): Define using libm_alias_double.
14706 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
14707 (aocsh): Define using libm_alias_double.
14708 * math/w_asin_compat.c: Include <libm-alias-double.h>.
14709 (asin): Define using libm_alias_double.
14710 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
14711 (atan2): Define using libm_alias_double.
14712 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
14713 (atanh): Define using libm_alias_double.
14714 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
14715 (cosh): Define using libm_alias_double.
14716 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
14717 (exp10): Define using libm_alias_double.
14718 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
14719 (exp2): Define using libm_alias_double.
14720 * math/w_exp_compat.c: Include <libm-alias-double.h>.
14721 (exp): Define using libm_alias_double.
14722 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
14723 (fmod): Define using libm_alias_double.
14724 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
14725 (hypot): Define using libm_alias_double.
14726 * math/w_j0_compat.c: Include <libm-alias-double.h>.
14727 (j0): Define using libm_alias_double.
14729 * math/w_j1_compat.c: Include <libm-alias-double.h>.
14730 (j1): Define using libm_alias_double.
14732 * math/w_jn_compat.c: Include <libm-alias-double.h>.
14733 (jn): Define using libm_alias_double.
14735 * math/w_log10_compat.c: Include <libm-alias-double.h>.
14736 (log10): Define using libm_alias_double.
14737 * math/w_log2_compat.c: Include <libm-alias-double.h>.
14738 (log2): Define using libm_alias_double.
14739 * math/w_log_compat.c: Include <libm-alias-double.h>.
14740 (log): Define using libm_alias_double.
14741 * math/w_pow_compat.c: Include <libm-alias-double.h>.
14742 (pow): Define using libm_alias_double.
14743 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
14744 (remainder): Define using libm_alias_double.
14745 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
14746 (sinh): Define using libm_alias_double.
14747 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
14748 (sqrt): Define using libm_alias_double.
14749 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
14750 (tgamma): Define using libm_alias_double.
14751 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
14752 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
14753 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
14754 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
14755 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
14756 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
14757 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
14758 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
14759 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
14760 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
14761 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
14762 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
14763 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
14764 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
14765 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
14766 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
14767 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
14768 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
14769 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
14770 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
14771 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
14772 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
14773 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
14774 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
14775 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
14777 * math/e_acoshl.c: Remove.
14778 * math/e_acosl.c: Likewise.
14779 * math/e_asinl.c: Likewise.
14780 * math/e_atan2l.c: Likewise.
14781 * math/e_atanhl.c: Likewise.
14782 * math/e_coshl.c: Likewise.
14783 * math/e_expl.c: Likewise.
14784 * math/e_fmodl.c: Likewise.
14785 * math/e_gammal_r.c: Likewise.
14786 * math/e_hypotl.c: Likewise.
14787 * math/e_j0l.c: Likewise.
14788 * math/e_j1l.c: Likewise.
14789 * math/e_jnl.c: Likewise.
14790 * math/e_lgammal_r.c: Likewise.
14791 * math/e_log10l.c: Likewise.
14792 * math/e_log2l.c: Likewise.
14793 * math/e_logl.c: Likewise.
14794 * math/e_powl.c: Likewise.
14795 * math/e_rem_pio2l.c: Likewise.
14796 * math/e_sinhl.c: Likewise.
14797 * math/e_sqrtf128.c: Likewise.
14798 * math/e_sqrtl.c: Likewise.
14799 * math/k_cosl.c: Likewise.
14800 * math/k_sinl.c: Likewise.
14801 * math/k_tanl.c: Likewise.
14802 * math/s_asinhl.c: Likewise.
14803 * math/s_atanl.c: Likewise.
14804 * math/s_cbrtl.c: Likewise.
14805 * math/s_erfl.c: Likewise.
14806 * math/s_expm1l.c: Likewise.
14807 * math/s_log1pl.c: Likewise.
14808 * math/s_tanhl.c: Likewise.
14810 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14813 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
14814 [$(subdir) = math] (sysdep_calls): New variable. Has the
14815 previous contents of sysdep_routines, but re-sorted..
14816 [$(subdir) = math] (sysdep_routines): Re-use the contents from
14818 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
14819 defined in sysdep_calls and replace by the respective m_* names.
14820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
14821 (compat_symbol): Undefine to avoid duplicated compat symbols in
14824 2017-09-15 Joseph Myers <joseph@codesourcery.com>
14826 * math/s_fmaf.c: Include <libm-alias-float.h>.
14827 (fmaf): Define using libm_alias_float.
14828 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
14829 (acosf): Define using libm_alias_float.
14830 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
14831 (acoshf): Define using libm_alias_float.
14832 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
14833 (asinf): Define using libm_alias_float.
14834 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
14835 (atan2f): Define using libm_alias_float.
14836 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
14837 (atanhf): Define using libm_alias_float.
14838 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
14839 (coshf): Define using libm_alias_float.
14840 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
14841 (exp10f): Define using libm_alias_float.
14842 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
14843 (fmodf): Define using libm_alias_float.
14844 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
14845 (hypotf): Define using libm_alias_float.
14846 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
14847 (j0f): Define using libm_alias_float.
14849 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
14850 (j1f): Define using libm_alias_float.
14852 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
14853 (jnf): Define using libm_alias_float.
14855 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
14856 (log10f): Define using libm_alias_float.
14857 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
14858 (log2f): Define using libm_alias_float.
14859 * math/w_logf_compat.c: Include <libm-alias-float.h>.
14860 (logf): Define using libm_alias_float.
14861 * math/w_powf_compat.c: Include <libm-alias-float.h>.
14862 (powf): Define using libm_alias_float.
14863 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
14864 (remainderf): Define using libm_alias_float.
14865 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
14866 (sinhf): Define using libm_alias_float.
14867 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
14868 (sqrtf): Define using libm_alias_float.
14869 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
14870 (tgammaf): Define using libm_alias_float.
14872 2017-09-14 Joseph Myers <joseph@codesourcery.com>
14874 * include/math.h (roundeven): Change hidden_proto call to
14876 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
14878 [NO_LONG_DOUBLE] (__j0l): New strong alias.
14879 (y0): Rename to __y0 and define as weak alias.
14880 [NO_LONG_DOUBLE] (__y0l): New strong alias.
14881 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
14883 (y0f): Rename to __y0f and define as weak alias.
14884 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
14886 [NO_LONG_DOUBLE] (__j1l): New strong alias.
14887 (y1): Rename to __y1 and define as weak alias.
14888 [NO_LONG_DOUBLE] (__y1l): New strong alias.
14889 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
14891 (y1f): Rename to __y1f and define as weak alias.
14892 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
14894 [NO_LONG_DOUBLE] (__jnl): New strong alias.
14895 (yn): Rename to __yn and define as weak alias.
14896 [NO_LONG_DOUBLE] (__ynl): New strong alias.
14897 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
14899 (ynf): Rename to __ynf and define as weak alias.
14900 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
14901 (fromfp): Define as weak alias.
14902 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
14903 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
14904 (fromfpx): Define as weak alias.
14905 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
14906 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
14907 __getpayload and define as weak alias.
14908 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
14909 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
14910 __roundeven and define as weak alias.
14911 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
14912 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
14914 (setpayload): Define as weak alias.
14915 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
14916 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
14918 (setpayloadsig): Define as weak alias.
14919 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
14920 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
14921 __totalorder and define as weak alias.
14922 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
14923 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
14924 to __totalordermag and define as weak alias.
14925 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
14926 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
14927 (ufromfp): Define as weak alias.
14928 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
14929 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
14931 (ufromfpx): Define as weak alias.
14932 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
14933 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
14934 Rename to __getpayload and define as weak alias.
14935 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
14936 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
14937 Rename to __roundeven and define as weak alias.
14938 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
14939 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
14940 Rename to __totalorder and define as weak alias.
14941 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
14942 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
14943 (totalordermag): Rename to __totalordermag and define as weak
14945 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
14946 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
14948 (__roundevenl): Likewise.
14949 (__totalorderl): Likewise.
14950 (__totalordermagl): Likewise
14951 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
14953 (fromfpf128): Define as weak alias.
14954 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
14956 (fromfpxf128): Define as weak alias.
14957 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
14959 (setpayloadf128): Define as weak alias.
14960 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
14961 __setpayloadsigf128.
14962 (setpayloadsigf128): Define as weak alias.
14963 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
14965 (ufromfpf128): Define as weak alias.
14966 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
14968 (ufromfpxf128): Define as weak alias.
14969 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
14970 (fromfpf): Define as weak alias.
14971 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
14973 (fromfpxf): Define as weak alias.
14974 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
14975 __getpayloadf and define as weak alias.
14976 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
14977 __roundevenf and define as weak alias.
14978 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
14980 (setpayloadf): Define as weak alias.
14981 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
14983 (setpayloadsigf): Define as weak alias.
14984 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
14985 __totalorderf and define as weak alias.
14986 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
14987 Rename to __totalordermagf and define as weak alias.
14988 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
14990 (ufromfpf): Define as weak alias.
14991 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
14993 (ufromfpxf): Define as weak alias.
14994 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
14996 (fromfpl): Define as weak alias.
14997 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
14999 (fromfpxl): Define as weak alias.
15000 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
15001 to __getpayloadl and define as weak alias.
15002 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
15003 __roundevenl and define as weak alias.
15004 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
15006 (setpayloadl): Define as weak alias.
15007 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
15009 (setpayloadsigl): Define as weak alias.
15010 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
15011 to __totalorderl and define as weak alias.
15012 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
15013 Rename to __totalordermagl and define as weak alias.
15014 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
15016 (ufromfpl): Define as weak alias.
15017 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
15019 (ufromfpxl): Define as weak alias.
15020 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
15022 (fromfpl): Define as weak alias.
15023 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
15025 (fromfpxl): Define as weak alias.
15026 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
15027 Rename to __getpayloadl and define as weak alias.
15028 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
15029 to __roundevenl and define as weak alias. Call __roundeven
15030 instead of roundeven.
15031 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
15033 (setpayloadl): Define as weak alias.
15034 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
15036 (setpayloadsigl): Define as weak alias.
15037 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
15038 Rename to __totalorderl and define as weak alias.
15039 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
15040 Rename to __totalordermagl and define as weak alias.
15041 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
15043 (ufromfpl): Define as weak alias.
15044 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
15046 (ufromfpxl): Define as weak alias.
15047 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
15049 (fromfpl): Define as weak alias.
15050 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
15052 (fromfpxl): Define as weak alias.
15053 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
15054 __getpayloadl and define as weak alias.
15055 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
15056 __roundevenl and define as weak alias.
15057 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
15059 (setpayloadl): Define as weak alias.
15060 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
15062 (setpayloadsigl): Define as weak alias.
15063 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
15064 __totalorderl and define as weak alias.
15065 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
15066 Rename to __totalordermagl and define as weak alias.
15067 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
15069 (ufromfpl): Define as weak alias.
15070 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
15072 (ufromfpxl): Define as weak alias.
15074 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15076 * benchtests/bench-string.h (realloc_bufs): New function.
15077 (test_init): Call it.
15078 * benchtests/bench-memset-large.c (do_test): Likewise.
15079 * benchtests/bench-memset.c (do_test): Likewise.
15081 * benchtests/bench-memset-large.c: Print output in JSON
15083 * benchtests/bench-memset.c: Likewise.
15085 2017-09-14 Mike FABIAN <mfabian@redhat.com>
15088 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
15089 * iconvdata/Makefile: Add IBM858.
15090 * iconvdata/gconv-modules: Likewise.
15091 * iconvdata/tst-tables.sh: Likewise.
15092 * iconvdata/ibm858.c: New file.
15093 * localedata/charmaps/IBM858: Likewise.
15095 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
15098 * locales/niu_NZ (LC_TIME): copy "niu_NU".
15099 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
15101 2017-09-14 Mike FABIAN <mfabian@redhat.com>
15104 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
15105 and add tel_int_fmt.
15107 2017-09-14 Joseph Myers <joseph@codesourcery.com>
15109 * sysdeps/generic/libm-alias-float128.h: New file.
15110 * sysdeps/generic/math-type-macros-float128.h: Include
15111 <libm-alias-float128.h>.
15112 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
15114 2017-09-13 Joseph Myers <joseph@codesourcery.com>
15116 * sysdeps/generic/libm-alias-ldouble.h: New file.
15117 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
15118 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
15119 * sysdeps/generic/math-type-macros-ldouble.h: Include
15120 <libm-alias-ldouble.h>.
15121 [!declare_mgen_alias] (declare_mgen_alias): Define to use
15122 libm_alias_ldouble.
15124 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
15126 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
15127 * math/w_exp_compat.c: ... here.
15128 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
15129 * math/w_expf_compat.c: ... here.
15130 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
15131 * math/w_expl_compat.c: ... here.
15132 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
15133 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
15134 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
15135 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
15137 2017-09-13 Joseph Myers <joseph@codesourcery.com>
15139 * math/w_scalbln_template.c (strong_alias): Do not undefine and
15141 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
15143 (ldexpl): Only define as compat symbol for libc, not libm.
15144 (scalbnl): Define as compat symbol for libc here.
15145 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
15146 define for [IS_IN (libc)].
15147 (__ldexpl_2): Remove alias.
15148 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
15149 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
15150 name in long_double_symbol call.
15151 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
15152 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
15153 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
15154 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
15155 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
15157 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
15158 Define as compat symbol.
15160 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15162 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
15163 * sysdeps/unix/sysv/linux/alpha/Makefile
15164 [$(subdir) = csu] (sysdep_routines): Remove rule.
15166 2017-09-13 Joseph Myers <joseph@codesourcery.com>
15168 * sysdeps/generic/libm-alias-double.h: New file.
15169 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
15170 * sysdeps/generic/math-type-macros-double.h: Include
15171 <libm-alias-double.h>.
15172 [declare_mgen_alias] (declare_mgen_alias): Define to use
15174 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
15175 (M_LIBM_NEED_COMPAT): Remove macro.
15176 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
15177 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
15178 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
15180 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15181 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15182 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15183 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15184 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15185 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15186 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15187 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15188 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15189 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15190 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15191 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15192 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15193 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15194 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15195 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15196 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15197 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15198 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15199 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15200 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15201 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15202 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15203 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15204 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15205 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15206 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
15207 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
15208 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
15210 (declare_mgen_alias): New macro.
15211 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
15212 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
15213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
15214 (M_LIBM_NEED_COMPAT): Remove macro.
15215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
15216 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
15217 <first-versions.h>.
15218 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
15219 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
15221 2017-09-12 Joseph Myers <joseph@codesourcery.com>
15223 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
15224 (declare_mgen_alias_2): Remove.
15225 * sysdeps/generic/math-type-macros-double.h
15226 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
15228 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
15230 (ldexp): Define with declare_mgen_alias.
15231 (scalbn): Likewise.
15233 2017-09-12 Steve Ellcey <sellcey@cavium.com>
15235 * grp/initgroups.c: Include config.h.
15236 (DEFAULT_CONFIG): New macro.
15237 (internal_getgrouplist): Use DEFAULT_CONFIG.
15238 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15239 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
15240 (DEFAULT_DEFCONFIG): New macro.
15241 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
15242 * nss/grp-lookup.c: Include config.h
15243 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
15244 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
15245 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
15246 * manual/nss.texi: Update default values section.
15248 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
15251 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
15253 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
15254 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15255 Handle MathVec_Prefer_No_AVX512.
15256 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
15257 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
15260 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
15262 * posix/sched_primax.c (__sched_get_priority_max): Add
15264 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
15265 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
15266 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
15267 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
15268 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
15269 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
15270 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
15271 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
15274 2017-09-11 Joseph Myers <joseph@codesourcery.com>
15276 * sysdeps/generic/libm-alias-float.h: New file.
15277 * sysdeps/generic/math-type-macros-float.h: Include
15278 <libm-alias-float.h>.
15279 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
15281 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
15284 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
15285 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
15286 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
15287 (HWCAP_IMPORTANT): Likewise.
15288 (HWCAP_X86_64): New enum.
15289 (HWCAP_X86_AVX512_1): Updated.
15290 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
15291 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
15292 (modules-names): Add x86_64/tst-x86_64mod-1.
15293 (LDFLAGS-tst-x86_64mod-1.so): New.
15294 ($(objpfx)tst-x86_64-1): Likewise.
15295 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
15296 (tst-x86_64-1-clean): Likewise.
15297 * sysdeps/x86_64/tst-x86_64-1.c: New file.
15298 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
15300 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15302 * po/sv.po: Update translations.
15303 * po/fr.po: Likewise.
15305 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15307 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
15309 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
15311 * elf/rtld-Rules: Fix $(error) use.
15313 2017-09-09 Mike FABIAN <mfabian@redhat.com>
15316 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
15317 * locale/iso-639.def: Change “Bengali” to “Bangla”.
15318 * localedata/locales/bn_BD: “Bengali” was still used in some
15319 comments. Change it to “Bangla”.
15321 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
15323 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
15325 2017-09-08 Steve Ellcey <sellcey@cavium.com>
15327 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
15328 thunderx2t99p1 to list of cpu names.
15329 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
15330 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
15332 2017-09-08 Steve Ellcey <sellcey@cavium.com>
15334 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
15335 Use strcmp instead of tunable_is_name.
15337 2017-09-08 Joseph Myers <joseph@codesourcery.com>
15339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15340 (F_GET_RW_HINT): New macro.
15341 [__USE_GNU] (F_SET_RW_HINT): Likewise.
15342 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
15343 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
15344 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
15345 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
15346 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
15347 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
15348 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
15349 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
15351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15352 (F_ADD_SEALS): New macro.
15353 [__USE_GNU] (F_GET_SEALS): Likewise.
15354 [__USE_GNU] (F_SEAL_SEAL): Likewise.
15355 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
15356 [__USE_GNU] (F_SEAL_GROW): Likewise.
15357 [__USE_GNU] (F_SEAL_WRITE): Likewise.
15359 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15361 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
15362 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
15363 * posix/glob_internal.h (__glob_pattern_type):
15364 * posix/glob.c (glob):
15365 * posix/glob_pattern_p.c (__glob_pattern_p):
15368 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
15369 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15370 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
15371 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
15372 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
15374 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
15375 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
15376 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
15377 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15378 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
15379 * sysdeps/wordsize-64/glob.c: Likewise.
15380 * sysdeps/wordsize-64/glob64.c: Likewise.
15381 * sysdeps/wordsize-64/globfree.c: Likewise.
15382 * sysdeps/wordsize-64/globfree64.c: Likewise.
15383 * sysdeps/unix/sysv/linux/glob.c: New file.
15384 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
15385 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
15386 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
15387 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
15388 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
15389 adds !GLOB_NO_OLD_VERSION as an extra condition.
15390 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
15391 using relative path instead of absolute one.
15392 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15393 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15394 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15395 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15396 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
15397 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
15400 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
15401 (glob): Use the same scratch buffer for both getlogin_r and
15402 getpwnam_r. Don’t require preallocation of the login name. This
15403 simplifies storage allocation, and corrects the handling of
15407 * posix/glob.c (glob): Port recent patches to platforms
15408 lacking getpwnam_r.
15409 (glob): Fix longstanding misuse of errno after getpwnam_r, which
15410 returns an error number rather than setting errno.
15412 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
15413 instead of GCC extension.
15414 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
15415 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
15416 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
15420 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
15421 * posix/bug-glob1.c: Remove file.
15422 * posix/tst-glob_symlinks.c: New file.
15423 * posix/glob.c (__lstat64): New macro.
15424 (is_dir): New function.
15425 (glob, glob_in_dir): Match symlinks even if they are dangling.
15426 (link_stat, link_exists_p): Remove. All uses removed.
15430 * posix/glob.c (struct readdir_result): Remove skip_entry member.
15431 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
15436 * posix/Makefile (routines): Add globfree, globfree64, and
15438 * posix/flexmember.h: New file.
15439 * posix/glob_internal.h: Likewise.
15440 * posix/glob_pattern_p.c: Likewise.
15441 * posix/globfree.c: Likewise.
15442 * posix/globfree64.c: Likewise.
15443 * sysdeps/gnu/globfree64.c: Likewise.
15444 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
15445 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
15446 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
15447 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
15448 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
15449 * sysdeps/wordsize-64/globfree.c: Likewise.
15450 * sysdeps/wordsize-64/globfree64.c: Likewise.
15451 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
15452 [NDEBUG): Remove comments.
15453 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
15454 (dirent_type): New type. Use uint_fast8_t not
15455 uint8_t, as C99 does not require uint8_t.
15456 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
15457 (struct readdir_result): Use dirent_type. Do not define skip_entry
15458 unless it is needed; this saves a byte on platforms lacking d_ino.
15459 (readdir_result_type, readdir_result_skip_entry):
15460 New functions, replacing ...
15461 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
15462 these functions, which were removed. This makes the callers
15463 easier to read. All callers changed.
15464 (D_INO_TO_RESULT): Now empty if there is no d_ino.
15465 (size_add_wrapv, glob_use_alloca): New static functions.
15466 (glob, glob_in_dir): Check for size_t overflow in several places,
15467 and fix some size_t checks that were not quite right.
15468 Remove old code using SHELL since Bash no longer
15470 (glob, prefix_array): Separate MS code better.
15471 (glob_in_dir): Remove old Amiga and VMS code.
15472 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
15474 (glob_in_dir): Do not rely on undefined behavior in accessing
15475 struct members beyond their bounds. Use a flexible array member
15477 (link_stat): Rename from link_exists2_p and return -1/0 instead of
15478 0/1. Caller changed.
15479 (glob): Fix memory leaks.
15480 * posix/glob64 (globfree64): Move to separate file.
15481 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
15482 (globfree64): Remove hidden alias.
15483 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
15485 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
15487 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
15489 Move compat code to separate file.
15490 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
15493 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
15495 * resolv/tst-resolv-qtypes.c (domain): Changed to
15496 "const char domain[] =".
15498 2017-09-07 Joseph Myers <joseph@codesourcery.com>
15500 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15503 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
15504 (TCP_MD5SIG_EXT): Likewise.
15505 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
15506 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
15507 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
15509 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
15511 2017-09-07 Mike FABIAN <mfabian@redhat.com>
15513 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
15515 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
15518 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
15520 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15522 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
15523 before assuming that the file is empty. Avoid testing buffer content
15526 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15529 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
15531 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
15533 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
15535 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
15537 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
15539 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
15541 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
15544 2017-09-06 Florian Weimer <fweimer@redhat.com>
15546 * malloc/dynarray_emplace_enlarge.c
15547 (__libc_dynarray_emplace_enlarge): Add missing else.
15549 2017-09-06 Florian Weimer <fweimer@redhat.com>
15552 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
15553 case of failure to obtain the global conf object.
15555 2017-09-06 Florian Weimer <fweimer@redhat.com>
15558 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
15559 dynarray allocation failure.
15561 2017-09-06 Florian Weimer <fweimer@redhat.com>
15563 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
15564 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
15565 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
15567 (response): Call them. Add 'p', '6' flag processing.
15568 (test_reverse): New function.
15569 (test_get2_any): Call it.
15570 (test_no_inet6): Add 'p' test.
15571 (test_inet6): Likewise.
15573 2017-09-06 Florian Weimer <fweimer@redhat.com>
15575 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
15576 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
15578 (test_gai): Adjust query names. Add additional tests.
15579 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
15580 test_get2. Adjust query names. Add additional tests.
15581 (test_no_inet6): New function, extracted from threadfunc.
15582 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
15583 Add additional tests.
15585 2017-09-06 Mike FABIAN <mfabian@redhat.com>
15588 * localedata/unicode-gen/utf8_gen.py: Set the width for
15589 characters with Prepended_Concatenation_Mark property to 1
15590 * localedata/charmaps/UTF-8: Updated using the improved script.
15592 2017-09-06 Mike FABIAN <mfabian@redhat.com>
15595 * localedata/unicode-gen/utf8_gen.py: Improve the script to
15596 use the range notation for all ranges of neighbouring characters
15597 with the same width.
15599 2017-09-05 Joseph Myers <joseph@codesourcery.com>
15601 * sysdeps/generic/math-type-macros-double.h: Include
15602 <math-svid-compat.h>.
15603 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
15604 * sysdeps/generic/math-type-macros-float.h: Include
15605 <math-svid-compat.h>.
15606 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
15607 * sysdeps/generic/math-type-macros-ldouble.h: Include
15608 <math-svid-compat.h>.
15609 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
15610 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
15612 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
15613 * math/w_acosf_compat.c: Likewise.
15614 * math/w_acosh_compat.c: Likewise.
15615 * math/w_acoshf_compat.c: Likewise.
15616 * math/w_acoshl_compat.c: Likewise.
15617 * math/w_acosl_compat.c: Likewise.
15618 * math/w_asin_compat.c: Likewise.
15619 * math/w_asinf_compat.c: Likewise.
15620 * math/w_asinl_compat.c: Likewise.
15621 * math/w_atan2_compat.c: Likewise.
15622 * math/w_atan2f_compat.c: Likewise.
15623 * math/w_atan2l_compat.c: Likewise.
15624 * math/w_atanh_compat.c: Likewise.
15625 * math/w_atanhf_compat.c: Likewise.
15626 * math/w_atanhl_compat.c: Likewise.
15627 * math/w_cosh_compat.c: Likewise.
15628 * math/w_coshf_compat.c: Likewise.
15629 * math/w_coshl_compat.c: Likewise.
15630 * math/w_exp10_compat.c: Likewise.
15631 * math/w_exp10f_compat.c: Likewise.
15632 * math/w_exp10l_compat.c: Likewise.
15633 * math/w_exp2_compat.c: Likewise.
15634 * math/w_exp2f_compat.c: Likewise.
15635 * math/w_exp2l_compat.c: Likewise.
15636 * math/w_fmod_compat.c: Likewise.
15637 * math/w_fmodf_compat.c: Likewise.
15638 * math/w_fmodl_compat.c: Likewise.
15639 * math/w_hypot_compat.c: Likewise.
15640 * math/w_hypotf_compat.c: Likewise.
15641 * math/w_hypotl_compat.c: Likewise.
15642 * math/w_j0_compat.c: Likewise.
15643 * math/w_j0f_compat.c: Likewise.
15644 * math/w_j0l_compat.c: Likewise.
15645 * math/w_j1_compat.c: Likewise.
15646 * math/w_j1f_compat.c: Likewise.
15647 * math/w_j1l_compat.c: Likewise.
15648 * math/w_jn_compat.c: Likewise.
15649 * math/w_jnf_compat.c: Likewise.
15650 * math/w_jnl_compat.c: Likewise.
15651 * math/w_lgamma_r_compat.c: Likewise.
15652 * math/w_lgammaf_r_compat.c: Likewise.
15653 * math/w_lgammal_r_compat.c: Likewise.
15654 * math/w_log10_compat.c: Likewise.
15655 * math/w_log10f_compat.c: Likewise.
15656 * math/w_log10l_compat.c: Likewise.
15657 * math/w_log2_compat.c: Likewise.
15658 * math/w_log2f_compat.c: Likewise.
15659 * math/w_log2l_compat.c: Likewise.
15660 * math/w_log_compat.c: Likewise.
15661 * math/w_logf_compat.c: Likewise.
15662 * math/w_logl_compat.c: Likewise.
15663 * math/w_pow_compat.c: Likewise.
15664 * math/w_powf_compat.c: Likewise.
15665 * math/w_powl_compat.c: Likewise.
15666 * math/w_remainder_compat.c: Likewise.
15667 * math/w_remainderf_compat.c: Likewise.
15668 * math/w_remainderl_compat.c: Likewise.
15669 * math/w_sinh_compat.c: Likewise.
15670 * math/w_sinhf_compat.c: Likewise.
15671 * math/w_sinhl_compat.c: Likewise.
15672 * math/w_sqrt_compat.c: Likewise.
15673 * math/w_sqrtf_compat.c: Likewise.
15674 * math/w_sqrtl_compat.c: Likewise.
15675 * math/w_tgamma_compat.c: Likewise.
15676 * math/w_tgammaf_compat.c: Likewise.
15677 * math/w_tgammal_compat.c: Likewise.
15678 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
15679 [LIBM_SVID_COMPAT].
15680 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
15681 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
15682 [LIBM_SVID_COMPAT].
15683 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
15684 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
15685 [LIBM_SVID_COMPAT].
15686 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
15687 * sysdeps/i386/fpu/w_sqrt.c: New file.
15688 * sysdeps/ia64/fpu/w_acos.c: Likewise.
15689 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
15690 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
15691 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
15692 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
15693 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
15694 * sysdeps/ia64/fpu/w_asin.c: Likewise.
15695 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
15696 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
15697 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
15698 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
15699 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
15700 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
15701 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
15702 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
15703 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
15704 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
15705 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
15706 * sysdeps/ia64/fpu/w_exp.c: Likewise.
15707 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
15708 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
15709 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
15710 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
15711 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
15712 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
15713 * sysdeps/ia64/fpu/w_expf.c: Likewise.
15714 * sysdeps/ia64/fpu/w_expl.c: Likewise.
15715 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
15716 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
15717 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
15718 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
15719 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
15720 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
15721 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
15722 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
15723 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
15724 * sysdeps/ia64/fpu/w_log.c: Likewise.
15725 * sysdeps/ia64/fpu/w_log10.c: Likewise.
15726 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
15727 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
15728 * sysdeps/ia64/fpu/w_log2.c: Likewise.
15729 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
15730 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
15731 * sysdeps/ia64/fpu/w_logf.c: Likewise.
15732 * sysdeps/ia64/fpu/w_logl.c: Likewise.
15733 * sysdeps/ia64/fpu/w_pow.c: Likewise.
15734 * sysdeps/ia64/fpu/w_powf.c: Likewise.
15735 * sysdeps/ia64/fpu/w_powl.c: Likewise.
15736 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
15737 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
15738 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
15739 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
15740 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
15741 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
15742 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
15743 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
15744 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
15745 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
15746 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
15747 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
15748 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
15749 [LIBM_SVID_COMPAT].
15750 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
15751 * sysdeps/ieee754/k_standard.c: Likewise.
15752 * sysdeps/ieee754/k_standardf.c: Likewise.
15753 * sysdeps/ieee754/k_standardl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
15756 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
15757 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
15758 long_double_symbol call on [LIBM_SVID_COMPAT].
15759 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
15760 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
15761 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
15762 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
15763 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
15764 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
15765 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
15766 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
15767 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
15768 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
15769 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
15770 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
15771 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
15772 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
15773 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
15774 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
15775 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
15776 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
15777 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
15778 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
15779 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
15780 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
15782 2017-09-05 Steve Ellcey <sellcey@cavium.com>
15784 * include/shlib-compat.h (TEST_COMPAT): New Macro.
15785 * malloc/tst-mallocstate.c: Convert from test-skeleton
15786 to test-driver. Ifdef code using TEST_COMPAT macro.
15787 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
15788 * math/test-matherr.c: Likewise.
15790 2017-09-05 Joseph Myers <joseph@codesourcery.com>
15793 * debug/pcprofiledump.c (main): Use byte-swapped mask when
15794 comparing word with byte-swapped constant.
15796 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
15799 * locale/iso-639.def: add Miskito.
15800 * localedata/SUPPORTED: Add miq_NI/UTF-8.
15801 * localedata/locales/miq_NI: New file.
15803 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
15806 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
15807 (__mkdir): Likewise.
15808 * io/chmod.c (__chmod): Add libc_hidden_def.
15809 * io/mkdir.c (__mkdir): Likewise.
15810 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15811 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15812 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
15813 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
15815 2017-09-04 Joseph Myers <joseph@codesourcery.com>
15817 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15821 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
15822 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15824 2017-09-04 Florian Weimer <fweimer@redhat.com>
15826 * math/math.h: Issue warning if log is defined.
15828 2017-09-04 Joseph Myers <joseph@codesourcery.com>
15830 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15831 kernel version to 4.13.
15833 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15835 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
15836 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
15838 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
15839 just <bits/types.h>.
15840 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
15841 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
15842 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
15843 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
15844 * misc/preadv2.c: Include <errno.h>.
15845 * misc/preadv64v2.c: Include <errno.h>.
15846 * misc/pwritev2.c: Include <errno.h>.
15847 * misc/pwritev64v2.c: Include <errno.h>.
15848 * sysdeps/posix/preadv2.c: Include <errno.h>.
15849 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
15850 Fix <unistd.h> inclusion.
15851 * sysdeps/posix/pwritev2.c: Include <errno.h>.
15852 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
15853 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
15854 __strtoul_internal): New functions.
15855 * sysdeps/posix/pause.c: Include <sigsetops.h>.
15856 * sysdeps/posix/system.c: Include <sigsetops.h>.
15857 * sysdeps/mach/hurd/i386/Makefile
15858 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
15859 [$(subdir) = csu] (sysdep-only-routines): Likewise.
15860 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
15861 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
15862 __feraiseexcept_renamed to feraiseexcept instead of
15863 __GI_feraiseexcept.
15864 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
15865 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
15866 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
15867 RWF_NOWAIT): Define to 0 if undefined already.
15868 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
15870 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
15871 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
15873 2017-09-01 Joseph Myers <joseph@codesourcery.com>
15875 * manual/math.texi (pow10): Do not document.
15876 (pow10f): Likewise.
15877 (pow10l): Likewise.
15878 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
15879 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
15880 * math/libm-test-exp10.inc (pow10_test): Remove.
15881 (do_test): Do not call pow10.
15882 * math/w_exp10_compat.c (pow10): Make into compat symbol.
15883 [NO_LONG_DOUBLE] (pow10l): Likewise.
15884 * math/w_exp10f_compat.c (pow10f): Likewise.
15885 * math/w_exp10l_compat.c (pow10l): Likewise.
15886 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
15887 (pow10): Make into compat symbol.
15888 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
15889 (pow10f): Make into compat symbol.
15890 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
15891 (pow10l): Make into compat symbol.
15892 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
15894 (CFLAGS-nldbl-pow10.c): Remove variable..
15895 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
15896 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
15897 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
15898 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
15899 Undefine and redefine.
15900 (pow10l): Make into compat symbol.
15901 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
15902 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15903 * sysdeps/arm/libm-test-ulps: Likewise.
15904 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
15905 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15906 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15907 * sysdeps/microblaze/libm-test-ulps: Likewise.
15908 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15909 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15910 * sysdeps/nios2/libm-test-ulps: Likewise.
15911 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15912 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15913 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15914 * sysdeps/sh/libm-test-ulps: Likewise.
15915 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15916 * sysdeps/tile/libm-test-ulps: Likewise.
15917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15919 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
15921 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
15923 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
15925 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
15926 "../ChangeLog.old/ChangeLog.8".
15927 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
15928 "../ChangeLog.old/ChangeLog.14".
15930 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
15932 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
15935 2017-09-01 Joseph Myers <joseph@codesourcery.com>
15937 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
15939 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
15941 * csu/version.c (banner): Remove "by Roland McGrath et al.".
15942 * nptl/Banner: Remove "by Ulrich Drepper et al.".
15944 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
15946 * stdlib/tst-atexit-common.c (do_test): Test support for at least
15947 32 atexit handlers.
15949 2017-09-01 Zack Weinberg <zackw@panix.com>
15951 * math/math.h (HUGE_VAL): Improve commentary.
15953 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15954 Andreas Schwab <schwab@suse.de>
15957 * include/stdio.h (__gen_tempfd): New function.
15958 * stdio-common/Makefile (routines): Add gentempfd.
15959 * stdio-common/gentempfd.c: New file.
15960 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
15961 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
15962 unnamed file first.
15964 2017-09-01 Florian Weimer <fweimer@redhat.com>
15968 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
15969 result to determine success or failure, not the errno value.
15970 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
15971 (tst-nss-files-hosts-erange): Link with -ldl.
15972 * nss/tst-nss-files-hosts-erange.c: New file.
15973 * nss/tst-resolv-basic.c (response): Handle nodata.example.
15974 (do_test): Add NO_DATA tests.
15975 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
15976 (do_test): Call it.
15978 2017-09-01 Florian Weimer <fweimer@redhat.com>
15981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
15982 coming from gethostbyname2_r.
15984 2017-09-01 Florian Weimer <fweimer@redhat.com>
15986 * support/namespace.h (struct support_chroot_configuration): Add
15988 (struct support_chroot): Add path_hosts, path_host_conf.
15989 * support/support_chroot.c (write_file): New function.
15990 (support_chroot_create): Call it to process /etc/resolv.conf,
15991 /etc/hosts, /etc/host.conf.
15992 (support_chroot_free): Update.
15994 2017-09-01 Florian Weimer <fweimer@redhat.com>
15996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
15997 status indicates it is set.
15999 2017-09-01 Florian Weimer <fweimer@redhat.com>
16002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
16003 function lookup failures more reliable.
16005 2017-09-01 Florian Weimer <fweimer@redhat.com>
16007 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
16008 (getcanonname): Likewise.
16009 (gaih_inet): Likewise.
16011 2017-09-01 Florian Weimer <fweimer@redhat.com>
16013 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
16014 (getcanonname): Likewise.
16015 (gaih_inet): Likewise.
16017 2017-08-31 Steve Ellcey <sellcey@cavium.com>
16018 Richard Henderson <rth@twiddle.net>
16020 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
16021 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
16022 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
16023 (IREG_SIZE, OREG_SIZE): New macros.
16024 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
16025 (IREG_SIZE, OREG_SIZE): New macros.
16026 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
16027 (IREG_SIZE): New macro.
16028 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
16029 (IREG_SIZE): New macro.
16030 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
16032 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
16033 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
16034 (__CONCATX): Handle exceptions correctly on large values that may
16036 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
16037 Initialize if not already set.
16038 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
16040 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16042 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
16043 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
16045 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
16047 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
16049 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
16051 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
16053 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
16055 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
16057 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
16058 (NO_CANCELLATION): Likewise.
16059 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
16061 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
16063 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
16065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
16066 (NO_CANCELLATION): Likewise.
16067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
16068 (NO_CANCELLATION): Likewise.
16069 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
16071 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
16073 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
16075 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
16077 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
16079 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
16080 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
16082 2017-08-31 Steve Ellcey <sellcey@cavium.com>
16084 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
16087 2017-08-31 Florian Weimer <fweimer@redhat.com>
16089 * include/libc-symbols.h (internal_function): Remove.
16091 2017-08-31 Florian Weimer <fweimer@redhat.com>
16093 * stdlib/fmtmsg.c (internal_addseverity): Remove
16096 2017-08-31 Florian Weimer <fweimer@redhat.com>
16098 * stdio-common/printf_fp.c (group_number): Remove
16100 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
16102 2017-08-31 Florian Weimer <fweimer@redhat.com>
16104 * posix/fnmatch.c (internal_function): Remove definition.
16105 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
16106 * posix/regcomp.c (peek_token, init_word_char)
16107 (duplicate_node_closure, fetch_token, peek_token)
16108 (peek_token_bracket, build_range_exp, build_collating_symbol):
16110 * posix/regex_internal.c (re_string_construct_common)
16111 (create_ci_newstate, create_cd_newstate, re_string_allocate)
16112 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
16113 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
16114 (re_string_translate_buffer, re_string_reconstruct)
16115 (re_string_peek_byte_case, re_string_fetch_byte_case)
16116 (re_string_destruct, re_string_context_at, re_node_set_alloc)
16117 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
16118 (re_node_set_add_intersect, re_node_set_init_union)
16119 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
16120 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
16121 (re_dfa_add_node, calc_state_hash, re_acquire_state)
16122 (re_acquire_state_context): Likewise.
16123 * posix/regex_internal.h (internal_function): Remove definition.
16124 (re_string_realloc_buffers, build_wcs_buffer)
16125 (build_wcs_upper_buffer, build_upper_buffer)
16126 (re_string_translate_buffer, re_string_context_at)
16127 (re_string_char_size_at, re_string_wchar_at)
16128 (re_string_elem_size_at): Likewise.
16129 * posix/regexec.c (match_ctx_init, match_ctx_clean)
16130 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
16131 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
16132 (re_search_internal, re_search_2_stub, re_search_stub)
16133 (re_copy_regs, prune_impossible_nodes, check_matching)
16134 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
16135 (free_fail_stack_return, sift_states_iter_mb)
16136 (sift_states_backward, build_sifted_states)
16137 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
16138 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
16139 (check_subexp_limits, sift_states_bkref, merge_state_array)
16140 (find_recover_state, transit_state, merge_state_with_log)
16141 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
16142 (transit_state_mb, transit_state_bkref, get_subexp)
16143 (get_subexp_sub, find_subexp_node, check_arrival)
16144 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
16145 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
16146 (check_node_accept_bytes, find_collation_sequence_value)
16147 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
16148 (acquire_init_state_context, check_halt_node_context)
16149 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
16150 (sub_epsilon_src_nodes): Likewise.
16151 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
16152 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
16153 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
16154 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
16155 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
16156 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
16157 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
16158 * sysdeps/posix/ttyname.c (getttyname): Likewise.
16159 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16160 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
16161 (PREADV): Likewise.
16162 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
16163 (PREADV): Likewise.
16164 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
16165 (PWRITEV): Likewise.
16166 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
16167 (PWRITEV): Likewise.
16168 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
16169 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
16171 2017-08-31 Florian Weimer <fweimer@redhat.com>
16173 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
16174 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
16175 Remove internal_function.
16176 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16177 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
16178 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
16179 (__deallocate_stack, __libc_pthread_init)
16180 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
16181 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
16182 (__libc_disable_asynccancel, __librt_disable_asynccancel):
16184 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
16185 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
16186 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
16188 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
16189 (__pthread_mutex_unlock_usercnt): Likewise.
16191 2017-08-31 Florian Weimer <fweimer@redhat.com>
16193 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
16194 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
16195 (fts_safe_changedir): Remove internal_function.
16196 * io/ftw.c (internal_function): Remove definition.
16197 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
16199 2017-08-31 Florian Weimer <fweimer@redhat.com>
16201 * inet/deadline.c (__deadline_current_time)
16202 (__deadline_from_timeval, __deadline_to_ms): Remove
16204 * inet/getnameinfo.c (nrl_domainname): Likewise.
16205 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
16206 * inet/inet6_option.c (add_pad): Likewise.
16207 * inet/net-internal.h (__deadline_current_time)
16208 (__deadline_from_timeval, __deadline_to_ms): Likewise.
16209 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
16210 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
16211 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
16213 2017-08-31 Joseph Myers <joseph@codesourcery.com>
16215 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
16216 include <bits/nan.h>.
16217 * math/Makefile (headers): Remove bits/nan.h.
16218 * bits/nan.h: Remove.
16219 * sysdeps/ieee754/bits/nan.h: Likewise.
16220 * sysdeps/mips/bits/nan.h: Likewise.
16222 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
16223 not include <bits/inf.h>.
16224 * math/Makefile (headers): Remove bits/inf.h.
16225 * bits/inf.h: Remove.
16226 * sysdeps/ieee754/bits/inf.h: Likewise.
16228 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
16229 bits/huge_vall.h or bits/huge_val_flt128.h.
16230 (HUGE_VAL): Define directly here.
16231 [__USE_ISOC99] (HUGE_VALF): Likewise.
16232 [__USE_ISOC99] (HUGE_VALL): Likewise.
16233 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16234 (HUGE_VAL_F128): Likewise.
16235 * math/Makefile (headers): Remove bits/huge_val.h,
16236 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
16237 * bits/huge_val.h: Remove.
16238 * bits/huge_val_flt128.h: Likewise.
16239 * bits/huge_valf.h: Likewise.
16240 * bits/huge_vall.h: Likewise.
16241 * sysdeps/ia64/bits/huge_vall.h: Likewise.
16242 * sysdeps/ieee754/bits/huge_val.h: Likewise.
16243 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
16244 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
16245 * sysdeps/sh/bits/huge_val.h: Likewise.
16246 * sysdeps/sparc/bits/huge_vall.h: Likewise.
16247 * sysdeps/x86/bits/huge_vall.h: Likewise.
16249 2017-08-31 Florian Weimer <fweimer@redhat.com>
16251 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
16253 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
16255 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
16256 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16257 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
16258 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
16259 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16260 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16261 * elf/dl-libc.c (dlerror_run): Likewise.
16262 * elf/dl-load.c (add_name_to_object, decompose_rpath)
16263 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
16264 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
16265 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
16267 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
16268 (_dl_higher_prime_number, _dl_strtoul): Likewise.
16269 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
16270 * elf/dl-profile.c (_dl_start_profile): Likewise.
16271 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
16272 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
16274 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
16275 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
16276 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
16277 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
16278 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
16279 (_dl_allocate_tls_storage): Likewise.
16280 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
16281 (_dl_check_all_versions): Likewise.
16282 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16283 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
16284 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
16285 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
16286 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
16287 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
16288 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
16289 internal_function from __dl_start.
16290 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
16291 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16292 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
16293 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
16294 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
16295 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
16296 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
16297 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
16298 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
16299 (_dl_next_ld_env_entry, _dl_important_hwcaps)
16300 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
16301 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
16302 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
16303 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
16304 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
16306 (struct rtld_global_ro): Remove internal_function from the
16307 _dl_lookup_symbol_x member.
16308 (_dl_symbol_value): Remove. No longer defined anywhere.
16309 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
16311 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
16312 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16313 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
16314 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
16315 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
16316 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
16317 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
16318 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
16319 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
16320 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16321 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
16322 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16324 2017-08-31 Florian Weimer <fweimer@redhat.com>
16326 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
16327 Remove internal_function.
16328 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
16330 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
16333 2017-08-31 Florian Weimer <fweimer@redhat.com>
16335 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
16336 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
16337 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
16339 2017-08-31 Florian Weimer <fweimer@redhat.com>
16341 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
16342 (__gai_enqueue_request): Remove internal_function.
16343 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
16344 (__gai_remove_request, __gai_notify, __gai_notify_only)
16345 (__gai_sigqueue): Likewise.
16346 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
16347 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
16348 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
16349 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16352 2017-08-31 Florian Weimer <fweimer@redhat.com>
16354 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
16355 * include/dirent.h (__opendirat, __getdents, __getdents64)
16356 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
16357 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
16358 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
16359 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
16361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
16363 2017-08-31 Florian Weimer <fweimer@redhat.com>
16365 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
16367 (GETCWD_RETURN_TYPE): Likewise.
16369 2017-08-31 Florian Weimer <fweimer@redhat.com>
16371 * include/time.h (__tz_compute, __strptime_internal): Remove
16373 * time/strptime_l.c (__strptime_internal): Likewise.
16374 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
16376 2017-08-31 Florian Weimer <fweimer@redhat.com>
16378 * iconv/gconv.c (__gconv): Remove internal_function.
16379 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
16380 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
16381 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
16382 (__gconv_release_cache): Likewise.
16383 * iconv/gconv_close.c (__gconv_close): Likewise.
16384 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
16385 (read_conf_file, __gconv_get_path): Likewise.
16386 * iconv/gconv_db.c (derivation_lookup, add_derivation)
16387 (__gconv_release_step, gen_steps, increment_counter)
16388 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
16389 (__gconv_close_transform, free_modules_db): Likewise.
16390 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
16392 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
16393 (__gconv_find_transform, __gconv_lookup_cache)
16394 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
16395 (__gconv_close_transform, __gconv_release_cache)
16396 (__gconv_loaded_object, __gconv_release_shlib)
16397 (__gconv_compare_alias): Likewise.
16398 * iconv/gconv_open.c (__gconv_open): Likewise.
16399 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
16400 * iconv/iconvconfig.c (add_module): Likewise.
16401 * intl/dcigettext.c (plural_lookup, guess_category_value)
16402 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
16403 * intl/eval-plural.h (plural_eval): Likewise.
16404 * intl/finddomain.c (_nl_find_domain): Likewise.
16405 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
16406 (_nl_load_domain, _nl_find_msg): Likewise.
16407 (internal_function): Remove definition.
16408 * intl/loadinfo.h (internal_function): Likewise.
16409 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
16411 * intl/localealias.c (internal_function): Remove definition.
16412 (read_alias_file): Remove internal_function.
16413 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
16414 * intl/plural-exp.h (internal_function): Remove definition.
16415 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
16417 * intl/plural.c: Regenerate.
16418 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
16419 * locale/coll-lookup.c (__collidx_table_lookup)
16420 (__collseq_table_lookup): Likewise.
16421 * locale/coll-lookup.h (__collidx_table_lookup)
16422 (__collseq_table_lookup): Likewise.
16423 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
16424 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16425 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
16426 (_nl_unload_locale): Likewise.
16427 * locale/localeinfo.h (struct __locale_data): Remove
16428 internal_function from cleanup member.
16429 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
16430 (_nl_remove_locale, _nl_load_locale_from_archive)
16431 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
16432 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
16433 (_nl_cleanup_time): Remove internal_function.
16434 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
16435 (_nl_parse_alt_digit): Likewise.
16436 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
16437 (_nl_select_era_entry): Likewise.
16438 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
16439 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
16440 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
16441 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
16442 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
16444 2017-08-31 Florian Weimer <fweimer@redhat.com>
16446 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
16447 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
16448 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
16449 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
16451 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
16452 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
16453 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
16454 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
16456 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
16458 2017-08-31 Florian Weimer <fweimer@redhat.com>
16460 * misc/getttyent.c (skip, value): Remove internal_function.
16461 * misc/syslog.c (openlog_internal): Likewise.
16462 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
16464 2017-08-31 Florian Weimer <fweimer@redhat.com>
16466 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
16467 (__nss_rewrite_field): Remove internal_function.
16468 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16469 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
16470 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16471 * nss/nsswitch.c (nss_parse_file, nss_getline)
16472 (nss_parse_service_list, nss_new_service): Likewise.
16473 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
16474 * nss/valid_field.c (__nss_valid_field): Likewise.
16475 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16477 2017-08-31 Florian Weimer <fweimer@redhat.com>
16479 * malloc/arena.c (__malloc_fork_lock_parent)
16480 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
16481 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
16482 internal_function from defintions.
16483 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
16484 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
16485 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
16486 internal_function from declarations.
16487 * malloc/malloc.c (internal_function): Do not define.
16488 (mem2mem_check): Remove internal_function from declaration.
16489 (munmap_chunk, mremap_chunk): Remove internal_function.
16490 * malloc/mtrace.c (tr_where): Likewise.
16492 2017-08-31 Florian Weimer <fweimer@redhat.com>
16494 * include/rpc/pmap_clnt.h (__get_socket): Remove
16496 * sunrpc/auth_des.c (synchronize): Likewise.
16497 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
16498 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
16499 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
16500 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
16501 (key_call): Likewise.
16502 * sunrpc/pm_getport.c (__get_socket): Likewise.
16503 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
16504 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
16505 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
16506 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
16507 (invalidate): Likewise.
16508 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
16509 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
16510 (set_input_fragment, get_input_bytes): Likewise.
16512 2017-08-31 Florian Weimer <fweimer@redhat.com>
16514 * malloc/malloc.c (_int_free): Remove locked variable and related
16517 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
16520 * Makerules (build-module-helper-objlist): Filter out
16521 $(elf-objpfx)sofini.os.
16522 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
16525 2017-08-31 Florian Weimer <fweimer@redhat.com>
16527 * libio/fcloseall.c: Assume weak_alias is defined.
16528 * libio/feof.c: Likewise.
16529 * libio/fileno.c: Likewise.
16530 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
16531 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
16533 (_IO_file_open): Call __open directly.
16534 (_IO_new_file_sync): Assume ESPIPE is defined.
16535 (_IO_file_seekoff_maybe_mmap): Call __read directly.
16536 (_IO_new_file_write): Call __write directly.
16537 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
16538 * libio/ftello64.c (__ftello64): Assume EIO is defined.
16539 * libio/genops.c: Assume _LIBC is defined.
16540 (save_for_backup): Remove internal_function.
16541 * libio/getc.c: Assume weak_alias is defined.
16542 * libio/getwc.c: Likewise.
16543 * libio/iofclose.c: Assume _LIBC is defined.
16544 * libio/iofdopen.c: Likewise.
16545 (_IO_fcntl): Remove macro definition.
16546 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
16547 Call __fcntl directly.
16548 * libio/iofflush.c: Assume weak_alias is defined.
16549 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
16551 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
16552 * libio/iofgets.c: Likewise.
16553 * libio/iofopen.c: Assume _LIBC is defined.
16554 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
16555 * libio/iofputs.c: Assume weak_alias is defined.
16556 * libio/iofread.c: Likewise.
16557 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
16558 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
16559 * libio/ioftell.c: Assume weak_alias is defined.
16560 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
16561 * libio/iofwide.c: Assume _LIBC is defined.
16562 (_IO_fwide): Drop SHARED conditional because it is implied by
16564 * libio/iofwrite.c: Assume weak_alias is defined.
16565 * libio/iogetdelim.c: Likewise.
16566 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
16567 * libio/iogetwline.c (wmemcpy): Remove macro definition.
16568 (_IO_getwline): Call __wmemcpy directly.
16569 * libio/iopopen.c: Assume _LIBC is defined.
16570 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
16571 (_IO_close): Remove macro definitions.
16572 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
16574 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
16576 * libio/ioputs.c: Assume weak_alias is defined.
16577 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
16578 * libio/iosetbuffer.c: Assume weak_alias is defined.
16579 * libio/iosetvbuf.c: Likewise.
16580 * libio/ioungetc.c: Likewise.
16581 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
16582 libc_hidden_def, libc_hidden_weak, NULL are defined.
16583 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
16584 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
16586 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
16588 (_IO_old_file_init_internal): Drop SHARED conditional because it
16589 is implied by SHLIB_COMPAT.
16590 (_IO_old_file_fopen): Call __open directly.
16591 (_IO_old_file_sync): Assume ESPIPE is defined.
16592 (_IO_old_file_write): Call __write directly.
16593 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
16594 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
16595 Call __fcntl directly.
16596 * libio/oldiofgetpos.c: Assume weak_alias is defined.
16597 (_IO_old_fgetpos): Assume EIO is defined.
16598 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
16599 (_IO_old_fgetpos64): Assume EIO is defined.
16600 * libio/oldiofsetpos.c: Assume weak_alias is defined.
16601 (_IO_old_fsetpos): Assume EIO is defined.
16602 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
16603 (_IO_old_fsetpos64): Assume EIO is defined.
16604 * libio/oldiopopen.c: Assume _LIBC is defined.
16605 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
16606 (_IO_close): Remove macro definitions.
16607 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
16609 (_IO_old_proc_close): Call __close, __waitpid directly.
16610 * libio/put.c: Assume weak_alias is defined.
16611 * libio/stdfiles.c: Assume _LIBC is defined.
16612 * libio/stdio.c: Likewise.
16613 * libio/wfileops.c: Likewise.
16614 (_IO_wfile_sync): Assume ESPIPE is defined.
16615 * libio/wgenops.c: Assume _LIBC is defined.
16616 (save_for_wbackup): Remove internal_function.
16618 2017-08-31 Florian Weimer <fweimer@redhat.com>
16620 * malloc/malloc.c (top_check): Change return type to void. Remove
16622 * malloc/hooks.c (top_check): Likewise.
16623 (malloc_check, realloc_check, memalign_check): Adjust.
16625 2017-08-30 Joseph Myers <joseph@codesourcery.com>
16628 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
16629 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
16630 sigcontext and namespace requirements.
16631 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
16632 * sysdeps/m68k/sys/ucontext.h: Likewise.
16633 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
16634 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
16635 <bits/sigcontext.h>.
16636 (__ctx): Define earlier.
16637 (mcontext_t): Define structure contents rather than using struct
16639 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
16640 __glibc_reserved1 instead of __reserved.
16641 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
16642 <bits/sigcontext.h>.
16643 (__ctx): Define earlier.
16644 (mcontext_t): Define structure contents rather than using struct
16646 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
16647 mcontext_t instead of struct sigcontext.
16648 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
16649 <bits/sigcontext.h>.
16650 (__ctx): Define earlier.
16651 (mcontext_t): Define structure contents rather than using struct
16653 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
16654 <bits/sigcontext.h>.
16655 (__ctx): Define earlier.
16656 (mcontext_t): Define structure contents rather than using struct
16658 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
16659 mcontext_t instead of struct sigcontext.
16660 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
16661 mcontext_t instead of struct sigcontext.
16662 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
16663 <bits/sigcontext.h>.
16664 (__ctx): New macro.
16665 (struct __ia64_fpreg_mcontext): New type.
16666 (mcontext_t): Define structure contents rather than using struct
16668 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
16669 (uc_sigmask): Define using __ctx.
16670 (uc_stack): Likewise.
16671 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
16672 <bits/sigcontext.h>.
16673 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16674 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
16675 <bits/sigcontext.h>.
16676 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
16677 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
16678 <bits/sigcontext.h>.
16679 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
16680 <bits/sigcontext.h>.
16681 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
16682 <bits/sigcontext.h>.
16683 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
16684 <bits/sigcontext.h>.
16685 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
16686 <bits/sigcontext.h>.
16687 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
16688 <bits/sigcontext.h>.
16689 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
16690 <bits/sigcontext.h>.
16691 (__ctx): Define earlier.
16692 (mcontext_t): Define structure contents rather than using struct
16694 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
16695 <bits/sigcontext.h>. Include <bits/types.h>.
16696 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
16697 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
16698 (test-xfail-XPG42/ucontext.h/conform): Likewise.
16699 (test-xfail-UNIX98/signal.h/conform): Likewise.
16700 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16701 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16702 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16703 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16704 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16705 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16706 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16707 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16708 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16710 2017-08-30 Florian Weimer <fweimer@redhat.com>
16712 * malloc/dynarray_emplace_enlarge.c
16713 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
16714 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
16715 * malloc/tst-dynarray.c (test_long_overflow): New function.
16716 (do_test): Call it.
16718 2017-08-30 Florian Weimer <fweimer@redhat.com>
16720 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
16721 (set_arena_corrupt): Remove definitions.
16722 (mtrim): Do not check for corrupt arena.
16723 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
16726 2017-08-30 Florian Weimer <fweimer@redhat.com>
16729 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
16731 (ptmalloc_init): Do not set or use check_action.
16732 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
16733 call to malloc_printerr. Remove return statement.
16734 (free_check): Likewise. Remove arena unlock.
16735 (top_check): Update comment. Adjust call to malloc_printerr.
16736 Remove heap repair code.
16737 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
16738 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
16739 (sysmalloc): Adjust call to malloc_printerr.
16740 (munmap_chunk, __libc_realloc): Likewise. Remove return
16742 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
16743 Remove errout label and corresponding gotos.
16744 (_int_free): Likewise. Remove arena unlock.
16745 (do_set_mallopt_check): Do not set check_action.
16746 (malloc_printerr): Adjust parameter list. Do not mark arena as
16748 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
16750 * manual/probes.texi (Memory Allocation Probes): Remove
16751 memory_mallopt_check_action.
16753 2017-08-30 Steve Ellcey <sellcey@cavium.com>
16755 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
16756 Use pointer to uint64_t instead of long int for sp.
16758 2017-08-30 Florian Weimer <fweimer@redhat.com>
16761 * malloc/malloc.c (malloc_printerr): Always terminate the process,
16762 without printing a backtrace. Do not leak any information in the
16764 * manual/memory.texi (Heap Consistency Checking): Update.
16765 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
16767 2017-08-30 Florian Weimer <fweimer@redhat.com>
16769 Do not scale NPTL tests with available number of CPUs.
16770 * nptl/tst-cond16.c (count): Set to constant value of 8.
16771 * nptl/tst-cond18.c (count): Likewise.
16773 2017-08-29 Joseph Myers <joseph@codesourcery.com>
16776 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
16777 Define to take a second argument that is a macro that
16778 concatentates a suffix, not the suffix itself.
16779 (__CONCAT_d): New macro.
16780 (__CONCAT_f): Likewise.
16781 (__CONCAT_l): Likewise.
16783 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
16785 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
16788 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16789 Aurelien Jarno <aurelien@aurel32.net>
16790 Maciej W. Rozycki <macro@imgtec.com>
16793 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
16794 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
16795 `mips16-syscall6' and `mips16-syscall7'.
16796 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
16797 (CFLAGS-mips16-syscall7.c): Remove.
16798 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
16799 Remove `__mips16_syscall5', `__mips16_syscall6' and
16800 `__mips16_syscall7'.
16801 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
16802 (__mips16_syscall0): Rename `__mips16_syscall_return' to
16803 `__mips_syscall_return'.
16804 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
16805 (__mips16_syscall1): Likewise.
16806 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
16807 (__mips16_syscall2): Likewise.
16808 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
16809 (__mips16_syscall3): Likewise.
16810 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
16811 (__mips16_syscall4): Likewise.
16812 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
16814 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
16816 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
16818 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
16819 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
16820 `__mips16_syscall5'. Remove prototype.
16821 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
16822 `__mips16_syscall6'. Remove prototype.
16823 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
16824 `__mips16_syscall7'. Remove prototype.
16825 (__nomips16, __mips16_syscall_return): Move to...
16826 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
16827 (__nomips16, __mips_syscall_return): ... here.
16828 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
16829 `__mips16_syscall_return' to `__mips_syscall_return'.
16830 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
16831 `internal_syscall##nr'.
16832 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
16833 `internal_syscall##nr'.
16834 (FORCE_FRAME_POINTER): Remove.
16835 (__mips_syscall5): New prototype.
16836 (internal_syscall5): Rewrite to call `__mips_syscall5'.
16837 (__mips_syscall6): New prototype.
16838 (internal_syscall6): Rewrite to call `__mips_syscall6'.
16839 (__mips_syscall7): New prototype.
16840 (internal_syscall7): Rewrite to call `__mips_syscall7'.
16841 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
16842 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
16843 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
16844 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
16845 (sysdep_routines): Add libc-do-syscall.
16846 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
16847 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
16849 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16852 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
16853 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
16854 (advise_stack_range): New function.
16855 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
16856 stack non required to advise_stack_range at allocatestack.c
16858 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
16860 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
16862 2017-08-29 Florian Weimer <fweimer@redhat.com>
16865 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
16866 __end_fct. Mangle __end_fct after setting it to NULL.
16867 * iconv/Makefile (tests): Add tst-gconv-init-failure.
16868 (modules-names, modules-names-tests): Add
16869 tst-gconv-init-failure-mod.
16870 (gconv-modules): New target.
16871 (tst-gconv-init-failure-mod.so): Link against libsupport.
16872 (tst-gconv-init-failure): Depend on gconv-modules,
16873 tst-gconv-init-failure-mod.so.
16874 * iconv/tst-gconv-init-failure-mod.c: New file.
16875 * iconv/tst-gconv-init-failure.c: Likewise.
16876 * iconv/test-gconv-modules: Likewise.
16878 2017-08-29 Florian Weimer <fweimer@redhat.com>
16881 * iconv/gconv_db.c (free_derivation): Remove redundant
16883 (gen_steps): Unconditionally mangle __btowc_fct after
16885 (increment_counter): Likewise. Do not call init_fct for internal
16888 2017-08-29 Joseph Myers <joseph@codesourcery.com>
16891 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
16892 (_MSUF_): Remove macro.
16893 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
16895 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
16896 (__REDIRFROM_X): New macro.
16897 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
16899 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
16900 (__REDIRTO_X): Likewise.
16901 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
16903 (__MATH_REDIRCALL_2): Likewise.
16904 (__MATH_REDIRCALL_INTERNAL): Likewise.
16905 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
16906 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
16907 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
16908 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
16909 * math/test-finite-macros.c: New file.
16910 * math/Makefile (tests): Add test-finite-macros.
16911 (CFLAGS-test-finite-macros.c): New variable.
16913 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
16914 Jeff Law <law@redhat.com>
16917 Mangle NULL pointers in iconv/gconv.
16918 * iconv/gconv_cache.c (find_module): Demangle init_fct before
16919 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
16920 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
16921 is non-NULL before demangling the end_fct. Check for NULL
16922 end_fct after demangling.
16923 (__gconv_release_step): Demangle the end_fct before checking
16924 it for NULL. Remove assert on __shlibc_handle != NULL.
16925 (gen_steps): Don't check btowc_fct for NULL before mangling.
16926 Demangle init_fct before checking for NULL.
16927 (increment_counter): Likewise.
16928 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
16929 end_fct for NULL before mangling.
16930 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
16933 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
16936 * locale/iso-639.def: add Morisyen.
16938 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16941 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
16942 (iszero): New C++ implementation that does not use
16943 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
16944 signaling nans are enabled, since __builtin_types_compatible_p
16945 is a C-only feature.
16946 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
16947 defined, include ieee754_float128.h for access to the union and
16948 member ieee854_float128.ieee.
16949 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
16950 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
16951 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
16952 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
16953 options of test-math-zero on powerpc64le.
16955 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
16957 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
16958 Change double to float.
16960 2017-08-28 Joseph Myers <joseph@codesourcery.com>
16962 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
16964 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
16965 conditional code; define contents only for [LIBM_SVID_COMPAT].
16967 2017-08-28 Florian Weimer <fweimer@redhat.com>
16969 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
16970 (abi-lp64_be-options): Remove.
16971 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
16972 (abi-hard-options): Likewise.
16973 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
16974 (abi-o32_hard-options, abi-o32_soft_2008-options)
16975 (abi-o32_hard_2008-options, abi-n32_soft-options)
16976 (abi-n32_hard-options, abi-n32_soft_2008-options)
16977 (abi-n32_hard_2008-options, abi-n64_soft-options)
16978 (abi-n64_hard-options, abi-n64_soft_2008-options)
16979 (abi-n64_hard_2008-options): Likewise.
16980 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
16981 (abi-64-v1-options, abi-64-v2-options): Likewise.
16982 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
16983 (abi-64-options): Likewise.
16984 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
16985 (abi-64-options): Likewise.
16986 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
16987 (abi-64-options): Likewise.
16988 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
16989 (abi-64-options, abi-x32-options): Likewise.
16991 2017-08-28 Florian Weimer <fweimer@redhat.com>
16993 Store supported list of SYS_* system calls in the source tree.
16994 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
16995 (bits/syscall.h): Generate from list file.
16996 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
16997 [$(subdir) = misc] (tests): Add tst-syscall-list.
16998 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
16999 [$(subdir) = misc] (tst-syscall-list-macros.list)
17000 [$(subdir) = misc] (tst-syscall-list-nr.list)
17001 (tst-syscall-list-sys.list): Helper targets for new
17002 tst-syscall-list test.
17003 [$(subdir) = misc] (tst-syscall-list.out): Run test script
17004 tst-syscall-list.sh.
17005 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
17006 target. Do not include bits/syscall.d.
17007 [$(subdir) = misc] (generated): Do not update.
17008 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
17009 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
17010 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
17011 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
17013 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17015 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
17016 (tst-cxa_atexit, tst-on_exit): Likewise.
17017 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
17018 tst-cxa_atexit, and tst-on_exit.
17019 * stdlib/tst-atexit-common.c: New file.
17020 * stdlib/tst-atexit.c: New file.
17021 * stdlib/tst-at_quick_exit.c: New file.
17022 * stdlib/tst-cxa_atexit.c: New file.
17023 * stdlib/tst-on_exit.c: New file.
17025 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17027 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
17028 * mach/stack_chk_fail_local.c: New file.
17029 * hurd/stack_chk_fail_local.c: New file.
17030 * mach/Machrules ($(interface-library)-routines): Add
17031 stack_chk_fail_local.
17032 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
17033 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
17034 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
17035 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
17036 * hurd/Makefile (CFLAGS-hurdstartup.o,
17037 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
17039 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
17041 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
17042 (index_cpu_*, index_arch_*): Removed.
17044 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
17046 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
17047 Use uint64_t instead of unsigned long.
17049 2017-08-25 Joseph Myers <joseph@codesourcery.com>
17051 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
17052 [__HAVE_DISTINCT_FLOAT128].
17054 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
17055 of <bits/math-finite.h>.
17056 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
17057 inclusion of <bits/math-finite.h>.
17058 * math/bits/math-finite.h (__REDIRTO_X): Do not define
17059 conditionally on [__MATH_DECLARING_LDOUBLE && defined
17060 __NO_LONG_DOUBLE_MATH].
17061 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
17062 (__MATH_REDIRCALL_2): Likewise.
17063 (__MATH_REDIRCALL_INTERNAL): Likewise.
17064 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
17065 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
17066 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
17068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
17070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
17072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
17074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
17076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
17078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
17080 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
17081 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
17082 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
17083 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
17084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17085 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
17086 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
17087 w_sqrtf_compat-ppc32.
17089 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17091 * math/math.h [defined __cplusplus] (issignaling): In the long
17092 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
17093 is not defined. Call __issignaling, otherwise.
17095 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17097 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
17098 syscall definitions and replace __builtin_expect with __glibc_likely.
17099 * sysdeps/unix/syscall-template.S: Update comment about cancellable
17101 (SYSCALL_CANCELLABLE): Removedefinition
17102 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
17104 (PSEUDO_END): Likewise.
17105 [IS_IN (libpthread)] (CENABLE): Likewise.
17106 [IS_IN (libpthread)] (CDISABLE): Likewise.
17107 [IS_IN (libc)] (CENABLE): Likewise.
17108 [IS_IN (libc)] (CENABLE): Likewise.
17109 [IS_IN (librt)] (CDISABLE): Likewise.
17110 [IS_IN (librt)] (CDISABLE): Likewise.
17111 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17112 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
17114 (PSEUDO_END): Likewise.
17115 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
17116 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
17117 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
17118 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
17119 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
17120 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
17121 (CENABLE): Likewise.
17122 (CDISABLE): Likewise.
17123 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17124 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
17126 (PSEUDO_END): Likewise.
17127 [IS_IN (libpthread)] (CENABLE): Likewise.
17128 [IS_IN (libpthread)] (CDISABLE): Likewise.
17129 [IS_IN (libc)] (CENABLE): Likewise.
17130 [IS_IN (libc)] (CENABLE): Likewise.
17131 [IS_IN (librt)] (CDISABLE): Likewise.
17132 [IS_IN (librt)] (CDISABLE): Likewise.
17133 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17134 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
17136 (PSEUDO_END): Likewise.
17137 [IS_IN (libpthread)] (CENABLE): Likewise.
17138 [IS_IN (libpthread)] (CDISABLE): Likewise.
17139 [IS_IN (libc)] (CENABLE): Likewise.
17140 [IS_IN (libc)] (CENABLE): Likewise.
17141 [IS_IN (librt)] (CDISABLE): Likewise.
17142 [IS_IN (librt)] (CDISABLE): Likewise.
17143 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17144 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
17146 (PSEUDO_END): Likewise.
17147 [IS_IN (libpthread)] (CENABLE): Likewise.
17148 [IS_IN (libpthread)] (CDISABLE): Likewise.
17149 [IS_IN (libc)] (CENABLE): Likewise.
17150 [IS_IN (libc)] (CENABLE): Likewise.
17151 [IS_IN (librt)] (CDISABLE): Likewise.
17152 [IS_IN (librt)] (CDISABLE): Likewise.
17153 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17154 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
17156 (PSEUDO_END): Likewise.
17157 [IS_IN (libpthread)] (CENABLE): Likewise.
17158 [IS_IN (libpthread)] (CDISABLE): Likewise.
17159 [IS_IN (libc)] (CENABLE): Likewise.
17160 [IS_IN (libc)] (CENABLE): Likewise.
17161 [IS_IN (librt)] (CDISABLE): Likewise.
17162 [IS_IN (librt)] (CDISABLE): Likewise.
17163 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17164 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
17166 (PSEUDO_END): Likewise.
17167 [IS_IN (libpthread)] (CENABLE): Likewise.
17168 [IS_IN (libpthread)] (CDISABLE): Likewise.
17169 [IS_IN (libc)] (CENABLE): Likewise.
17170 [IS_IN (libc)] (CENABLE): Likewise.
17171 [IS_IN (librt)] (CDISABLE): Likewise.
17172 [IS_IN (librt)] (CDISABLE): Likewise.
17173 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17174 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
17176 (PSEUDO_END): Likewise.
17177 [IS_IN (libpthread)] (CENABLE): Likewise.
17178 [IS_IN (libpthread)] (CDISABLE): Likewise.
17179 [IS_IN (libc)] (CENABLE): Likewise.
17180 [IS_IN (libc)] (CENABLE): Likewise.
17181 [IS_IN (librt)] (CDISABLE): Likewise.
17182 [IS_IN (librt)] (CDISABLE): Likewise.
17183 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17184 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
17186 (PSEUDO_END): Likewise.
17187 [IS_IN (libpthread)] (CENABLE): Likewise.
17188 [IS_IN (libpthread)] (CDISABLE): Likewise.
17189 [IS_IN (libc)] (CENABLE): Likewise.
17190 [IS_IN (libc)] (CENABLE): Likewise.
17191 [IS_IN (librt)] (CDISABLE): Likewise.
17192 [IS_IN (librt)] (CDISABLE): Likewise.
17193 (SINGLE_THREAD_P): Likewise.
17194 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
17196 (PSEUDO_END): Likewise.
17197 [IS_IN (libpthread)] (CENABLE): Likewise.
17198 [IS_IN (libpthread)] (CDISABLE): Likewise.
17199 [IS_IN (libc)] (CENABLE): Likewise.
17200 [IS_IN (libc)] (CENABLE): Likewise.
17201 [IS_IN (librt)] (CDISABLE): Likewise.
17202 [IS_IN (librt)] (CDISABLE): Likewise.
17203 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17204 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
17206 (PSEUDO_END): Likewise.
17207 [IS_IN (libpthread)] (CENABLE): Likewise.
17208 [IS_IN (libpthread)] (CDISABLE): Likewise.
17209 [IS_IN (libc)] (CENABLE): Likewise.
17210 [IS_IN (libc)] (CENABLE): Likewise.
17211 [IS_IN (librt)] (CDISABLE): Likewise.
17212 [IS_IN (librt)] (CDISABLE): Likewise.
17213 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17214 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
17215 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17216 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
17217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
17219 (PSEUDO_END): Likewise.
17220 [IS_IN (libpthread)] (CENABLE): Likewise.
17221 [IS_IN (libpthread)] (CDISABLE): Likewise.
17222 [IS_IN (libc)] (CENABLE): Likewise.
17223 [IS_IN (libc)] (CENABLE): Likewise.
17224 [IS_IN (librt)] (CDISABLE): Likewise.
17225 [IS_IN (librt)] (CDISABLE): Likewise.
17226 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17227 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
17229 (PSEUDO_END): Likewise.
17230 [IS_IN (libpthread)] (CENABLE): Likewise.
17231 [IS_IN (libpthread)] (CDISABLE): Likewise.
17232 [IS_IN (libc)] (CENABLE): Likewise.
17233 [IS_IN (libc)] (CENABLE): Likewise.
17234 [IS_IN (librt)] (CDISABLE): Likewise.
17235 [IS_IN (librt)] (CDISABLE): Likewise.
17236 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17237 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
17239 (PSEUDO_END): Likewise.
17240 [IS_IN (libpthread)] (CENABLE): Likewise.
17241 [IS_IN (libpthread)] (CDISABLE): Likewise.
17242 [IS_IN (libc)] (CENABLE): Likewise.
17243 [IS_IN (libc)] (CENABLE): Likewise.
17244 [IS_IN (librt)] (CDISABLE): Likewise.
17245 [IS_IN (librt)] (CDISABLE): Likewise.
17246 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
17248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17249 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
17250 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
17252 (PSEUDO_END): Likewise.
17253 [IS_IN (libpthread)] (CENABLE): Likewise.
17254 [IS_IN (libpthread)] (CDISABLE): Likewise.
17255 [IS_IN (libc)] (CENABLE): Likewise.
17256 [IS_IN (libc)] (CENABLE): Likewise.
17257 [IS_IN (librt)] (CDISABLE): Likewise.
17258 [IS_IN (librt)] (CDISABLE): Likewise.
17259 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17260 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
17262 (PSEUDO_END): Likewise.
17263 [IS_IN (libpthread)] (CENABLE): Likewise.
17264 [IS_IN (libpthread)] (CDISABLE): Likewise.
17265 [IS_IN (libc)] (CENABLE): Likewise.
17266 [IS_IN (libc)] (CENABLE): Likewise.
17267 [IS_IN (librt)] (CDISABLE): Likewise.
17268 [IS_IN (librt)] (CDISABLE): Likewise.
17269 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
17271 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17273 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
17275 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
17277 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17279 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
17282 * string/stratcliff.c (do_test): Declare size, nchars, inner,
17283 middle and outer with size_t instead of int. Repleace %d and
17284 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
17285 "MAX (outer, nchars - 64)" to support unsigned outer and
17286 nchars. Also exit loop when outer == 0.
17288 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17290 * include/fcntl.h (__fcntl_nocancel): Remove definition.
17291 * include/signal.h (__sigsuspend_nocancel): Likewise.
17292 * include/time.h (__nanosleep_nocancel): Likewise.
17293 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
17294 * login/utmp_file.c: Include non cancellable syscall header.
17295 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
17298 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
17300 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
17301 .byte sequences with AVX512F instructions.
17302 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
17303 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17304 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17305 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
17307 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17310 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
17311 Steve Ellcey <sellcey@cavium.com>
17313 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
17314 Use PTR_REG macro in cmp instruction.
17316 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17318 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
17319 Change the return type of the ifunc resolver to match the return
17320 type of the target function.
17322 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17324 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
17325 (preadv64): Likewise.
17326 (pwrite64(: Likewise.
17327 (pwritev64): Likewise.
17329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17330 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
17331 (LOAD_ARGS_0): Likewise.
17332 (LOAD_ARGS_1): Likewise.
17333 (LOAD_ARGS_2): Likewise.
17334 (LOAD_ARGS_3): Likewise.
17335 (LOAD_ARGS_4): Likewise.
17336 (LOAD_ARGS_5): Likewise.
17337 (LOAD_ARGS_6): Likewise.
17338 (LOAD_REGS_0): Likewise.
17339 (LOAD_REGS_1): Likewise.
17340 (LOAD_REGS_2): Likewise.
17341 (LOAD_REGS_3): Likewise.
17342 (LOAD_REGS_4): Likewise.
17343 (LOAD_REGS_5): Likewise.
17344 (LOAD_REGS_6): Likewise.
17345 (ASM_ARGS_0): Likewise.
17346 (ASM_ARGS_1): Likewise.
17347 (ASM_ARGS_2): Likewise.
17348 (ASM_ARGS_3): Likewise.
17349 (ASM_ARGS_4): Likewise.
17350 (ASM_ARGS_5): Likewise.
17351 (ASM_ARGS_6): Likewise.
17352 (LOAD_ARGS_TYPES_1): Likewise.
17353 (LOAD_ARGS_TYPES_2): Likewise.
17354 (LOAD_ARGS_TYPES_3): Likewise.
17355 (LOAD_ARGS_TYPES_4): Likewise.
17356 (LOAD_ARGS_TYPES_5): Likewise.
17357 (LOAD_ARGS_TYPES_6): Likewise.
17358 (LOAD_REGS_TYPES_1): Likewise.
17359 (LOAD_REGS_TYPES_2): Likewise.
17360 (LOAD_REGS_TYPES_3): Likewise.
17361 (LOAD_REGS_TYPES_4): Likewise.
17362 (LOAD_REGS_TYPES_5): Likewise.
17363 (LOAD_REGS_TYPES_6): Likewise.
17364 (TYPEFY): New define.
17365 (ARGIFY): Likewise.
17366 (internal_syscall0): Likewise.
17367 (internal_syscall1): Likewise.
17368 (internal_syscall2): Likewise.
17369 (internal_syscall3): Likewise.
17370 (internal_syscall4): Likewise.
17371 (internal_syscall5): Likewise.
17372 (internal_syscall6): Likewise.
17373 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
17374 (INTERNAL_SYSCALL_NCS): Remove define.
17375 (internal_syscall1): Add define.
17377 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17379 * math/w_remainder_compat.c: Remove duplicate inclusion of
17380 math-svid-compat.h.
17381 * math/w_remainderf_compat.c: Likewise.
17382 * math/w_remainderl_compat.c: Likewise.
17384 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17388 2017-08-22 Joseph Myers <joseph@codesourcery.com>
17391 * math/tgmath.h (__floating_type): Simplify definitions.
17392 (__real_integer_type): New macro.
17393 (__complex_integer_type): Likewise.
17394 (__expr_is_real): Likewise.
17395 (__tgmath_real_type_sub): Update comment to describe handling of
17397 (__tgmath_complex_type_sub): New macro.
17398 (__tgmath_complex_type): Likewise.
17399 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
17400 (__TGMATH_CF128): Use __expr_is_real.
17401 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
17403 (__TGMATH_BINARY_REAL_IMAG): Likewise.
17404 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
17405 * math/gen-tgmath-tests.py (Type.create_type): Create complex
17408 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17410 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
17412 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
17414 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
17417 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
17418 nanosleep_not_cancel with __nanosleep_nocancel.
17419 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
17420 (__nanosleep_nocancel): New macro.
17421 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
17423 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
17425 (__nanosleep_nocancel): New prototype.
17427 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
17428 pause_not_cancel with __pause_nocancel.
17429 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
17430 (__pause_nocancel): New macro.
17431 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
17433 (__pause_nocancel): New prototype.
17434 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
17436 2017-08-22 Martin Sebor <msebor@redhat.com>
17438 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
17439 to return a pointer to the same type as the target function.
17441 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
17445 * include/printf.h (__printf_fphex): Add attribute_hidden.
17446 (__guess_grouping): New prototype.
17447 * stdio-common/printf_fp.c (__guess_grouping): Removed.
17448 * stdio-common/reg-printf.c (__register_printf_specifier): Add
17449 libc_hidden_proto and libc_hidden_def.
17450 * stdlib/strfmon_l.c (__guess_grouping): Removed.
17451 (__vstrfmon_l): Remove the third argument passed to
17454 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17456 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
17457 definition for issignaling that does not rely on __MATH_TG,
17458 since __MATH_TG uses __builtin_types_compatible_p, which is only
17459 available in C mode.
17460 (CFLAGS-test-math-issignaling.cc): New variable.
17461 * math/Makefile [CXX] (tests): Add test-math-issignaling.
17462 * math/test-math-issignaling.cc: New test for C++ implementation
17463 of type-generic issignaling.
17464 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
17465 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
17466 options of test-math-issignaling on powerpc64le.
17468 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
17470 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
17472 (hidden_proto): Likewise.
17473 (hidden_tls_proto): Likewise.
17474 (__hidden_proto): Likewise.
17476 2017-08-22 Florian Weimer <fweimer@redhat.com>
17478 math: Statically link tests of internal functionality.
17479 * math/Makefile (tests): Remove atest-exp, atest-sincos,
17481 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
17482 (gmp-objs): Remove assignment.
17483 (atest-exp, atest-sincos, atest-exp2): Remove targets.
17485 2017-08-22 Joseph Myers <joseph@codesourcery.com>
17488 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
17490 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
17492 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
17495 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
17496 variable definitions above inclusion of ../Rules.
17498 2017-08-21 Joseph Myers <joseph@codesourcery.com>
17500 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
17501 case calling __builtin_unreachable.
17503 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17505 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
17506 __waitpid_nocancel.
17507 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
17508 (__waitpid_nocancel): New macro.
17509 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
17511 (__waitpid_nocancel): Replace macro with a function.
17512 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
17515 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
17517 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
17518 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
17520 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
17521 __writev_nocancel_nostatus.
17522 (write_call_graph): Likewise.
17523 (write_bb_counts): Likewise.
17524 * resolv/herror.c (herror): Likewise.
17525 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
17527 (__writev_nocancel_nostatus): New macro.
17528 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
17530 (__writev_nocancel_nostatus): New function.
17532 2017-08-21 Joseph Myers <joseph@codesourcery.com>
17535 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17537 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
17539 (hidden_proto): Likewise.
17540 (hidden_tls_proto): Likewise.
17541 (__hidden_proto): Likewise.
17544 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
17545 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
17552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
17554 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
17555 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
17556 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
17557 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
17558 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17559 GLIBC_2.0 sqrtl symbol.
17561 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
17562 [__USE_MISC] (_LIB_VERSION): Likewise.
17563 [__USE_MISC] (struct exception): Likewise.
17564 [__USE_MISC] (matherr): Likewise.
17565 [__USE_MISC] (DOMAIN): Likewise.
17566 [__USE_MISC] (SING): Likewise.
17567 [__USE_MISC] (OVERFLOW): Likewise.
17568 [__USE_MISC] (UNDERFLOW): Likewise.
17569 [__USE_MISC] (TLOSS): Likewise.
17570 [__USE_MISC] (PLOSS): Likewise.
17571 [__USE_MISC] (HUGE): Likewise.
17572 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
17573 * math/math-svid-compat.h: New file.
17574 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
17576 * include/math.h [!_ISOMAC] (__matherr): Remove.
17577 * manual/arith.texi (FP Exceptions): Do not document matherr.
17578 * math/Makefile (tests): Change test-matherr to test-matherr-3.
17579 (tests-internal): New variable.
17580 (install-lib): Do not add libieee.a.
17581 (non-lib.a): Likewise.
17582 (extra-objs): Do not add libieee.a and ieee-math.o.
17583 (CPPFLAGS-s_lib_version.c): Remove variable.
17584 ($(objpfx)libieee.a): Remove rule.
17585 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
17586 * math/ieee-math.c: Remove.
17587 * math/libm-test-support.c (matherr): Remove.
17588 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
17589 and license notices. Include <math-svid-compat.h> and
17591 (matherr): Undefine as macro. Use compat_symbol_reference.
17592 (_LIB_VERSION): Likewise.
17593 * math/test-matherr-2.c: New file.
17594 * math/test-matherr-3.c: Likewise.
17595 * sysdeps/generic/math_private.h (__kernel_standard): Remove
17597 (__kernel_standard_f): Likewise.
17598 (__kernel_standard_l): Likewise.
17599 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
17600 <math_private.h>. Include <math-svid-compat.h>.
17601 (_LIB_VERSION): Undefine as macro.
17602 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
17603 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
17604 [LIBM_SVID_COMPAT], use compat_symbol.
17605 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
17606 <math_private.h>. Include <math-svid-compat.h>.
17607 (matherr): Undefine as macro.
17608 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
17610 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
17611 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
17612 compat_symbol_reference.
17613 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
17614 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
17615 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
17616 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
17617 (MATHERR_D): Remove declaration.
17618 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
17619 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
17620 [LIBM_BUILD] (pmatherrf): Likewise.
17621 [LIBM_BUILD] (pmatherr): Likewise.
17622 [LIBM_BUILD] (pmatherrl): Likewise.
17623 (DOMAIN): Likewise.
17625 (OVERFLOW): Likewise.
17626 (UNDERFLOW): Likewise.
17629 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
17630 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
17632 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
17633 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
17635 * math/lgamma-compat.h: Include <math-svid-compat.h>.
17636 * math/w_acos_compat.c: Likewise.
17637 * math/w_acosf_compat.c: Likewise.
17638 * math/w_acosh_compat.c: Likewise.
17639 * math/w_acoshf_compat.c: Likewise.
17640 * math/w_acoshl_compat.c: Likewise.
17641 * math/w_acosl_compat.c: Likewise.
17642 * math/w_asin_compat.c: Likewise.
17643 * math/w_asinf_compat.c: Likewise.
17644 * math/w_asinl_compat.c: Likewise.
17645 * math/w_atan2_compat.c: Likewise.
17646 * math/w_atan2f_compat.c: Likewise.
17647 * math/w_atan2l_compat.c: Likewise.
17648 * math/w_atanh_compat.c: Likewise.
17649 * math/w_atanhf_compat.c: Likewise.
17650 * math/w_atanhl_compat.c: Likewise.
17651 * math/w_cosh_compat.c: Likewise.
17652 * math/w_coshf_compat.c: Likewise.
17653 * math/w_coshl_compat.c: Likewise.
17654 * math/w_exp10_compat.c: Likewise.
17655 * math/w_exp10f_compat.c: Likewise.
17656 * math/w_exp10l_compat.c: Likewise.
17657 * math/w_exp2_compat.c: Likewise.
17658 * math/w_exp2f_compat.c: Likewise.
17659 * math/w_exp2l_compat.c: Likewise.
17660 * math/w_fmod_compat.c: Likewise.
17661 * math/w_fmodf_compat.c: Likewise.
17662 * math/w_fmodl_compat.c: Likewise.
17663 * math/w_hypot_compat.c: Likewise.
17664 * math/w_hypotf_compat.c: Likewise.
17665 * math/w_hypotl_compat.c: Likewise.
17666 * math/w_j0_compat.c: Likewise.
17667 * math/w_j0f_compat.c: Likewise.
17668 * math/w_j0l_compat.c: Likewise.
17669 * math/w_j1_compat.c: Likewise.
17670 * math/w_j1f_compat.c: Likewise.
17671 * math/w_j1l_compat.c: Likewise.
17672 * math/w_jn_compat.c: Likewise.
17673 * math/w_jnf_compat.c: Likewise.
17674 * math/w_jnl_compat.c: Likewise.
17675 * math/w_lgamma_main.c: Likewise.
17676 * math/w_lgamma_r_compat.c: Likewise.
17677 * math/w_lgammaf_main.c: Likewise.
17678 * math/w_lgammaf_r_compat.c: Likewise.
17679 * math/w_lgammal_main.c: Likewise.
17680 * math/w_lgammal_r_compat.c: Likewise.
17681 * math/w_log10_compat.c: Likewise.
17682 * math/w_log10f_compat.c: Likewise.
17683 * math/w_log10l_compat.c: Likewise.
17684 * math/w_log2_compat.c: Likewise.
17685 * math/w_log2f_compat.c: Likewise.
17686 * math/w_log2l_compat.c: Likewise.
17687 * math/w_log_compat.c: Likewise.
17688 * math/w_logf_compat.c: Likewise.
17689 * math/w_logl_compat.c: Likewise.
17690 * math/w_pow_compat.c: Likewise.
17691 * math/w_powf_compat.c: Likewise.
17692 * math/w_powl_compat.c: Likewise.
17693 * math/w_remainder_compat.c: Likewise.
17694 * math/w_remainderf_compat.c: Likewise.
17695 * math/w_remainderl_compat.c: Likewise.
17696 * math/w_scalb_compat.c: Likewise.
17697 * math/w_scalbf_compat.c: Likewise.
17698 * math/w_scalbl_compat.c: Likewise.
17699 * math/w_sinh_compat.c: Likewise.
17700 * math/w_sinhf_compat.c: Likewise.
17701 * math/w_sinhl_compat.c: Likewise.
17702 * math/w_sqrt_compat.c: Likewise.
17703 * math/w_sqrtf_compat.c: Likewise.
17704 * math/w_sqrtl_compat.c: Likewise.
17705 * math/w_tgamma_compat.c: Likewise.
17706 * math/w_tgammaf_compat.c: Likewise.
17707 * math/w_tgammal_compat.c: Likewise.
17708 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
17709 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
17710 * sysdeps/ieee754/k_standard.c: Likewise.
17711 * sysdeps/ieee754/k_standardf.c: Likewise.
17712 * sysdeps/ieee754/k_standardl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
17715 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
17716 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
17717 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
17718 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
17719 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
17720 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
17721 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
17722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
17724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
17726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
17727 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
17728 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
17729 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
17731 2017-08-21 Florian Weimer <fweimer@redhat.com>
17734 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
17735 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
17736 Move before inclusion of ../Rules.
17738 2017-08-21 Florian Weimer <fweimer@redhat.com>
17741 * assert/assert.h (assert): Use static_cast (bool) for C++.
17742 Use the ternary operator in the warning branch for GNU C.
17743 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
17744 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
17745 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
17746 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
17747 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
17749 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17752 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17753 (__syscall_clock_gettime): Add attribute_hidden.
17754 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
17755 (__start_context): Likewise.
17757 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17759 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
17761 (hidden_proto): Likewise.
17762 (hidden_tls_proto): Likewise.
17763 (__hidden_proto): Likewise.
17765 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17767 * include/libc-symbols.h (attribute_hidden): Enable hidden
17768 visibility in libc.a compiled with PIE.
17770 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17773 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
17774 Add attribute_hidden.
17776 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17779 * Makerules (all-nonlib): Add $(others-extras).
17780 * catgets/Makefile (others-extras): New.
17781 * elf/Makefile (others-extras): Likewise.
17782 * nss/Makefile (others-extras): Likewise.
17784 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17787 * csu/libc-start.c (__libc_multiple_libcs): Removed.
17788 * elf/dl-open.c: Include <libc-internal.h>.
17789 (__libc_multiple_libcs): Removed.
17790 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
17792 * include/libc-internal.h (__libc_multiple_libcs): New.
17793 * misc/sbrk.c: Include <libc-internal.h>.
17794 (__libc_multiple_libcs): Removed.
17796 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
17799 * grp/initgroups.c (__nss_group_database): Removed.
17800 (__nss_initgroups_database): Likewise.
17801 * nscd/gai.c (__nss_hosts_database): Likewise.
17802 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
17803 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17804 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17805 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17806 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
17807 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
17809 * nss/nsswitch.c (__nss_database_custom): Define only if
17810 USE_NSCD is defined.
17811 (__nss_configure_lookup): Use __nss_database_custom only if
17812 USE_NSCD is defined.
17813 * nss/nsswitch.h (__nss_database_custom): Declare only if
17814 USE_NSCD is defined. Add attribute_hidden.
17815 (__nss_setent): Add attribute_hidden.
17816 (__nss_endent): Likewise.
17817 (__nss_getent_r): Likewise.
17818 (__nss_getent): Likewise.
17819 (DEFINE_DATABASE): Declare __nss_##arg##_database.
17821 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17824 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
17825 libc_hidden_proto and libc_hidden_def.
17827 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17830 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
17831 Add libc_hidden_proto.
17832 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
17833 Add libc_hidden_def.
17835 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17838 * gmon/Makefile (routines): Remove bb_init_func and
17840 (elide-routines.os): Removed.
17841 * gmon/bb_exit_func.c: Likewise.
17842 * gmon/bb_init_func.c: Likewise.
17843 * include/sys/gmon.h (__bb): Likewise.
17844 (__bb_init_func): Likewise.
17845 (__bb_exit_func): Likewise.
17846 * sysdeps/alpha/bb_init_func.S: Likewise.
17848 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
17850 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
17851 * include/setjmp.h (____longjmp_chk): Here. Add
17854 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
17857 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
17859 (__strspn_sse2): Likewise.
17861 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17863 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
17864 (close_not_cancel_no_status): Likewise.
17865 (__close_nocancel): New macro.
17866 (__close_nocancel_nostatus): Likewise.
17867 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
17869 (close_not_cancel): Likewise.
17870 (close_not_cancel_no_status): Likewise.
17871 (__close_nocancel): New prototype.
17872 (__close_nocancel_nostatus): New function.
17873 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
17874 * catgets/open_catalog.c (__open_catalog): Replace
17875 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
17876 * gmon/gmon.c (write_gmon): Likewise.
17877 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17878 * intl/loadmsgcat.c (close): Likewise.
17879 * io/ftw.c (open_dir_stream): Likewise.
17880 (ftw_startup): Likewise.
17881 * libio/fileops.c (_IO_file_open): Likewise.
17882 (_IO_file_close_mmap): Likewise.
17883 (_IO_file_close): Likewise.
17884 * libio/iopopen.c (_IO_dup2): Likewise.
17885 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17886 * locale/loadlocale.c (_nl_load_locale): Likewise.
17887 * login/utmp_file.c (pututline_file): Likewise.
17888 (endutent_file): Likewise.
17889 * misc/daemon.c (daemon): Likewise.
17890 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17891 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17892 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
17893 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17894 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17895 * nscd/nscd_helper.c (open_socket): Likewise.
17896 (__nscd_open_socket): Likewise.
17897 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17898 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
17899 (__nscd_innetgr): Likewise.
17900 * nss/nss_db/db-open.c (internal_setent): Likewise.
17901 * resolv/res-close.c (__res_iclose): Likewise.
17902 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
17903 * sysdeps/posix/closedir.c (__closedir): Likewise.
17904 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
17905 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17906 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
17907 (opendir_tail): Likewise.
17908 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
17909 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
17910 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17911 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17912 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
17913 (gethostid): Likewise.
17914 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
17915 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17917 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17918 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
17919 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
17920 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
17922 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
17923 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
17924 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
17926 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
17927 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17929 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17931 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
17932 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
17933 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
17936 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
17937 (openat_not_cancel_3): Likewise.
17938 (openat64_not_cancel_3): Likewise).
17939 (openat_not_cancel_3): Likewise).
17940 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
17942 (openat_not_cancel_3): Likewise.
17943 (openat64_not_cancel): Likewise.
17944 (openat64_not_cancel_3): Likewise.
17945 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
17946 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
17947 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
17948 __open{64}_nocancel.
17949 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
17950 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17951 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17953 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
17956 * include/argz.h (__argz_create_sep): New function prototype.
17957 (__argz_append): Likewise.
17958 (__argz_add): Likewise.
17959 (__argz_add_sep): Likewise.
17960 (__argz_delete): Likewise.
17961 (__argz_insert): Likewise.
17962 (__argz_replace): Likewise.
17963 * string/argz.h (__argz_create_sep): Removed.
17964 (__argz_append): Likewise.
17965 (__argz_add): Likewise.
17966 (__argz_add_sep): Likewise.
17967 (__argz_delete): Likewise.
17968 (__argz_insert): Likewise.
17969 (__argz_replace): Likewise.
17971 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
17973 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
17974 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
17975 (GNU_PROPERTY_STACK_SIZE): Likewie.
17976 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
17977 (GNU_PROPERTY_LOPROC): Likewise.
17978 (GNU_PROPERTY_HIPROC): Likewise.
17979 (GNU_PROPERTY_LOUSER): Likewise.
17980 (GNU_PROPERTY_HIUSER): Likewise.
17981 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
17982 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
17983 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
17984 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
17985 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
17986 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
17987 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
17988 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
17989 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
17990 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
17991 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
17992 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
17993 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
17994 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
17995 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
17996 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
17997 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
17998 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
17999 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
18000 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
18001 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
18002 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
18003 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
18005 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18007 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
18010 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18013 * math/math.h (isinf): Check if in C or C++ mode before using
18014 __builtin_types_compatible_p, since this is a C mode feature.
18016 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18018 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
18019 (__write_nocancel): New macro.
18020 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
18021 Rewrite as a function prototype.
18022 (write_not_cancel): Remove macro.
18023 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
18024 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
18025 (write_gmon): Likewise.
18026 * libio/fileops.c (_IO_new_file_write): Likewise.
18027 * login/utmp_file.c (pututline_file): Likewise.
18028 (updwtmp_file): Likewise.
18029 * stdio-common/psiginfo.c (psiginfo): Likewise.
18030 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
18031 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
18032 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
18034 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18037 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
18038 (__read_nocancel): New macro.
18039 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
18041 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
18043 (__read_nocancel): New prototype.
18044 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
18045 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
18046 with __read_nocancel.
18047 * intl/loadmsgcat.c (read): Likewise.
18048 * libio/fileops.c (_IO_file_read): Likewise.
18049 * locale/loadlocale.c (_nl_load_locale): Likewise.
18050 * login/utmp_file.c (getutent_r_file): Likewise.
18051 (internal_getut_r): Likewise.
18052 (getutline_r_file): Likewise.
18053 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
18054 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18055 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
18056 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18058 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
18059 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
18060 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
18062 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
18064 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
18066 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
18068 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
18070 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
18073 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
18074 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
18077 2017-08-17 DJ Delorie <dj@redhat.com>
18079 * bug17079.c: Update to new test harness.
18080 * test-digits-dots.c: Likewise.
18081 * test-netdb.c: Likewise.
18082 * tst-field.c: Likewise.
18083 * tst-nss-getpwent.c: Likewise.
18084 * tst-nss-static.c: Likewise.
18085 * tst-nss-test1.c: Likewise.
18086 * tst-nss-test2.c: Likewise.
18087 * tst-nss-test3.c: Likewise.
18088 * tst-nss-test4.c: Likewise.
18089 * tst-nss-test5.c: Likewise.
18091 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18093 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
18094 (open_not_cancel_2): Likewise.
18095 (open_nocancel): New macro.
18096 (open64_nocancel): Likewise.
18097 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
18098 (open_not_cancel_2): Likewise.
18099 (__open_nocancel): New prototype.
18100 (__open64_nocancel): Likewise.
18101 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
18103 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
18104 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
18105 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
18106 with __open_nocancel.
18107 * csu/check_fds.c (check_one_fd): Likewise.
18108 * gmon/gmon.c (write_gmon): Likewise.
18109 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
18110 * intl/loadmsgcat.c (open): Likewise.
18111 * libio/fileops.c (_IO_file_open): Likewise.
18112 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18113 * locale/loadlocale.c (_nl_load_locale): Likewise.
18114 * login/utmp_file.c (setutent_file): Likewise.
18115 * misc/daemon.c (daemon): Likewise.
18116 * nss/nss_db/db-open.c (internal_setent): Likewise.
18117 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
18118 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
18119 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
18120 (__opendir): Likewise.
18121 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
18122 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
18123 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
18124 (gethostid): Likewise.
18125 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
18126 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18129 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
18130 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
18131 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
18133 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
18135 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
18137 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
18139 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
18141 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18143 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
18144 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
18146 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
18148 * benchtests/bench-skeleton.c (main): Add support for
18149 latency benchmarking.
18150 * benchtests/scripts/bench.py: Add support for latency benchmarking.
18152 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
18154 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
18155 the startup object.
18157 2017-08-17 Florian Weimer <fweimer@redhat.com>
18159 * include/sys/socket.h (__opensock): Remove internal_function.
18160 * socket/opensock.c (__opensock): Likewise.
18161 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
18163 2017-08-16 Joseph Myers <joseph@codesourcery.com>
18166 * signal/bits/types/__sigval_t.h: New file.
18167 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
18168 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
18169 and define sigval_t using __sigval_t.
18170 * include/bits/types/__sigval_t.h: New file.
18171 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
18172 instead of <bits/types/__sigval_t.h>.
18173 (struct sigevent): Use __sigval_t instead of sigval_t.
18174 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
18175 instead of <bits/types/__sigval_t.h>.
18176 (siginfo_t): Use __sigval_t instead of sigval_t.
18177 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
18178 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
18179 (struct sigevent): Use __sigval_t instead of sigval_t.
18180 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
18181 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
18182 (siginfo_t): Use __sigval_t instead of sigval_t.
18183 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
18185 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
18187 * NEWS: Remove "[Add new features here]" for 2.27.
18189 2017-08-16 Joseph Myers <joseph@codesourcery.com>
18191 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
18194 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
18196 * NEWS: Mention x86-64 FMA optimization.
18198 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
18201 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18203 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
18204 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
18205 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
18207 2017-08-16 Andreas Schwab <schwab@suse.de>
18211 * elf/ldd.bash.in: Never run file directly.
18213 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
18216 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
18217 (L(SP_INF_0)): Likewise.
18219 2017-08-15 Florian Weimer <fweimer@redhat.com>
18221 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
18224 2017-08-15 Florian Weimer <fweimer@redhat.com>
18226 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
18227 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
18228 BROKEN_THREAD_SIGNALS code.
18229 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
18230 request_list): Remove caller_pid member used for
18231 BROKEN_THREAD_SIGNALS.
18232 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
18233 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
18234 Remove BROKEN_THREAD_SIGNALS support.
18235 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
18236 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
18238 2017-08-15 Florian Weimer <fweimer@redhat.com>
18240 * gmon/Makefile (tests): Add tst-gmon.
18241 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
18243 (tests-special): Add tst-gmon-prof.out.
18244 (tst-gmon.out): Depend on clean-tst-gmon-data.
18245 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
18246 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
18247 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
18249 * aclocal.m4 (GPROF): Set and substitute.
18250 * config.amke.in (GPROF): Set.
18251 * configure: Regenerate.
18253 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
18255 * elf/elf.h A (NT_PPC_TAR): New macro.
18256 (NT_PPC_PPR): Likewise.
18257 (NT_PPC_DSCR): Likewise.
18258 (NT_PPC_EBB): Likewise.
18259 (NT_PPC_PMU): Likewise.
18260 (NT_PPC_TM_CGPR): Likewise.
18261 (NT_PPC_TM_CFPR): Likewise.
18262 (NT_PPC_TM_CVMX): Likewise.
18263 (NT_PPC_TM_CVSX): Likewise.
18264 (NT_PPC_TM_SPR): Likewise.
18265 (NT_PPC_TM_CTAR): Likewise.
18266 (NT_PPC_TM_CPPR): Likewise.
18267 (NT_PPC_TM_CDSCR): Likewise.
18269 2017-08-15 Florian Weimer <fweimer@redhat.com>
18271 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
18272 regparm (2) instead of internal_function.
18273 (_MCOUNT_DECL): Adjust.
18275 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18277 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
18278 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
18280 2017-08-14 Joseph Myers <joseph@codesourcery.com>
18282 * conform/data/sys/wait.h-data (si_value): Do not expect for
18285 2017-08-14 Florian Weimer <fweimer@redhat.com>
18288 NSS: Create stubs for accidentally exported lookup functions.
18289 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
18290 Remove declaration.
18291 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
18292 (ether_hostton): Call __nss_ethers_lookup2 instead.
18293 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
18294 (ether_ntohost): Call __nss_ethers_lookup2 instead.
18295 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
18296 (setup): Call __nss_netgroup_lookup2 instead.
18297 * nss/Makefile (routines): Add compat-lookup.
18298 * nss/Versions (GLIBC_2.27): Add symbol version.
18299 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
18300 (DB_COMPAT_FCT): Remove.
18301 * nss/compat-lookup.c: New file.
18302 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
18303 from databases.def.
18304 * nss/service-lookup.c (NO_COMPAT): Remove definition.
18305 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
18306 (netname2user): Call __nss_publickey_lookup2 instead.
18307 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
18308 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
18311 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18312 Sergei Trofimovich <slyfox@inbox.ru>
18315 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
18316 Rename to MMAP2_PAGE_UNIT.
18317 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
18318 __OFF_T_MATCHES_OFF64_T is not defined.
18319 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
18321 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
18322 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
18324 2017-08-14 Florian Weimer <fweimer@redhat.com>
18326 i386: Do not set internal_function.
18327 * config.h.in (USE_REGPARMS, internal_function): Remove.
18328 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
18329 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
18331 2017-08-14 Florian Weimer <fweimer@redhat.com>
18333 * elf/dl-init.c (_dl_init): Remove internal_function.
18334 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
18335 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
18337 2017-08-14 Florian Weimer <fweimer@redhat.com>
18339 * elf/rtld.c (_dl_start): Remove internal_function.
18340 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
18343 2017-08-14 Florian Weimer <fweimer@redhat.com>
18345 * elf/dl-fini.c (_dl_fini): Remove internal_function
18346 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
18348 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
18350 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
18351 (bit_cpu_SHSTK): Likewise.
18352 (index_cpu_IBT): Likewise.
18353 (index_cpu_SHSTK): Likewise.
18354 (reg_IBT): Likewise.
18355 (reg_SHSTK): Likewise.
18356 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
18357 Handle index_cpu_IBT and index_cpu_SHSTK.
18359 2017-08-14 Mike FABIAN <mfabian@redhat.com>
18362 * po/fr.po: Fix spelling mistake.
18364 2017-08-13 Florian Weimer <fweimer@redhat.com>
18366 * elf/dl-addr.c (_dl_addr): Remove internal_function.
18367 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
18368 (_dl_catch_error, _dl_receive_error): Likewise.
18369 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
18370 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
18371 (_dl_deallocate_tls): Likewise.
18372 * include/dlfcn.h (_dl_addr): Likewise.
18373 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
18374 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
18375 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
18378 2017-08-13 Florian Weimer <fweimer@redhat.com>
18380 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
18381 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
18383 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
18385 2017-08-13 Florian Weimer <fweimer@redhat.com>
18387 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
18389 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
18390 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
18391 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
18392 internal_function from _dl_make_stack_executable_hook member.
18393 (_dl_make_stack_executable): Remove internal_function.
18394 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
18396 * sysdeps/unix/sysv/linux/dl-execstack.c
18397 (_dl_make_stack_executable): Likewise.
18399 2017-08-13 Florian Weimer <fweimer@redhat.com>
18401 * sysdeps/unix/sysv/linux/netlinkaccess.h
18402 (__netlink_assert_response): Remove internal_function.
18403 * sysdeps/unix/sysv/linux/netlink_assert_response.c
18404 (__netlink_assert_response): Likewise.
18406 2017-08-13 Florian Weimer <fweimer@redhat.com>
18408 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
18410 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
18412 2017-08-13 Florian Weimer <fweimer@redhat.com>
18414 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
18416 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
18417 * inet/netgroup.h (__internal_setnetgrent)
18418 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
18419 * inet/getnetgrent_r.c (__internal_setnetgrent)
18420 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
18421 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
18422 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
18423 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
18424 * nss/nsswitch.h (db_lookup_function): Likewise.
18426 2017-08-13 Florian Weimer <fweimer@redhat.com>
18428 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
18429 Remove internal_function.
18430 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
18431 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
18432 message argument on the stack.
18433 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
18436 2017-08-12 Mike FABIAN <mfabian@redhat.com>
18438 Adapt test case data to the changes in the thousands
18442 * localedata/tst-langinfo.sh: Adapt test case data.
18443 * stdlib/tst-strfmon_l.c: Likewise.
18444 * stdlib/tst-strtod4.c: Likewise.
18445 * stdlib/tst-strtod5i.c: Likewise.
18447 2017-08-11 Florian Weimer <fweimer@redhat.com>
18450 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
18451 Suppress pedantic warning resulting from statement expression.
18452 (__ASSERT_FUNCTION): Add missing __extension__.
18454 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
18456 * benchtests/bench-memmove-large.c: Print output in JSON
18458 * benchtests/bench-memmove.c: Likewise.
18460 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
18461 * benchtests/bench-memchr.c (do_one_test): Likewise.
18462 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
18463 * benchtests/bench-memcpy.c (do_one_test): Likewise.
18464 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
18465 * benchtests/bench-memmove.c (do_one_test): Likewise.
18466 * benchtests/bench-memset-large.c (do_one_test): Likewise.
18467 * benchtests/bench-memset.c (do_one_test): Likewise.
18468 * benchtests/bench-string.h (test_init): Remove memsets.
18470 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
18473 (Computing the Width of an Integer Data Type): Rename section to
18474 "Width of an Integer Type". Remove inaccurate statement regarding
18475 lack of C language facilities for determining width of integer
18476 types, and reorder content to improve flow and context of
18479 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
18481 * lang.texi (va_copy): Change standard from ISO to C99.
18482 (__va_copy): Add standard and header annotation.
18483 Update description for clarity of origins and current use.
18485 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18488 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
18489 xssqrtqp requires operands to be in Vector Registers
18490 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
18491 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
18492 (__ieee754_sqrtf128): Likewise.
18494 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
18496 * sysdeps/aarch64/memcmp.S (memcmp):
18497 Rewrite of optimized memcmp.
18499 2017-08-10 Florian Weimer <fweimer@redhat.com>
18501 Introduce ld.so exceptions.
18502 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
18503 (_dl_exception_create, _dl_exception_create_format)
18504 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
18505 (_dl_catch_exception): Declare.
18506 (_dl_catch_error): Update comment.
18507 * elf/dl-error-skeleton.c (struct catch): Replace objname,
18508 errstring, malloced members with exception member.
18509 (_dl_out_of_memory): Remove.
18510 (fatal_error): New function, extracted from _dl_signal_error.
18511 (_dl_signal_exception, _dl_signal_cexception): New functions.
18512 (_dl_signal_error): Call _dl_exception_create to allocate an
18514 (_dl_catch_exception): New function, based on _dl_catch_error.
18515 (_dl_catch_error): Implement using _dl_catch_exception.
18516 * elf/dl-exception.c: New file.
18517 * elf/Makefile (dl-routines): Add dl-exception.
18518 (elide-routines.os): Likewise.
18519 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
18520 _dl_exception_create_format, _dl_exception_free.
18521 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
18522 _dl_signal_exception.
18523 * elf/dl-lookup.c (make_string): Remove.
18524 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
18525 _dl_signal_cexception, _dl_exception_free.
18526 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
18527 _dl_signal_exception.
18528 * elf/dl-sym.c (do_sym): Likewise.
18529 * elf/dl-version.c (make_string): Remove.
18530 (match_symbol): Use _dl_exception_create_format,
18531 _dl_signal_cexception, _dl_exception_free.
18532 (_dl_check_map_versions): Likewise.
18533 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
18534 _dl_catch_exception.
18535 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
18536 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
18537 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
18538 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
18539 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
18540 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
18541 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
18542 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
18544 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
18551 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
18552 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
18553 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
18555 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
18557 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
18559 2017-08-10 Florian Weimer <fweimer@redhat.com>
18561 * inet/net-internal.h (__inet6_scopeid_pton): Remove
18562 attribute_hidden, internal_function.
18563 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
18566 2017-08-10 Florian Weimer <fweimer@redhat.com>
18568 * malloc/malloc.c (get_max_fast): Reimplement as an inline
18569 function which calls __builtin_unreachable.
18571 2017-08-10 Mike FABIAN <mfabian@redhat.com>
18573 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
18574 Indian monetary formatting
18575 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
18578 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
18580 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
18581 Fix typo in comment.
18584 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
18585 PTRACE_SEIZE_DEVEL): Remove.
18586 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18587 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18588 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18589 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18590 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18592 2017-08-09 Joseph Myers <joseph@codesourcery.com>
18594 * posix/bits/types.h (__qaddr_t): Remove.
18597 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
18598 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18600 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
18601 (ucontext_t): Use __ctx with uc_flags.
18602 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
18603 (__ctxt): Likewise.
18604 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18606 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
18607 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18609 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
18610 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18612 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
18614 (ucontext_t): Use __ctx with uc_flags.
18615 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
18616 (ucontext_t): Use __ctx with uc_flags.
18617 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
18618 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
18619 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
18620 (ucontext_t): Use __ctx with uc_flags.
18621 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
18622 undefine further down.
18623 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
18625 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
18626 undefine further down.
18627 (ucontext_t): Use __ctx with uc_flags.
18628 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
18629 undefine further down.
18630 (ucontext_t): Use __ctx with uc_flags.
18631 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
18632 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
18633 Rename uc_pad to __glibc_reserved1.
18634 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
18635 undefine further down.
18636 (ucontext_t): Use __ctx with uc_flags.
18637 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
18639 (ucontext_t): Use __ctx with uc_flags.
18640 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
18641 __ctx with uc_flags.
18642 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
18643 (ucontext_t): Use __ctx with uc_flags.
18644 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
18645 __ctx with uc_flags.
18647 2017-08-09 Florian Weimer <fweimer@redhat.com>
18650 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
18651 before early return.
18653 2017-08-09 Andreas Schwab <schwab@suse.de>
18656 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
18660 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
18661 tst-compat-forwarder.
18662 (modules-names): Add tst-compat-forwarder-mod.
18663 ($(objpfx)tst-compat-forwarder): Depend on
18664 $(objpfx)tst-compat-forwarder-mod.so.
18665 * nptl/tst-compat-forwarder.c: New file.
18666 * nptl/tst-compat-forwarder-mod.c: New file.
18668 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
18670 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
18673 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
18674 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
18676 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18678 (__libc_ifunc_impl_list): Add __memcpy_falkor.
18679 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
18680 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
18681 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
18683 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
18686 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18689 * manual/setjmp.texi (getcontex): Document uc_stack value
18690 compatibility differences.
18692 2017-08-08 Joseph Myers <joseph@codesourcery.com>
18694 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
18695 (old_malloc_hook): Likewise.
18696 (old_memalign_hook): Likewise.
18697 (old_realloc_hook): Likewise.
18698 (struct hdr): Likewise.
18700 (freehook): Likewise.
18701 (mallochook): Likewise.
18702 (memalignhook): Likewise.
18703 (reallochook): Likewise.
18704 (mprobe): Likewise.
18705 * malloc/mtrace.c (mallwatch): Likewise.
18706 (tr_old_free_hook): Likewise.
18707 (tr_old_malloc_hook): Likewise.
18708 (tr_old_realloc_hook): Likewise.
18709 (tr_old_memalign_hook): Likewise.
18710 (tr_where): Likewise.
18711 (lock_and_info): Likewise.
18712 (tr_freehook): Likewise.
18713 (tr_mallochook): Likewise.
18714 (tr_reallochook): Likewise.
18715 (tr_memalignhook): Likewise.
18716 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
18717 * misc/mmap.c (__mmap): Likewise.
18718 * misc/mmap64.c (__mmap64): Likewise.
18719 * misc/mprotect.c (__mprotect): Likewise.
18720 * misc/msync.c (msync): Likewise.
18721 * misc/munmap.c (__munmap): Likewise.
18722 * posix/posix_madvise.c (posix_madvise): Likewise.
18723 * socket/send.c (__send): Likewise.
18724 * socket/sendto.c (__sendto): Likewise.
18725 * socket/setsockopt.c (__setsockopt): Likewise.
18726 * string/memcmp.c (__ptr_t): Remove macro.
18727 (MEMCMP): Use void * instead of ptr_t.
18728 * string/memrchr.c (__ptr_t): Remove macro.
18729 (__memrchr): Use void * instead of ptr_t.
18730 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
18731 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
18732 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
18733 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
18734 * sysdeps/mach/msync.c (msync): Likewise.
18735 * sysdeps/mach/munmap.c (__munmap): Likewise.
18736 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
18738 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
18739 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
18740 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
18741 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
18742 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18743 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18744 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
18745 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
18747 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18748 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
18749 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
18750 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
18751 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
18752 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
18753 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
18754 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
18755 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
18757 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
18758 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
18759 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
18760 (MEMCMP): Use void * instead of ptr_t.
18761 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
18762 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
18764 2017-08-08 Florian Weimer <fweimer@redhat.com>
18766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
18769 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
18772 * csu/libc-tls.c: Include <startup.h> first.
18773 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
18774 * elf/dl-tunables.c: Include <startup.h> first.
18775 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
18776 * sysdeps/generic/startup.h: New file.
18777 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
18778 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
18779 (I386_USE_SYSENTER): New. Defined to 0.
18781 2017-08-08 Andreas Schwab <schwab@suse.de>
18784 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
18785 * nptl/pt-system.c (system): Likewise.
18787 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18790 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
18792 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18793 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18794 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
18795 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18796 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18797 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18798 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
18800 2017-08-07 Joseph Myers <joseph@codesourcery.com>
18803 * bits/sigaction.h (struct sigaction): Define sa_handler and
18804 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
18805 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18806 [__USE_XOPEN_EXTENDED].
18807 (SA_RESTART): Likewise.
18808 (SA_NODEFER): Likewise.
18809 (SA_RESETHAND): Likewise.
18810 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
18811 (struct sigaction): Define sa_handler and sa_sigaction using union
18812 also for [__USE_XOPEN_EXTENDED].
18813 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18814 [__USE_XOPEN_EXTENDED].
18815 (SA_RESTART): Likewise.
18816 (SA_NODEFER): Likewise.
18817 (SA_RESETHAND): Likewise.
18818 * sysdeps/unix/sysv/linux/bits/sigaction.h
18819 (struct sigaction): Define sa_handler and sa_sigaction using union
18820 also for [__USE_XOPEN_EXTENDED].
18821 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18822 [__USE_XOPEN_EXTENDED].
18823 (SA_RESTART): Likewise.
18824 (SA_NODEFER): Likewise.
18825 (SA_RESETHAND): Likewise.
18826 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
18827 (struct sigaction): Define sa_handler and sa_sigaction using union
18828 also for [__USE_XOPEN_EXTENDED].
18829 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18830 [__USE_XOPEN_EXTENDED].
18831 (SA_RESTART): Likewise.
18832 (SA_NODEFER): Likewise.
18833 (SA_RESETHAND): Likewise.
18834 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
18835 (struct sigaction): Define sa_handler and sa_sigaction using union
18836 also for [__USE_XOPEN_EXTENDED].
18837 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18838 [__USE_XOPEN_EXTENDED].
18839 (SA_RESTART): Likewise.
18840 (SA_NODEFER): Likewise.
18841 (SA_RESETHAND): Likewise.
18842 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18843 (struct sigaction): Define sa_handler and sa_sigaction using union
18844 also for [__USE_XOPEN_EXTENDED].
18845 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18846 [__USE_XOPEN_EXTENDED].
18847 (SA_RESTART): Likewise.
18848 (SA_NODEFER): Likewise.
18849 (SA_RESETHAND): Likewise.
18850 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18851 (struct sigaction): Define sa_handler and sa_sigaction using union
18852 also for [__USE_XOPEN_EXTENDED].
18853 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18854 [__USE_XOPEN_EXTENDED].
18855 (SA_RESTART): Likewise.
18856 (SA_NODEFER): Likewise.
18857 (SA_RESETHAND): Likewise.
18858 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18859 (struct sigaction): Define sa_handler and sa_sigaction using union
18860 also for [__USE_XOPEN_EXTENDED].
18861 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18862 [__USE_XOPEN_EXTENDED].
18863 (SA_RESTART): Likewise.
18864 (SA_NODEFER): Likewise. Define directly rather than as alias.
18865 (SA_RESETHAND): Likewise.
18866 (SA_INTERRUPT): Define only for [__USE_MISC].
18867 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
18868 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
18870 (SA_STACK): Define only for [__USE_MISC].
18871 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
18872 (struct sigaction): Define sa_handler and sa_sigaction using union
18873 also for [__USE_XOPEN_EXTENDED].
18874 (SA_ONSTACK): Change [__USE_UNIX98] condition to
18875 [__USE_XOPEN_EXTENDED].
18876 (SA_RESTART): Likewise.
18877 (SA_NODEFER): Likewise.
18878 (SA_RESETHAND): Likewise.
18879 (SA_NOPTRACE): Define only for [__USE_MISC].
18881 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
18882 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
18883 (struct catalog_info): Likewise.
18884 * inet/htontest.c (lo): Likewise.
18886 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18887 * inet/inet_net.c (inet_network): Likewise.
18888 * inet/inet_netof.c (inet_netof): Likewise.
18889 * inet/rcmd.c (__ivaliduser): Likewise.
18890 (iruserok): Likewise.
18891 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
18892 * locale/programs/locale-spec.c (locale_special): Likewise.
18893 * nis/nis_findserv.c (struct findserv_req): Likewise.
18894 (__nis_findfastest_with_timeout): Likewise.
18895 * nss/test-netdb.c (test_network): Likewise.
18896 * resolv/inet_neta.c (inet_neta): Likewise.
18897 * resolv/ns_date.c (ns_datetosecs): Likewise.
18898 (SECS_PER_DAY): Likewise.
18899 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
18901 * resolv/res_comp.c (__putlong): Likewise.
18902 (__putshort): Likewise.
18903 (_getlong): Likewise.
18904 (_getshort): Likewise.
18905 * resolv/res_debug.c (p_time): Likewise.
18906 (precsize_ntoa): Likewise.
18907 (precsize_aton): Likewise.
18908 (latlon2ul): Likewise.
18909 (loc_aton): Likewise.
18910 (loc_ntoa): Likewise.
18911 * resolv/res_hconf.c (struct netaddr): Likewise.
18912 (_res_hconf_reorder_addrs): Likewise.
18913 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
18914 (clnttcp_control): Likewise.
18915 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18916 (clntudp_control): Likewise.
18917 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
18918 (clntunix_control): Likewise.
18919 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18920 * sunrpc/rpc/auth.h (union des_block): Likewise.
18921 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
18922 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
18923 (xdrrec_create): Likewise.
18924 (xdrrec_endofrecord): Likewise.
18925 (flush_out): Likewise.
18926 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
18927 (xdrstdio_putlong): Likewise.
18928 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
18931 * misc/sys/cdefs.h (__long_double_t): Remove.
18932 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
18933 instead of __long_double_t,
18934 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
18936 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18938 * benchtests/scripts/compare_strings.py: Avoid display error when
18939 running on a text terminal.
18941 * benchtests/scripts/compare_strings.py (main): Add an
18942 optional -base option.
18943 (process_results): New argument base_func.
18945 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
18947 * benchtests/bench-memcpy-large.c (test_name): Likewise.
18948 * benchtests/bench-memcpy-random.c (test_name): Likewise.
18950 2017-08-07 Andreas Schwab <schwab@suse.de>
18952 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
18953 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18954 * intl/Makefile ($(objpfx)tst-gettext.out)
18955 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
18956 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
18957 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18958 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18959 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
18960 * posix/Makefile ($(objpfx)globtest.out)
18961 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
18962 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
18963 ($(objpfx)tst-printf.out): Likewise.
18964 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
18965 ($(objpfx)tst-setcontext3.out): Likewise.
18967 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
18969 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18970 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
18971 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
18972 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
18973 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
18975 (CFLAGS-doasin-fma.c): New.
18976 (CFLAGS-dosincos-fma.c): Likewise.
18977 (CFLAGS-e_asin-fma.c): Likewise.
18978 (CFLAGS-e_atan2-fma.c): Likewise.
18979 (CFLAGS-e_exp-fma.c): Likewise.
18980 (CFLAGS-e_log-fma.c): Likewise.
18981 (CFLAGS-e_pow-fma.c): Likewise.
18982 (CFLAGS-halfulp-fma.c): Likewise.
18983 (CFLAGS-mpa-fma.c): Likewise.
18984 (CFLAGS-mpatan-fma.c): Likewise.
18985 (CFLAGS-mpatan2-fma.c): Likewise.
18986 (CFLAGS-mpexp-fma.c): Likewise.
18987 (CFLAGS-mplog-fma.c): Likewise.
18988 (CFLAGS-mpsqrt-fma.c): Likewise.
18989 (CFLAGS-mptan-fma.c): Likewise.
18990 (CFLAGS-s_atan-fma.c): Likewise.
18991 (CFLAGS-sincos32-fma.c): Likewise.
18992 (CFLAGS-slowexp-fma.c): Likewise.
18993 (CFLAGS-slowpow-fma.c): Likewise.
18994 (CFLAGS-s_sin-fma.c): Likewise.
18995 (CFLAGS-s_tan-fma.c): Likewise.
18996 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
18997 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
18998 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
18999 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
19000 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
19001 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19002 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
19003 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
19004 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
19005 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
19006 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
19007 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
19008 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
19009 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19010 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19011 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
19012 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
19013 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
19014 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
19015 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
19016 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
19017 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19018 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19019 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
19020 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19022 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19023 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19024 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19025 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19026 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19028 2017-08-04 Joseph Myers <joseph@codesourcery.com>
19030 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
19031 (min_of_type_f): New macro.
19032 (min_of_type_): Likewise.
19033 (min_of_type_l): Likewise.
19034 (min_of_type_f128): Likewise.
19035 (min_of_type): Define using __MATH_TG and taking an expression
19037 (math_check_force_underflow): Pass expression instead of type to
19039 (math_check_force_underflow_nonneg): Likewise.
19041 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19043 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
19044 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
19045 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
19047 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19050 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
19051 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
19052 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
19053 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
19054 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
19055 memcpy_chk-nonshared, mempcpy_chk-nonshared,
19056 memmove_chk-nonshared and memset_chk-nonshared
19057 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
19058 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
19059 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
19060 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
19061 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
19062 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
19063 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
19064 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
19065 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
19066 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
19067 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
19068 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
19069 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
19070 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
19071 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
19072 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
19073 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
19074 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
19075 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
19076 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
19077 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
19078 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
19079 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
19080 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
19081 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
19082 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
19083 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
19084 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
19085 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
19086 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
19087 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
19088 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
19089 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
19090 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
19091 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
19092 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
19093 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
19094 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
19095 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
19096 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
19097 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
19098 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
19099 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
19100 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
19101 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
19102 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
19103 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
19104 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
19105 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
19106 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
19107 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
19108 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
19109 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
19110 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
19111 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
19112 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
19113 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
19114 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
19115 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
19116 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
19117 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
19118 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
19119 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
19120 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
19121 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
19122 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
19123 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
19124 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
19125 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
19126 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
19127 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
19128 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19129 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19130 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19131 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19132 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19133 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19134 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19135 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19136 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19137 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19138 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19139 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19140 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19141 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19142 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19143 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19144 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19145 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19146 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19147 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19148 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19149 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19150 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19151 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19152 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19153 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19154 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19155 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19156 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19157 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19158 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19159 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19160 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19161 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19162 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19163 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19164 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19166 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19168 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
19169 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
19170 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
19171 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
19172 svml_d_log2_core-sse2, svml_d_log4_core-sse,
19173 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
19174 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
19175 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
19176 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
19177 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
19178 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
19179 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
19180 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
19181 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
19182 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
19183 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
19184 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
19185 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
19186 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
19187 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
19188 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
19189 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
19190 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
19191 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
19192 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
19193 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
19194 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
19195 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
19196 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
19197 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
19198 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
19199 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
19200 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
19201 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
19202 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
19203 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
19204 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
19205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
19206 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
19207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
19208 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
19209 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
19210 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
19211 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
19212 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
19213 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
19214 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
19215 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
19216 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
19217 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
19218 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
19219 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
19220 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
19221 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
19222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
19223 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
19224 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
19225 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
19226 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
19228 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
19229 Don't include <sysdep.h> nor <init-arch.h>.
19230 (_ZGVbN2v_cos): Removed.
19231 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
19233 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
19234 Don't include <sysdep.h> nor <init-arch.h>.
19235 (_ZGVdN4v_cos): Removed.
19236 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
19238 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
19239 Don't include <sysdep.h> nor <init-arch.h>.
19240 (_ZGVeN8v_cos): Removed.
19241 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
19243 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
19244 Don't include <sysdep.h> nor <init-arch.h>.
19245 (_ZGVbN2v_exp): Removed.
19246 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
19248 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
19249 Don't include <sysdep.h> nor <init-arch.h>.
19250 (_ZGVdN4v_exp): Removed.
19251 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
19253 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
19254 Don't include <sysdep.h> nor <init-arch.h>.
19255 (_ZGVeN8v_exp): Removed.
19256 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
19258 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
19259 Don't include <sysdep.h> nor <init-arch.h>.
19260 (_ZGVbN2v_log): Removed.
19261 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
19263 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
19264 Don't include <sysdep.h> nor <init-arch.h>.
19265 (_ZGVdN4v_log): Removed.
19266 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
19268 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
19269 Don't include <sysdep.h> nor <init-arch.h>.
19270 (_ZGVeN8v_log): Removed.
19271 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
19273 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
19274 Don't include <sysdep.h> nor <init-arch.h>.
19275 (_ZGVbN2vv_pow): Removed.
19276 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
19278 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
19279 Don't include <sysdep.h> nor <init-arch.h>.
19280 (_ZGVdN4vv_pow): Removed.
19281 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
19283 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
19284 Don't include <sysdep.h> nor <init-arch.h>.
19285 (_ZGVeN8vv_pow): Removed.
19286 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
19288 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
19289 Don't include <sysdep.h> nor <init-arch.h>.
19290 (_ZGVbN2v_sin): Removed.
19291 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
19293 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
19294 Don't include <sysdep.h> nor <init-arch.h>.
19295 (_ZGVbN4v_sin): Removed.
19296 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
19298 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
19299 Don't include <sysdep.h> nor <init-arch.h>.
19300 (_ZGVbN8v_sin): Removed.
19301 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
19303 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
19304 Don't include <sysdep.h> nor <init-arch.h>.
19305 (_ZGVbN2vvv_sincos): Removed.
19306 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
19308 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
19309 Don't include <sysdep.h> nor <init-arch.h>.
19310 (_ZGVdN4vvv_sincos): Removed.
19311 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
19313 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
19314 Don't include <sysdep.h> nor <init-arch.h>.
19315 (_ZGVeN8vvv_sincos): Removed.
19316 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
19318 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
19319 Don't include <sysdep.h> nor <init-arch.h>.
19320 (_ZGVeN16v_cosf): Removed.
19321 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
19323 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
19324 Don't include <sysdep.h> nor <init-arch.h>.
19325 (_ZGVbN4v_cosf): Removed.
19326 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
19328 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
19329 Don't include <sysdep.h> nor <init-arch.h>.
19330 (_ZGVdN8v_cosf): Removed.
19331 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
19333 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
19334 Don't include <sysdep.h> nor <init-arch.h>.
19335 (_ZGVeN16v_expf): Removed.
19336 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
19338 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
19339 Don't include <sysdep.h> nor <init-arch.h>.
19340 (_ZGVbN4v_expf): Removed.
19341 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
19343 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
19344 Don't include <sysdep.h> nor <init-arch.h>.
19345 (_ZGVdN8v_expf): Removed.
19346 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
19348 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
19349 Don't include <sysdep.h> nor <init-arch.h>.
19350 (_ZGVeN16v_logf): Removed.
19351 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
19353 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
19354 Don't include <sysdep.h> nor <init-arch.h>.
19355 (_ZGVbN4v_logf): Removed.
19356 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
19358 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
19359 Don't include <sysdep.h> nor <init-arch.h>.
19360 (_ZGVdN8v_logf): Removed.
19361 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
19363 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
19364 Don't include <sysdep.h> nor <init-arch.h>.
19365 (_ZGVeN16vv_powf): Removed.
19366 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
19368 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
19369 Don't include <sysdep.h> nor <init-arch.h>.
19370 (_ZGVbN4vv_powf): Removed.
19371 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
19373 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
19374 Don't include <sysdep.h> nor <init-arch.h>.
19375 (_ZGVdN8vv_powf): Removed.
19376 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
19378 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
19379 Don't include <sysdep.h> nor <init-arch.h>.
19380 (_ZGVeN16vvv_sincosf): Removed.
19381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
19383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
19384 Don't include <sysdep.h> nor <init-arch.h>.
19385 (_ZGVbN4vvv_sincosf): Removed.
19386 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
19388 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
19389 Don't include <sysdep.h> nor <init-arch.h>.
19390 (_ZGVdN8vvv_sincosf): Removed.
19391 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
19393 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
19394 Don't include <sysdep.h> nor <init-arch.h>.
19395 (_ZGVeN16v_sinf): Removed.
19396 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
19398 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
19399 Don't include <sysdep.h> nor <init-arch.h>.
19400 (_ZGVbN4v_sinf): Removed.
19401 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
19403 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
19404 Don't include <sysdep.h> nor <init-arch.h>.
19405 (_ZGVdN8v_sinf): Removed.
19407 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19409 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19410 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
19411 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
19412 s_rint-sse4_1 and s_rintf-sse4_1.
19413 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
19414 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
19415 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
19416 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
19417 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
19418 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
19419 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
19420 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
19421 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
19422 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
19423 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
19424 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19426 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
19427 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
19428 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19429 (__ceilf): Removed.
19430 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
19431 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
19432 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19433 (__floor): Removed.
19434 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
19435 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
19436 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19437 (__floorf): Removed.
19438 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
19439 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
19440 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19441 (__nearbyint): Removed.
19442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
19443 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
19444 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19445 (__nearbyintf): Removed.
19446 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
19447 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
19448 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19450 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
19451 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
19452 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
19453 (__rintf): Removed.
19455 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19457 * sysdeps/i386/start.S (_start): Check Check PIC instead of
19458 SHARED. Avoid dynamic relocation against main in static PIE.
19460 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19463 * elf/Makefile (CFLAGS-tst-prelink.c): New.
19464 (LDFLAGS-tst-prelink): Likewise.
19466 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19468 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
19469 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
19470 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
19471 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
19472 (INTERNAL_SYSCALL_NCS): Likewise.
19473 (LOADARGS_1): Likewise.
19474 (LOADARGS_5): Likewise.
19475 (RESTOREARGS_1): Likewise.
19476 (RESTOREARGS_5): Likewise.
19478 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19480 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
19481 (MEMPCPY_SYMBOL): Likewise.
19482 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19483 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
19484 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
19486 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19487 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19489 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
19490 (__hidden_ver1): Don't use in libc.a.
19491 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19492 (__mempcpy): Don't create a weak alias in libc.a.
19493 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
19495 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
19496 (__hidden_ver1): Don't use in libc.a.
19498 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19500 * config.make.in (have-insert): New.
19501 * configure.ac (libc_cv_insert): New. Set to yes if linker
19502 supports INSERT in linker script.
19503 (AC_SUBST(libc_cv_insert): New.
19504 * configure: Regenerated.
19505 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
19506 if $(have-insert) == yes.
19508 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19510 * elf/Makefile (tests): Add vismain only if
19511 $(have-protected-data) == yes.
19512 (tests-pie): Likewise.
19514 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19517 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19518 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
19520 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19523 * sysdeps/i386/i586/memset.S
19524 (__memset_zero_constant_len_parameter): Removed.
19525 * sysdeps/i386/i686/memset.S
19526 (__memset_zero_constant_len_parameter): Likewise.
19527 * sysdeps/i386/i686/multiarch/memset_chk.S
19528 (__memset_zero_constant_len_parameter): Likewise.
19529 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
19532 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
19534 * stdlib/getentropy.c (getentropy): Change return type to int.
19536 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
19538 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19540 2017-08-03 Joseph Myers <joseph@codesourcery.com>
19542 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
19544 * math/s_nexttowardf.c (__nexttowardf): Likewise.
19545 * sysdeps/generic/math_private.h (ieee_double_shape_type):
19547 (ieee_float_shape_type): Likewise.
19548 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
19549 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
19550 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19551 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19552 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19553 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
19554 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
19555 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19556 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19558 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19560 (__ieee754_yn): Likewise.
19561 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19562 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19563 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
19565 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19566 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
19567 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
19568 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
19569 (__erfc): Likewise.
19570 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19571 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
19572 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
19573 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
19574 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
19575 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
19577 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19578 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
19579 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19580 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
19581 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19582 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
19583 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
19584 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
19585 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
19586 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19587 (__issignaling): Likewise.
19588 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
19589 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
19590 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19592 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19593 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
19594 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19595 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
19597 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
19599 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
19600 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
19601 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
19602 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19603 (__erfcf): Likewise.
19604 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19605 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19606 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
19607 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
19609 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
19610 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
19612 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19613 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
19614 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19615 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
19616 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
19617 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19618 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
19619 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
19621 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
19623 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19625 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
19626 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19628 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19630 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19631 (__ieee754_ynl): Likewise.
19632 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19633 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
19635 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
19637 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19638 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
19639 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19641 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19642 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
19643 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
19644 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
19645 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
19646 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19647 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
19648 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
19650 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19651 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
19652 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
19654 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
19655 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
19656 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19657 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19658 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
19659 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19661 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19663 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19665 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19667 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
19668 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19669 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19670 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
19671 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19672 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
19673 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
19675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19678 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19680 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19681 (__ieee754_remainderl): Likewise.
19682 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19683 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19684 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19685 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19687 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19688 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19690 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19691 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
19692 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19693 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19694 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19695 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19697 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19698 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19699 (__ieee754_y0l): Likewise.
19702 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19703 (__ieee754_y1l): Likewise.
19706 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19707 (__ieee754_ynl): Likewise.
19708 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
19709 (__ieee754_lgammal_r): Likewise.
19710 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
19712 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19713 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
19714 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19715 (__erfcl): Likewise.
19716 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19717 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
19719 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
19720 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
19721 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19722 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
19723 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
19724 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19725 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19727 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
19728 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19729 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
19730 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
19731 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19733 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
19734 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
19736 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
19737 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
19738 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
19739 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19740 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
19742 2017-08-03 Florian Weimer <fweimer@redhat.com>
19745 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
19746 on memory allocation failure.
19748 2017-08-03 Alan Modra <amodra@gmail.com>
19750 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
19751 tst-tlsopt-powerpc.c with function name change and no test harness.
19752 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
19753 Call tls_get_addr_opt_test.
19754 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
19755 (modules-names): Add mod-tlsopt-powerpc.
19756 (mod-tlsopt-powerpc.so-no-z-defs): Define.
19757 (tst-tlsopt-powerpc): Depend on .so.
19758 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
19759 define. Expand use in TLS_GD and TLS_LD.
19761 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19763 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
19765 * sysdeps/posix/shm_open.c: Include <pthread.h>.
19767 2017-08-02 Joseph Myers <joseph@codesourcery.com>
19770 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
19771 comparing size with that of double.
19772 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
19773 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
19774 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
19775 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
19776 (__TGMATH_BINARY_REAL_IMAG): Likewise.
19777 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
19778 unsigned __int128 types.
19780 2017-08-02 Steve Ellcey <sellcey@cavium.com>
19782 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
19783 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
19784 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
19785 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
19786 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
19788 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
19790 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
19792 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
19794 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
19796 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19797 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19798 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19799 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19800 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19801 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19802 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19804 2017-08-02 Joseph Myers <joseph@codesourcery.com>
19807 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
19808 bit-field expressions passed to sizeof or typeof.
19809 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19810 (__TGMATH_F128): Likewise.
19811 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19812 (__TGMATH_CF128): Likewise.
19813 (__TGMATH_UNARY_REAL_ONLY): Likewise.
19814 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
19815 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
19816 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
19817 (__TGMATH_BINARY_REAL_ONLY): Likewise.
19818 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
19819 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
19820 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
19821 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
19822 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
19823 (__TGMATH_UNARY_REAL_IMAG): Likewise.
19824 (__TGMATH_UNARY_IMAG): Likewise.
19825 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
19826 (__TGMATH_BINARY_REAL_IMAG): Likewise.
19827 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
19829 (define_vars_for_type): Handle bit_field type specially.
19830 (Tests.__init__): Declare structure with bit-field element.
19832 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
19835 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
19836 (MEMCPY_CHK): Define only if SHARED is defined.
19837 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
19839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
19842 See ChangeLog.18 for earlier changes.